Home / Guides / How to read email headers and spot a phishing message
How to read email headers and spot a phishing message
Every email carries a block of hidden technical lines called headers. They record which servers handled the message, when, and whether the receiving server could verify the sender. When a message looks suspicious, the headers are the best evidence you have.
You do not need to be an expert. A few fields tell you most of what matters.
How to find the headers
- Gmail: open the message, click the three dots, and choose Show original. Use Copy to clipboard to copy everything.
- Outlook (desktop): open the message in its own window, then choose File > Properties. The Internet headers box holds them.
- Outlook on the web: open the message, choose the three dots, then View > View message details.
- Apple Mail: select the message and choose View > Message > All Headers, or Raw Source to see everything.
- Thunderbird: open the message and press
Ctrl+U(orCmd+Uon Mac) to view the source.
Copy the lines from the top down to the first blank line. Everything after that is the message body.
The fields that matter
From, Reply-To and Return-Path
- From is what you see in your mail app. It is the easiest field to fake.
- Reply-To is where your reply will actually go. A legitimate message from a bank has no reason to send replies to an unrelated domain.
- Return-Path is the address bounces go to. It is the domain SPF checks. Mailing services often use their own domain here, so a mismatch is not proof of fraud by itself.
Authentication-Results
This is the most useful line. The receiving server records what it found when it checked the message:
Authentication-Results: mx.google.com;
dkim=pass [email protected];
spf=pass smtp.mailfrom=example.com;
dmarc=pass (p=REJECT) header.from=example.com
passmeans the check succeeded.failmeans the check failed, which is a strong warning.softfail,neutral,nonemean the domain did not clearly authorise the sender.
If you are not sure what these three checks do, read our guide to SPF, DKIM and DMARC.
Received
Each server that handled the message adds a Received line at the top, so the list reads from the newest hop to the oldest. Read it from the bottom up to follow the journey. Each line usually shows the server name, an IP address, and a timestamp.
The lines added by the sender’s own server can be forged. The ones added by your own mail provider, near the top, are the ones you can trust most.
Message-ID and Date
The Message-ID is a unique label, normally ending with the domain of the system that created it. A missing Date header, or timestamps that go backwards, can indicate a message that was assembled by hand.
Signs of a phishing message
- Failed or missing authentication. SPF, DKIM or DMARC failures on a message that claims to come from a bank, a delivery company or a colleague.
- A display name that looks like an address. For example, the name says
[email protected]while the real address is something else. - A lookalike domain.
paypa1.com,micros0ft-support.comoryourbank-secure.net. Read the domain character by character. - A different Reply-To domain. Replies are routed to the attacker.
- An unexpected hop. A message that claims to be from a large company but was first received from an unrelated server.
- Urgency and pressure. Threats of account closure, unpaid invoices, or a request to act in the next hour.
- Unusual links. Hover over a link to see the real address before clicking, and compare the domain with the sender.
What headers cannot tell you
Headers are evidence, not proof. Keep these limits in mind:
- A message can pass every check and still be malicious, for example when sent from a genuine account that was hacked.
- Attackers can register a lookalike domain and set up SPF, DKIM and DMARC correctly for it. The checks pass, but the domain is not the one you expect.
- Forwarding can break SPF for completely legitimate messages.
So combine the technical signals with common sense: does the request make sense, and were you expecting it?
What to do with a suspicious message
- Do not click links or open attachments.
- Verify by another channel. Call the company using a number from its official website, not from the message.
- Report it. Use your mail app’s Report phishing option, and tell your IT team if it is a work account.
- If you already clicked or entered a password, change the password immediately on the real site, enable two-factor authentication, and check your password against known breaches.
Analyze headers automatically
Paste the headers into our Email Header Analyzer. It runs entirely in your browser, reads the authentication results, compares the From, Reply-To and Return-Path domains, flags display-name tricks, and lists each hop with its IP address and delay. To inspect the sender’s domain further, use the Email Security Checker and the DNS Lookup.