1 Introduction
Email remains one of the main entry points for attacks. A suspicious email can carry phishing links, malware attachments, fake invoices or social engineering attempts such as CEO fraud, all designed to trick you into revealing information or sending money.
Think of an email like a physical letter. The content you read is just the message inside the envelope. But the envelope itself carries valuable information: the return address, the postmarks, the stamps. In email, this envelope information is contained in the email headers -- hidden metadata that reveals the true origin and path of the message. The problem: the sender address you see in the "From" field is as easy to forge as the return address on an envelope. Anyone can write anything. That is why knowing how to read the headers is so useful.
The three pillars of email authentication
SPF
Which servers are allowed to send email for this domain?
DKIM
Was the message signed by the domain, and left untouched in transit?
DMARC
Does the visible sender match a passing check, and what to do if not?
2 How It Works
Paste the full headers of a suspicious email into the analyzer below to inspect its authentication results and origin.
How to view the headers
Gmail
Open the email, click the three dots at the top right, then "Show original".
Outlook
New Outlook and Outlook.com: "..." menu, then View, then "View message details". Classic Outlook: File, then Properties, then "Internet headers".
Apple Mail
Open the email, then View, Message, "All Headers" (Shift+Cmd+H).
Thunderbird
Open the email, then View, "Message Source" (Ctrl+U).
Key email headers to examine
From
The displayed sender: a display name ("Customer Service") plus an address. Both are trivially easy to forge -- never trust them alone. Always check the full address, then whether authentication passed for that domain.
Reply-To
Where replies are sent. A Reply-To on an unrelated domain (often a free webmail) is a classic phishing and CEO fraud indicator: the attacker wants your answer at their own address.
Return-Path
The technical "envelope" address used for bounces, and the one SPF checks. It often differs from From for legitimate newsletters sent through a mailing service, so it is a clue, not proof.
Received
Each server that relays the email adds a "Received:" line on top. Read from bottom (origin) to top (your inbox). Caution: lines below the first one added by your own provider can be forged by the sender.
Authentication-Results
Added by your own mail provider: it summarizes the SPF, DKIM and DMARC verdicts (spf=pass, dkim=fail, dmarc=pass...). This is the most useful header for a quick check.
Message-ID
A unique identifier for the message. Its domain usually reflects the sending system. A mismatch can be a clue, but many legitimate services (newsletters, CRMs) use their own, so never rely on it alone.
How SPF, DKIM, and DMARC work together
SPF (Sender Policy Framework)
Like a list of postal workers allowed to deliver for a company. The domain owner publishes a DNS record listing which servers may send email on its behalf. The receiving server checks whether the sending server is on the list for the Return-Path domain.
v=spf1 include:_spf.google.com ~all
DKIM (DomainKeys Identified Mail)
Like a wax seal on a letter. The sending server digitally signs the email on behalf of a domain (the d= value). The receiving server verifies the signature using a public key published in DNS. If the message was modified in transit, the signature breaks.
DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=selector1;
DMARC (Domain-based Message Authentication, Reporting and Conformance)
The head of security. DMARC passes only if SPF or DKIM passes for the same domain as the visible From address (this is called alignment). It also tells receiving servers what to do when it fails: nothing, just monitor (p=none), send to spam (p=quarantine) or refuse the message (p=reject).
v=DMARC1; p=reject; rua=mailto:[email protected]
3 Detailed Analysis
Step-by-step email investigation
Check the From address carefully
Look beyond the display name. "Bank of America <[email protected]>" shows a lookalike domain, not the real bank. See Spoofing techniques.
Examine the authentication results
Find the "Authentication-Results" header. dmarc=pass means the From domain is genuine. A DMARC failure on a well-known brand is a strong red flag.
Trace the Received headers
Read from bottom to top. The originating server should belong to the claimed sender or to its email provider. An email "from your bank" that originates from an unrelated hosting provider is suspicious.
Inspect links and QR codes without clicking
Hover over every link to see the real URL and check that it matches the claimed sender. Treat QR codes in an email as links you cannot read. See Recognizing a phishing link.
Analyze attachments safely
Never open suspicious attachments directly. Check the file hash against threat intelligence databases, or use a sandboxed environment. See Recognizing a malicious file.
Reading the "Received" chain
"Received" headers are read from bottom to top. The lowest one shows the server the message claims to come from; the top one is your own mail server.
// 3. Your server (last hop)
Received: from mail-relay.example.com by mx.your-provider.com
// 2. Intermediate server
Received: from smtp-out.sender.com by mail-relay.example.com
// 1. Origin server (read first)
Received: from origin-server.com [203.0.113.12]
If the origin server has nothing to do with the sender's domain, the email is probably spoofed. Remember that only the lines added by servers you trust (your provider's) are reliable.
Authentication results cheat sheet
| SPF / DKIM / DMARC | What it means | Risk level |
|---|---|---|
| Pass / Pass / Pass | The message really comes from the domain shown in From. Check that it is the right domain. | Low |
| Softfail / Pass / Pass | Often a forwarded message or a mailing list. The DKIM signature still proves the origin. | Low to medium |
| Fail / Fail / Fail | The From domain is very likely forged. | Critical |
| None / None / None | The domain publishes no protection: its origin cannot be verified. | High |
Important: "pass" proves who sent the email, not that it is honest. A scammer who registers mybank-alerts.com can pass all three checks for that domain, and a hacked mailbox sends perfectly authenticated phishing.
The new rules for bulk senders
Since February 2024, Google (Gmail) and Yahoo require anyone sending more than 5,000 messages a day to their users to meet stricter rules. Microsoft applied similar requirements to Outlook.com, Hotmail and Live addresses from May 2025:
SPF and DKIM both set up, and a DMARC record published (at least p=none), aligned with the From domain.
One-click unsubscribe for marketing emails, honored quickly, and a low spam complaint rate (Google asks for less than 0.3%).
What it means for you: real emails from banks, retailers and large services are now almost always authenticated. If a message "from" a big brand fails DMARC, treat it as fake.
Try it on mlab.sh
Upload an .eml file or paste email headers to parse SPF, DKIM, and DMARC results, trace the sending path, and identify spoofing indicators automatically.
Parse email headers on mlab.sh4 Red Flags
Here are the warning signs that an email may be malicious:
From and Reply-To mismatch
The email appears to come from your CEO or your bank but the Reply-To points to an unknown Gmail address. This is a classic Business Email Compromise (BEC) indicator.
SPF, DKIM or DMARC failure
A dmarc=fail means the visible sender could not be authenticated: the email was sent from an unauthorized server or altered in transit. This is a strong indicator of spoofing.
Misleading display name
The name says "Customer Service" but the real address is [email protected]. On a phone, tap the name to reveal the full address.
Unexpected attachment
Especially dangerous file types: .exe, .scr, .js, .vbs, .lnk, .iso, .img, .html or .svg files, Office documents asking you to "enable content", or password-protected .zip files. These are common malware and phishing delivery methods.
Urgency and threats
"Your account has been compromised", "Pay immediately or face legal action". Pressure tactics are designed to make you act before you think.
Request for sensitive information or money
No serious organization will ask for your password, full card number or a security code by email. A request to change bank details or pay a new account must always be confirmed through another channel.
Unusual tone or context
An unexpected invoice, a parcel you never ordered, a colleague suddenly writing in a different style. Context matters more than spelling: thanks to AI tools, many phishing emails are now flawlessly written, so good grammar proves nothing.
Generic greeting
"Dear Customer" instead of your name can hint at a mass campaign. But the reverse is not proof: attackers often know your name from data leaks.
What to do with a suspicious email
Do not reply, click or open attachments. If you have a doubt, contact the sender through a channel you already know (official website typed by hand, phone number on your card or contract).
Report it with the "Report phishing" or "Report spam" button of your mailbox. At work, forward it to your IT or security team as they ask. If you are in France, you can also report it on signal-spam.fr.
Already clicked, paid or typed a password? Change your password on the real site, call your bank, and get help: in France, 17Cyber (17cyber.gouv.fr) and cybermalveillance.gouv.fr.
Related Modules
Source: mlab Academy — Cybersecurity Awareness Platform
URL: https://academy.mlab.sh//page/suspicious-email
Module: Analyzing a suspicious email — Phishing & Social Engineering
Disclaimer: This content is for awareness purposes only.