Gmail rejects: “550 5.7.26” and DMARC fail

Since 2024 Gmail and Yahoo require every message to be authenticated via SPF or DKIM, and Google now enforces it with rejections. Often it is not the mail servers themselves but services sending on behalf of the domain.

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

The most common causes

  1. 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.
  2. 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.
  3. SPF with more than 10 DNS lookups. Too many include: lead to permerror, and SPF counts as failed.
  4. Forwarding. When a server forwards mail, SPF no longer matches. Only an intact DKIM signature saves delivery.

Find the culprit

Fix

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.

Sources and documentation