554 5.7.9Yahoo Mail / AOLHard bounce (5xx)

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.

Verified 2026-12-045 min read
Exact SMTP / API response (554 5.7.9)
554 5.7.9 Message not accepted for policy reasons. See https://postmaster.yahooinc.com/error-codes

Check DMARC alignment on your domain

Verify SPF, DKIM, and DMARC records on your sending domain in one scan.

Run check

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:

  1. Sending with a freemail From: address: Your app or newsletter sets From: you@yahoo.com, From: you@aol.com, or From: user@gmail.com while sending through an external SMTP server or ESP. Those providers publish p=reject, so Yahoo drops the message immediately.
  2. Broken alignment on your own p=reject domain: Your own domain publishes v=DMARC1; p=reject; and a sending stream (billing tool, app server, marketing ESP) fails both aligned SPF and aligned DKIM.
  3. Mailing list or autoforwarding rewrite: An intermediary forwards your message (breaking SPF) and alters the body or headers (breaking DKIM), causing DMARC p=reject to fail at Yahoo.

Confirm the exact cause

Check the DMARC policy on the domain in your From: header:

dig TXT _dmarc.yourdomain.com +short

Then 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-Signature header's d= domain matches your From: domain (or a subdomain of it if adkim is relaxed).
  • Confirm your Return-Path domain passes SPF and matches your From: 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.com

2. 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.

  1. Add custom-domain DKIM records (<selector>._domainkey.yourdomain.com) in every tool that sends as your domain.
  2. Verify that d=yourdomain.com (or d=mail.yourdomain.com under relaxed alignment) appears in the DKIM-Signature header of sent messages.
  3. 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-Click

Or 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

Frequently asked questions

Related error guides