
A DMARC fail means a message did not pass SPF or DKIM for a domain that matches its From address. The usual cause is not a broken record. It is a sending tool that authenticates as its own domain, so both checks pass and neither one matches yours. The fix is to make that tool sign and bounce with your domain, then confirm the result in the headers.
What happens to the message depends on your DMARC policy. At p=none it is still delivered, at p=quarantine it goes to spam, and at p=reject it bounces. This guide shows how to find which of 7 causes you have and how to repair each one.
What does a DMARC fail mean?
A message fails DMARC when neither SPF nor DKIM produces a pass for a domain that matches the From domain. One aligned pass is enough, so a failure always means both routes were closed.
DMARC is the DNS record that tells receiving servers how to treat mail that cannot be tied to your domain. It was defined in RFC 7489 and is now specified in RFC 9989, published in May 2026.
The receiver runs two checks, and each one has two parts:
| Check | Part 1: does it pass? | Part 2: does it align? |
|---|---|---|
| SPF | The sending IP is listed in the SPF record of the envelope sender's domain | That envelope domain matches the From domain |
| DKIM | The signature verifies against the public key in DNS | The signing domain in d= matches the From domain |
DMARC alignment is the match in part 2. In relaxed mode, the default, the two domains only need to share the same organizational domain, so mail.example.com aligns with example.com. In strict mode they have to be identical.
Most failures are alignment failures. SPF and DKIM both report pass, and the message still fails, because the domains that passed belong to someone else.
How do you confirm it in the message headers?
Open a delivered copy of the message, view the original, and read the Authentication-Results header. It records what the receiving server found for SPF, DKIM and DMARC in three short lines.
In Gmail, open the message, choose the three-dot menu and select "Show original". A failing message looks like this:
Authentication-Results: mx.google.com;
dkim=pass header.i=@crmtool.example header.s=k2;
spf=pass smtp.mailfrom=bounce.crmtool.example;
dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=example.com
Read the authentication results from the bottom up:
header.fromis the domain DMARC is protecting, hereexample.com.smtp.mailfromis the domain SPF checked. It passed, forbounce.crmtool.example.header.iis the domain DKIM signed as. It passed, forcrmtool.example.
Neither passing domain is example.com, so nothing aligns. The dis=QUARANTINE part shows what the receiver did with the message.
If you have no delivered copy because the mail bounced, the bounce message names the reason. Before anything else, confirm the policy you publish with the DMARC checker. A typical DMARC record looks like this:
_dmarc.example.com. TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"
What are the causes, and which one do you have?
There are 7 causes, and the header tells you which one applies. Find the row that matches what your Authentication-Results header shows.
| # | Cause | What the header shows |
|---|---|---|
| 1 | A sending tool signs with its own domain | dkim=pass and spf=pass, both for the tool's domain |
| 2 | The tool does not sign with DKIM at all | dkim=none, and SPF passes for another domain |
| 3 | SPF itself fails | spf=fail, spf=softfail or spf=permerror |
| 4 | The DKIM signature does not verify | dkim=fail, often with a note about the body hash or a missing key |
| 5 | Strict alignment is set and a subdomain sends | Passes for mail.example.com, From is example.com |
| 6 | The message was forwarded or sent through a mailing list | spf=fail for the forwarder's IP, sometimes dkim=fail too |
| 7 | Someone else is sending as your domain | An IP and domains you do not recognize |
Cause 1 is the one to check first. Marketing platforms, CRMs, help desks and invoicing tools all send as their own domain until you set up custom domain authentication, and each tool has to be set up separately.
Cause 7 is not a fault. It is DMARC doing its job, and it needs no repair.
How do you fix each cause?
Fix the cause the header shows, then send a test and read the header again. A message needs only one aligned pass, but set up both SPF and DKIM alignment where the tool allows it, so that one can fail without the message failing.
Causes 1 and 2: turn on custom domain authentication
In the sending tool, find the setting called domain authentication, sender authentication or custom DKIM. The tool gives you DNS records to publish, usually CNAME records for DKIM and one for the bounce domain.
Once they are live, the same message produces this:
Authentication-Results: mx.google.com;
dkim=pass header.i=@example.com header.s=k2;
spf=pass smtp.mailfrom=bounce.example.com;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=example.com
DKIM is the more valuable of the two. It keeps working when a message is forwarded, as long as the content is not changed. Our guide to SPF, DKIM and DMARC covers how the two checks differ.
Cause 3: repair the SPF record
SPF fails for three common reasons: the sending server is not in the record, the domain has two SPF records, or the record needs more than 10 DNS lookups. RFC 7208 sets the limit of 10 and treats both of the last two as a permanent error.
Run the domain through the SPF record checker, which counts the lookups. Remember that SPF is checked on the envelope sender's domain, so a correct record on example.com does not help when the tool bounces through its own domain.
Cause 4: repair the DKIM signature
DKIM fails when the public key is missing from DNS, the selector in the message does not match the one published, or the message was altered after signing. RFC 6376 defines the signature and the selector.
Take the header.s value from the header and test it in the DKIM checker. If the key is present and correct, look for something that rewrites the message after it is signed, such as a gateway that adds a footer or a disclaimer.
Cause 5: relax the alignment mode
Strict alignment is set by adkim=s or aspf=s in the DMARC record. If your tools send from subdomains while the From line uses the main domain, remove those tags to return to relaxed mode, or change the From address to match.
What do Gmail, Yahoo and Outlook do with mail that fails?
All three follow the DMARC policy you publish, and they also apply their own sender rules on top. As of November 25, 2026, each one documents a response to unauthenticated or unaligned mail.
| Provider | What it does | Source |
|---|---|---|
| Gmail | Rejects or rate limits mail that fails a p=reject policy or is not aligned |
Gmail SMTP errors |
| Yahoo | Requires bulk senders to publish DMARC of at least p=none, and DMARC must pass |
Sender requirements |
| Outlook.com | Rejects mail from senders of more than 5,000 messages a day that fails authentication | Outlook requirements |
Gmail's error reference lists these two responses. The first is a rejection under the domain's own policy, and the second is a temporary refusal for misalignment:
550 5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy.
421 4.7.32 Your email has been rate limited because the From: header (RFC5322) in this message isn't aligned with either the authenticated SPF or DKIM organizational domain.
Outlook.com returns its own code for high-volume senders that do not meet the authentication level:
550 5.7.515 Access denied, sending domain example.com does not meet the required authentication level.
A policy of p=none does not make the problem harmless. Google's email sender guidelines ask senders of 5,000 or more messages a day to Gmail for an aligned From domain, whatever the policy says. Unaligned mail is also one of the causes in our guide to why emails go to spam.
Why does forwarded mail fail, and can you fix it?
Forwarded mail fails because the forwarding server is not in your SPF record, so SPF breaks on every forward. You cannot repair it on the forwarder's side, but DKIM alignment on your side removes most of the damage.
A forwarded message arrives from the forwarder's IP address, which your SPF record has never listed. If the forwarder leaves the content untouched, your DKIM signature still verifies and still aligns, and the message passes DMARC on DKIM alone.
Mailing lists are harder. A list that adds a subject tag or a footer changes the signed content, so DKIM fails as well. The standard written for this case is ARC, the Authenticated Received Chain, defined in RFC 8617.
ARC lets each server that handles a message record the authentication results it saw, so the final receiver can take the original result into account. It is an experimental standard, and it is set up by the forwarder or list operator, not by you. Yahoo's sender requirements recommend ARC for senders that forward mail.
What you control is simple. Sign everything with DKIM for your own domain, and accept that a small share of forwarded mail in your reports will still show as failing.
How do we diagnose it on a client domain?
We start from the DMARC aggregate reports, not from single messages, because the reports list every source that sends as the domain. One header shows one tool, and a domain often has several.
The order we work in:
- We pull 2 weeks of aggregate reports from the
ruaaddress and group them by sending source. - We check each source against the list of tools the business knows it uses. A source nobody listed is the first suspect.
- We pull a real header from each failing source and match it to one of the 7 causes above.
- We repair one source at a time and watch its line in the next day's reports turn to pass.
- Only then do we tighten the policy. Moving to
p=rejectwith a source still failing blocks your own mail.
On one engagement in our case studies, SPF/DKIM alignment measured 74% before the work and 100% after it. The work began with an audit of the sending domains and their authentication, the same first step as above.
If you do not receive reports yet, add a rua address to your record first and wait a few days. To see what your domain publishes today, run the free email deliverability test.
When is a failure the right result?
A failure is the right result when the message did not come from you. DMARC exists so that mail forging your domain fails, and those failures need no action.
Three signs separate a forgery from a fault of your own. The sending IP belongs to no tool you use, the volume is low or arrives in bursts, and neither SPF nor DKIM passes for any domain connected to you. Mail like this is the reason to move toward p=reject, not a reason to loosen the record.
The reverse mistake is more costly. Weakening the policy to p=none to make bounces stop also lets forged mail through again, and it leaves the real cause in place. Find the failing source, align it, and keep the policy.
Drafted with AI assistance from our own records and client work, then reviewed and approved by Kunal Arora. See our editorial policy.