I installed odoo 19 on digitalOcean (Ubuntu). I've setup IMAP server. It works fine.
I'm trying to set up an SMTP server to send email. I've completed all the necessary configuration steps, but I'm getting a timeout error when checking the test connection.
timed out
#: nc -zv smtp.fastmail.com 465
Connection to smtp.fastmail.com port 465 [tcp/urd] succeeded!
Using the same settings, I configured the email client on my phone and on my laptop. Everything works fine.
What am I doing wrong? What can I check? What logs should I look at?
I even tried to increase the SMTP_TIMEOUT https://github.com/odoo/odoo/blob/19.0/odoo/addons/base/models/ir_mail_server.py#L61
I set it up to 180 but got another error:
2026-02-24 15:46:38,330 1 WARNING ? odoo.service.server: Thread <Thread(odoo.service.http.request.139918806001344, started 139918806001344)> virtual real time limit (142/120s) reached.
Hello Kunjan
Unfortunately thats not help. I didn't get encryption mode error. I got SMTP_TIMEOUT error.