550 5.7.26 DMARC Policy Rejection: How to Fix It

The short answer
Gmail returns 550 5.7.26 when a message using your domain in the From address fails DMARC and your policy is quarantine or reject. DMARC passes only if SPF or DKIM aligns with the From domain. Find the sending service that signs with its own domain, authenticate your domain there, then retest with Show original.
Gmail bounce 550 5.7.26 means your mail failed DMARC alignment. Find the sender that breaks it from the headers, then fix SPF or DKIM per service.
On this page
- 01Exact error text: the three 550 5.7.26 bounces
- 02Other DMARC rejection codes: 5.7.1, 5.7.509, 5.7.515 and permerror
- 03How to fix a DMARC fail, in order
- 04What 550 5.7.26 actually means
- 05SPF or DKIM pass is not DMARC alignment
- 06Which cause you have: read the headers
- 07The two paths DMARC compares
- 08Fix 1: Authenticate a third-party sender to your domain
- 09Fix 2: Repair a Gmail 'Send mail as' alias
- 10Fix 3: Turn on authentication for your own domain
- 11Preventing it
- 12Where a mail client fits, and where it does not
550 5.7.26 is Gmail's permanent rejection for mail that fails your domain's DMARC policy. Some servers word it as 550 message rejected due to sender's DMARC policy. DMARC passes only when SPF or DKIM authenticates the same domain as your From address, so find the service whose Return-Path and DKIM d= show its own domain, and authenticate your domain there.
Seeing 5.7.1, 5.7.509, 5.7.515 or a DMARC permerror instead? The code table below sends you to the right fix. Because a 5xx code is permanent, the sending server will not retry; fix the cause, then resend.
Exact error text: the three 550 5.7.26 bounces#
Google's SMTP error reference lists three different messages under 550 5.7.26, and they point to different fixes. Match the wording in your bounce to one of these (yourco.com stands in for your domain). In a raw bounce, long replies are split across lines that each start 550-5.7.26, which is why the hyphenated form shows up too.
- DMARC policy wording: the message failed DMARC and your record says quarantine or reject. Most of this page is about this case.
- Unauthenticated sender wording: neither SPF nor DKIM passed at all. Gmail requires every sender to use at least one, so start with Fix 3, then check the Gmail and Yahoo bulk sender requirements.
- SPF hard-fail wording: your SPF record ends in -all and the sending server is not listed in it. Add that service's include, or move it to a subdomain with its own SPF.
Other DMARC rejection codes: 5.7.1, 5.7.509, 5.7.515 and permerror#
Different receivers word a DMARC failure differently. This table maps the codes people search for to who sends them and what they mean. Gmail and Microsoft rows come from their own published references, checked in October 2026; providers revise these lists, so confirm against the source when a code does not match.
| Code | Who sends it | What it means | Where to go |
|---|---|---|---|
| 550 5.7.26 | Gmail | DMARC fail with a quarantine or reject policy, or no SPF or DKIM pass at all, or an SPF -all hard fail | This page |
| 451 4.7.26 | Gmail | Temporary: your policy would reject, but DNS errors stopped Gmail finishing the check | Check your DNS host; the sender retries |
| 421 4.7.32 or 421 5.7.32 | Gmail | From domain is not aligned with the SPF or DKIM organizational domain (rate limited, or blocked) | Same alignment fixes as 5.7.26 |
| 550 5.7.40 | Gmail | No DMARC record, or a record with no policy, for a domain that needs one | [What DMARC is and how to publish it](/blog/what-is-dmarc) |
| 550 5.7.1 | Gmail and many others | A generic policy refusal. Gmail uses it for IPv6 PTR and authentication guidelines; other servers attach DMARC text to it | Read the text after the code; see [550 5.7.1 message rejected](/blog/smtp-error-550-5-7-1-message-rejected) |
| 550 5.7.509 | Microsoft 365 / Exchange Online | Access denied: the sending domain does not pass DMARC verification and has a policy of reject | [550 5.7.509 Microsoft DMARC rejection](/blog/smtp-error-550-5-7-509-dmarc-verification-failed) |
| 550 5.7.515 | Outlook.com, Hotmail, Live, MSN | A high-volume sender (5,000+ messages from one From domain) does not meet Microsoft's SPF, DKIM and DMARC requirements | Microsoft's 5.7.515 support article |
| 553 or 554 | Yahoo | Failed authentication checks against the sending domain's DMARC or DKIM policy; permanent | Same alignment fixes; do not retry |
| 554 5.7.5, or 550 5.7.0 with DMARC text | Other receivers | Not in Google's or Microsoft's published lists. Usually a plain DMARC fail, or a record the receiver could not evaluate (permerror) | Check you publish exactly one valid DMARC record, then fix alignment |
How to fix a DMARC fail, in order#
- Find the failing sender: open a copy of the message in Gmail with Show original and read which domain SPF and DKIM authenticated.
- Align it: authenticate your domain inside that service so its DKIM d= or Return-Path uses your domain (Fixes 1 to 3 below).
- Only then tighten policy: hold at p=none while you fix sources, and move to quarantine and reject once aggregate reports are clean.
What 550 5.7.26 actually means#
The 550 is a permanent (5xx) failure. In the enhanced-status registry, RFC 7372 defines X.7.26 as multiple authentication checks failed, and that is exactly what a DMARC failure is: neither SPF nor DKIM produced an aligned pass. So this bounce is never about one missing DNS record alone. It means the domain in your From header publishes DMARC, and this message did not authenticate as that domain.
Google's reference advises contacting the domain's administrator if the mail was legitimate, a clue that the fix lives in the sender's setup, not the recipient's.
Reject vs quarantine
SPF or DKIM pass is not DMARC alignment#
The most common misread: SPF passes, or DKIM passes, so you assume DMARC is fine. SPF authenticates the envelope sender (the Return-Path, or MAIL FROM), not the From header a person sees. DKIM authenticates whatever domain is in the signature's d= tag, which a sending service often sets to its own domain.
RFC 9989, the current DMARC standard, counts a pass only when the authenticated domain aligns with the From domain. Relaxed alignment, the default, matches on the organizational domain, so mail.yourco.com aligns with yourco.com. Strict alignment needs an exact match. DMARC passes if either SPF or DKIM aligns.
If SPF passes but DKIM does not align, look at the DKIM-Signature header. A d= domain such as esp.com or a vendor's shared domain means the service is signing for itself. Set up that service's custom DKIM for your domain (usually two or three CNAME records) so it signs with d=yourco.com. That single aligned signature is enough for DMARC, and unlike SPF it survives forwarding.
Which cause you have: read the headers#
Send a test to a Gmail account you control, open it, and choose Show original. Gmail prints the SPF, DKIM and DMARC results and the domain each one authenticated; the Authentication-Results line reading dmarc=fail against your From domain is the check that bounced you. Match the evidence to a row, then go to that fix.
| What the headers show | Cause | Fix |
|---|---|---|
| DKIM d= and Return-Path both show a vendor's domain | A third-party service (ESP, CRM, help desk) sends as your domain without domain authentication | Fix 1 |
| dkim=pass for gmail.com, dmarc=fail for your domain | A Gmail Send mail as alias that goes out through Gmail rather than your domain's SMTP | Fix 2 |
| dkim=none or dkim=fail, and SPF lacks your provider's include | Google Workspace or Microsoft 365 with DKIM never turned on | Fix 3 |
| SPF fails, DKIM fails or is missing, and the message passed through a forwarder or mailing list | Forwarding broke SPF, and the list changed the message so DKIM broke too | Sign with aligned DKIM; see how [forwarding breaks SPF and DMARC](/blog/arc-and-email-forwarding-dmarc) |
| DMARC aggregate (rua) reports show a failing source you recognize | A legitimate sender was never aligned before you moved to p=reject | Align it, or step back to p=none while you fix it |
The two paths DMARC compares#

Fix 1: Authenticate a third-party sender to your domain#
When an email platform, CRM, help desk or invoicing tool sends as your address, it signs with its own DKIM domain and uses its own Return-Path by default. Both authenticate the vendor, so DMARC fails on alignment even though SPF and DKIM technically pass.
- 1
Find the failing sender
Open a bounced or delivered test message and note which vendor's domain appears in the DKIM d= tag and the Return-Path.
- 2
Open the vendor's domain authentication settings
Look for a setting called authenticate domain, verified or sending domain, DKIM setup, or custom Return-Path, and add your domain.
- 3
Publish the DNS records they give you
Usually CNAMEs for DKIM, and sometimes a custom Return-Path subdomain such as bounces.yourco.com. Add each record at your DNS host exactly as shown.
- 4
Let the vendor verify, then test
Send one message to a Gmail address you control and choose Show original. You want dkim=pass with d=yourco.com, or SPF authenticating a subdomain of yourco.com, and dmarc=pass.
Fix 2: Repair a Gmail 'Send mail as' alias#
If a custom-domain address under Settings, Accounts and import, Send mail as goes out through Gmail itself, the message is signed by gmail.com and its SPF resolves to Google, so neither identifier aligns with your domain and DMARC fails. This mostly affects older alias setups.
- 1
Confirm the misalignment
Send a test from the alias to another mailbox, open Show original, and check whether the DKIM d= and the SPF domain read gmail.com instead of yours.
- 2
Route through your domain's real SMTP
Edit the Send mail as address to use your domain provider's SMTP server, such as Google Workspace with the domain added or your host's SMTP.
- 3
Turn on SPF and DKIM for the domain itself
Publish your provider's SPF include and enable DKIM signing for yourco.com at that provider, as in Fix 3.
- 4
Retest
A fresh Show original should show your own domain authenticated and dmarc=pass.
Fix 3: Turn on authentication for your own domain#
If you send directly from Google Workspace or Microsoft 365 and still get 5.7.26, the usual gap is that DKIM was never switched on, or SPF is missing the provider's include.
- 1
Publish or repair SPF
Keep exactly one SPF TXT record at your root. Google uses include:_spf.google.com; Microsoft 365 uses include:spf.protection.outlook.com. End the record with ~all.
- 2
Generate and enable DKIM
Google Workspace: Admin console, Apps, Google Workspace, Gmail, Authenticate email; generate the key, publish the TXT record, then start authentication. Microsoft 365: enable DKIM in the Defender portal and publish the two CNAMEs.
- 3
Confirm your DMARC record
Publish one TXT record at _dmarc.yourco.com, such as v=DMARC1; p=none; rua=mailto:[email protected]. Move to quarantine and then reject once alignment is confirmed.
- 4
Test
Send to a Gmail address, open Show original, and confirm an aligned spf=pass or dkim=pass, and dmarc=pass.
Preventing it#
- Inventory every service that sends as your domain, including your mail platform, CRM, help desk, invoicing and marketing tools, and authenticate each one.
- Roll DMARC out in stages: p=none to monitor, read the aggregate reports, then quarantine, then reject once every legitimate source aligns.
- Keep reading aggregate reports after you reach reject. A tool added months later can start failing and trigger fresh bounces.
Check the current DMARC standard
Where a mail client fits, and where it does not#
A mail client cannot fix this for you. 550 5.7.26 is a sending-side problem, fixed in your DNS and your sending services. We build AI Emaily, a mail client, not a DMARC monitor, an ESP or a deliverability tester, so it will not publish records or repair alignment. On the receiving side, AI Emaily's spam and phishing protection weighs whether a sender is who it claims to be before trusting a link or a request, the mirror image of the check that bounced your mail.
Frequently asked
See it in AI Emaily
Keep reading
Sources
- Google: Gmail SMTP errors and codes
- Google: email sender guidelines
- RFC 9989: Domain-based Message Authentication, Reporting, and Conformance (DMARC)
- RFC 7372: Email authentication status codes
- Microsoft Learn: email non-delivery reports and SMTP errors in Exchange Online
- Microsoft: fix NDR error 550 5.7.515 in Outlook.com
- Yahoo Sender Hub: SMTP error codes

Written by
Nafiul HasanNafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.