Guides
Gmail 5.7.26 and other authentication bounces
3 November 2026
A Gmail bounce with 5.7.26 means Gmail could not authenticate the message: SPF and DKIM both failed, or DMARC failed under a policy that asks for rejection. The related codes narrow it down. x.7.27 is SPF, x.7.30 is DKIM, and x.7.32 means the From domain does not match the domain that passed. A code that starts with 4 is a temporary rate limit. A code that starts with 5 is a block. In each case the fix is in your DNS or in the way a sending tool is set up, not in the message itself.
Google says it began ramping up enforcement on noncompliant mail in November 2025, so these bounces are more common than they were. If you want the records checked for you, a $129 Snapshot reads SPF, DKIM, and DMARC from public DNS and lists the fixes in order, within 24 hours.
The codes, in Google’s words
Google’s Gmail SMTP errors and codes page lists the full text. These are the ones tied to authentication:
550 5.7.26: "This email has been blocked because the sender is unauthenticated." Other versions of this code say the envelope domain has an SPF record with a hard fail policy, or that unauthenticated email "is not accepted due to domain’s DMARC policy."421 4.7.26: "This email has been rate limited because it is unauthenticated."451 4.7.26: the DMARC version again, but caused by temporary DNS failures.421 4.7.27and550 5.7.27: SPF did not pass. The first is a rate limit, the second a block.421 4.7.30and550 5.7.30: DKIM did not pass.4.7.32and5.7.32: the From header "isn’t aligned" with the domain that authenticated.550 5.7.25and451 4.7.23: the sending IP has no PTR record, or the PTR does not match forward DNS.4.7.29and5.7.29: the message was not sent over TLS.
Google’s sender guidelines FAQ groups them the same way: the 4.x versions mean Gmail is temporarily rate limiting, and the 5.x versions mean Gmail blocked the message.
First, find out who sent it
Before you change any record, work out which service sent the bounced message. A domain with a mailbox provider, a newsletter platform, and a store usually has three different paths to Gmail, and only one of them is broken.
- Look at the bounce. It usually names the sending server or comes back through the service that sent the original.
- Look at your DMARC aggregate reports. They show each source IP that sent as your domain, and whether SPF and DKIM passed and aligned. See how to read a DMARC report.
- Send a test from that service to a Gmail address you control, open it, and use Show original. Our guide to the DKIM setup explains how to read the result lines.
5.7.26 or 4.7.26: unauthenticated
Gmail could not verify the message at all. For every sender, Gmail requires SPF or DKIM. For bulk senders (close to 5,000 messages a day or more to personal Gmail accounts), it requires both, plus DMARC.
Common causes:
- A new tool that was never authenticated. A help desk, review app, or invoicing tool sending as your domain with no DKIM and no SPF entry.
- SPF that does not list the service, and no DKIM to fall back on.
- A broken SPF record. Two SPF records on one domain, or more than ten DNS lookups, makes SPF return a permanent error, which counts as a fail. See too many DNS lookups.
Fix: set up DKIM on your own domain for that service, and add it to SPF if it sends with your domain in the envelope. DKIM is the one to prioritize. It survives more forwarding, and for most third-party senders it is the check that lets DMARC pass.
5.7.26 with "DMARC policy"
This version means your DMARC record is at quarantine or reject, and the message failed DMARC. Gmail is following the policy you published.
That is DMARC doing its job when the sender is a spoofer. When the sender is your own tool, it means the tool passes neither SPF nor DKIM on a domain that matches your From address. Our guide to why DMARC fails covers alignment in detail.
Fix the sender, not the policy. Setting DMARC back to p=none stops the bounces but also stops the protection. Drop back only for a short time if real customer mail is bouncing and you cannot fix the sender today. Then fix it and move back up.
If the bounce says 451 4.7.26 with temporary DNS failures, Gmail could not look up your records at the time. Check that your DNS host is answering. If it is, the message will usually go through on retry.
4.7.27 or 5.7.27: SPF failed
SPF did not pass for the envelope sender domain. Gmail lists this as a requirement for bulk senders, who need SPF and DKIM both.
- Check the sending IP is covered by your SPF record. A new provider, or a provider that changed its IP ranges and its
include:, can leave it out. - Count lookups. Every
include:,a,mx, andredirectcounts toward the limit of ten. - Check you have only one record that starts with
v=spf1. - If the service sends with its own envelope domain, SPF is checked on that domain, and you cannot fix it in your DNS. Ask the service for a custom return-path or bounce domain on your domain, or rely on DKIM.
The SPF record guide covers building one record that lists every sender.
4.7.30 or 5.7.30: DKIM failed
A DKIM signature was present but did not verify, or the message needed DKIM and had none that passed. Common causes:
- The DKIM record is missing or wrong in DNS. The host added the domain twice to the name, the key was cut short, or a Cloudflare CNAME is proxied. See how to add a DKIM record.
- The message was changed after signing. Google’s DKIM troubleshooting page says a result of "body hash did not verify" means the message was modified in transit, for example by a gateway that adds a footer.
- Signing was never turned on. In Google Workspace you have to click Start authentication after publishing the key. In Microsoft 365 you have to turn signing on after the CNAMEs are found.
4.7.32 or 5.7.32: From header not aligned
SPF or DKIM passed, but on a different domain from the one in your From address. This is the most common surprise. A newsletter platform that signs with its own domain passes DKIM, and a service that uses its own bounce domain passes SPF, yet neither counts for your domain.
Fix: set up the service’s custom domain authentication, so it signs DKIM with d= your domain, or uses a return-path on your domain. Mailchimp and Klaviyo specifics are in our Mailchimp and Klaviyo guide. Alignment can be relaxed: a subdomain of your From domain counts unless your DMARC record sets strict alignment.
5.7.25 and 4.7.23: no PTR record
The sending IP has no reverse DNS name, or the name does not point back to the IP. If you use a mailbox provider or a newsletter platform, this is their setting, not yours. Report it to them. If you run your own mail server, set the PTR with whoever owns the IP, usually your host or ISP.
When the bounce is from a forwarded message
Mail that was forwarded through another server, a mailing list, or an old alias can fail SPF at Gmail even when your setup is correct, because the forwarder’s IP is not in your SPF record. DKIM usually survives plain forwarding. This is one more reason to make sure every service signs with DKIM on your domain.
Check the fix
- Publish the change and confirm it with a DNS lookup.
- Send a test from the same service to a Gmail address. In Show original, SPF, DKIM, and DMARC should each say
PASS, with your domain shown. - Watch DMARC reports and Postmaster Tools for a few days. Google’s FAQ says rejection reasons are visible in Postmaster Tools too.
Sources
- Google Workspace: Gmail SMTP errors and codes
- Google: Email sender guidelines FAQ (November 2025 enforcement, temporary and permanent codes)
- Google Workspace: Troubleshoot DKIM issues (body hash did not verify)
- RFC 7208: SPF and RFC 9989: DMARC