thank you for your reply. I tried using the same adress in both fields, no change, same error.
Following the Troubleshooting thread:
What do the Discourse logs say?
`Job exception: Cannot assign requested address - connect(2) for [correct IPv6]:587
What do your email provider logs say?
No log entries show up relating to mails sent from discourse.
I then tried this Method https://www.saotn.org/test-smtp-authentication-starttls/ to see if I would be able to authenticate through openssl, and it works fine from the server, but not from inside the container, it produces the error I described in the first post.
How can I find out what is blocking the connection here?