Free tool · runs in your browser
Email header analyzer
Paste the headers of any email to see who really sent it: SPF, DKIM, DMARC and ARC, every server it passed through with the delay at each hop, the Microsoft 365 spam verdict decoded, and the forensic red flags.
How to read email headers
Headers are written by every system that handled the message, newest at the top. Read the Received lines from the bottom up: the lowest one is closest to the sender, the top one is your own server. Only the hops added by your systems can be trusted; a sender can write anything below them.
Authentication-Results from your server tells you whether SPF (the sending server is allowed for the envelope domain), DKIM (a domain signed the message) and DMARC (one of them matched the visible From domain) passed. A DMARC failure on a message claiming to be a well-known brand is the clearest spoofing signal. In Microsoft 365, X-Forefront-Antispam-Report holds the filter verdict: SFV, CAT and SCL are decoded with links to what each value means.
Email header reference
- Received
- Added by every server that handled the message, newest at the top. Read from the bottom up. Only the hops added by your own servers can be trusted; anything below them can be forged by the sender.
- Authentication-Results
- SPF, DKIM, DMARC and other checks done by a receiving server. Trust only the one added by your own mail system (the topmost one, usually naming your tenant or MX).
- Authentication-Results-Original
- The authentication results before a gateway or forwarding rewrote the message.
- Received-SPF
- The SPF result as recorded by a receiving server.
- DKIM-Signature
- A cryptographic signature by the domain in d= over the listed headers (h=) and the body hash (bh=). WETNav checks the body hash locally and can verify the signature with the signer's DNS key.
- X-Google-Dkim-Signature
- A DKIM signature Google adds for its own use. It does not count for DMARC.
- ARC-Seal
- Authenticated Received Chain seal: each forwarder signs the authentication history (cv= is the chain status).
- ARC-Message-Signature
- ARC's signature over the message as the forwarder received it.
- ARC-Authentication-Results
- The authentication results each forwarder saw (i=1 is the first). Explains DMARC failures on forwarded mail.
- Return-Path
- The envelope sender (MAIL FROM), where bounces go and the domain SPF checks. Often differs from From for email platforms; DMARC requires one of SPF or DKIM to align with From.
- From
- The sender shown to the user. Set freely by the sender. DMARC is what ties this domain to authentication.
- Sender
- The mailbox that actually sent the message when it differs from From (sending on behalf).
- To
- The visible recipients. Not necessarily who received it.
- Cc
- Visible copy recipients.
- Subject
- The subject line.
- Date
- When the sender's client says it wrote the message. Compare with the first Received hop: a large gap points to a wrong clock, a delay or a replayed message.
- Message-ID
- A unique ID created by the sending client or server. The best key to find every copy in message trace or Gmail logs. The host part hints at the system that created it.
- In-Reply-To
- The Message-ID of the message this one answers. A subject that starts with RE: but has no In-Reply-To is a fake reply.
- References
- The chain of Message-IDs in the conversation.
- Mime-Version
- Declares MIME formatting.
- Content-Type
- The body format and, for multipart messages, the boundary between parts.
- List-Unsubscribe
- How to unsubscribe from a mailing list. Typical of legitimate bulk mail; phishing rarely includes a working one.
- List-Unsubscribe-Post
- One-click unsubscribe (RFC 8058), required of bulk senders by Gmail and Yahoo since 2024.
- Precedence
- bulk or list marks mass mail.
- Feedback-ID
- A sender's campaign identifier for Gmail's feedback loop.
- X-Mailer
- The program that composed the message. Bulk-mailing tools and PHPMailer show up here.
- User-Agent
- The mail client that composed the message.
- X-Originating-Ip
- The IP of the client that submitted the message to webmail. Points at the attacker or the compromised account's session.
- X-Php-Originating-Script
- Added by PHP's mail(): the hosting account and script that sent the message. Usually a phishing kit's mailer on a compromised website.
- X-Antiabuse
- Added by cPanel servers to identify the sending hosting account.
- X-Get-Message-Sender-Via
- cPanel: which account authenticated to send the message.
- X-Authenticated-Sender
- The account that authenticated to the submitting server.
- X-Forefront-Antispam-Report
- Microsoft 365's filtering verdict: SFV, CAT, SCL, IPV, sending IP and country. WETNav decodes every field; each code has its own page.
- X-Microsoft-Antispam
- Microsoft 365: the bulk complaint level (BCL) and rule information.
- X-Microsoft-Antispam-Message-Info
- Microsoft 365 internal message classification data (encoded).
- X-Microsoft-Antispam-Mailbox-Delivery
- Microsoft 365: how the mailbox delivered it, including the destination folder (dest) and why.
- X-MS-Exchange-Organization-Scl
- The spam confidence level Exchange Online assigned (-1 to 9).
- X-MS-Exchange-Organization-Authas
- Whether Exchange treated the sender as Anonymous (external), Internal or Partner. A message from your own domain marked Anonymous came from outside.
- X-MS-Exchange-Organization-Network-Message-ID
- The ID Microsoft 365 gives this copy of the message. The key for EmailEvents, message trace and Threat Explorer.
- X-MS-Exchange-Organization-Recipient-P2-Type
- Microsoft 365: how this recipient was addressed (To, Cc or Bcc).
- X-MS-Has-Attach
- Microsoft: whether the message has attachments.
- X-MS-Office365-Filtering-Correlation-ID
- Microsoft 365 filtering correlation ID (same value as the Network Message ID).
- X-Gm-Message-State
- Gmail internal state for the message.
- X-Google-Smtp-Source
- Added by Gmail when it sends a message. Shows the message left through Gmail or Google Workspace.
- X-Received
- Google's internal hop record.
- X-Ses-Outgoing
- Added by Amazon SES.
- X-Sg-Eid
- SendGrid message identifier.
- X-Sg-ID
- SendGrid message identifier.
- X-Phishtest
- KnowBe4 phishing simulation marker. Sender-controlled: only trust it together with passing authentication from the vendor.
- Delivered-To
- The mailbox the message was finally delivered to. If it is not in To or Cc, the recipient was a blind copy.
- X-Original-To
- The envelope recipient before aliases were expanded.
More free triage tools
- Phishing triage workbench →The full analysis: verdict, attack story, attachments, endpoint footprint, intel and response.
- Safe Links and URL decoder →Unwrap Safe Links, Proofpoint, Barracuda, Cisco, Sophos and redirect chains without clicking (Mimecast: domain hint only).
- DKIM checker →Look up a DKIM record by domain and selector, or verify every signature in an .eml and spot replay and l= tricks.
- Email domain security check →Can your domain be spoofed? SPF lookups, DMARC, DKIM, MTA-STS, TLS-RPT and BIMI, graded A to F with the fixes.
- Lookalike domain scanner →Typosquats, homoglyphs and phishing-word domains of your brand that are registered now, with block commands.
- Phishing analysis guide →How to analyze a reported phishing email, step by step, the way a SOC does it.
- Phishing analysis articles →Authentication, Microsoft 365 headers, QR codes, BEC, callback, smuggling and AiTM, with hunting queries.
Questions
How do I get the full headers of an email?
Outlook desktop: open the message, File, Properties, Internet headers. Outlook on the web and the new Outlook: the message menu, View, View message source. Gmail: the three-dot menu, Show original. Apple Mail: View, Message, All Headers. Copy everything above the first blank line, or the whole source.
Which Authentication-Results header can I trust?
Only the one added by your own mail system, usually the topmost one, naming your tenant or MX. Anything below it, and any header the sender added, can be forged. The analyzer reads the topmost one and shows the ARC chain for forwarded mail.
Why does a phishing email pass SPF, DKIM and DMARC?
Because authentication proves which domain sent it, not that the domain is honest. Attackers register lookalike domains with perfect authentication, send through compromised accounts, or replay genuine signed messages. The analyzer flags lookalikes, DKIM replay and content appended after an l= signature.
Is anything uploaded?
No. The headers are parsed in your browser. DKIM signature verification, if you ask for it, looks up the signer's public key through DNS over HTTPS and sends nothing else.