Problème avec la configuration du serveur SMTP

Bonjour,

Je rencontre un problème lors de la configuration de Discourse : il tente de m’envoyer un e-mail pour configurer mon compte administrateur. J’ai parcouru le fil de dépannage et cherché sur Google, mais rien n’a résolu le problème.

Mes paramètres SMTP dans app.yml :

DISCOURSE_SMTP_ADDRESS: smtp.zoho.eu
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: email@example.com
DISCOURSE_SMTP_PASSWORD: password
DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optionnel, valeur par défaut true)
DISCOURSE_SMTP_AUTHENTICATION: login

Journaux issus de la commande tail, seule erreur disponible :
E-mail livré d1d9fc2e-a84c-484e-9e81-73eda3b4c7e4@forum.domain.com (401,0 ms)
Exception de tâche : fin de fichier atteinte

./discourse-doctor indique que « L’envoi de courriel a échoué. » sans aucune autre erreur.

Est-ce que je fais quelque chose de mal ?

1 « J'aime »

I’d assume that the email username is not authorised to send as the forum’s notification email.

There is a section at the end of the yml file where you can change the notification email address.

Once you rebuild after doing so, you’ll probably be able to send emails.

5 « J'aime »

I can’t see anything in the app.yml relating to this, after the SMTP settings (at the end of the file) there is only volumes, hooks and run settings. Am I in the wrong file?

Edit: Never mind, it was a part of the run settings and I didn’t realise. This works, thank you!

4 « J'aime »

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.