Latest

Reading email headers: how to tell where a suspicious message really came from

The sender you see can be fake; the technical headers far less so. How to open headers in Gmail, Outlook, Thunderbird and Apple Mail, how to read Received lines from the bottom up, what Authentication-Results, Return-Path and Reply-To say and the signs that give phishing away.

By 4 min read
Reading email headers

The name and address shown as sender are easy to fake. A message’s technical headers, by contrast, tell the real story: which servers carried it, which IP address it left from and whether it passed SPF, DKIM and DMARC checks. Knowing how to read them helps you tell whether an email from “your bank” is genuine and report a problem to your provider.

How to view the headers

Program Where to find them
Gmail (web) Open the message, the three dots next to Reply, Show original
Outlook.com and new Outlook Open the message, the three dots, View > View message details
Classic Outlook (Windows) Double-click the message, File > Properties, “Internet headers” box
Thunderbird View > Message Source (Ctrl+U)
Apple Mail View > Message > All Headers
Phone Apps usually don’t show them: open the message in the web version on a computer

The headers that matter

Header What it says Be wary if…
From The sender shown in your mail program It is the easiest field to fake
Reply-To Where replies go Its domain differs from the sender’s: replies go to someone else
Return-Path Where bounces go; it is the domain SPF checks It is a domain unrelated to the sender
Received One line per server the message passed through The first server is in a country or on a provider the sender doesn’t use
Authentication-Results The SPF, DKIM and DMARC results worked out by your provider It shows fail, softfail or none for an important sender
DKIM-Signature The signature: d= is the signing domain, s= the selector The d= domain is not the sender’s
Message-ID A unique identifier, usually including the domain of the server that created it The domain matches none of the sender’s services

Read Received lines from the bottom

Each server that receives the message adds a Received line at the top. So the bottom line is closest to the origin and the top one is your provider’s server. A simplified example:

Received: from mx.your-provider.com (mx.your-provider.com [198.51.100.20])
        by mailbox.your-provider.com; Tue, 4 Nov 2026 10:12:09 +0100
Received: from mail-out.example-bank.com (mail-out.example-bank.com [203.0.113.45])
        by mx.your-provider.com with ESMTPS; Tue, 4 Nov 2026 10:12:07 +0100

Here the message left from mail-out.example-bank.com, address 203.0.113.45, and was delivered by your provider two seconds later. Lines added by the sender’s servers can be forged; the one written by your provider when it received the message cannot. So focus on the first Received line written by a server you trust: the name and IP after from are the real starting point.

Authentication-Results: your provider’s verdict

Authentication-Results: mx.your-provider.com;
       spf=pass smtp.mailfrom=example-bank.com;
       dkim=pass header.d=example-bank.com;
       dmarc=pass header.from=example-bank.com
  • spf=pass: the delivering server is authorised by the Return-Path domain.
  • dkim=pass: the signature is valid and the message was not altered; header.d says who signed it.
  • dmarc=pass: at least one of the two checks passed and is aligned with the From domain.

A message claiming to be from your bank with dmarc=fail is almost certainly fake. But careful: dmarc=pass only says the domain is the one claimed, not that the domain is honest. A scammer can register example-bank-security.com and pass every check for that domain. That is why reading the domain carefully remains essential, as explained in the guide on online scams. For how the three checks work on the sending side, see SPF, DKIM and DMARC.

Signs of a fake message

  1. DMARC failed for a sender that should be protected (banks, postal services, big platforms).
  2. Reply-To differs from the sender, especially pointing to free mailboxes.
  3. First Received server on a provider or in a country that has nothing to do with the sender.
  4. A similar but different domain in From, Return-Path or DKIM (paypa1.com).
  5. Inconsistent dates: the Date field far from the times in the Received lines.

Helpful tools

  • Google Admin Toolbox, Messageheader: paste the full header and get the route with the delay between servers.
  • Microsoft Message Header Analyzer: the same, also useful for Outlook messages.
  • RDAP or whois on the first server’s IP address: shows which provider and country it is assigned to.

Paste only the header into online tools, not the body of the message, and remember that headers contain your email address.

What to do if the message is fake

  • Don’t click links or open attachments; don’t reply.
  • Use your mail program’s Report phishing function: it helps everyone’s filters.
  • If the message imitates your bank, forward it to the reporting address shown on the bank’s official site.
  • If you already entered details or passwords, follow the steps in the guide on protecting your accounts.

Sources