Unexpected errror in rake emails:test

Hello!

I’m testing how to run a self-hosted instance using my email in riseup.net, but I’m not receiving the mails.

The dns resolution of mail.riseup.net its working properly

root@discourse-app:/etc# getent hosts mail.riseup.net
198.252.153.170 mail.riseup.net
198.252.153.171 mail.riseup.net

and openssl s_client -connect mail.riseup.net:465successfuly connects to the server.

I’ve run rake emails:test[]with this result

root@discourse-app:/etc# rake emails:test[****@****.**]
Testing sending to ****@****.** using mail.riseup.net:465, username:****@riseup.net with plain auth.
======================================== ERROR ========================================
                                    UNEXPECTED ERROR

Net::ReadTimeout

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

Please report the exact error message above to https://meta.discourse.org/
(And a solution, if you find one!)
=======================================================================================

I’ve also tried to rewrite the notifications email with rails r “SiteSetting.notification_email = ‘****@riseup.net’” with the same result in rake emails:test[].

What could be the problem?