Guides
Read SPF, DKIM, DMARC results in email headers
10 November 2026
To check whether a message passed SPF, DKIM, and DMARC, open its full headers and find the Authentication-Results line added by the receiving server. It lists each check as method=result, such as spf=pass or dkim=fail, with the domain that was checked beside it. A pass only helps DMARC if the domain beside it matches your From address. That one detail explains most confusing results.
Headers show what happened to one message. They are the quickest way to test a fix. To check every record on the domain at once, a $129 Snapshot reads them from public DNS and lists what to fix first.
Step 1: send a test to an address you control
Send from the service you want to test, such as your mailbox, newsletter platform, or store, to a personal address at a large provider. Gmail is the easiest to read. Send a real message, not a "test" with no body, since some services handle those differently.
Google’s DKIM troubleshooting page suggests sending to a personal Gmail address when testing, to rule out problems at the receiving server.
Step 2: open the full headers
- Gmail on the web: open the message, click the three-dot menu, and choose Show original. Gmail shows a summary at the top with SPF, DKIM, and DMARC results, then the raw headers below.
- Outlook and other apps: look for an option to view the message source or message details. The wording varies by version.
- Apple Mail: use the View menu to show all headers or the raw source.
Google also offers a Messageheader tool in the Google Admin Toolbox. Paste the headers in and it lays them out in order.
Step 3: find the right Authentication-Results line
RFC 8601 defines the Authentication-Results header. Section 1.1 says it carries the results of message authentication checks so that later software can use them. A line looks something like this (illustrative):
Authentication-Results: mx.google.com;
dkim=pass header.i=@example.com header.s=google header.b=AbCdEf12;
spf=pass (google.com: domain of bounce@example.com designates 192.0.2.10 as permitted sender) smtp.mailfrom=bounce@example.com;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=example.com
The first item, here mx.google.com, names the server that did the checks. Messages can collect several of these lines as they pass through servers. Trust the one added by the receiving provider, which is usually the topmost. RFC 8601 section 5 says a receiving server must delete copies of this header that claim to come from inside its own boundary, because a forged one could make a message look authenticated.
Step 4: read each result
spf=
The SPF result for the envelope sender, shown as smtp.mailfrom. RFC 8601 section 2.7.2 lists the possible results: pass, fail, softfail, neutral, none, temperror, permerror, and policy.
pass: the sending IP is listed in the SPF record of thesmtp.mailfromdomain.softfailorfail: it is not listed, and the record ends in~allor-all. See softfail vs hardfail.none: that domain has no SPF record.permerror: the record is broken. See SPF PermError.temperror: a DNS lookup failed at the time. Usually it passes on retry.
Now look at the domain. If smtp.mailfrom shows the service’s domain, such as a bounce address on the platform’s domain, SPF passed for them, not for you.
dkim=
The DKIM result for each signature. Section 2.7.1 lists pass, fail, neutral, none, temperror, permerror, and policy. The domain is in header.d or header.i, and the selector in header.s.
passwith your domain: the service signs as you. This is what you want.passwith the platform’s domain: the message is signed, but not as you. It will not help DMARC. Set up the platform’s custom domain authentication.fail: a signature was present but did not verify. If the details say "body hash did not verify," Google says the message was changed in transit. Otherwise check the DNS record for that selector. See how to add a DKIM record.none: no signature at all.
A message can carry more than one signature, for example one from the platform and one for your domain. Each gets its own result. Google’s troubleshooting page says Gmail checks only the first five.
dmarc=
The DMARC result for the domain in the visible From address, often shown as header.from. DMARC passes when SPF or DKIM passed and the domain that passed matches the From domain. Gmail also shows the published policy in brackets.
pass: at least one aligned check passed.fail: neither SPF nor DKIM passed on an aligned domain. The receiver may apply your policy.none: there is no DMARC record for the From domain.
Step 5: check alignment by eye
Put three domains side by side:
- The From address domain, which the reader sees.
- The
smtp.mailfromdomain from the SPF result. - The
header.dorheader.idomain from each DKIM result.
DMARC needs a pass on 2 or 3 that matches 1. Under the default relaxed alignment, a subdomain in the same organization counts, so bounce.example.com aligns with example.com. Our guide to why DMARC fails works through the common patterns.
Reading common results
- SPF pass on the platform’s domain, DKIM pass on the platform’s domain, DMARC fail. Nothing is aligned. Set up the platform’s domain authentication so it signs with your domain.
- SPF fail, DKIM pass on your domain, DMARC pass. Fine. Forwarding often breaks SPF, and DKIM carries the message.
- SPF pass on your domain, DKIM none, DMARC pass. Passing today, but fragile. Add DKIM so the message still passes if it is forwarded.
- DKIM fail, body hash did not verify. Something changed the message after it was signed, such as a footer added by a gateway or a mailing list.
- DMARC none. Publish a DMARC record. See DMARC record tags.
Other headers worth a look
DKIM-Signature: the signature itself. Thed=tag is the signing domain ands=is the selector. Look up the key ats._domainkey.d.Return-Path: the envelope sender that SPF checked.Received: one line per server the message passed through, newest first. Useful when you suspect forwarding.List-UnsubscribeandList-Unsubscribe-Post: present on marketing mail that supports one-click unsubscribe.
One message is one sample
A header shows one message, from one service, at one moment. It will not show a sender you forgot about. DMARC aggregate reports cover every source that sent as your domain. See how to read a DMARC report.
Sources
- RFC 8601: Authentication-Results header: sections 1.1, 2.1, 2.7.1, 2.7.2, 5
- Google Workspace: Troubleshoot DKIM issues (Show original, Messageheader tool, body hash, five signatures)
- RFC 6376: DKIM and RFC 9989: DMARC