Je pense que vous avez raison.
Et il s’avère que vous n’êtes pas le premier… en cherchant DISCOURSE_SMTP_PORT 465, j’ai trouvé tout un tas de problèmes similaires.
- Not able to send email Net::ReadTimeout - #18 by Stranik
- Email not working but i can access smtp server from container
- DigitalOcean + Siteground Email via port 465 won’t work (2525 will work)
- Problem with SMTP configuration
- Post-install, Curl can send email, but Discourse cannot. Help to fix?
- Mail problem on discourse with reverse proxy
- Can't setup SMTP with SSL/TLS
- SMTP email issue Net::Timeout - #3 by neounix
Le dernier contient un lien vers la (possible ?) solution.
Avec ce patch, il est possible de définir
DISCOURSE_SMTP_FORCE_TLS=true pour utiliser le TLS implicite sur le port 465