How to Read Email Headers: Find Out Who Really Sent a Message
How to Read Email Headers: Find Out Who Really Sent a Message
Open the message source and find the line "Authentication-Results". If DMARC says pass and its domain is the company you expect, the message really came from that domain. If it fails or is missing, be careful.
Where to find the headers
- Gmail on the web: open the message → three dots → Show original.
- Outlook on the web: open the message → three dots → View → View message source.
- Apple Mail: View → Message → All Headers.
- Thunderbird: View → Message Source.
The five lines that matter
1. From
The name and address you see. Anyone can write anything in the name, so read the address after the last @.
2. Reply-To
Where your answer would go. If From says your bank and Reply-To is a free mailbox, stop.
3. Return-Path
The address used for delivery errors. For newsletters it often belongs to a sending service, so a different domain here isn't proof of a scam.
4. Received
One line for each server that handled the message. Read them from the bottom up: the lowest is the oldest. Lines added before your own provider's server can be forged.
5. Authentication-Results
Your provider's verdict, in a format defined by RFC 8601. An example:
Authentication-Results: mx.example.net;
spf=pass smtp.mailfrom=bounce.shop.com;
dkim=pass header.d=shop.com;
dmarc=pass header.from=shop.com
SPF, DKIM and DMARC in one table
| Check | The question it answers |
|---|---|
| SPF | Was this server allowed to send for the Return-Path domain? |
| DKIM | Was the message signed by a domain, and is it unchanged? |
| DMARC | Does SPF or DKIM pass for the domain you see in From? |
DMARC is the one to look at first, because it ties the result to the address you can see.
What "pass" does not mean
It means the domain is genuine, not that the sender is honest. A scammer can buy paypal-helpdesk.net, set everything up correctly, and pass all three. Always read the domain itself.
What "fail" does not always mean
Forwarded mail and mailing lists can break SPF or DKIM for innocent reasons. Treat a fail as a reason to check in another way, such as opening the company's website yourself.
A two-minute routine
- Read the From address after the @.
- Find
dmarc=and the domain next to it. - Compare Reply-To with From.
- Check the link addresses without clicking.
- Still unsure? Contact the company through its own site.
Testing your own emails
If you send newsletters or run a website, you can check your own setup. Send a message to the address on our email spam test and it shows your SPF, DKIM and DMARC results. Big mailbox providers require these: Google's sender guidelines tell people who send more than 5,000 messages a day to Gmail accounts to set up all three.
Common questions
Can headers show where a sender lives?
Usually not. Large providers hide the user's own IP address, so you see only their servers.
Can headers be faked?
Parts of them. Trust the lines your own provider added, especially Authentication-Results.