Así que instalé Postfix en mi servidor con Discourse (sé que no es lo recomendado).
Mi Postfix funciona correctamente y envío correos electrónicos con él.
El problema es que Discourse/Docker no quiere enviar correos electrónicos (ni siquiera puedo obtener la activación del administrador).
He leído lo siguiente:
Es un problema de Docker.
No deberías tener Postfix en el mismo servidor.
Mis correos llegarán a la carpeta de spam muy rápido.
Running into a similar issue with a Bitnami docker container of Discourse. The emails just aren’t sending.
Here is the error I’m getting: There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again.
Here are my SMTP settings:
Delivery Method
address
smtp.sengrid.net
port
465
user_name
apikey
authentication
login
enable_starttls_auto
true
Any guidance on where I need to look/troubleshoot next?
Edit: Have tried 587, plain authentication method, different apikey/password. Have setup this on other apps no problem with similar settings.
Expected outcome is for the email to send from Discourse to the inbox of the test account.