Pravi
(PK)
April 7, 2021, 7:46pm
1
In my SES metrics, it’s clear that some of my emails bounced, but it’s not visible in the list of bounced email or rejected email.
SES:
Bounce List:
How can I configure discourse so that I can track email bounce? Do I need to configure MAIL FROM in SES to track email bounce?
I think these are the instructions I followed (for Mailgun in my case):
Setting up bounces handling
Discourse uses the Variable envelope return path (VERP) technique to handle bouncing e-mails.
To enable VERP, set the “reply by email address” site setting with an email address template that uses the + sign. The default of
replies+%{reply_key}@discourse.example.com
… works fine. If you are using your own or your company’s email server, then, that’s it
Your discourse instance must be able to receive email sent to this address. This should work via POP, bu…
It doesn’t work fully as the actual bounce messages (with rejection reasons) don’t make their way to Discourse.
2 Likes
Pravi
(PK)
April 8, 2021, 7:08am
3
Thanks for the reply. I have configured the SES as mentioned in the link. But regarding the reply by email address
, which one should I use? domain or subdomain.
Assume, my domain is example.com and I have verified mail.example.com at SES for email. So I have to use,
replies+%{reply_key}@example.com
or
replies+%{reply_key}@mail.example.com
?
Pravi
(PK)
April 10, 2021, 11:43am
4
I have added replies+%{reply_key}@mail.example.com
as the reply by email address since my verified domain is mail.example.com
. I have tested by sending an email to a non-existent Gmail from my discourse. It’s been two days, nothing on the bounced list.