Fix 550 5.7.1 Message Rejected Due to DMARC Policy (Alignment Guide)
Seeing 550 5.7.1 message rejected due to DMARC policy even when SPF passes? Debug Return-Path vs From alignment, forwarding breaks, and CRM senders.

A 550 5.7.1 message rejected due to DMARC policy bounce occurs when your domain publishes p=reject (or a receiver blocks unauthenticated mail) and neither SPF nor DKIM aligns with the visible From: header domain—even if SPF passes for a vendor's bounce address. Fix it by adding custom DKIM keys (d=yourdomain.com) for every third-party sender, setting custom Return-Path domains, or temporarily stepping back to p=quarantine; pct=25 while auditing rua= reports.
Whether you run 3 domains on Razix Starter ($29/mo) or unlimited client domains on Business ($199/mo), one unaligned CRM or auto-forwarder under p=reject silently bounces live customer invoices.
Common 550 5.7.1 DMARC Failure Scenarios
| Failure Scenario | What Fails Alignment | Exact Symptom | Immediate Fix |
|---|---|---|---|
| Unconfigured CRM / Billing Tool | Return-Path uses vendor domain; DKIM disabled or vendor-signed | SPF passes for vendor; DMARC fails for From: billing@yourdomain.com | Publish vendor's custom DKIM CNAMEs (d=yourdomain.com) |
| Auto-Forwarding / Mailing Lists | Forwarder changes IP (breaks SPF) and edits body (breaks DKIM) | 550-5.7.26 / 550 5.7.1 on forwarded threads | Keep DKIM clean; avoid strict adkim=s |
Strict Subdomain Alignment (adkim=s / aspf=s) | Subdomain mail.yourdomain.com sends while root demands exact match | Subdomain alignment fails despite shared ownership | Remove adkim=s; aspf=s; for relaxed alignment (r) |
| Missing DKIM After Migration | MX swapped before DKIM CNAMEs verified | dkim=none + unaligned Return-Path = bounce | Verify 3 DKIM CNAMEs (grey cloud) in under 2 minutes |
Dissecting the Exact 550 5.7.1 SMTP Bounce Log
Microsoft Exchange Online and Google Workspace return slightly different extended codes for the exact same DMARC rejection:
Remote Server returned '550 5.7.1 Unauthenticated email from yourdomain.com is not accepted due to domain's DMARC policy.'On Gmail, the matching rejection is 550-5.7.26:
550-5.7.26 Unauthenticated email from yourdomain.com is not accepted due to domain's DMARC policy.
550-5.7.26 To learn about the DMARC initiative, go to https://support.google.com/mail/?p=DmarcRejectionNotice what the bounce log omits: it never specifies whether SPF alignment, DKIM alignment, or both failed. To solve 550 5.7.1 message rejected due to DMARC policy, inspect the two separate sender headers inside every email.
Why DMARC Fails Even When SPF Passes (dmarc alignment failure bounce fix)
The biggest trap in any dmarc alignment failure bounce fix is assuming spf=pass satisfies DMARC. Every email carries two distinct sender identities:
- Envelope Sender (
RFC5321.MailFrom/Return-Path): Checked by SPF to verify the connecting mail IP. Hidden in normal inbox views. - Visible Header From (
RFC5322.From): Shown to recipients (From: Sarah [billing@yourdomain.com]).
DMARC enforces identifier alignment: at least one passing protocol (SPF or DKIM) must share the organizational domain of the visible From: header. When HubSpot, Stripe, or Zendesk sends without custom domain DKIM:
Return-Path: bounce-94812@shared.vendor-esp.net <-- SPF PASSES for shared.vendor-esp.net
From: "Acme Billing" <billing@acme.io> <-- Visible domain is acme.io
DKIM-Signature: d=shared.vendor-esp.net; ... <-- DKIM PASSES for shared.vendor-esp.net
# DMARC Check for acme.io:
- Return-Path aligns with acme.io? NO.
- DKIM d= aligns with acme.io? NO.
- Result: DMARC = FAIL -> Policy p=reject -> 550 5.7.1 Bounce!Both SPF and DKIM technically passed, yet DMARC rejected the email because neither passing domain matched acme.io.
Relaxed vs. Strict Alignment (adkim=r vs. adkim=s)
| Mode | DMARC Tag | Subdomain Match (From: mail.acme.io vs. d=acme.io) | Recommendation |
|---|---|---|---|
| Relaxed (Default) | adkim=r; aspf=r; (or omitted) | Passes — Organizational root matches | Use for 99% of SaaS and multi-domain stacks |
| Strict | adkim=s; aspf=s; | Fails — Requires exact hostname match | Avoid unless strict single-host banking compliance applies |
If your _dmarc TXT record includes adkim=s; aspf=s;, emails sent from notify.acme.io using a root key—or vice versa—immediately bounce with 550 5.7.1. Removing those strict tags restores relaxed alignment immediately.
How Mail Forwarding Breaks SPF (and Why DKIM Saves You)
Auto-forwarding breaks SPF by design: when partner.com forwards your email to client@gmail.com, Gmail sees partner.com's IP—which is not in your SPF record. SPF fails. However, if your domain signs messages with aligned DKIM (d=acme.io) and partner.com leaves the body intact, DKIM survives the hop and passes DMARC.
That is also why ~all (SoftFail) with aligned DKIM beats -all (HardFail) on multi-sender domains—see our multi-domain SPF, DKIM, and DMARC guide.
Step-by-Step: Fix 550 5.7.1 DMARC Fail Playbook
Follow these four steps to stop live bounces and restore alignment across every sender.
Step 1: Relax p=reject Temporarily If Production Mail Is Bouncing
Inspect your active DMARC record first:
dig _dmarc.yourdomain.com TXT +shortIf legitimate invoices are bouncing, immediately change p=reject to p=none with reporting so mail delivers while you audit senders:
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com; fo=1Build a clean monitoring or staged rollout _dmarc TXT string with our DMARC record generator.
Step 2: Publish Custom DKIM Keys for Every Legitimate Sender
Every platform sending as @yourdomain.com—your business inbox, helpdesk, CRM, and billing provider—must sign with d=yourdomain.com:
- On Razix (AWS SES): Publish the three CNAME-delegated DKIM tokens (
[token]._domainkey). Razix validates DNS in under 2 minutes across Starter ($29/mo), Pro ($79/mo), and Business ($199/mo). On Cloudflare, keep DKIM CNAMEs on DNS only (grey cloud) as detailed in our Cloudflare DNS setup guide. - On CRMs & Billing Tools: Finish custom domain DKIM authentication inside Stripe, HubSpot, and Zendesk so none fall back to shared vendor signing.
Step 3: Enable Custom MAIL FROM / Return-Path Subdomains
Where supported (including AWS SES custom MAIL FROM subdomains like bounce.yourdomain.com), configure aligned Return-Path records. That achieves dual SPF+DKIM alignment while keeping your apex SPF record under the 10 DNS lookup limit.
Step 4: Audit rua= Reports Before Re-Enforcing p=reject
Run p=none for 7–14 days until rua= XML reports confirm 100% alignment across all legitimate tools, then step back up cleanly: p=quarantine; pct=25 → p=quarantine; pct=100 → p=reject; pct=100. Razix monitors every connected domain continuously and sends active in-app drift alerts if a DNS edit removes DKIM or _dmarc before bounces resume.
Honest Tradeoffs: When NOT to Choose Razix
- Enterprises needing
rua=XML /ruf=forensic dashboards: Razix monitors live DNS record health and drift, not aggregate XML parsing across 200+ legacy relays—pair with Valimail or dmarcian for that. - Single-domain Google Workspace or M365 teams: Keep your existing suite if you depend daily on Google Drive, Docs, Meet, or SharePoint.
- Dormant domains: Publish
v=spf1 -allandv=DMARC1; p=reject;at your registrar with zero active mailboxes.
FAQ
Why do I get 550 5.7.1 message rejected due to DMARC policy when SPF says pass?
SPF validates the hidden Return-Path. When a CRM sends with its own Return-Path domain while displaying your domain in From:, SPF passes for the vendor—but SPF alignment fails under DMARC. Adding custom DKIM (d=yourdomain.com) resolves the bounce.
Should I use adkim=r or adkim=s to fix 550 5.7.1 DMARC failures?
Use adkim=r and aspf=r (relaxed alignment, the default when omitted). Strict alignment (s) rejects legitimate mail whenever subdomains and root domains cross-sign.
How can I check if DKIM aligns on a sent message?
Open Show original in Gmail and verify that the d= tag in DKIM-Signature matches your visible From: domain and Authentication-Results reports dmarc=pass. Paste the full raw headers into our browser-local email header analyzer to inspect SPF, DKIM, and DMARC alignment verdicts in seconds.
Does Razix configure aligned DKIM and SPF automatically?
Yes. Razix provisions CNAME-delegated DKIM (d=yourdomain.com) on AWS SES, validates DNS in under 2 minutes, and alerts you if any record drifts across Starter ($29/mo), Pro ($79/mo), and Business ($199/mo).
Tired of chasing unaligned DKIM records across 10 registrar dashboards? Verify your domains on Razix in under 2 minutes with live DNS drift alerts, or compare tiers on our pricing page.
BIMI Record Setup Guide for Business Email Logo in Gmail (2026)
Step-by-step BIMI record setup guide to display your business email logo in Gmail. Covers DMARC enforcement, SVG Tiny P/S conversion, VMC vs CMC, and DNS.
Fix SPF PermError: Too Many DNS Lookups (10-Lookup Limit Guide)
Fix SPF PermError (exceeded limit of 10 DNS lookups) fast. Audit nested vendor includes, remove dead senders, and isolate subdomains safely under RFC 7208.