DMARC fails when neither SPF nor DKIM passes for a domain that matches the one in your From header. The checks can each pass and DMARC still fails, because they passed for the wrong domain. Depending on your policy, the message is then delivered, sent to spam or rejected.
Authentication-Results: mx.google.com;
dkim=pass header.i=@mailer.example-provider.net;
spf=pass smtp.mailfrom=bounces@mailer.example-provider.net;
dmarc=fail (p=REJECT sp=REJECT dis=REJECT) header.from=example.com
What it means
RFC 9989, the current DMARC standard, requires “Identifier Alignment”: the domain that passed SPF (the Return-Path) or the domain that signed with DKIM (d=) must match the From domain. In relaxed mode, the default, they must share the same organizational domain, so send.example.com aligns with example.com. In strict mode they must be identical. If nothing passes and aligns, the result is dmarc=fail, and the receiver applies your published policy (p=none, quarantine or reject).
Why it happens
- Your provider signs with its own domain. DKIM passes for
d=provider.net, which does not align withexample.com. - The Return-Path is your provider’s domain. SPF passes for them, not for you.
- DKIM is not set up for your domain, or the record is broken (see DKIM neutral).
- Forwarding or mailing lists. SPF breaks when mail is forwarded, and lists that add footers break DKIM.
- A forgotten sender. A CRM, billing tool or help desk sends as your domain without your keys.
- Someone is spoofing you. That is DMARC doing its job.
How to fix it
-
Read the result. In the raw message, compare
header.fromwithheader.iorheader.d(DKIM) andsmtp.mailfrom(SPF). Whichever should match, does not. -
Set up DKIM for your own domain with every sending service. Publish the CNAME or TXT records they give you so they sign with
d=example.com. This is the fix that survives forwarding. -
Use a custom Return-Path (often called a custom MAIL FROM or bounce domain) on a subdomain like
send.example.com, with its own SPF record. Then SPF aligns too. -
Publish or check your DMARC record:
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"Read the aggregate reports for a couple of weeks, fix every legitimate source, then move to
p=quarantineandp=reject. RFC 9989 removed thepcttag; to trial a stricter policy, addt=y, which asks receivers not to apply it yet. -
Retest with a message to Gmail and confirm
dmarc=pass.
Which server sent it
- Gmail rejects with
550 5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy.when the policy is reject, or451 4.7.26if DNS problems stopped it from deciding. Bulk senders whose From domain does not align with SPF or DKIM can get421 4.7.32or550 5.7.32. All from Google’s error list. - Microsoft returns
550 5.7.509 Access denied, sending domain [example.com] does not pass DMARC verification and has a DMARC policy of reject.See 550 5.7.509. - Yahoo lists failing a domain’s DMARC policy among its permanent 553 and 554 errors.
- Other servers using OpenDMARC or Rspamd record
dmarc=failand act on your policy in their own words.
Is it temporary?
A DMARC rejection is a 5xx, a permanent failure, and retrying the same message will fail the same way. Gmail’s 451 4.7.26 is the exception: a temporary DNS failure prevented the check, and a later retry can succeed. With p=none or p=quarantine there is no bounce at all; the failure shows only in headers and DMARC reports.
How Mailcandor handles it
Mailcandor signs with DKIM on your domain through three CNAME records and uses a bounce domain on send.yourdomain, so both SPF and DKIM align with your From address, and it gives DMARC advice when you add a domain. If a message bounces, the deliverability coach explains the reply in plain English, and hard bounces are suppressed automatically. Use the free bounce code lookup, the full error library, and our SPF, DKIM and DMARC setup guide.