How to check who really sent an email, from the saved file
The From line is easy to fake. The headers inside a saved .msg or .eml are much harder. A practical guide to Received lines, SPF, DKIM, DMARC and Reply-To.
By Andy Liu, who builds MsgLens ·
Someone forwards you a suspicious email as a file and asks: is this real? The name and address on the From line prove almost nothing, because a sender can type anything there. The headers tell a more honest story. Here is how to read the parts that matter.
Step 1: open the raw headers
Open the .msg or .eml in the viewer and choose View raw headers. You get the internet headers exactly as the mail servers wrote them. In a .msg file these are stored as text inside the file, so they survive even after the email was saved from Outlook.
One exception: a draft, or an email saved before it was sent, has no internet headers. If the list is empty, the message never travelled over the internet in that form.
Step 2: look at Authentication-Results
The receiving mail server checks the sender and writes the results in a header called Authentication-Results. Look for three words:
- spf=pass: the server that sent the message is allowed to send mail for that domain.
- dkim=pass: the message carries a valid signature from the domain, and the signed parts were not changed on the way.
- dmarc=pass: the domain in the From line matches the domain that passed SPF or DKIM. This is the one that ties the checks to the address you see.
A message that claims to be from your bank but shows dmarc=fail is a strong warning. All three passing is good news, but only for the domain that passed. Check that domain carefully: paypa1-support.com can pass all three checks for itself.
Step 3: compare From, Reply-To and Return-Path
Three headers name an address, and in a normal email they usually agree:
Fromis what your mail app shows.Reply-Tois where your answer goes when you click Reply.Return-Pathis where bounce messages go.
A From address at a real company with a Reply-To at a free webmail account is a classic sign of invoice fraud. The attacker wants your reply, not the real company's. Newsletters and ticket systems use a different Return-Path legitimately, so treat that one as a hint, not proof.
Step 4: read the Received lines from the bottom
Every server that handles a message adds a Received line at the top. So the oldest line, from the first server, is at the bottom. Read them upward and you follow the email's route to you.
You do not need to decode every line. Look at the lowest one or two. Does the first server belong to the company the email claims to be from, or to a hosting provider in an unexpected country? A mismatch does not prove fraud, since many companies send through mailing services, but it is worth a question.
Note that the lines below the first server you trust can be faked. A sender can add false Received lines before the message leaves. The lines written by your own provider are the reliable ones.
Step 5: check the links and attachments without opening them
In the viewer, remote images stay blocked until you load them, so a tracking pixel does not tell the sender that you looked. Point at a link to see where it really goes before you click. Treat attachments with macros, password-protected ZIP files, and HTML files as dangerous until someone confirms them.
When to stop and ask
Headers make a case stronger or weaker. They rarely settle it alone. If money, passwords or personal data are involved, contact the sender through a channel you already know, such as a phone number from an old invoice, not the one in the email. And if the message came to a work mailbox, send it to your security team. The original file, with its headers, is exactly what they need.