The messages
550 5.7.26 This mail has been blocked because the sender is unauthenticated.
Gmail requires all senders to authenticate with either SPF or DKIM.
550 5.7.26 Unauthenticated email from example.com is not accepted due to
domain's DMARC policy.
The first message means neither SPF nor DKIM passed. The second: the domain has DMARC with p=reject or p=quarantine, and the message does not meet it.
What Gmail requires
- All senders: SPF or DKIM, valid reverse DNS for the sending server, TLS.
- Bulk senders (more than 5,000 messages a day to Gmail): SPF and DKIM, DMARC at least with
p=none, the From domain must match SPF or DKIM (alignment), one-click unsubscribe.
The most common causes
- A service sends on behalf of the domain but is not in SPF and does not sign with the domain’s DKIM: newsletter tool, CRM, ticket system, shop, website contact form, scanner or multifunction printer.
- DKIM with a foreign domain. The service signs with its own domain. DKIM then passes but does not match the From domain, so DMARC fails.
- SPF with more than 10 DNS lookups. Too many
include:lead topermerror, and SPF counts as failed. - Forwarding. When a server forwards mail, SPF no longer matches. Only an intact DKIM signature saves delivery.
Find the culprit
- Send a message from the affected sender to a Gmail mailbox, use “Show original” and paste the header into the email header analyzer. It shows
spf=,dkim=anddmarc=with the domains involved. - Check SPF and DMARC of the domain with the SPF, DMARC and DKIM tool, including the number of DNS lookups.
- Evaluate DMARC reports: with
rua=mailto:…in the DMARC record, Gmail and others send a daily list of all servers that sent on behalf of the domain.
Fix
- Add the service to SPF, e.g.
v=spf1 mx include:_spf.service.example -all. The service tells you the right entry. - Set up DKIM with your own domain. Almost all services offer it, usually via two or three CNAME records. It is the most robust solution, even with forwarding.
- Keep SPF lean. Remove unused
include:. Let rarely used services send via a subdomain such asnews.example.com. - Tighten DMARC step by step: start with
p=noneand reports, move toquarantineandrejectonly when all senders are clean.
The overall state of mail reception and sender records is shown by the mail server check.
FAQ
Is setting up SPF enough?
For small senders Gmail requires SPF or DKIM. As soon as DMARC is set to reject or forwarding is involved, you need DKIM with your own domain. Both together are safest.
Why does mail reach Outlook.com but not Gmail?
Providers enforce the rules with different strictness. Microsoft has required similar measures for bulk senders since May 2025. What fails at Gmail will soon fail elsewhere too.
What does alignment mean?
The domain in From must match the domain SPF checks (Return-Path) or the one DKIM signs. With relaxed, the same main domain is enough; with strict it must be identical.