Deliverability

Gmail 550-5.7.26 unauthenticated bounce: you can't turn it off

The 550-5.7.26 bounce means Gmail found neither SPF nor DKIM passing for the domain the message claims to come from. The fault sits with the sender's domain, not with a recipient's Gmail account, and a recipient can't waive the check. The sender's IT admin has to repair the DNS records.

Sohail HussainSohail Hussain10 min read

Short answer

  • The 550-5.7.26 bounce means the sender's domain failed both SPF and DKIM checks. You cannot turn this off or waive it from a Gmail account.
  • Tell your friend to send the bounce text to whoever manages their domain's email, so that person can fix SPF and DKIM.
  • Nothing you enabled or disabled in Gmail caused this, and nothing in Gmail will change the outcome.

A friend says their message to your Gmail address bounced, and you are sure you never touched an authentication setting. The bounce reads:

550-5.7.26 This mail is unauthenticated, which poses a security risk to the sender and Gmail users, and has been blocked. The sender must authenticate with at least one of SPF or DKIM.

That is a permanent rejection. Gmail checked the message, found that neither SPF nor DKIM passed for the sending domain, and refused it before it reached your inbox, spam folder or any filter you control.

Why it happens

Authentication belongs to the domain in the sender's From address, such as a company, school or custom domain. SPF and DKIM are DNS records and signing keys that only the owner of that domain can publish. A recipient has no records that apply to someone else's mail.

Google's help pages say the same thing from the sender's side. Its authentication requirements say all senders need SPF or DKIM, and bulk senders need SPF, DKIM and DMARC. Google also says messages that aren't authenticated might be marked as spam or rejected with a 5.7.26 error. The bounce goes back to the sender, so you only know about it because your friend told you.

Google's SMTP error list shows 5.7.26 comes in several wordings. One says the email was blocked because the sender is unauthenticated, and Gmail requires SPF or DKIM. Another applies when the domain has an SPF record with a hard fail policy (-all) but the sending IP fails the SPF check. A third says unauthenticated email from the domain is not accepted due to the domain's DMARC policy. Your friend's bounce text says which one they hit. The fix is on their side in every case.

Which side are you on?

You areWhat happenedWho fixes it
A Gmail user whose friend says their mail bouncedThe friend's domain failed SPF and DKIMYour friend's IT or domain admin
Someone sending from a company or custom domain to GmailYour domain failed both checksYou, or whoever manages your DNS and mail
A personal Gmail user bounced when sending from your own @gmail.com addressUnusual, because Gmail signs its own mailYou, by checking whether a third-party app sent it using your Gmail address

Why you cannot waive it

Gmail decides this during SMTP delivery, before filters, labels or blocked-sender lists apply. Adding your friend to contacts or marking them as safe does not help, because the message is rejected and never stored.

What your friend should send to their IT admin

  • The full bounce text, including the line that starts with "For this message" and lists the SPF domain and IP that failed
  • The date and time of the failed message
  • The sending address and the system it came from (Outlook, a CRM, a website form, a scanner, a billing tool)
  • The full headers of a message that did get through, if there is one

Several users on vendor community forums report this error from domains where everything looked configured, and the cause was one specific system sending mail. The failing IP in the bounce is the best clue to which one.

Step-by-step fixes for the sender's IT person

Work through these in order. The most common causes come first.

1. Confirm what Gmail sees

  1. Have the sender send a test message to a Gmail address they control.
  2. Open it and choose Show original from the three-dot menu.
  3. Read the SPF, DKIM and DMARC results at the top.
  4. If SPF and DKIM both show FAIL or are missing, that matches your bounce.
  5. Paste the raw headers into the email header analyzer to see them laid out.

If the test passes but real mail still bounces, one particular system is the difference. Find out which service sent the bounced message and test it separately.

2. Publish SPF, DKIM or both

A domain with no SPF record and no DKIM signing fails. Publish at least one, ideally both. A minimal SPF record for a domain that sends only through Google Workspace looks like this:

example.com.  IN  TXT  "v=spf1 include:_spf.google.com ~all"

Your real record must list every service that sends as your domain. The SPF generator can build one. For DKIM, generate the key in your mail system's admin console, publish the record it gives you, then switch signing on. In Google Admin, search for "Authenticate email". If you need to create a key pair yourself, use the DKIM generator.

Google also requires that sending to personal Gmail accounts needs a DKIM key of 1024 bits or longer, and recommends 2048 bits where the DNS provider supports it.

3. Authorize third-party senders

This is the usual reason a domain that "has SPF" still fails. A CRM, billing tool, helpdesk, website form or newsletter service sends with the company address, but its servers are missing from SPF and it does not sign with the company's DKIM key. Google's guidance is that the SPF record should include all email senders for your domain. Each service needs its own include: entry in SPF, its own DKIM records, or both. Check that service's documentation for the exact values.

One example from a Microsoft community thread: a customer on Microsoft 365 had SPF, DKIM and DMARC set up, yet mail sent as a PDF from a business application still bounced. The application's servers were the unauthorized sender.

4. Repair a broken SPF record

  • Two or more SPF records on one domain (only one v=spf1 TXT record is allowed). A Google Community reply on a similar bounce found exactly this, plus a DKIM record published at the wrong host.
  • More than 10 DNS lookups, which makes SPF return a permanent error. The SPF lookup count calculator counts them.
  • A typo in an include: domain, or an include that resolves to no IP addresses.
  • A hard fail -all policy while a sending IP is missing from the record.

5. Repair a DKIM signature that fails

  • The key record was truncated when pasted into a DNS panel.
  • The selector in the message does not match the record. A DKIM record lives on a subdomain built from the selector, not on the bare domain.
  • A forwarder or mailing list changed the body or subject after signing.
  • The key was rotated without updating DNS.

6. Check forwarding and relays

Forwarding often breaks SPF, because the forwarder's IP is not in the original domain's record. If DKIM also breaks, Gmail sees no valid authentication. Forwarders that leave the message intact keep DKIM valid. Google has its own best-practices page for forwarding email to Gmail, which is linked from its sender guidelines.

Cause, symptom and fix at a glance

CauseWhat the bounce or headers showFix
No SPF or DKIM at allSPF and DKIM both missing or failingPublish SPF and enable DKIM signing
Third-party service not authorizedFailing IP belongs to a vendorAdd the vendor's include: and DKIM records
Duplicate SPF recordsSPF permerror or failMerge into one v=spf1 record
Too many SPF lookupsSPF permerrorRemove unused includes
DKIM selector or key wrongDKIM fail with a selector shownRepublish the key at the right selector host
Message altered in transitDKIM fail only after forwardingSign at the final sending system
DMARC policy blocks itBounce text mentions DMARC policyFix alignment of SPF or DKIM with the From domain

Resend after the fix

A message rejected with a permanent 5xx code is not retried. After the DNS change, wait for the record's TTL (a few minutes to several hours), then send a fresh message.

Checklist before the sender tries again

  • A test message to a Gmail address shows SPF or DKIM as PASS under Show original
  • Only one SPF record exists, with fewer than 10 lookups
  • Every service that sends as the domain is in SPF or signs with DKIM
  • The DKIM key is at least 1024 bits, ideally 2048
  • A DMARC record exists, even at p=none (see the DMARC generator)
  • Authentication is rechecked whenever a new tool starts sending as the domain

The full process is in our guide to setting up SPF, DKIM and DMARC. Google's email sender guidelines and its Gmail SMTP errors and codes page list the requirements and each 5.7.x variant.

If nothing works

If SPF and DKIM both pass in a test message and real mail still bounces, the sender should contact their mail provider's support (Google Workspace, Microsoft 365 or their hosting company). Include the exact bounce text, timestamps, the failing IP, and the headers of a passing and a failing message. You, as the recipient, have nothing to send Google: personal Gmail users cannot override another domain's authentication result.

A message your friend can forward to their admin:

Subject: Mail to Gmail bounces with 550-5.7.26 (unauthenticated)

Hi,

Messages from {sender address} to Gmail addresses are bounced with:
"550-5.7.26 This mail is unauthenticated ... The sender must authenticate with at least one of SPF or DKIM."

Failed message: {date and time}, sent from {system or app}.
Failing IP in the bounce: {IP address}.
Full bounce text and headers are attached.

Please check that SPF and DKIM are published and passing for {domain},
that every service sending as {domain} is authorized, and that there is only one SPF record.

Common questions

Can I whitelist my friend in Gmail so the mail goes through?

No. The rejection happens during SMTP delivery, before Gmail applies any of your filters, contacts or blocked-sender lists. Only the sender's authentication can change the result.

Did I turn SPF or DKIM on or off in my Gmail account?

No. Those settings belong to the domain that sends the mail. Your personal Gmail account has no SPF or DKIM setting that affects mail from other people.

Why do some of my friend's messages arrive while others bounce?

Different systems send with the same address. Their regular mail app may be authenticated, while a form, scanner or billing tool is not. Google also applies authentication checks to messages sent to Gmail accounts, so a mixed pattern points to one unauthorized sending system.

Is this only a problem for new senders?

No. Google's current guidelines require SPF or DKIM from all senders, and SPF, DKIM and DMARC from bulk senders. Older community threads describe a rule that applied only to new senders from November 2022, but the guidelines now say all senders.

deliverabilitygmailerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

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.

Sohail Hussain|10 min read
Deliverability

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.

Sohail Hussain|9 min read
Deliverability

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.

Sohail Hussain|11 min read
Deliverability

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.

Sohail Hussain|9 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free