ALL BLOG POSTS
SKY BLOG / PRACTICAL GUIDE

554 5.7.1 Rejected Due to DMARC Policy Violation: What It Means and How to Fix It

A 554 5.7.1 rejection that cites a DMARC policy violation means the receiver found a DMARC policy for the visible From domain, usually p=reject or an inherited sp=reject, and the message had neither an aligned SPF pass nor an aligned DKIM pass. Fix the sending route so DKIM signs with your domain, or so the SPF-authenticated envelope domain aligns with the visible From domain. Do not treat a p=none change as the real fix.

Published 30 November 2026Sources checked 25 November 2026By Sky Technologies deliverability team

Key takeaways

  • DMARC uses the domain in the visible From header. It passes when at least one authenticated path, SPF or DKIM, also aligns with that domain. [1] [3]
  • p=reject tells receivers to reject messages that fail the DMARC mechanism check. A parent-domain sp= policy can apply to a subdomain that has no more specific policy. [1]
  • The same failure has different text at different receivers. Google documents 550 5.7.26; Yahoo documents both permanent authentication failures and the exact 554 5.7.9 Message not accepted for policy reasons wording. [2] [4] [5]
  • A 554 5.7.5 permanent error evaluating DMARC policy is a different problem. It points to policy discovery or evaluation, so inspect the DMARC DNS record before changing message authentication.
  • Start with the complete bounce, the receiver-added Authentication-Results header and DMARC aggregate reports. They identify the failed route and any sender you did not know about.

What the 554 5.7.1 DMARC rejection means

DMARC compares the author domain in From: with two authentication identities. SPF authenticates the domain used in the SMTP envelope, usually the MAIL FROM or return-path domain. DKIM authenticates the signing domain in the signature's d= tag. Either check can pass DMARC, but the passing identity must align with the visible From domain. [1] [3]

Relaxed alignment permits related subdomains under the same organizational domain; strict alignment requires an exact match. A pass for an ESP's domain is not enough when the reader sees your domain in From:. That is why a platform can report SPF=pass while the receiver reports DMARC failure.

For example, if From: Billing <billing@example.com> is sent with MAIL FROM:<bounces@esp.example.net>, SPF may pass for esp.example.net but does not align with example.com. If the DKIM signature also has d=esp.example.net, there is no aligned pass. With this record at the author domain, the receiver can reject the message:

_dmarc.example.com. TXT "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.com"

p=reject is the policy for the domain. sp=reject is the policy for covered subdomains, such as alerts.example.com, when they do not publish their own applicable policy. [1]

A DMARC checker can show the published policy, but it cannot replace the authentication results from a real received or rejected message.

How Gmail, Yahoo and other receivers phrase it

The number is not a universal sentence. Each receiving system chooses the text and may add diagnostic details, so preserve the full SMTP reply instead of searching only for 554 5.7.1.

Google's official Gmail SMTP error page gives this exact pattern for the common 550 5.7.26 unauthenticated email gmail rejection:

550 5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy. Contact the administrator of example.com domain if this was legitimate email.

Google also publishes a detailed 550 5.7.26 form showing failed DKIM and SPF checks. Its sender guidance says an aligned SPF or DKIM result is required for DMARC to pass. [2] [3]

Yahoo's help page documents the exact 554 5.7.9 Message not accepted for policy reasons text. It links the error to missing DMARC and explains that p=reject means the original domain requested rejection. Yahoo's Sender Hub says 553 or 554 replies are permanent and can involve a sending domain's DMARC or DKIM policy. [4] [5]

You may also see the phrase yahoo 550 5.7.9 in a bounce or sending-platform event. Do not infer the cause from the number alone. Read the full reply and authentication details; retrying the same 5xx failure will not repair authentication. [4]

Why this happens

A new ESP or tool is not signing with your domain. A provider-owned DKIM domain can authenticate a message without creating DMARC alignment. Enable custom DKIM and publish the selector under your domain.

The return-path is on the ESP domain. SPF may pass for the provider's envelope domain but fail alignment with your From domain. Use a configured custom return-path or aligned DKIM.

Forwarding or a mailing list changed the message. Forwarding can break the original SPF check, while a list footer, subject rewrite or body change can invalidate DKIM. RFC 7960 documents these cases and discusses ARC and controlled From rewriting as mitigations. [6]

A subdomain or third-party sender was missed. Check the exact From subdomain and its sp= inheritance. Product notifications, forms and billing tools should appear in DMARC reports; an unknown source needs investigation or removal. [7]

Do not confuse it with 554 5.7.5

554 5.7.5 permanent error evaluating DMARC policy is not the same as a message failing a valid p=reject policy. It means the receiver could not complete a usable policy evaluation, so start with DNS and policy syntax.

A duplicate DMARC policy record is a documented failure case. Under the current DMARC standard, if multiple DMARC policy records are returned for one target, the receiver discards them all. A malformed record, an invalid tag or a DNS lookup problem can also leave the receiver without a usable policy. [1]

Check that _dmarc.<visible-From-domain> returns one record beginning with v=DMARC1 and valid tag values. Check the subdomain record too. For intermittent errors, compare resolver results and timestamps.

If the bounce instead says 554 5.7.1 and names a DMARC policy, the receiver likely completed policy discovery and applied the domain owner's handling preference. Those are different work paths: one needs a usable policy and the other needs an aligned authentication result.

Diagnose the failing route

  1. Save the complete bounce. Keep the SMTP status line, enhanced status code, rejecting hostname, timestamp, recipient domain and any provider reference. Compare the exact text across Gmail, Yahoo and other destinations. Use SMTP 4xx vs. 5xx to separate a permanent rejection from a temporary deferral.
  2. Read the receiver's Authentication-Results. The header can report spf=, dkim= and dmarc= plus properties such as smtp.mailfrom, header.d and header.from. RFC 7601 defines this header for MTA authentication results. [8] Use a header analyzer to compare them.
  3. Compare each identity with From. For SPF, inspect the domain after smtp.mailfrom. For DKIM, inspect every header.d or d= value that passed. Then check relaxed or strict alignment. A passing but unrelated domain does not rescue DMARC.
  4. Review aggregate reports. Google says DMARC reports identify sending servers, authentication results and receiver disposition, such as none, quarantine or reject. Review XML by source IP and authenticated domain. A DMARC XML analyzer can make raw reports readable. [7]
  5. Check the live DNS records. Confirm one DMARC record, the correct SPF record for the actual envelope domain and the DKIM public key for the selector used by the message. If SPF itself is returning permerror, excessive DNS lookups may be the separate issue described in this SPF permerror guide.

Fix the sending route

The durable fix is to make every legitimate route pass DMARC with aligned DKIM or aligned SPF. For a new ESP, enable DKIM with d=example.com or an aligned subdomain, publish the selector's public key, and confirm every stream is signed. A DKIM checker verifies the key; the received header proves the message actually passed.

If your provider supports a custom return-path, configure a subdomain you control and publish its documented SPF include there. Verify that the resulting pass aligns with From; a DNS record alone is not a message-level result.

For forwarding and mailing lists, preserve DKIM where possible, use ARC where supported, and follow the list software's From handling. Identify or stop any sender that cannot authenticate instead of weakening policy for every route.

Changing p=reject to p=none can be a short, controlled diagnostic step when a domain owner is about to block legitimate mail and has a monitored report address. It is not a substitute for fixing DKIM, SPF or alignment. Google recommends monitoring reports before moving from none to enforcement, and Yahoo requires a valid DMARC policy with at least p=none for bulk senders. [3] [7]

Example: read the identities, not just the error code

Example only. The domains and IP address below use documentation values. This is not a live trace.

From: Billing <billing@example.com>
Return-Path: <bounces@esp.example.net>
DKIM-Signature: v=1; a=rsa-sha256; d=esp.example.net; s=s1; ...
Authentication-Results: receiver.example;
    spf=pass smtp.mailfrom=esp.example.net;
    dkim=pass header.d=esp.example.net;
    dmarc=fail header.from=example.com
Remote-MTA: mx.receiver.example [192.0.2.44]
Diagnostic-Code: smtp; 554 5.7.1 rejected due to DMARC policy violation

The SPF and DKIM checks pass for esp.example.net, but neither identity aligns with example.com. If example.com publishes p=reject, the receiver can reject the message. Fix it with aligned DKIM such as d=example.com, or an aligned custom envelope domain with confirmed SPF.

Checklist

  1. 01
    Save the full bounce and identify the receiver that returned it.
  2. 02
    Copy the exact visible From domain and check its _dmarc record, including sp= inheritance.
  3. 03
    Read Authentication-Results and record SPF's smtp.mailfrom, every passing DKIM header.d, and the DMARC result.
  4. 04
    Confirm one usable DMARC record, one valid SPF record for the actual envelope domain, and the DKIM selector used by the message.
  5. 05
    Register every legitimate third-party sender and remove or stop any route that cannot authenticate.
  6. 06
    Fix aligned DKIM first, then verify a new message at each affected receiver.
  7. 07
    Use p=none only as a controlled, monitored transition. Return to enforcement after reports show legitimate mail passing.

Frequently asked questions

What does a DMARC policy violation bounce mean?

It means the message failed DMARC and the receiver applied a policy such as p=reject. A DMARC pass needs an aligned SPF or DKIM pass; a provider-owned domain may pass its own check without aligning to your visible From.

Why did I get 550 5.7.26 unauthenticated email gmail?

Google documents 550 5.7.26 Unauthenticated email from domain-name is not accepted due to domain's DMARC policy. Check the full Authentication-Results details, then configure SPF or DKIM so at least one passing identity aligns with the domain in From:.

Is yahoo 550 5.7.9 the same as a DMARC reject bounce?

It can describe an authentication or policy rejection, but the exact wording and code can vary across Yahoo paths. Yahoo documents 554 5.7.9 Message not accepted for policy reasons and tells senders to inspect the raw message and DMARC evidence. Use the complete bounce rather than the number alone.

What causes 554 5.7.5 permanent error evaluating DMARC policy?

Check the policy record and DNS path for duplicate or malformed records, invalid tags and DNS errors. The current DMARC standard says multiple policy records at one target are discarded.

Should I change DMARC to p=none after a bounce?

Only as a short, controlled step when you can monitor reports and need to avoid blocking legitimate traffic while fixing the route. p=none does not authenticate mail and does not solve misaligned SPF or DKIM. Keep the goal of returning to enforcement.

Check the source

Numbered citations link to the documents behind each claim. Rules and policies change, so check the current version before changing a live sending program.

  1. [1]
  2. [2]
  3. [3]
  4. [4]
  5. [5]
  6. [6]
  7. [7]
  8. [8]