550-5.7.1 Unauthenticated Email From yahoo.com: DMARC Fix
Gmail returns this 550-5.7.1 error because yahoo.com publishes a DMARC policy of reject, and your message used a yahoo.com From address without passing Yahoo's authentication. The fix: stop sending as yahoo.com from another server. Send from a domain you control and put the Yahoo address in Reply-To.
Sohail Hussain10 min readShort answer
- Gmail rejected the message because it shows a yahoo.com From address but was not sent or signed by Yahoo, and Yahoo's DMARC policy says to refuse that.
- Stop sending as yahoo.com from any server other than Yahoo's. Send from an address on a domain you control, with SPF and DKIM set up, and put the Yahoo address in Reply-To.
- You cannot fix this by changing anything on the Gmail side or by asking Yahoo to allow your server.
You sent a message, and a bounce came back reading 550-5.7.1 Unauthenticated email from yahoo.com is not accepted due to domain's DMARC policy. The message was never delivered, and it did not land in spam either. Google's own help page describes this bounce as the result of a sender's domain policy for unauthenticated mail. It covers the automatic bounce that says "Unauthenticated email from [email domain] is not accepted due to domain's DMARC policy."
Why Gmail rejects mail that says it is from yahoo.com
Gmail refused the message during the SMTP conversation. The 550 is a permanent failure. The 5.7.1 is the enhanced code for a policy refusal. The hyphen after 550 only means the reply continues on the next lines, which tell you to contact the domain's administrator if the mail was legitimate.
The policy that triggered it belongs to Yahoo, not Gmail. Yahoo publishes a DMARC policy of p=reject that tells receivers, including Gmail, to reject mail that may not be legitimately sent by Yahoo. Yahoo says plainly that this can interfere with long-standing uses of identities that the user authorized but that can't be verified.
DMARC passes only when SPF or DKIM passes and the passing domain matches (aligns with) the domain in the visible From address. A third-party server has SPF for its own domain and signs DKIM with its own domain. Neither matches yahoo.com. Only Yahoo can sign as yahoo.com, and you cannot add your server to Yahoo's SPF record.
Google's current error list shows this same text under code 5.7.26. Older bounces, and many tools, still print 5.7.1. The cause and the fix are the same. There is also a temporary variant, 451 4.7.26, used when temporary DNS failures prevent authentication. That one is worth retrying.
The same bounce appears for any domain with a strict policy, with that domain's name swapped in. SendGrid's support article describes the same pattern for Gmail, AOL and Yahoo From addresses. Affected users need to change their From address to a different address, ideally on their own domain or one they control.
Which cause do you have
| Cause | Symptom | Fix |
|---|---|---|
| Web form, CMS or helpdesk uses the visitor's Yahoo address as From | Bounces only on notifications about visitors who use Yahoo | Send From your own domain, visitor in Reply-To |
| You send your own Yahoo address through another service | Your Yahoo mail bounces from a newsletter tool, relay or Gmail's server | Use your own domain, or Yahoo's SMTP server |
| Mailing list or forwarder altered a real Yahoo user's message | Real Yahoo sender, message passed through list software | Rewrite From to the list's domain |
| Someone spoofed your Yahoo address | You never sent the message | Ignore it; secure the account if in doubt |
Step-by-step fixes
Confirm the sending path first
- Open the bounce message and find the original message headers, or a delivered copy if one exists.
- Look at the
Fromheader and the firstReceivedline that shows the message reaching Google. Note which server handed it over. - Look for
Authentication-Results. If you can't read it easily, paste the headers into the email header analyzer. - If the From domain is yahoo.com and the handing-over server is not Yahoo's, you have found the problem. Understanding email headers explains each field.
You can also read Yahoo's published policy yourself:
dig +short TXT _dmarc.yahoo.com
The answer should contain p=reject. Run the command to confirm, since a provider can change its policy.
Fix 1: a web form or app sends as the visitor's Yahoo address
This is the most common case. A contact form, helpdesk, journal system or CMS copies the visitor's address into the From field of the notification it sends through your server.
- Open the application's mail or notification settings.
- Set the From address to one on a domain you control, such as
noreply@example.com. - Set
Reply-Toto the visitor's address. Many tools have an option along the lines of "use sender's address as Reply-To". - Make sure
example.compasses SPF and DKIM at the server that sends the mail. - Send a test and check that
Authentication-Resultsshowsdmarc=pass.
The headers should end up like this:
From: Jane Doe via Example Site <noreply@example.com>
Reply-To: Jane Doe <jane@yahoo.com>
Do not impersonate other domains
Putting yahoo.com, gmail.com or a customer's domain in the From field of mail you send through your own server will fail DMARC and can hurt your reputation. Use Reply-To for the person's address.
Fix 2: you send your own Yahoo address through another service
You may use a Yahoo address, but your mail goes out through a third-party SMTP server, a newsletter tool, or Gmail's "Send mail as" feature using Gmail's servers. Yahoo's policy rejects that.
- Best option: send from an address on your own domain, authenticated for that domain.
- If you must keep the Yahoo address, send through Yahoo's own SMTP server,
smtp.mail.yahoo.com, with an app password generated in your Yahoo account security settings. - In Gmail's "Send mail as" setup, choose the option that sends through the Yahoo SMTP server, not through Gmail's servers. Gmail's own servers will sign as gmail.com, which does not align with yahoo.com.
Fix 3: a mailing list or forwarder changes the message
If a real Yahoo user wrote the message and it passed through a list server that edited the subject or body, the original DKIM signature breaks. The list's server is not in Yahoo's SPF either, so DMARC fails at Gmail. Plain forwarding that leaves the message intact usually keeps DKIM valid; the modification is what breaks it.
- If you run the list, turn on the list software's option to rewrite the From address to the list's own domain and move the original sender to
Reply-To. Many list tools name this setting after DMARC. - If you only subscribe, tell the list owner. Nothing on your side can fix it.
Yahoo's own guidance for forwarders is to implement ARC (Authenticated Received Chain) if you forward emails.
Fix 4: someone spoofed your Yahoo address
If you never sent the message, the bounce shows the system working. Someone forged your address, and the rejection came back to you as backscatter. Ignore it, and see backscatter email if the volume is high. Change your Yahoo password if you suspect the account itself is compromised.
What does not work
Some advice floating around is aimed at domain owners and does not apply here.
- Asking Yahoo to allow your server. The policy is deliberate and applies to everyone.
- Adding Yahoo to your own SPF record. SPF is checked against the domain in the envelope sender, and alignment still has to match the From domain.
- Loosening your own DMARC policy to
p=none. That changes your domain's policy, not Yahoo's. It helps only when your own domain is the one named in the error.
When the domain in the error is yours
If the error names your own domain, Google's guidance is to check that outgoing mail passes SPF or DKIM and that the passing domain aligns with the From domain. Strict alignment settings make rejection more likely.
Checklist before you try again
- The From address is on a domain you own and control.
- The person's Yahoo address, if relevant, is in
Reply-To. - SPF lists the server or service that actually sends the mail.
- DKIM is enabled for your domain at that service.
- Your domain has a DMARC record. Google's troubleshooting page recommends that SPF and DKIM be enabled for at least 48 hours before enabling DMARC.
- A test message to a Gmail address shows
dmarc=passin the headers.
The SPF, DKIM and DMARC setup guide has the records, and the SPF generator and DMARC generator build them. The reply-to address glossary entry and Return-Path vs Reply-To explain why the visible From and the envelope sender can differ.
If nothing works
Yahoo will not whitelist your server. If your own domain is the one in the error, or a real Yahoo user's mail is being bounced, contact the administrator of the sending domain, your email provider, or the platform that sends the mail. Send them:
- the full bounce text, including the final
gsmtpline - the full headers of a sample message
- the timestamp with time zone
- the sending server's IP address
- what you already changed
Subject: Gmail bounce: 550-5.7.1 unauthenticated email, DMARC policy
Hello,
Messages from our system to Gmail recipients are being rejected with:
"550-5.7.1 Unauthenticated email from yahoo.com is not accepted due to
domain's DMARC policy"
Timestamp: {date and time with time zone}
Sending server / IP: {ip}
From address used: {address}
Sample headers attached.
We believe the From address is a yahoo.com address sent through a server
that Yahoo does not authorize. Can you change the From address to an
authenticated address on our domain and set Reply-To to the original
sender? Please confirm SPF and DKIM are configured for our domain.
Thank you,
{name}
Common questions
Can I make Gmail accept mail from my Yahoo address sent through another server?
No. The block comes from Yahoo's policy, and Gmail is following it. Send through Yahoo's SMTP server or use a domain you control.
Why did this start suddenly?
Usually something in the path changed: a form plugin update, a new relay, or a new "Send mail as" setup. The policy itself has been in place for a long time. Check what changed around the time of the first bounce.
Does adding a Yahoo address to Reply-To cause the same problem?
No. DMARC checks the From domain, not Reply-To. A Yahoo address in Reply-To is fine, and it is the recommended way to route replies.
Is the bounce a sign that my Yahoo account was hacked?
Not by itself. It usually means someone forged your address, or a tool you use sent as you through the wrong server. If you did not send the message, ignore it, and change your password if anything else looks off.
Where Mailneo fits
This problem is not Mailneo's to fix. Mailneo cannot change Yahoo's policy or your DNS. Mailneo sends through the Gmail, Outlook or SMTP accounts you connect, so mail leaves from an account you own. You can also set Reply-To per campaign, and Mailneo checks your sending domain's SPF, DKIM and DMARC records and tells you what to fix. You make the DNS changes at your registrar. See email accounts for how connecting works.
For more detail on how Gmail words these bounces, see Google's help page on controlling unauthenticated mail from your domain and Yahoo's sender FAQs.
Explore: Email Deliverability
Related Articles
421-4.7.0 Gmail Has Detected This Message Is Suspicious: Fix
The 421-4.7.0 "suspicious due to the nature of the content and/or the links" error means Gmail's content filter rejected your message after DATA, not an authentication check. Remove click tracking or move it to your own domain, drop URL shorteners, check link reputation, then retest with a plain message.
421 4.7.0 Temporary System Problem. Try again later (10)
`421 4.7.0 Temporary System Problem. Try again later (10).` is a temporary Gmail deferral, not a permanent rejection. Google's server asked your sender to retry later. Slow your send rate, let your mail server retry, and check authentication and reputation if the deferrals last more than a day or two.
421-4.7.0 Try again later, closing connection (EHLO): fix
The error "421-4.7.0 Try again later, closing connection. (EHLO)" means Google's SMTP server is temporarily refusing your session, usually because of connection volume, a low-reputation IP, or a weak relay setup. Slow down, reuse one connection, queue with retries, authenticate, and send a real EHLO hostname.
421 4.7.28 Gmail Unusual Rate of Unsolicited Mail: Fixes
The 421 4.7.28 error is a temporary Gmail deferral, not a block. Gmail is rate limiting a domain, DKIM domain or IP range it sees sending too much unwanted mail. Retries usually deliver, but you should fix authentication, unsubscribe headers, sending pace and shared infrastructure to stop it recurring.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free