SMTP Configuration (Email)

Hello,
I haven’t been able to configure email (SMTP) in our Rocket Chat Server. I followed all the steps but errors.
We have Google Account.
This is the Log Error:

I20200701-22:19:59.542(0) Updating process.env.MAIL_URL I20200701-22:22:17.418(0) Exception in defer callback: Error: Connection timeout at SMTPConnection._formatError (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/email/node_modules/node4mailer/lib/smtp-connection/index.js:558:19) at SMTPConnection._onError (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/email/node_modules/node4mailer/lib/smtp-connection/index.js:531:20) at Timeout. (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/email/node_modules/node4mailer/lib/smtp-connection/index.js:249:18) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) { code: ‘ETIMEDOUT’, command: ‘CONN’ }

Server Setup Information

Rocket.Chat

Version 3.4.0
Apps Engine Version 1.15.0
Database Migration 197
Database Migration Date July 1, 2020 12:24 PM
Installed at June 26, 2020 3:57 PM
Uptime 21 hours, 48 minutes, 22 seconds
Deployment ID bCd65Erh7AAtK36ic
PID 14950
Running Instances 1
OpLog Enabled

Runtime Environment

OS Type Linux
OS Platform linux
OS Arch x64
OS Release 4.15.0-108-generic
Node Version v12.14.0
Mongo Version 4.0.19
Mongo Storage Engine mmapv1
OS Uptime 5 days, 19 hours, 59 minutes, 48 seconds
OS Load Average 0.06, 0.03, 0.01
OS Total Memory 3.85 GB
OS Free Memory 531.86 MB
OS CPU Count 2

Build Environment

OS Platform linux
OS Arch x64
OS Release 5.3.0-1028-azure
Node Version v12.16.1
Date June 30, 2020 11:28 AM

Maybe if you show your configuration, someone will suggest something

Yeah based on this my guess is invalid host or port. Possibly smtps vs smtp too.

Alternatively the host just can’t speak to it. DNS, networking… or even isp blocking mail?