554 5.7.9 “Message not accepted for policy reasons” is a permanent rejection from Yahoo’s mail servers. Yahoo’s help article links it to DMARC: either the sender is not using DMARC, or a forwarded message from a domain with a reject policy no longer passes. Fix your authentication and the bounces stop.
554 5.7.9 Message not accepted for policy reasons.
The reply usually continues with a link to Yahoo’s sender error code page.
What it means
Yahoo’s help page titled “554 5.7.9 Message not accepted for policy reasons” delivery error says the error “may be due to an issue with the sender not using DMARC”, and that a message automatically forwarded between providers can look like it came from an unauthorized server. It suggests checking the raw message for X-Yahoo-Forwarded and for p=reject in the original domain’s policy.
The meaning differs from the standard. In the IANA registry, X.7.9 is “Authentication mechanism is too weak”, defined by RFC 4954 for use with 534 when a server refuses an SMTP AUTH method. Yahoo uses 5.7.9 with 554 for policy rejections of incoming mail, so do not read it as a login problem.
Why it happens
- Your domain fails DMARC. SPF or DKIM does not pass for a domain aligned with your From address, and your DMARC policy is
p=rejectorp=quarantine. - Forwarding. A recipient forwards mail from another provider to Yahoo. The forwarder’s IP is not in the original domain’s SPF record, and if DKIM breaks or is missing, DMARC fails.
- Sending as a domain you do not control. For example sending From a
@yahoo.comor@aol.comaddress through another service. Those domains publish strict DMARC policies, so the mail fails. - Missing authentication for bulk mail. Yahoo requires all senders to use SPF or DKIM, and bulk senders to use both with a DMARC policy.
How to fix it
-
Check the bounce for forwarding. If the message went through a forwarding address, the fix belongs to the forwarder (or the recipient can change how they forward). DKIM that survives forwarding helps.
-
Sign with DKIM for your own domain. Publish your provider’s DKIM records so messages carry
d=example.com. DKIM usually survives forwarding when the message is not changed. -
Align SPF too with a custom Return-Path on a subdomain:
send.example.com. TXT "v=spf1 include:<your provider's SPF domain> -all" -
Publish DMARC and read the reports before tightening it:
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com" -
Never send From an address on Yahoo, AOL, Gmail or Outlook.com through a third-party service. Use your own domain, with the user’s address in Reply-To.
Our SPF, DKIM and DMARC guide and the Gmail and Yahoo bulk sender rules cover the details.
Which server sent it
- Yahoo (and AOL, which runs on Yahoo’s mail platform) sends 554 5.7.9 for policy rejections. Its SMTP error codes page lists failed DMARC or DKIM checks among the reasons for 553 and 554 errors.
- Gmail uses a different code for the same problem:
550 5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy. - Microsoft uses
550 5.7.509for DMARC rejections. - Other servers may use 534 5.7.9 in its standard sense during SMTP AUTH. If you see 5.7.9 while logging in to a submission server, switch to a stronger authentication method or turn on TLS first.
Is it temporary?
No. A 554 is permanent. Yahoo says you should not retry a message that comes back with a 5xx error, and that list managers should have a policy for removing addresses that generate 5xx bounces. Here the recipient is probably valid, so fix authentication first, then send a new message.
How Mailcandor handles it
Mailcandor signs DKIM on your domain and uses a bounce domain on send.yourdomain, so SPF and DKIM both align and DMARC passes, and it gives DMARC advice for each domain. When Yahoo or anyone else rejects a message, the deliverability coach explains it in plain English and hard bounces are suppressed automatically. Decode any reply with the free bounce code lookup, browse the error library, and see more free tools.