# VERP bounce replies ignored when using Mailgun

**URL:** https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928
**Category:** Support
**Tags:** email
**Created:** [May 29, 2019, 12:34am UTC](https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928 "2019-05-29T00:34:50Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [May 29, 2019, 12:34am UTC](https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928/1 "2019-05-29T00:34:50Z")

</div>

I’ve set up email bouncing with Mailgun as described in [Configure VERP to handle bouncing e-mails](https://meta.discourse.org/t/handling-bouncing-e-mails/45343)

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:

```plaintext
bounce+5b6b50.9df4bb-user=domain.com@intfiction.org

```

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?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 29, 2019, 12:39am UTC](https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928/2 "2019-05-29T00:39:29Z")

</div>

> [@Dannii](#):
>
> some bounces are sent directly to the forum on the Return-Path

> [@Dannii](#):
>
> Most bounces are handled by Mailgun

Why the two different behaviors? What is different here?

---

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [May 29, 2019, 12:49am UTC](https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928/3 "2019-05-29T00:49:23Z")

</div>

I found this explanation which clarified things a little:

> <https://stackoverflow.com/questions/18615229/how-can-the-return-path-header-be-different-than-the-actual-email-bounce-recipie/18639157#18639157>

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.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 29, 2019, 12:54am UTC](https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928/4 "2019-05-29T00:54:15Z")

</div>

I bet @mpalmer Knows Things™ about this!

---

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [May 29, 2019, 1:05am UTC](https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928/5 "2019-05-29T01:05:09Z")

</div>

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

 ![Screenshot from my admin panel](https://global.discourse-cdn.com/meta/original/3X/c/6/c6dfa8d88677634fe2bd400f3cce30188b1ea9e8.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 19, 2022, 6:37am UTC](https://meta.discourse.org/t/verp-bounce-replies-ignored-when-using-mailgun/118928/6 "2022-10-19T06:37:01Z")

</div>


