Xpoudy

Why does DMARC fail when SPF and DKIM say pass?

Short answer

DMARC can fail when SPF and DKIM authenticate the sender’s vendor domains instead of the visible From domain. At least one passing result has to align with the domain the reader sees.

Start here. In the received headers, write down the From domain and the domains that passed SPF and DKIM. Check whether either one aligns.

By Xpoudy ·

Compare the identities

SPF usually evaluates the envelope sender domain. DKIM uses the domain identified in its signature. DMARC evaluates alignment with the domain in the reader-facing From field. Depending on your settings, an appropriate relationship between domains may satisfy relaxed alignment while strict alignment requires a closer match.

Inspect the actual received copy

Read Authentication-Results in a trusted recipient mailbox. A third-party service can send mail with its own envelope and signing domains without aligning either with yours. Check whether the provider supports a custom authenticated domain for your sender identity.

Fix the legitimate sender configuration

Follow provider setup for an aligned signing domain or envelope domain. Recheck billing, support and other routes after changing policy. Use report data to identify remaining senders and avoid weakening the domain policy just to accommodate an unknown route.

Watch for forwarding effects

Forwarding can change the environment SPF evaluates, and content changes can affect DKIM. Compare a direct received sample to a forwarded sample you control. Treat the two routes as separate pieces of evidence rather than concluding that the original origin stopped authenticating.

An illustrative header

From uses example.com. SPF passes for a vendor’s envelope domain and DKIM passes for the vendor’s signature. If both product domains are unrelated to example.com, the separate passes do not satisfy alignment.