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

סיכום מבוסס בינה מלאכותית

The user is experiencing issues with sending activation emails to smtp.yandex.ru mail server while installing Discourse Docker on an AWS server. The error message from ./discourse-doctor tool indicates a “Net::ReadTimeout” error. Despite configuring SPF and DKIM records in DNS and successful telnet connections to smtp.yandex.ru:465 both inside and outside the container, the issue persists. pfaffman suggests a possible Docker networking issue.

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?

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

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