dotvitals

Loading the list of pages…

↑↓ to moveEnter to openEsc to close

Gmail 550 5.7.26: email blocked because the sender is unauthenticated

Updated · 6 min read

Gmail:550 5.7.26421 4.7.26

In short

  • Gmail could not confirm that your domain sent the message: neither SPF nor DKIM passed, or your SPF record ends in -all and the sending server is not in it, or your DMARC policy said to refuse it.
  • The usual cause is a service sending as your domain that is missing from your SPF record and does not sign with a DKIM key for your domain.
  • Fix the sender, not the policy: add it to SPF, switch on DKIM signing with your domain, then send a test to a Gmail address and read the result.

Check your domain now

Type the domain after the @ in the address you send from. Each button runs one check on it.

On this page
  1. The bounce, as Google documents it
  2. Most likely causes
  3. Reading the three versions
  4. How to fix it
  5. How to confirm the fix worked

The bounce, as Google documents it

550 5.7.26Neither SPF nor DKIM passed

This email has been blocked because the sender is unauthenticated. Gmail requires all senders to authenticate with either SPF or DKIM. Authentication results: DKIM = did not pass SPF [domain-name] with ip: [ip-address] = did not pass. …

550 5.7.26Your SPF record ends in -all and the sending server is not in it

The (E)MAIL FROM domain [domain-name] has an SPF record with a hard fail policy (-all) but it fails to pass SPF checks with the ip: [ip-address]. …

550 5.7.26The From domain's DMARC policy refused it

Unauthenticated email from domain-name is not accepted due to domain's DMARC policy. Contact the administrator of domain-name domain if this was legitimate email. …

421 4.7.26The same failure, deferred instead of refused

This email has been rate limited because it is unauthenticated. Gmail requires all senders to authenticate with either SPF or DKIM. …

Read on . Providers reword these messages without notice, so treat the text as a dated snapshot and check the source before acting on anything consequential.

Gmail refused the message because it could not confirm that the domain it came from really sent it. A domain proves that in two ways: SPF, a published list of the servers allowed to send its mail, and DKIM, a signature added to each message. For this message neither worked, or the domain's own DMARC policy told Gmail to refuse mail that fails, so Gmail sent it back instead of delivering it.

550 is a permanent refusal: sending the same message again from the same place fails the same way. Gmail has required every sender to pass SPF or DKIM since February 2024, and Google's FAQ says enforcement on mail that does not comply has been stepped up since November 2025, with both temporary and permanent rejections. Mail that used to land in spam can now bounce instead.

Google documents three versions of this bounce, plus a temporary one with the code 421 4.7.26. Find yours below: each one points at a different record.

Most likely causes

  1. A service that sends as your domain is missing from your SPF record and does not sign with your DKIM key. A mailing-list service, a support desk, billing software or a website form set up after SPF was written is the usual case: its mail fails both checks.
  2. DKIM is published but signing was never switched on. Several platforms, Google Workspace among them, need signing enabled in their own settings after the DNS record is in place; until then nothing is signed and SPF is the only check left to pass.
  3. Your SPF record is broken, so it passes nothing. Two SPF records at one name, a typo in a mechanism, or a record that needs more than ten DNS lookups each produce a permanent error, and receivers then act as if the domain published no SPF record.
  4. A server or device sends directly. A web server's own mail function, a printer, a backup appliance or a monitoring script connects to Gmail from an address your SPF record never mentions.
  5. The message was forwarded through a server that changed it. A forward re-sends your mail from someone else's server, so SPF fails; if the forwarder also altered the message, DKIM fails too, and a DMARC policy of reject then refuses it. That is the forwarder's setup to fix, unless the relay is your own gateway.
  6. Someone else sent it. If the address in the bounce is not one of your servers, Gmail blocked a forgery, which is what the check is for. The bounce reached you because the forger put your address as the sender.

Reading the three versions

The first version lists the results. DKIM = did not pass means no signature verified: none was added, the key it names is not published, or the message changed after it was signed. SPF [domain] with ip: [address] = did not pass names the domain whose SPF record was checked — the envelope sender, which for a sending platform is often its own bounce domain rather than yours — and the address of the server that connected to Gmail. That address is the most useful fact in the bounce, because it tells you which system sent the message.

The second version means the sending server is not in your SPF record and the record ends in -all, which tells receivers to refuse anything it does not list. Gmail took the record at its word. Google's text does not say whether DKIM was checked as well, so do not assume a signature would have saved the message; fix SPF for that server.

The third version names the DMARC policy. The message failed DMARC, and the policy published for the domain in its From line tells receivers to act on a failure. If that domain is yours, one of your sending paths is not authenticated in alignment with it; if it is somebody else's, you were probably forwarding or relaying their mail.

421 4.7.26 is the same complaint as a deferral: your server keeps the message and retries for a while. Fix the cause before the retries run out and the deferral becomes a bounce.

How to fix it

Find the sender. The address in the bounce, and the Received lines of the returned message, name the system that sent it. If you receive DMARC aggregate reports, they list every source sending as your domain.

Add that sender to your SPF record, using the include or address range its own documentation gives. Edit the existing record; never publish a second one. Keep the total under ten DNS lookups, nested includes counted.

Switch on DKIM for that sender with your own domain: publish the record it gives you, then turn signing on in its settings. DKIM survives forwarding and SPF does not, so this is the change that keeps working.

If the bounce named your DMARC policy and the mail was genuine, make SPF or DKIM pass for your domain on that sending path. Do not lower the policy to p=none to rescue one sender: that takes the protection away from every message, forged ones included.

If the address in the bounce is not one of yours, there is nothing to fix. Gmail refused a forgery.

How to confirm the fix worked

Send a new message from the same system to a Gmail address you control, open it, and choose Show original. Gmail lists the SPF, DKIM and DMARC results at the top: DMARC should read PASS, and SPF or DKIM should pass for your own domain.

Run the SPF and DKIM checks above again. The SPF record should be a single record under ten lookups, and the selector your sender signs with should resolve to a key.

Mail refused with 550 does not arrive by waiting. Send it again once the test passes.

Check your domain with the SPF checker

Read next