554 5.7.9: Message not accepted for policy reasons
Yahoo’s 554 5.7.9 error, “Message not accepted for policy reasons,” means Yahoo Mail, which handles AOL’s email too, refused your email because it failed an authentication check: the DMARC or DKIM policy of the domain in your From address. The person’s address is fine. Sending the same email the same way gets the same answer: the fix is on your side, in the domain’s records or the server the email goes out through.
Yahoo Mail and AOL
554 5.7.9 Message not accepted for policy reasons. See https://senders.yahooinc.com/error-codes
- 554 5.7.9 Message not accepted for policy reasons
Why it happens in a mail merge
Yahoo checks each email against what the domain in its From address publishes. Since February 2024 it has required SPF or DKIM from every sender, and from bulk senders, a volume Yahoo doesn’t put a number on, both of them and a DMARC policy, with the From domain aligned with one of them. Where that policy is p=reject, Yahoo’s FAQ says, any message without a proper DKIM signature or SPF alignment is rejected. Gmail turns away the same failures with its unauthenticated sender error, 550 5.7.26.
A mail merge meets it in three ways. It goes out as an address on your own domain through a server the domain doesn’t list, such as a web host’s mail or an app’s own server, so neither SPF nor DKIM matches the From. Or the From is a Yahoo address sent through another company’s server: Yahoo publishes p=reject for its own addresses, asking receivers, Yahoo included, to refuse them from anywhere else. Or someone on your list has their address forward to Yahoo, and the forwarded email, Yahoo’s help says, may appear to come from an unauthorized server.
How to fix it
- Send a Yahoo address through Yahoo
Set the app that sends from a Yahoo address to use Yahoo’s outgoing server, smtp.mail.yahoo.com (port 465 or 587, Yahoo’s IMAP settings page says), signed in with an app password generated in your Yahoo account.
- Authenticate your own domain
Publish one SPF record listing every server that sends for the domain, and sign with DKIM, with a key of 1024 bits or more, Yahoo asks. Add a DMARC record: Yahoo accepts p=none to start, and relaxed alignment, as long as the From domain matches the SPF or the DKIM domain.
- Check for forwarding
If the address that bounced isn’t at Yahoo or AOL, it may forward there: Yahoo’s help names automatic forwarding as a cause. Ask the person whether it does, and for the address it forwards to.
- Send again only after the fix
Yahoo says not to retry an email that comes back with a 5xx error. Once the domain passes, send to the people who were refused.
What DearByDear does
A Yahoo mailbox added to DearByDear sends through Yahoo’s own server with an app password, so the From address and the server match, and Yahoo’s own domain needs nothing set up. A mailbox on your own domain sends through that domain’s mail server: Is the domain ready to send?, under Accounts, looks up the domain’s SPF and DMARC records, and its DKIM key where your mailbox provider puts one, with the record to add for each one missing. With DearByDear Pro and your own email service account, it won’t send as a Yahoo, AOL or other free-mail address, and for most services it lists the DNS records the domain still lacks, DMARC among them.
When a 554 5.7.9 bounce comes back, DearByDear reads it from your mailbox while it, or Claude Desktop with its extension, is running. Yahoo’s words don’t name the check that failed, so DearByDear files it as a refusal by the receiving server, not a problem with the address, and quotes Yahoo’s reply in the send log: the person is marked not delivered, their address stays on your mailing list, and it isn’t added to the Do-Not-Disturb list. If three of a merge’s emails are refused on the sending side while it’s still sending, DearByDear pauses it and points you to the replies quoted there. Once the domain passes, you can send the failed ones again.
Questions about 554 5.7.9
What does “Message not accepted for policy reasons” mean?
That the email failed an authentication check Yahoo applies: the DMARC or DKIM policy of the domain it claims to come from. The policy is the sending domain’s own, published in its DNS, and Yahoo follows it. Nothing in the error is about the person’s address.
Is Yahoo’s 554 5.7.9 the same as Gmail’s 534 5.7.9?
No: the digits match and nothing else. Gmail’s app password error, 534 5.7.9, comes when an app signs in to Gmail with your Google password, before anything is sent. Yahoo’s comes back after sending, about the domain in the From address.
What does “554 Message not allowed - [PH01] Email not accepted for policy reasons” mean?
It’s another refusal from Yahoo, for the content rather than the domain. Yahoo’s sender hub calls PH errors content-based blocks: something in the email Yahoo won’t accept, such as a virus, phishing, ransomware or other malicious software, or a link to any of them. SPF and DKIM won’t fix it: check every link and attachment in the email, including links that change from person to person. DearByDear treats that bounce the same way, as not delivered, with the address kept on your list.
Should I take the Yahoo addresses that bounced off my list?
Not for 5.7.9. Yahoo’s general advice is to remove addresses that keep bouncing with 5xx errors, but this one is about the sending domain, not the address: once SPF, DKIM and DMARC pass, send to them again.
Sources
Each provider’s own pages, read on November 5, 2026. The error texts and the fixes are the providers’ own: if they change their wording, theirs is right.