SMTP Error: Greeting never received

  • Version of Rocket.Chat Server:
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances: Rocket.Chat Version: 3.15.0
  • DB Replicaset Oplog:
  • NodeJS Version: 12.22.1 - x64
  • MongoDB Version: 4.0.24
  • Proxy: nginx
    Hello, When sending a test email, there is such an error in the logs:

The $MAIL_URL is ‘smtp://…:465’. You probably want ‘smtps://’ (The ‘s’ enables TLS/SSL) since ‘465’ is typically a secure port. undefined
I20211001-07:29:00.225(0) Exception in defer callback: Error: Greeting never received at SMTPConnection._formatError (/app/bundle/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:784:19) at SMTPConnection._onError (/app/bundle/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:770:20) at Timeout. (/app/bundle/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:704:22) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) { code: ‘ETIMEDOUT’, command: ‘CONN’ }

Hi @Recoba ! Welcome to Rocket.Chat Forums!

First, it’s always good to update to the latest versions.

Have you configured the SMTP using docker environments or using the user interface?

Looks like you need to set up smtps instead of smtp.

Let me know if that helped!

Hello.
I set up SMTP on the Rocketchat interface, not in docker.On your advice, I changed the port from 465 to 587 and test emails began to arrive.Thanks for the help

Great to hear that!

If you need more help, you can use both here and at our http://open.rocket.chat

Happy Rocking!