Legitimate mail fails DMARC when neither SPF nor DKIM produces a pass for a domain aligned with the From: address. In practice that comes down to a short list of causes: a third-party service sending with its own domains, DKIM not set up or broken, SPF over its lookup limit, forwarding and mailing lists, or a record that is stricter than your senders. Each one has a specific fix, and your DMARC aggregate reports tell you which one you are looking at.
How DMARC decides pass or fail
A receiver passes DMARC when at least one of these is true:
- SPF passes and the
MAIL FROMdomain aligns with theFrom:domain. - At least one DKIM signature passes and its
d=domain aligns with theFrom:domain.
Everything else fails. That means there are only two ways to fail: the mechanism did not pass, or it passed for a domain that does not align. Every cause below is a version of one of those two. If alignment itself is new to you, read DMARC alignment explained first.
Start with the evidence
Do not guess. Two sources tell you exactly why a message failed.
The message headers. Open a failing message and find Authentication-Results:
Authentication-Results: mx.google.com;
dkim=pass header.i=@crm.example header.s=s1 header.b=Xk3p9a2Q;
spf=pass (google.com: domain of bounces@crm.example designates 192.0.2.25 as permitted sender) smtp.mailfrom=bounces@crm.example;
dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=example.com
The DKIM and SPF domains (crm.example) differ from header.from (example.com). That is an alignment failure, not an authentication failure. The email headers guide shows how to find and read this header in each mail client.
Aggregate reports. Each record in a report lists the source IP, message count, header_from, the SPF and DKIM domains and results, and the DMARC verdict. Group failing rows by source and you have your work list. See how to read DMARC aggregate reports.
Use this table to map what you see to a cause:
| SPF result | SPF domain aligned? | DKIM result | DKIM domain aligned? | Likely cause |
|---|---|---|---|---|
| pass | No | pass | No | Third-party sender on its own domains |
| pass | No | none | Third-party sender, DKIM not configured | |
| fail | Yes | pass | No | Forwarding, plus vendor-domain DKIM |
| fail / softfail | Yes | fail | Yes | Mailing list modified the message |
| permerror | none | SPF over 10 lookups, no DKIM | ||
| fail | Yes | none | Sending IP missing from SPF, no DKIM | |
| pass | Yes (relaxed) | pass | No (strict) | adkim=s with a subdomain signature |
| any | any | Many unknown IPs: likely spoofing, not a fault |
Cause 1: a third-party sender using its own domains
This is the most common cause by far. Newsletter tools, CRMs, help desks, billing systems and HR platforms send mail with From: you@example.com, but by default they use their own bounce domain for SPF and sign DKIM with their own domain.
Return-Path: <bounce-77@mail.vendor.example>
DKIM-Signature: d=vendor.example; s=k1; ...
From: Example Support <support@example.com>
Both checks pass, for vendor.example. Neither aligns with example.com.
Fix
- In the vendor's settings, add and verify
example.comas a sending domain. - Publish the DKIM records the vendor provides, usually CNAMEs such as:
k1._domainkey.example.com. IN CNAME k1.dkim.vendor.example.
- If the vendor supports a custom return path, publish it too:
bounce.example.com. IN CNAME bounces.vendor.example.
Aligned DKIM is the priority, because it survives forwarding. The third-party senders guide has the steps for common platforms. Confirm the selector resolves with the DKIM checker.
Why does adding the vendor to SPF not fix DMARC?
Because SPF is checked against the MAIL FROM domain, which is still the vendor's. An include: in your record authorizes the vendor's IPs for example.com, but nothing in the message asks the receiver to check example.com. It only helps once the vendor uses a return path on your domain.
Cause 2: DKIM is not set up, or is broken
If DKIM never produces an aligned pass, every message depends on SPF, and anything that breaks SPF breaks DMARC.
Typical faults:
- Signing never turned on. Google Workspace and Microsoft 365 both require you to publish the key and then start signing in the admin console. See the Google Workspace and Microsoft 365 guides.
- Wrong selector name in DNS. The record must be at
<selector>._domainkey.example.com, where the selector matches thes=tag in the signature. - Key split or truncated. Long 2048-bit keys must be split into multiple quoted strings in a single TXT record. Some DNS panels add stray quotes or drop part of the key.
- Key rotated in the sending system but not in DNS, or the old record deleted while mail is still signed with it.
In headers this shows as dkim=fail with a reason such as body hash did not verify or no key, or as dkim=none when nothing was signed. Look up the selector with the DKIM checker; the DKIM guide explains selectors and keys.
Cause 3: SPF errors
SPF can fail for your own domain even when the sender is legitimate.
- More than 10 DNS lookups. Each
include,a,mx,ptr,existsandredirectcounts, including nested ones. Past 10, SPF returnspermerror, which DMARC treats as a fail. - Two SPF records. Also a
permerror. Merge them. - A sender missing from the record. A new office mail server or a hosting provider's web server sending contact-form mail.
- Syntax errors.
include: _spf.google.com(space after the colon) orv=spf1in the wrong place.
example.com. IN TXT "v=spf1 include:_spf.google.com include:sendgrid.net include:mailgun.org include:servers.mcsv.net ~all"
Run your record through the SPF checker to see the lookup count. The SPF guide covers how to get back under the limit.
Cause 4: forwarding
When a recipient forwards your mail from one mailbox to another, the forwarding server sends it from its own IP. Your SPF record does not list that IP, so SPF fails for your domain. If your DKIM signature is intact, DMARC still passes. If you had no aligned DKIM, DMARC fails.
spf=softfail smtp.mailfrom=example.com;
dkim=pass header.d=example.com;
dmarc=pass header.from=example.com
That result is the healthy case: SPF broke and DKIM carried the message. The fix is to have aligned DKIM on every source, not to change SPF.
Cause 5: mailing lists and gateways that modify mail
Mailing lists often add a subject tag such as [team], append a footer, or rewrite MIME parts. Security gateways sometimes rewrite links or add banners. Each change can break the DKIM signature, and the list server's IP breaks SPF, so both fail.
Many lists now rewrite the From address to the list's own domain to avoid this. Others add an ARC seal so the next receiver can see the original authentication results. ARC (RFC 8617) is advisory: the receiver decides whether to trust it. The forwarding and ARC guide covers both approaches.
You cannot fix this from your side for lists you do not run. Receivers know about it, and DMARC lets them make local exceptions, which aggregate reports show as override reasons such as mailing_list or forwarded.
Cause 6: your record is stricter than your senders
adkim=sfails a signature fromd=mail.example.comwhen the From isexample.com.aspf=sfails every vendor that uses a return path likebounce.example.com.- A subdomain record at
_dmarc.news.example.comwith stricter settings than the parent.
Return to relaxed alignment unless your reports prove strict is safe. Check the published values with the DMARC checker.
Cause 7: lookalike or different sending domains
A system that sends as noreply@example-mail.com or alerts@examplecorp.net while you expect example.com is a different organizational domain. It will never align with example.com. Either move it to a subdomain of your domain or give that domain its own SPF, DKIM and DMARC.
Not every failure is a problem
Aggregate reports for any domain with real traffic show failures from IPs you have never heard of. If the source is not one of your senders, the failure is DMARC doing its job: that is spoofing. Do not add unknown IPs to SPF to make the numbers look better. The email spoofing guide explains what that traffic usually is.
Worked example: three failing sources
A week of reports for example.com at p=none:
| Source | Messages | SPF domain / result | DKIM domain / result | Diagnosis |
|---|---|---|---|---|
| Help desk | 2,140 | hd.vendor.example / pass |
hd.vendor.example / pass |
Cause 1 |
Office relay 192.0.2.40 |
380 | example.com / permerror |
none | Cause 3, plus no DKIM |
| Various, 61 IPs | 95 | random domains / pass | none | Spoofing |
Actions:
- Help desk: add the domain, publish its two DKIM CNAMEs.
- Office relay: flatten one include to bring SPF under 10 lookups, and enable DKIM signing on the relay.
- Spoofing: no action. It will be blocked once the policy is enforced.
The next week, the first two sources pass and only the spoofing row fails. That is the signal to move toward quarantine, as described in how to set up DMARC.
Common mistakes when fixing DMARC failures
- Adding every unknown IP to SPF. You authorize the spoofers.
- Fixing SPF only. Forwarded mail still fails without aligned DKIM.
- Switching to
p=nonepermanently after a bounce. Fix the sender instead, then re-enforce. - Checking only one message. Reports show the pattern across all receivers.
- Assuming
dkim=passmeans aligned. Check thed=domain against the From domain.
Checklist
- Read
Authentication-Resultson a failing message and note both domains. - Match the pattern to a cause using the table above.
- Give every legitimate sender aligned DKIM, then aligned SPF where possible.
- Keep SPF to one record and 10 lookups.
- Keep
adkimandaspfrelaxed unless proven safe. - Leave unknown failing sources alone.
Find the failing piece fast with a full domain scan, or test your record with the free DMARC checker.