DMARC guide
Why email fails DMARC even when SPF and DKIM pass, how to find the cause in the headers, and how to fix it for good.
DMARC passes when either SPF or DKIM passes and lines up with the domain in your From address. That second part, called alignment, is why email can show spf=pass and dkim=pass and still fail DMARC.
| Check | Passes DMARC when |
|---|---|
| SPF | SPF passes and the domain in the hidden return address matches your From domain |
| DKIM | DKIM passes and the signing domain (d=) matches your From domain |
By default alignment is relaxed, so mail.yourdomain.com lines up with yourdomain.com. If your record says aspf=s or adkim=s, the domains must match exactly.
Open a failing email’s headers. In Gmail, use Show original. Look at the Authentication-Results line: dmarc=fail, then which of spf= and dkim= failed and which domain each checked.
Read your DMARC reports. They list every server sending as you and whether it passed. Unknown senders are either services to fix or someone faking you.
Set up DKIM for your domain in each service. It’s the fix that survives forwarding. Check it with the DKIM checker.
Fix SPF so every service is listed and you’re under 10 lookups, using the SPF checker.
Check your setup
The full scan checks SPF, DKIM and DMARC together and shows what to fix first.
Sponsored
EasyDMARC
Reading DMARC reports by hand is painful. EasyDMARC turns them into a dashboard and shows exactly which senders fail.