VERP bounce replies ignored when using Mailgun

I’ve set up email bouncing with Mailgun as described in Handling bouncing e-mails

Most bounces are handled by Mailgun and then processed through the Discourse API.

But some bounces are sent directly to the forum on the Return-Path address:

The forum receives these emails, but then seems to do nothing with them. In particular, the user’s bounce score is not increased.

Do I need to change any other settings to make this work?

Why the two different behaviors? What is different here?

I found this explanation which clarified things a little:

I don’t know the details of what is causing these incoming bounce emails. (Is there a way to view the full email? Admin only shows the address and subject.)

But they’re never for common email services. Maybe the emails are being forwarded or something, so the initial SMTP send succeeds, so Mailgun is happy, but it bounces at the end server? Maybe the server is violating some RFC? It’s been happening for more than one user though, and sending a message to the Return-Path header is the correct VERP behaviour I thought.


I bet @mpalmer Knows Things™ about this!

1 Like

Just showing what my admin panel tells me. There are a lot of different subject styles.