Fix Yahoo 554 5.7.9 Policy Rejection Error
Why Yahoo Mail and AOL bounce email with 554 5.7.9, how DMARC p=reject and bulk-sender alignment trigger it, and the exact fixes.
554 5.7.9 Message not accepted for policy reasons. See https://postmaster.yahooinc.com/error-codesCheck DMARC alignment on your domain
Verify SPF, DKIM, and DMARC records on your sending domain in one scan.
What Yahoo 554 5.7.9 means
Yahoo Mail and AOL return 554 5.7.9 Message not accepted for policy reasons as a permanent rejection when a message fails DMARC policy checks.
In practice, it happens in one of three situations:
- Sending with a freemail
From:address: Your app or newsletter setsFrom: you@yahoo.com,From: you@aol.com, orFrom: user@gmail.comwhile sending through an external SMTP server or ESP. Those providers publishp=reject, so Yahoo drops the message immediately. - Broken alignment on your own
p=rejectdomain: Your own domain publishesv=DMARC1; p=reject;and a sending stream (billing tool, app server, marketing ESP) fails both aligned SPF and aligned DKIM. - Mailing list or autoforwarding rewrite: An intermediary forwards your message (breaking SPF) and alters the body or headers (breaking DKIM), causing DMARC
p=rejectto fail at Yahoo.
Confirm the exact cause
Check the DMARC policy on the domain in your From: header:
dig TXT _dmarc.yourdomain.com +shortThen inspect a test email's Authentication-Results header (or run our domain email deliverability audit):
- Confirm the
From:domain is a domain you actually own, never@yahoo.com,@aol.com, or@gmail.com. - Confirm the
DKIM-Signatureheader'sd=domain matches yourFrom:domain (or a subdomain of it ifadkimis relaxed). - Confirm your
Return-Pathdomain passes SPF and matches yourFrom:domain if you rely on SPF alignment.
Step-by-step fix
1. Never spoof a freemail address in From:
If you are sending from a website contact form, helpdesk, or app notification:
# Wrong (rejected with 554 5.7.9)
From: customer@yahoo.com
To: support@yourdomain.com
# Right
From: Website Contact Form <notifications@yourdomain.com>
Reply-To: customer@yahoo.com
To: support@yourdomain.com2. Align DKIM on every sending service
DKIM survives normal email forwarding (unlike SPF), which makes aligned DKIM the most reliable way to pass DMARC at Yahoo and AOL.
- Add custom-domain DKIM records (
<selector>._domainkey.yourdomain.com) in every tool that sends as your domain. - Verify that
d=yourdomain.com(ord=mail.yourdomain.comunder relaxed alignment) appears in theDKIM-Signatureheader of sent messages. - Make sure your app or MTA does not modify the message body or signed headers after DKIM signing.
3. Add one-click unsubscribe for Yahoo bulk senders
If you send 5,000+ emails/day, Yahoo also enforces RFC 8058 one-click unsubscribe headers on marketing and newsletter traffic, and expects unsubscribe requests to be honored within 2 days:
List-Unsubscribe: <https://yourdomain.com/unsubscribe/token>
List-Unsubscribe-Post: List-Unsubscribe=One-ClickOr send through Sequenzy with alignment handled automatically
When every transactional email, onboarding sequence, and newsletter goes out from one authenticated platform, you never accidentally leave an unaligned tool sending against a p=reject DMARC record.
Sequenzy sets up custom-domain DKIM and return-path alignment during onboarding, adds RFC 8058 one-click unsubscribe headers automatically on marketing emails, and monitors your sending domain health continuously.
Official sources
- Yahoo Sender Hub: SMTP Error Codes (554 5.7.9)Checked 2026-12-04
- Yahoo Sender Hub: Sender Best PracticesChecked 2026-12-04
- RFC 7489: DMARC SpecificationChecked 2026-12-04