Discourse - SMTP from OVH

It’s been a while but I just made a forum with email pro from ovh and it works, with a pro2 smtp server. I imagine this it too late, but it can help others.

Here is a little guide :

  • When you associate your domain, make sure to select the second option :
    image

  • In the settings, we were on the right track
    DISCOURSE_SMTP_ADDRESS: pro2.mail.ovh.net
    DISCOURSE_SMTP_PORT: 587
    DISCOURSE_SMTP_USER_NAME: name@domain.com
    DISCOURSE_SMTP_PASSWORD: ""
    DISCOURSE_SMTP_ENABLE_START_TLS: true
    DISCOURSE_SMTP_AUTHENTICATION: login

  • I still had some issues.
    In (forum)/admin/email/skipped
    I noticed an error : 550 5.7.60 SMTP; Client does not have permissions to send as this sender

  • I double checked the setting notification email and bingo, it wasn’t the same as the email I set up in the app.yml (it automatically set up a noreply@domain.com instead of the email I’ve used.
    So make sure the email set in DISCOURSE_SMTP_USER_NAME and notification email admin setting are the same, and it should work.

2 „Gefällt mir“

Vielen Dank, es hat sehr geholfen.

Ich bin von einem dedizierten Mailserver zu einer Mischung aus Pro und Exchange Mail von OVH umgezogen und konnte nicht herausfinden, warum es nicht funktionierte.

Und die Benachrichtigungs-E-Mail in den Admin-Einstellungen hat es zum Laufen gebracht!

3 „Gefällt mir“