Quill CRM
Bounce Handler article

Mailgun

Setup Instructions

Follow these steps to configure bounce handling for Mailgun.

Step 1: Get Your Webhook URL

  1. Go to QuillCRM → Settings → SMTP → Bounce Handling
  2. Find the Mailgun section
  3. Copy the webhook URL provided

Your webhook URL will look like:

https://yoursite.com/?quillcrm_webhook=bounce&provider=mailgun&key=your_security_key

Step 2: Configure Mailgun Webhook

  1. Log in to your Mailgun Dashboard
  2. Go to Sending → Webhooks
  3. Under your domain, add webhooks for: Permanent Failure (hard bounces) and Temporary Failure (soft bounces)
  4. Paste your QuillCRM webhook URL for each event type
  5. Click Create webhook

Bounce Classification

Mailgun Event QuillCRM Classification
permanent (severity) Hard bounce
temporary (severity) Soft bounce

Troubleshooting

  • No bounces recorded: Verify the webhook is active in your Mailgun settings and the correct event types are enabled.
  • 403 Forbidden: The security key may be wrong. Copy the URL again from QuillCRM settings.