Cyber Trainer Toolkit
Free tool

Who really sent that email?

Paste an email's headers to see where it actually came from, whether it passed SPF, DKIM and DMARC, and the route it took to reach you, all explained in plain English.

How to

How to find an email's headers

Menus change over time, but these are the usual places. Copy everything from the top down to the first blank line.

Gmail (web)

Open the email, click the ⋮ (More) menu next to Reply, then Show original. Click Copy to clipboard.

Outlook (new Outlook and web)

Open the email, click ⋯ (More actions), then View → View message details.

Outlook (classic desktop)

Open the email in its own window, then File → Properties. The headers are in the Internet headers box.

Apple Mail (Mac)

Open the email, then View → Message → All Headers, or Raw Source for everything.

Thunderbird

Open the email, then View → Message Source (or press Ctrl+U).

Phones

Most phone email apps can't show full headers. Forward the email to yourself and open it on a computer, or use the webmail version.

or try a sample:

🔒 Headers are analysed in your browser and never uploaded. They can contain names, email addresses and IP addresses, so be careful where else you paste them. Not sure how to find them? See above.

Explainer

What is an email header?

Every email has two parts: the body (the message you read) and the header, a block of technical lines at the top that most email apps hide. The header records who the email claims to be from, who it's for, and every mail server it passed through on the way to you.

✉️
Think of it like the outside of a parcel.

The From line is like the return address a sender writes on a parcel: they can write anything. The Received lines are like postmarks stamped by each sorting office it passes through, and those are added by the mail servers, not the sender. SPF, DKIM and DMARC are the checks your post room does to decide whether the return address can be trusted.

That's why headers are so useful for spotting phishing: the name and address you see in your inbox can be faked, but the header shows where the email really came from and whether it passed the checks.

Reference

The parts of an email header

Headers are lines of Name: value. Long values wrap onto the next line, indented. There are dozens of possible headers; these are the ones that matter most.

Who sent it, and who it's for

From
The sender name and address shown in your inbox. Set by the sender, so it can be faked. DMARC checks whether it can be trusted.
Return-Path
The "envelope sender": where bounce messages go. It can differ from From, which is common with mailing services. SPF checks this domain.
Reply-To
Where your reply goes if you click Reply. If it's different from From, your answer may go straight to an attacker.
Sender
Used when someone sends on behalf of someone else, such as an assistant or a mailing list.
To / Cc / Delivered-To
The recipients. Delivered-To is added by your mail server and shows which mailbox actually received it.

The journey

Received
One line is added by every mail server the email passes through, like a postmark. Read them from the bottom up: the bottom one is the first hop, the top one is your own server. Each shows which server handed it over, its IP address, and the time.
Date
When the sender's device says the email was written. It's set by the sender, so it can be wrong or faked.
Message-ID
A unique ID created by the sending system, usually ending in the sender's domain. A mismatch can hint at the real sending system.

The security checks

Authentication-Results
Added by your mail server: the results of the SPF, DKIM and DMARC checks. The single most useful header for spotting spoofing.
Received-SPF
A separate record of the SPF check, showing the IP address that was checked.
DKIM-Signature
A digital signature added by the sending domain (shown as d=). It proves the email wasn't changed after it was sent.
ARC-*
"Authenticated Received Chain" headers keep a record of authentication results when an email is forwarded or passes through a mailing list.

Everything else

Subject
The subject line. Non-English characters and emoji are encoded, and look like =?UTF-8?B?…?=. The analyser decodes them.
MIME-Version / Content-Type
Describe the format of the message: plain text, HTML, or multiple parts with attachments.
X-…
Headers starting with X- are non-standard extras added by email apps, servers and spam filters, for example X-Mailer (the software used to send) or X-Spam-Score.
List-Unsubscribe
Used by newsletters and marketing emails so your email app can offer a one-click unsubscribe.
Explainer

SPF, DKIM and DMARC in plain English

SPF
"Is this server allowed to send for this domain?"

A domain publishes a list of the servers allowed to send its email. The receiving server checks whether the email came from one of them. SPF checks the Return-Path domain, not the From address you see.

DKIM
"Was it really signed by this domain, and unchanged?"

The sending server adds a digital signature. The receiver checks it using a public key the domain publishes. If anything in the signed parts was altered in transit, the check fails.

DMARC
"Does the From address match what was checked?"

DMARC ties it together. It passes only if SPF or DKIM passed and the domain they checked matches the visible From domain. This is called alignment. The domain owner's policy (p=none, quarantine or reject) says what to do when it fails.

The catch: passing all three only proves the email really came from the domain in the From line. It doesn't prove that domain is who you think. An attacker who registers haldengroup-co.uk can pass SPF, DKIM and DMARC perfectly. Always read the domain itself. Try the "Lookalike that passes everything" sample above.