Skip to content

How to Read Email Headers for SPF, DKIM and DMARC

Find the Authentication-Results header in Gmail, Outlook and Apple Mail and read the SPF, DKIM and DMARC verdicts line by line.

Published 6 min read

To see whether a message passed SPF, DKIM and DMARC, open its raw headers and find the Authentication-Results header added by the receiving mail server. It lists one verdict per method, such as spf=pass, dkim=pass and dmarc=pass, along with the domain each check used. In Gmail use Show original, in Outlook use View message details (web and new Outlook) or File > Properties (classic Outlook), and in Apple Mail use View > Message > All Headers.

Where to find the raw headers

Mail clients hide most headers. Each one has a way to show the full set.

Gmail (web)

  1. Open the message.
  2. Click the More icon (three vertical dots) next to Reply.
  3. Select Show original.

A new tab opens with a summary table at the top (SPF, DKIM and DMARC results) and the full raw message below. Copy to clipboard copies everything. Google documents this in its help article on tracing an email.

Outlook on the web, Outlook.com and new Outlook for Windows

  1. Open the message.
  2. Select More actions (three dots) at the top of the message.
  3. Select View, then View message details.

A panel shows the full header text.

Classic Outlook for Windows

  1. Double-click the message to open it in its own window.
  2. Select File, then Properties.
  3. The headers are in the Internet headers box at the bottom. Click inside, select all, and paste into a text editor to read it.

Microsoft documents both versions in View internet message headers in Outlook.

Apple Mail (Mac)

  1. Select the message.
  2. Choose View > Message > All Headers.

The header area of the message expands to show every field. Choose View > Message > Default Headers to switch back. View > Message > Raw Source shows the complete message including the body. Apple describes the headers option in Show detailed headers in Mail on Mac.

iCloud Mail (web)

Open the message, select the More button, then Show All Headers.

Can I see headers on a phone?

Most mobile mail apps do not show full headers. Open the message in the webmail version on a computer, or forward it as an attachment to an address you can read on a desktop client.

A realistic header block

Headers are listed newest first: the receiving server's lines are at the top, and the original sender's lines are near the bottom. Here are the authentication-related headers of a message from example.com to a Gmail user, trimmed to what matters:

Authentication-Results: mx.google.com;
       dkim=pass header.i=@example.com header.s=s2026 header.b=Kq3Z8xWm;
       spf=pass (google.com: domain of bounce@mail.example.com designates 192.0.2.10 as permitted sender) smtp.mailfrom=bounce@mail.example.com;
       dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=example.com
Received-SPF: pass (google.com: domain of bounce@mail.example.com designates 192.0.2.10 as permitted sender) client-ip=192.0.2.10;
Received: from out.mail.example.com (out.mail.example.com. [192.0.2.10])
        by mx.google.com with ESMTPS id ...
        for <alex@gmail.com>;
        Thu, 22 Oct 2026 09:14:03 -0700 (PDT)
Return-Path: <bounce@mail.example.com>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=s2026;
        h=from:to:subject:date:message-id; bh=...; b=Kq3Z8xWm...
From: Example Billing <billing@example.com>
To: alex@gmail.com
Subject: Your October invoice

Reading Authentication-Results line by line

The format is defined in RFC 8601. Each header has the same structure:

Authentication-Results: <authserv-id>; <method>=<result> [reason] <ptype.property>=<value> ...; ...

The authserv-id

mx.google.com identifies the server that ran the checks. Only trust Authentication-Results headers whose authserv-id belongs to your own receiving system. RFC 8601 requires receivers to remove headers that falsely claim their identity, but a header added by some other server along the way is just text the sender could have written.

If you see several Authentication-Results headers, the top one from your own provider is the one that counts.

The dkim result

dkim=pass header.i=@example.com header.s=s2026 header.b=Kq3Z8xWm;
Part Meaning
dkim=pass The signature verified against the public key in DNS
header.i=@example.com The signing identity; its domain is the d= domain of the signature
header.s=s2026 The selector; the key was fetched from s2026._domainkey.example.com
header.b=Kq3Z8xWm The first characters of the signature, to tell multiple signatures apart

Other providers print header.d=example.com instead of or alongside header.i. A message can carry several signatures, and each one gets its own dkim= entry. To look up the key yourself, enter the domain and selector in the DKIM checker.

The spf result

spf=pass (google.com: domain of bounce@mail.example.com designates 192.0.2.10 as permitted sender) smtp.mailfrom=bounce@mail.example.com;
Part Meaning
spf=pass The connecting IP is allowed by the SPF record
(...) A human-readable comment from the receiver
smtp.mailfrom= The envelope sender whose SPF record was checked: here mail.example.com

The Received-SPF header, when present, repeats the SPF result with the client IP. Check the domain's record with the SPF checker.

The dmarc result

dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=example.com
Part Meaning
dmarc=pass SPF or DKIM passed with a domain aligned to the From domain
p=REJECT sp=REJECT The domain's published policy and subdomain policy (a Gmail comment)
dis=NONE The disposition actually applied to this message: none, quarantine or reject
header.from=example.com The From domain DMARC evaluated

Here DKIM d=example.com matches header.from exactly, and SPF mail.example.com aligns in relaxed mode. Either one alone would have been enough. The DMARC alignment guide explains the matching rules.

Result values you will see

Result SPF meaning DKIM meaning
pass IP authorized Signature valid
fail IP explicitly not authorized (-all) Signature did not verify
softfail IP probably not authorized (~all) (not used)
neutral Record makes no assertion (?all) Signature could not be judged
none No SPF record No signature
temperror Temporary DNS failure Temporary key lookup failure
permerror Broken record, such as more than 10 lookups Broken signature or key record
policy Rejected by local policy Signature valid but not accepted by local policy

For DMARC you will mostly see pass, fail, none (no DMARC record for the From domain), temperror and permerror.

Worked example: a failing message

The same mail sent through a newsletter platform that is not set up for the domain:

Authentication-Results: mx.google.com;
       dkim=pass header.i=@sender.vendor.example header.s=v1 header.b=pR7tY2cX;
       spf=pass (google.com: domain of b-4410@sender.vendor.example designates 198.51.100.7 as permitted sender) smtp.mailfrom=b-4410@sender.vendor.example;
       dmarc=fail (p=REJECT sp=REJECT dis=REJECT) header.from=example.com

Step by step:

  1. header.from=example.com: the message claims to be from example.com.
  2. DKIM passed, for sender.vendor.example. Not aligned.
  3. SPF passed, for sender.vendor.example. Not aligned.
  4. No aligned pass, so dmarc=fail, and Gmail applied the reject policy (dis=REJECT).

The fix is to set up DKIM with d=example.com at the vendor. Why DMARC fails maps each pattern of results to its cause, and the third-party senders guide covers the vendor setup.

Other headers worth reading

  • Received: one per server hop, newest at the top. The lowest Received line added by a server you trust shows the IP that actually delivered the message.
  • Return-Path: the envelope sender, added by the final receiver. Its domain is what SPF checked.
  • DKIM-Signature: the signature itself. d= is the signing domain and s= the selector.
  • ARC-Authentication-Results, ARC-Seal, ARC-Message-Signature: added by forwarders and mailing lists that record the authentication results they saw (RFC 8617). See the forwarding and ARC guide.
  • Reply-To: where replies go. A Reply-To on a different domain from the From is a common phishing sign.

Common mistakes

  • Trusting an Authentication-Results header from the wrong server. Use the one added by your own provider, at the top.
  • Reading spf=pass as proof of the sender. Check which domain smtp.mailfrom names.
  • Ignoring which DKIM signature passed. Only a signature for your From domain (or its organizational domain in relaxed mode) helps DMARC.
  • Testing with a message sent to yourself on the same system. Internal mail may skip external checks. Send to an outside mailbox such as Gmail.
  • Reading headers from the bottom up as if they were newest first. New headers are added on top.

Key takeaways

  • Find raw headers with Show original (Gmail), View message details or File > Properties (Outlook), and View > Message > All Headers (Apple Mail).
  • Authentication-Results gives one verdict per method, plus the domain each one checked.
  • Compare the dkim and spf domains with header.from to judge alignment.
  • dmarc=pass needs one aligned pass, not both.
  • Trust only the header added by your own receiving server.

Once you know the domain and selector, verify the published records with the free DKIM checker and the DMARC checker.

Check your domain now