Can not activation mail to smtp.yandex.ru mail server

I’m trying to install Discourse Docker on an AWS server. After the build process completed, I must register an account for admin.

Then, I click to the Register button but it doesn’t send any email for me.
I used the ./discourse-doctor tool for checking some problem, but I get this:

==================== MAIL TEST ====================
For a robust test, get an address from mail-tester .com
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [info@deephub.vn]:
Sending mail to info@deephub.vn. . .
Testing sending to info@deephub.vn using smtp .yandex .ru:465.
================== ERROR =======================
                                    UNEXPECTED ERROR

Net::ReadTimeout

================ SOLUTION ==============
This is not a common error. No recommended solution exists!

Please report the exact error message above to meta .discourse .org
(And a solution, if you find one!)
==========================================
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to

==================== DONE! ====================

I configured for SPF and DKIM records in my DNS.

Telnet is OK
telnet smtp.yandex.ru 465

Any ideas on how I can fix this?

1 Like

You can try connecting from inside the container. It’s possible that you have some docker networking issue.

2 Likes

Thanks, @pfaffman. I tried telnetting from inside the container. And it’s OK.

2 Likes