How to check SPF, DKIM and DMARC in a received email (Gmail, Outlook)

Open the message's original source, find the Authentication-Results line, and read spf=, dkim= and dmarc=. Here is where that option lives in Gmail, Outlook, Apple Mail and Yahoo, and what every part of the line means.

· 5 min read · 1.3K views · by the Cortex Digital Hub team

Build or paste your campaign, send a free test to your own Gmail or Outlook address, then open its headers to confirm SPF, DKIM and DMARC pass. Free · up to 15 test emails a day to yourself

Send yourself a test → → Opens Email Composer · runs in your browser

Here is how to check email headers for authentication: open the email, find the option that shows its original source (Show original in Gmail, View message source in Outlook), and look for the line that starts Authentication-Results. It contains three verdicts: spf=, dkim= and dmarc=, each normally pass, fail, softfail, neutral, none or permerror. Next to each verdict is the domain it was checked against. If all three say pass and the domains match your From address, your setup is working. If not, the line tells you exactly which check failed and for which domain.

How to check email headers in Gmail

Gmail is the easiest because it summarises the results for you.

  1. Open the message in Gmail in a browser on a computer.
  2. Click the three-dot More menu next to Reply.
  3. Choose Show original. A new tab opens.

At the top is a summary table:

Field Example What to look for
SPF PASS with IP 54.240.48.12 PASS
DKIM 'PASS' with domain yourdomain.com PASS and your own domain
DMARC 'PASS' PASS

Below it are the full raw headers. The Gmail phone app has no Show original; use a browser.

Steps to view original headers in Gmail, Outlook, Apple Mail and Yahoo Every mail client hides the headers in a different menu, but the content is the same.

Outlook, Apple Mail and Yahoo

Outlook on the web and new Outlook for Windows. Open the message, choose the three-dot menu, then View, then View message source (some versions say View message details). Microsoft moves these menus now and then; if you cannot find them, search Outlook's help for "view message headers".

Classic Outlook for Windows. Double-click the message to open it in its own window, then File, Properties. The headers are in the Internet headers box at the bottom. Select all and copy them into a text editor to read comfortably.

Apple Mail on Mac. Select the message, then View, Message, All Headers, or Raw Source for everything.

Yahoo Mail. Open the message, choose the three-dot More menu, then View raw message.

Outlook.com and Microsoft 365 show the same Authentication-Results line, though Microsoft also adds its own headers such as X-MS-Exchange-Organization-SCL, a spam confidence level. A value of 5 or higher usually means the message went to Junk; the Outlook junk guide explains those scores.

Advertisement

Reading the Authentication-Results line

A typical line from Gmail for a message sent through Amazon SES with full setup:

Authentication-Results: mx.google.com;
  dkim=pass [email protected] header.s=abc123 header.b=Xk3pQ9aB;
  dkim=pass [email protected] header.s=shh3fegwg5 header.b=Lm2Rt8Hd;
  spf=pass (google.com: domain of [email protected]
    designates 54.240.48.12 as permitted sender)
    [email protected];
  dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=yourdomain.com
Part Meaning
mx.google.com Which server did the checking
dkim=pass [email protected] A valid signature from your domain: this is the one that matters
header.s=abc123 The selector, so you know which key was used
second dkim=pass ... amazonses.com SES's own extra signature, normal and harmless
spf=pass ... smtp.mailfrom= SPF passed for the Return-Path domain shown
dmarc=pass At least one of SPF or DKIM passed and aligned
p=QUARANTINE Your published policy
dis=NONE What the receiver actually did: nothing, delivered normally
header.from=yourdomain.com The From domain DMARC compared against

Two signatures are common. Receivers need only one aligned pass. The DMARC alignment guide explains why the domain beside each result matters as much as the word "pass".

Checklist of what to look for in the Authentication-Results header Pass is not enough on its own: check the domain beside each result.

What common failures look like

  • spf=softfail ... smtp.mailfrom=yourdomain.com: the sending IP is not in your SPF record. Add the provider's include, or use a bounce subdomain. See the SPF record guide.
  • spf=permerror: your SPF record is broken, usually too many lookups or two records.
  • dkim=fail (body hash did not verify): the message changed after signing, often a footer added by a gateway or a list.
  • dkim=none or dkim=neutral (no key): no signature, or the DNS key is missing. Check the selector record. The DKIM guide covers common setup mistakes.
  • dkim=pass [email protected] with dmarc=fail: the signature is fine but for the wrong domain.
  • dmarc=fail (p=REJECT dis=NONE): failed, but the receiver chose to deliver anyway. Do not rely on that.

A quick diagnosis table

You see First thing to check
All three pass, still in spam Reputation, content, complaint rate, not DNS
SPF fail only Return-Path domain's SPF record
DKIM fail only Selector record and whether anything modified the message
DMARC fail with SPF and DKIM pass Domains beside each result: alignment
Everything none The sending tool is not authenticating at all

When you test a fix, change one thing at a time and send a fresh message. Old messages keep their original headers forever, so re-opening yesterday's test will not show today's DNS change. Also test at more than one mailbox provider: Gmail and Outlook can reach different verdicts on the same message, especially for DKIM when a gateway modifies the body.

Other header lines worth knowing

Return-Path. The bounce address, and the SPF domain. With a custom MAIL FROM domain it ends in your bounce subdomain.

Received. One line per server hop. Read them bottom to top: the lowest is the first server, the top one is the receiver. Gaps of minutes between hops point to queuing.

ARC-Authentication-Results. Added by forwarding services to record what passed before they touched the message. Useful when a forwarded email fails DMARC.

List-Unsubscribe and List-Unsubscribe-Post. Present on bulk mail that supports one-click unsubscribe, which Gmail and Yahoo require from bulk senders as of 2026.

Message-ID. The unique ID your sending service gave the message. Its domain often reveals which platform actually sent it, which helps when a colleague swears an email "came from our CRM".

Advertisement

Run your own check today

  1. Send a test from the Email Composer to a Gmail address and an Outlook address you own. It allows up to 15 free test emails a day.
  2. Open Show original in Gmail and View message source in Outlook.
  3. Confirm dkim=pass with your domain, spf=pass, and dmarc=pass.
  4. If anything fails, fix the record in Sending setup, where each DNS record shows a live green or red check, and send again.
  5. Repeat after any DNS change, new sending tool or provider switch. If mail passes everything and still lands in spam, start with why emails go to spam.

Frequently asked questions

How do I see email headers in Gmail?

Open the message in Gmail on a computer, click the three-dot More menu next to Reply and choose Show original. A summary at the top shows SPF, DKIM and DMARC results, and the full headers follow below.

How do I view message headers in Outlook?

In Outlook on the web and the new Outlook, open the message, choose the three-dot menu, then View and View message source or message details. In classic Outlook for Windows, open the message in its own window and choose File, Properties, and read the Internet headers box.

Can I check email headers on my phone?

The Gmail and Outlook phone apps do not show full headers. Open the same message in a mobile browser using the desktop site, or check it later on a computer.

What does dmarc=pass with p=NONE mean?

DMARC passed, and the sender's published policy is none. The p= value only describes what would happen if it had failed, so it does not affect a passing message.

What is the difference between header.i and header.d?

Both describe the DKIM signature. header.d is the signing domain and header.i is the identity, often written as @yourdomain.com. Either shows which domain signed the message.

Why does Show original say SPF PASS with an IP I do not recognise?

SPF checks the IP of the server that handed the message to Gmail. That is your sending provider's server, such as an Amazon SES or Google IP, not your office connection. Reverse DNS on the IP tells you which provider it belongs to.

What is ARC in email headers?

ARC (Authenticated Received Chain) headers record authentication results at each hop when a message is forwarded. Receivers can use them to trust a forwarded message whose SPF or DKIM broke on the way. You do not need to set anything up for it.

Send yourself a test → →

Advertisement

More from the blog