This is a reference guide for configuring List-Unsubscribe on Mailgun. Use it while editing DNS or when troubleshooting deliverability.
Tip: Here’s a reliable, copy-pasteable way to set up List-Unsubscribe using Mailgun. Then verify everything with the InboxGreen Free Checker.
Provider-specific notes for Mailgun
- Mailgun provides specific TXT and CNAME values unique to your domain. Copy them exactly from the Mailgun DNS Records panel - do not guess the values.
- Mailgun DKIM can use either TXT or CNAME depending on your plan. Check the DNS Records tab in your Mailgun domain settings for the correct format.
- Mailgun → Sending → Domains → Domain DNS Records.
What is List-Unsubscribe?
List-Unsubscribe is a message header that gives inboxes a safe, machine readable way to unsubscribe. Gmail and Outlook often show a clear unsubscribe link when it is present and valid, which reduces spam complaints and protects your sender reputation.
How to enable it in practice
- In your sending platform, enable the List-Unsubscribe header or macro in templates.
- Use a one click HTTPS link as the main method, with a mailto address as fallback.
- Test by sending to a Gmail address and checking “Show original”.
Example headers
List-Unsubscribe: <https://yourdomain.com/u/abcd1234>, <mailto:[email protected]?subject=unsubscribe> List-Unsubscribe-Post: List-Unsubscribe=One-Click
Common mistakes
- Using a broken or redirected unsubscribe link that fails when clicked.
- Only providing a mailto address without a one click URL.
- Failing to apply the unsubscribe globally across lists and tools.
Related for Mailgun
Free Deliverability Scan
Check SPF, DKIM, DMARC and List-Unsubscribe for your domain in seconds.