ProductFree toolsLearnPricing AboutContact
Sign in Start free trial

How to read email headers

Every email carries a record of where it came from and which checks it passed. Here's how to find it and what each line tells you.

Updated:
Nov 2026
Read:
8 min
Level:
Beginner

What headers are

Above the part of an email you read sits a block of technical lines called headers. Your email app shows you a few of them, such as From, To, Subject and Date. The rest stay hidden: every server the message passed through, the address bounces go back to, and the results of the SPF, DKIM and DMARC checks.

When a message looks suspicious, lands in junk, or a colleague says your email never arrived, the headers are where the answer is.

How to find them

Email appWhere to look
New Outlook and Outlook on the webOpen the message, select … (More actions), then View → View message details.
Classic Outlook for WindowsOpen the message in its own window, then File → Properties. The headers are in Internet headers.
GmailOpen the message, select ⋮ (More), then Show original.
Apple MailView → Message → All Headers.

Copy the whole block. Paste it into our free Email Header Analyzer to have it explained, or read on to understand it yourself.

One message, line by line

Here are the key headers of a spoofed message, shortened, with what each line means.

A spoofed invoice, as your mail system saw it
Authentication-Results: spf=pass smtp.mailfrom=mailer.example.net; dkim=none; dmarc=fail action=quarantine header.from=yourcompany.com

Written by your own mail system. SPF passed, but for the wrong domain, so DMARC failed.

Received: from mail.example.net (203.0.113.77) by mx.yourcompany.com

The handover to your server. The most trustworthy Received line.

Return-Path: <bounce@mailer.example.net>

Where bounces go. SPF checks this domain.

From: "Accounts" <billing@yourcompany.com>

What the recipient sees. It claims to be you.

Reply-To: <payments@lookalike-domain.example>

Replies would go to the attacker.

Received: the route

Every server that handles a message adds a Received line at the top. So the lines read from the bottom up: the lowest is where the message started, the highest is the last handover before it reached the mailbox.

Received: from mail.example.net (mail.example.net [203.0.113.77])
    by mx.yourcompany.com with ESMTPS
    id 4Ab1Cd; Thu, 26 Nov 2026 09:14:02 +0000

Each line says which server it came from, which server received it (by), how (with, where ESMTPS means an encrypted connection), and when. Comparing the times between lines shows where a message was delayed.

Trust the top, not the bottom. A sender can add fake Received lines before sending. The lines added by your own servers, at the top, are the ones you can rely on. The first line written by your system tells you the real IP address that delivered the message.

The four addresses

One email can carry four different addresses, and attackers rely on people not knowing the difference.

From
The address people see. It's just text the sender writes, which is why DMARC exists to check it.
Return-Path
The envelope sender, also called MAIL FROM, where bounces go. SPF checks this domain. Services often use their own domain here.
Reply-To
Where replies go, if it's different from From. A Reply-To on another domain is a classic sign of invoice fraud.
Message-ID
A unique ID created by the sending system. Its domain often reveals which service really sent the message.

Authentication-Results

This is the most useful line. The receiving system writes it after checking the message, and it holds the SPF, DKIM and DMARC results.

Authentication-Results:
spf=pass (sender IP is 203.0.113.10) smtp.mailfrom=yourcompany.com;
dkim=pass (signature was verified) header.d=yourcompany.com;
dmarc=pass action=none header.from=yourcompany.com;
compauth=pass reason=100
spf=
Whether the sending server is allowed by the SPF record of the smtp.mailfrom domain. softfail means the record ends in ~all; permerror means the record is broken, often by too many DNS lookups.
dkim=
Whether the signature verified, for the domain in header.d. none means the message wasn't signed.
dmarc=
Whether SPF or DKIM passed for a domain that matches header.from, and the action taken. bestguesspass means the domain has no DMARC record, but would have passed.
compauth=
Microsoft 365's overall verdict, which also weighs other signals. The three-digit reason explains it; codes starting with 0 are failures and with 1 are passes.

The domains matter as much as the results. spf=pass for a newsletter service's own domain does nothing for your DMARC. Always compare smtp.mailfrom and header.d with header.from. See DMARC alignment.

Microsoft 365 headers

Microsoft 365 adds two headers to incoming mail that explain its filtering decision.

X-Forefront-Antispam-Report

A list of short fields separated by semicolons, for example CIP:203.0.113.77;CTRY:US;SFV:SPM;CAT:SPOOF;SCL:5.

FieldWhat it tells you
CIPThe IP address that connected to Microsoft 365.
CTRYThe country of that IP address.
CATWhy the message was flagged: SPM spam, HSPM high-confidence spam, PHSH phishing, SPOOF spoofing, BULK bulk mail, MALW malware.
SFVThe spam filter verdict: NSPM not spam, SPM spam, SKA allowed by policy, SFE on the user's safe senders list, BLK on their blocked list, SKN skipped by a mail flow rule.
SCLSpam confidence level. Microsoft now uses CAT and SFV for its decisions, so read those first.

X-Microsoft-Antispam

Look for BCL, the bulk complaint level. The higher it is, the more likely recipients are to complain about mail from that sender, and the more likely it is to be treated as junk.

Spotting a spoofed message

  1. In Authentication-Results, check dmarc=. A fail for your own domain is a strong warning sign.
  2. Compare header.from with smtp.mailfrom and header.d. Different, unrelated domains mean nothing proves the message came from the From domain.
  3. Check Reply-To. A reply address on another domain, especially a lookalike, is typical of invoice and payment fraud.
  4. Find the first Received line added by your own system and look up that IP address. Is it a service you use?
  5. In Microsoft 365, look for CAT:SPOOF or CAT:PHSH in X-Forefront-Antispam-Report.
Let the analyzer read themPaste any message's headers to see the route, delays and every authentication result in plain English.

Common questions

#Is it safe to share email headers?

Mostly. Headers contain no message body, but they do include email addresses, server names, IP addresses and the subject line. Remove anything sensitive before posting them publicly.

#Can headers be faked?

Some can. A sender can write anything in the From line and add fake Received lines below the real ones. The lines added by your own mail system, at the top, and the Authentication-Results it writes are the ones you can trust.

#Why don't I see an Authentication-Results line?

Some mail systems name it differently, such as ARC-Authentication-Results, or only add it to incoming mail. Messages sent between two mailboxes in the same Microsoft 365 organization often don't have one.