Chat bot builder? Go to buzzmark.chat

SMTP error · Gmail

550 5.7.26: This mail is unauthenticated (Gmail)

The error as Gmail sends it Permanent - not retried
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. For this message, DKIM checks did not pass and SPF check for [example.com] did not pass with ip: [203.0.113.10].

IP addresses, domains and links in the line differ per message, and a long reply may be split over several lines.

What it means

Gmail could not prove that the message came from the domain it claims to be from, so it refused it. Gmail requires every sender to pass SPF or DKIM. This message passed neither.

There is a second version of the same code: "550-5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy." That one means the domain in your From address publishes a DMARC policy of quarantine or reject, and the message failed DMARC. Read the text after the code to see which one you have. It names the check that failed.

Usual causes

  • Your domain has no SPF record, or the record does not include the service that sent the message.
  • The message is not DKIM-signed, or it is signed with a key that is not published in your DNS.
  • SPF and DKIM pass, but for a different domain from the one in your From address, so DMARC fails. This is an alignment problem.
  • You added a new sending service (a CRM, a help desk, a web form) and did not add it to SPF or set up DKIM for it.
  • The message was forwarded or sent through a mailing list, which broke SPF and changed the content so the DKIM signature no longer matched.
  • You send from a free address such as @gmail.com or @yahoo.com through your own server. Those domains publish strict DMARC policies, so only their own servers may send as them.

How to fix it

  1. Find out which check failed

    Read the full bounce. Gmail says whether DKIM did not pass, SPF did not pass, or both, and names the domain and IP address it checked. Then run your domain through a DNS checker to see what is published.

  2. Publish a correct SPF record

    Add one TXT record at your domain that lists every service allowed to send for you. Keep it to a single SPF record and no more than 10 DNS lookups. Two SPF records on one domain count as an error.

  3. Turn on DKIM signing

    In each service that sends email for you, enable DKIM for your own domain and publish the DNS record it gives you. Sign with your own domain, not the provider's default one.

  4. Check alignment

    DMARC passes only if the domain that passed SPF or DKIM matches the domain in your From address. Either one is enough. Open a delivered message in Gmail, choose "Show original" and compare the domains.

  5. Add a DMARC record

    Start with v=DMARC1; p=none; and a rua address for reports. Read the reports to find services you forgot. Move to quarantine or reject only when all your real mail passes.

  6. Send again

    DNS changes can take a while to spread. Wait until the checker shows the new records, then resend. Gmail does not retry a 550 for you.

Free tools that help

Related errors

All SMTP error codes

Rather not do DNS by hand?

Buzzmark is EU-hosted transactional email that generates your SPF, DKIM, DMARC and Return-Path records, checks them for you and warns you if they ever drift.

Free up to 300 emails a month · No credit card