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 Likes

Thank you, it help a lot.

i moved from a dedicated mail server to a mix of pro an exchange mail from OVH, and i couldn’t find why it was not working.

And the notification email in admin settings make it works !

3 Likes