Failing to connect to SMTP mail server

It looks like discourse can’t connect to your mail server.

Can you telnet my-mail-server 587 from the server? From inside the container?

You can see if ./discourse-doctor gives you any clues.