I’ve followed your guide on migrating to mailgun but I’m having some issues with the bounce score - it’s not getting updated when email sending fails.
I can see the bounces in mailgun, but when checking the email in my discourse instance, the bounce score is 0.
Are there any extra settings I might have missed for propagating the responses back to the forum?
That’s because mailgun is overwriting our VERP and is the only one to receive the bounce notification. The only solution is to add support for their bounces webhook.
@zogstrip I see.
Quickly checking the docs I’ve seen this
You can specify a webhook URL in the ‘Webhooks’ tab of your Control Panel. If you do, every time a message experiences a hard bounce, your URL will be invoked with the following parameters
Would you have an example of an url I should provide as an webhook?
Much appreciated!
*edit: Just realised that “The only solution is to add support for their bounces webhook” means that there is no url yet . Should I raise a feature request?
I’ve set up bounce handling through VERP on Amazon SES. Bounces are detected properly, but users’ bounce scores don’t get updated past ‘2’. Here’s an example of a user who has had numerous bounces:
We only update the bounce score once per day to prevent people with a full mailbox to be automatically deactivated when they subscribe to forum with a lot of activity.
I might tone that down to once per hour instead unless someone else can think of a reason not to?
Ah, interesting! However, I checked the current count of user sundialsvc4 (the one in my screenshot), and his bounce score is now 4 - still lower than what I expected.
Does ‘update once per day’ also mean ‘we count a max of 1 bounce per day’? In that case the score of ‘4’ would make sense. Still, it leaves me a little worried about my IP ranking - some users already have 30 bounces on their name.
So perhaps running this hourly IS a better option if that’s the case.