Key takeaways
- Read the Authentication-Results header of a failing message.
- If it shows dmarc=fail, look at the spf= and dkim= results beside it and the domains they name.
- If both pass but DMARC still fails, the domains do not align.
DMARC failures on mail sent through Mailgun usually come from one of four things: the record is missing or duplicated, SPF and DKIM pass but do not align with the From domain, the reports are not reaching anyone, or a source you forgot about fails. DMARC does not add its own signature, so each problem comes back to a record you can query and a header you can read. The table pairs each symptom with its check and fix.
Research checked: 12 November 2026
The short answer
Read the `Authentication-Results` header of a failing message. If it shows `dmarc=fail`, look at the `spf=` and `dkim=` results beside it and the domains they name. If both pass but DMARC still fails, the domains do not align. If there is no DMARC result at all, the record is missing or invalid, so run `dig` on `_dmarc` for the From domain.
Symptom table
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| `dmarc=none` | No DMARC record found for the From domain | `dig +short TXT _dmarc.<from domain>` returns nothing | Publish the record at `_dmarc` |
| `dmarc=permerror` or ignored policy | Two DMARC records at one name | Count the `v=DMARC1` answers | Keep one record |
| `dmarc=fail`, SPF and DKIM both pass | Neither passing domain aligns with From | Compare `smtp.mailfrom` and `d=` with the From domain | Sign with, or send from, an aligned domain |
| `dmarc=fail`, DKIM fails | Signature broken, or selector removed | Read `s=` and query that selector | Restore the selector; see the DKIM guide |
| Reports never arrive | `rua=` mailbox missing, or on another domain without authorisation | Look for an authorisation record for the report domain | Create the mailbox, or publish the authorisation record RFC 7489 describes |
| Mail rejected despite `p=none` | Another filter or provider rule | Compare the rejection text with the DMARC result | Treat it as a separate problem; DMARC did not cause it |
| One source fails repeatedly | Forgotten sender not in SPF or DKIM | Group failing rows by source IP in the reports | Authenticate that source or stop using it |
Symptoms in detail
No DMARC result at all
A DMARC check needs a record at `_dmarc.<From domain>`. The name must be exactly `_dmarc`. A record at `dmarc` or at the root will not be found. If the From domain is a subdomain with no record of its own, the parent's `sp=` tag can apply instead, so check both the subdomain and the parent. RFC 7489 defines this lookup.
Two records at one name
The specification expects one DMARC record per domain. Two records make the policy unreliable, so receivers may treat the domain as having no valid policy. Find both with `dig +short TXT _dmarc.example.com`, keep the one with the policy and reporting you want, and delete the other.
Pass, but not aligned
This is the most common case. SPF may pass for `bounce.mailgun.example` while the From address is `hello@example.com`. DMARC then needs DKIM to align with `example.com`. Under relaxed alignment, which is the default, a subdomain aligns with its parent, but a different organisational domain does not. Check the `d=` tag and the `smtp.mailfrom` value in the header, and correct whichever one sits outside the From domain.
DKIM fails inside DMARC
If the DKIM signature fails, the selector may be missing, the key damaged, or the message altered after signing. The DKIM errors guide covers these. Fix the signature first, because DMARC will pass on DKIM alone once the signature is aligned.
Reports do not arrive
Aggregate reports go to the address in `rua=`. If that mailbox does not exist, or the address is on a different domain, the domain needs an authorisation record for the reporting, as RFC 7489 describes. Without it, reporting receivers may ignore the request. Use an address on the same domain as the record to avoid this.
Mail is rejected while the policy is none
`p=none` only asks receivers to take no action on a DMARC failure. A rejection with `p=none` comes from another filter, such as a provider's own policy or a rate limit, not from DMARC. Read the rejection text. If it names a reputation or policy, treat it as a sending-reputation problem and not as a DMARC one.