DMARC guide
DMARC fail can happen even when SPF and DKIM pass. Here is why, 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.
Tools for this job
Sponsored
EasyDMARC
Reading DMARC reports by hand is painful. EasyDMARC turns them into a dashboard and shows exactly which senders fail.
Sponsored
Premium Inboxes
Setting up new sending domains? Premium Inboxes adds SPF, DKIM and DMARC for you and loads the inboxes into your sending tool.
Check your setup
The full scan checks SPF, DKIM and DMARC together and shows what to fix first.