Answers

How do I set up SPF, DKIM and DMARC for Mailgun?

The main steps to set up SPF, DKIM and DMARC for Mailgun, from its documentation: add the domain, add the SPF include, add the SPF and DKIM TXT records, add DMARC and verify. Checked October 22, 2026.Last checked

Where this comes from

The steps, in order

NameWhat the documentation saysSource
1. Add the domain“To add a domain, click the Add New Domain button”help.mailgun.com/hc/en-us/articles/32884700912923-Domain-Verification-Setup-Guide · read 2026-10-22
2. Add the SPF include“If you already have an existing SPF record for this root domain, you cannot add another SPF record”help.mailgun.com/hc/en-us/articles/32884700912923-Domain-Verification-Setup-Guide · read 2026-10-22
3. Add the SPF and DKIM TXT records“We will add two separate TXT records, one for SPF and one for DKIM. These are required to send and receive email with Mailgun”help.mailgun.com/hc/en-us/articles/32884700912923-Domain-Verification-Setup-Guide · read 2026-10-22
4. Add DMARC“create a DMARC record for your sending domain(s) with your DNS provider with a minimum policy set to none”help.mailgun.com/hc/en-us/articles/13285772266011-DMARC · read 2026-10-22
5. Verify“It can take up to 24 to 48 hours for DNS changes to propagate across the internet”help.mailgun.com/hc/en-us/articles/32884700912923-Domain-Verification-Setup-Guide · read 2026-10-22

Related questions

Mailgun email authentication guide →

Built from public pages on the dates shown. Prices and features change, so check the source before you buy. Outlevo sells outbound software and is not affiliated with the companies named unless the page says so.

Related

See which companies buy what you sell

Free, no sign-up, about a minute.