550 5.7.509 means Microsoft rejected your message because your From domain failed DMARC and your DMARC record says p=reject. Microsoft is following your own instruction. Make SPF or DKIM pass in alignment with the From domain and the rejections stop.
550 5.7.509 Access denied, sending domain [example.com] does not pass DMARC verification and has a DMARC policy of reject.
What it means
Microsoft’s NDR reference lists this code with the cause “The sender’s domain in the 5322.From address doesn’t pass DMARC.” The 5322.From is the visible From header. Under RFC 9989, the current DMARC standard, a message passes only if SPF or DKIM passes for a domain aligned with that From domain. With p=reject, the domain owner asks receivers to refuse failures, and Microsoft does.
Why it happens
Microsoft’s own DMARC guidance lists three main causes:
- Missing or incorrect DMARC, SPF or alignment. A service sends as your domain but signs DKIM with its own domain and uses its own Return-Path.
- Missing DKIM. No DKIM public key in DNS, or the message is not signed when sent.
- Forwarding. Forwarding breaks SPF, and changes along the way break DKIM.
Other common reasons: a forgotten sender (CRM, help desk, billing) using your domain, or someone spoofing it.
How to fix it
-
Read the headers in the NDR. Microsoft includes the original headers. Look for
Authentication-Results, for examplespf=none ... dkim=none (message not signed) ... dmarc=fail action=oreject, which shows what failed. -
Add DKIM for your domain at every sending service, so messages are signed with
d=example.com. This is the fix that survives forwarding. -
Align SPF with a custom Return-Path on a subdomain where the service supports it.
-
Check your DMARC record and reports:
_dmarc.example.com. TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com"If legitimate mail is failing today, step back to
p=noneorp=quarantinewhile you fix senders, then return to reject. Uset=yfor testing; the oldpcttag was removed in RFC 9989. -
For forwarding, forward with a system that rewrites the envelope sender (SRS) and leaves the message unchanged, so DKIM still passes.
Our SPF, DKIM and DMARC guide and DMARC fail page cover alignment in depth.
Which server sent it
- Microsoft 365 and Outlook.com send 550 5.7.509. Microsoft explains causes in its “Why does DMARC fail?” guidance.
- Gmail says the same thing differently:
550 5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy. - Yahoo uses
554 5.7.9 Message not accepted for policy reasonsand lists DMARC failures among its permanent errors. - Other servers with OpenDMARC or Rspamd reject with their own 550 or 554 text.
How to tell your domain from a forwarder
Compare the IP in Authentication-Results or the last Received line with your own senders. If the message came from your provider’s IP and still failed, your own setup is at fault. If it came from an unknown server that relayed a message you sent earlier, it was forwarded, and DKIM signed with your domain is what keeps those messages passing.
Is it temporary?
No. It is a 5xx permanent rejection. The same message fails the same way until the domain’s authentication passes. The recipient address is valid, so do not suppress it: fix authentication, then send a new message.
How Mailcandor handles it
Mailcandor signs DKIM on your domain with three CNAME records and uses a bounce domain on send.yourdomain, so both SPF and DKIM align and DMARC passes at Microsoft, and it gives DMARC advice for each domain. When a message bounces, the deliverability coach explains it in plain English and hard bounces are suppressed automatically. Decode any NDR with the free bounce code lookup, browse the error library, and see more free tools.