Mail error on fresh installation

Hi guys
I have an error with the mail setup.

  DISCOURSE_SMTP_ADDRESS: smtp.strato.de
  DISCOURSE_SMTP_PORT: 465
  DISCOURSE_SMTP_USER_NAME: discourse@domain.net
  DISCOURSE_SMTP_PASSWORD: REDACTED_PASSWORD
  # DISCOURSE_SMTP_ENABLE_START_TLS: true          # (optional, default true)
  #DISCOURSE_SMTP_DOMAIN: discourse.example.com    # (required by some providers)
  #DISCOURSE_NOTIFICATION_EMAIL: noreply@discourse.example.com    # (address to send notifications from)

With the docker-doctor i get


==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [admin.discourse@domain.net]: test-dj0qyymtu@srv1.mail-tester.com
Sending mail to test-dj0qyymtu@srv1.mail-tester.com. . .
Testing sending to test-dj0qyymtu@srv1.mail-tester.com using smtp.strato.de:465, username:discourse@domain.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!)
=======================================================================================
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to

I hope someone can help me. I love this product very much and wouldlike to use it for my community <3

Maybe I need to chance the authentication of the smtp authentication. But how can I do this I can’t see a thread with this answer?

Can someone help me?

A few things you can try

  • check if your provider allows a different port and see if you have the same error
  • if you know how to use curl, try curl-ing your mail setup directly from within the docker container
  • use a different mail provider altogether, Mailgun is known to work well with Discourse

It looks like your vm is blocking access to your mail server