The visible part of an email (From, To, Subject) is whatever the sender chose to write. The headers above it are a log of how the message actually travelled and what the receiving server concluded about it. Reading them answers two common questions: "did this message really come from who it says?" and "why was it delayed or sent to spam?".
Get the raw source
Every client hides the full headers by default:
- Gmail: open the message, then the three-dot menu, then Show original.
- Outlook on the web: the three-dot menu, then View, then View message source. In desktop Outlook it is under File, Properties, Internet headers.
- Apple Mail: View, Message, Raw Source.
- Thunderbird: View, Message Source (Ctrl+U).
Copy everything from the first line down to the blank line that separates the headers from the body.
Which headers you can trust
Any server the message passed through can add headers, and the sender can write any header it likes before sending. The rule is simple: only the headers added by your own receiving server are trustworthy. Those are at the top, because each server adds its lines above the existing ones. Everything below the first hop your provider recorded could have been written by the sender.
Read the Received chain from the bottom up
Each server that handles the message adds a Received: line, so the chain reads in reverse order: the bottom one is closest to the sender and the top one is your own server.
Received: from mail.example.org (mail.example.org [198.51.100.25])
by mx.yourprovider.com with ESMTPS id ...
for <you@yourdomain.com>; Fri, 7 Nov 2026 10:02:11 +0000
The useful part is the from clause of the topmost Received line written by your provider: the name the sending server announced, and in brackets the IP address your server actually saw. That IP is the real origin of the connection, whatever the From line says. Comparing the timestamps between hops also shows where a delay happened: a gap of hours between two consecutive lines points at the server that held the message.
Authentication-Results: the receiver's verdict
Your provider records its checks in an Authentication-Results header:
Authentication-Results: mx.yourprovider.com;
spf=pass smtp.mailfrom=bounces.example.org;
dkim=pass header.d=example.org header.s=s1;
dmarc=pass (p=REJECT) header.from=example.org
- spf checks that the connecting IP may send for the envelope sender (
smtp.mailfrom, also shown asReturn-Path), not the visible From. - dkim checks a cryptographic signature;
header.dis the domain that signed. - dmarc checks alignment: SPF or DKIM must pass for a domain that matches the visible From domain. This is what stops someone passing SPF with their own domain while showing yours in From.
Make sure the header was written by your provider: the first token (mx.yourprovider.com above) is the server that did the checks. An Authentication-Results header lower down, or with a name you do not recognise, may have been added by the sender and proves nothing.
The Email Authentication Header Analyzer parses a pasted raw source and lays out the sending IP and host, SPF, DKIM and DMARC results and whether each one aligns with the From domain. The analysis runs in your browser: the message is only stored on the server if you choose to create a share link.
Signs of a spoofed message
dmarc=fail, or SPF and DKIM passing only for a domain unrelated to the From address.- The From address is your bank, but the sending IP from the top Received line belongs to a residential network or an unrelated hosting company.
Reply-Topoints to a different domain from From, so your reply goes to the attacker.- A display name that contains an address (
"support@yourbank.com" <random@example.net>): only the part in angle brackets is the real address.
None of these is proof on its own, but several together are a strong signal.
When your own mail goes to spam
Run the same reading on a message you sent to an external mailbox. If spf or dkim fail, or dmarc shows no alignment, fix that first: check your records with the Email Security Audit and build or adjust them with the DMARC & SPF Record Generator. Then check that your sending IP is not on a blacklist (see how to check and get delisted).
Checklist
- Copy the full raw source, not the forwarded copy (forwarding rewrites headers).
- Trust only the headers your own provider added at the top.
- Take the real sending IP from the topmost Received line written by your provider.
- Read Authentication-Results from your provider: SPF, DKIM, and above all DMARC alignment with the From domain.
- Compare From, Return-Path and Reply-To, and look at the address inside the angle brackets.