# Configure VERP to handle bouncing e-mails

**URL:** <https://meta.discourse.org/t/configure-verp-to-handle-bouncing-e-mails/45343>\
**Category:** Self-Hosting\
**Tags:** email, how-to\
**Created:** [June 6, 2016, 10:53pm UTC](https://meta.discourse.org/t/configure-verp-to-handle-bouncing-e-mails/45343 "2016-06-06T22:53:31Z")\
**Posts on this page:** 1\
**Showing post:** 198

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [May 6, 2024, 3:10am UTC](https://meta.discourse.org/t/configure-verp-to-handle-bouncing-e-mails/45343/198 "2024-05-06T03:10:51Z")

</div>

Updated the Mailgun section as things have changed a wee bit in their UI:

> [@zogstrip](#):
>
> ### MailGun
> 
> 1. Log in to MailGun and go to [your dashboard](https://app.mailgun.com/app/dashboard); look in the left column for the **Sending** → **Webhooks** page.
> 2. Make sure that the correct Domain is selected (top right on desktop)
> 3. In Discourse, set the `mailgun api key` site setting with your **HTTP webhook signing key**
> 4. Click the **Add webhook** button, set the “Event Type” menu to “Permanent Failure”, and set the URL to `https://your.discourse/webhooks/mailgun`
> 5. Repeat the **Add webhook** portion, choosing “Temporary Failure” as the “Event Type”
> - ❗ there is a “Test webhook” section which is useful for testing, but _doesn’t save_ - make sure you use the **Add webhook** button instead

---

_[View the full topic](https://meta.discourse.org/t/configure-verp-to-handle-bouncing-e-mails/45343)._
