First of all, thanks to the community for building such an exciting tool !
I’ve spent quite some time trying to deploy my own instance of n8n on docker from a small VPS, which is mostly working flawlessly.
My only issue right now is that I cannot get the “Send Email” node to work. I’ve tried numerous different SMTP credentials (SES, Mailjet) with/without TLS, on ports 25/465/587, but no matter what I try, executing the Node consistently ends with a timeout error:
ERROR: Connection timeoutThis text will be hidden Error: Connection timeout at SMTPConnection._formatError (/usr/local/lib/node_modules/n8n/node_modules/nodemailer/lib/smtp-connection/index.js:784:19) at SMTPConnection._onError (/usr/local/lib/node_modules/n8n/node_modules/nodemailer/lib/smtp-connection/index.js:770:20) at Timeout.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/nodemailer/lib/smtp-connection/index.js:235:22) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)
Admittedly it’s my first time working with docker-compose, so I’m probably missing something…
I tweaked the documentation’s docker-compose.yml file a little so that I could launch n8n along with traefik and portainer. I’ve also tried to deploy an smtp container (namshi/smtp, docker-mailserver…) and link it to n8n, again to no avail.
Is SMTP supposed to work out of the box? If not, would someone kindly walk me through the steps needed to get there?