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)

شكرا لك، لقد ساعد كثيراً.
لقد انتقلت من خادم بريد مخصص إلى مزيج من البريد الاحترافي و Exchange من OVH، ولم أتمكن من معرفة سبب عدم عمله.
والبريد الإلكتروني للإشعارات في إعدادات المسؤول يجعله يعمل!

3 إعجابات