(You might need to wait for the world to turn a bit more to get some help…)
All I know is that there can be a difference between what your host can do and what the processes in your container can do. How did you run your SMTP test - inside the container, or outside?
I also know there’s a checklist somewhere for email trouble… maybe this thread:
Sorry I’m out of ideas. You can see the packets with for example tcpdump -c 19 -A -n port 587
but as the traffic is mostly encrypted, it might not help. It might show that no connection is made, or is rejected.
Edit: I found I had to switch to port 2525, but I don’t remember why. It’s a standard alternative, apparently.
Sorry i could not send email from discourse, i really dont know why is this such a problem, if i can test and use SMTP server and discourse just wont send through it
im using my own email server, (iredmail), that has been online almost 2years now with no problems.
It can send mail, including sending it to a spam-scoring service, which is a good way to see if mail is deliverable to a well-known service or not deliverable just to your service. The doctor says:
If it says “mail sent” then it is fairly certain that discourse delivered the mail to your mail service and you need check your spam folder and the logs at your mail service.
A common problem is that your forum is forum.example.com and the default notfication email is noreply@forum.example.com but your mail service is configured only for xxx@example.com. if that’s the case then you need to change the notification email (or reconfigure your mail server).