Email Header Analyzer — Parse Headers & Detect Spoofing Online

CodexFuse Team · 2026-10-13T21:07:45.876Z · 6 min read min read

Parse email headers to trace the real sender and spot spoofing. Learn SPF, DKIM, and DMARC checks with a free analyzer.

An email header analyzer reads the hidden header block inside an email and turns it into a clear report. Every message carries this block, even when your mail app hides it. The header records each server that handled the message and the results of its authentication checks.

Most people judge a message by the display name, the logo, and the tone. Attackers rely on that habit. A spoofed message can show a familiar brand in the From line while coming from an unrelated server. The header is where that mismatch becomes visible.

This guide explains what headers contain, how to read the key fields, how to use the Email Header Analyzer from CodexFuse, and what to do when the results point to spoofing. Managed CodexFuse email also lowers spoofing risk.

What does an email header analyzer show?

An email header analyzer turns the raw header block into a readable report. It lists the sending servers and IP addresses in the order the message passed through them, shows SPF, DKIM, and DMARC results, and highlights mismatches between the visible From address and the authenticated sending domain.

Received chain

Each Received line marks one hop in the journey from the sending server to your inbox. Read the chain from the bottom upward to follow the message forward. A genuine business message shows a short chain through servers tied to the sender domain. A first hop from a server with no connection to the claimed sender deserves a closer look.

Authentication results

SPF checks whether the sending server may send for the domain in the Return-Path. DKIM checks whether the message carries a valid signature from the sending domain. DMARC ties the two together and states what receivers should do when checks fail. When all three pass and the domains line up, the message is consistent with legitimate mail from that domain.

How do you read email headers without technical background?

You do not need to memorize header syntax to get value from it. Focus on four fields first: From, Reply-To, Return-Path, and Authentication-Results. If those four agree with each other and with the sender you expect, the message is consistent. If they disagree, slow down and verify before acting.

From, Reply-To, and Return-Path

From is the address your mail app displays. Reply-To is where replies go, and it can differ from From. Return-Path is where bounce messages go, and it reflects the real sending domain. A common spoofing pattern is a trusted name in From, a different address in Reply-To, and a Return-Path on an unrelated domain.

How do you use the email header analyzer step by step?

Using the analyzer takes a few minutes and needs no software install. Open the message in your mail app, copy the full header block, paste it into the Email Header Analyzer tool, and read the report it produces. Work through the steps below in order.

Step 1: Copy the full header block

Open the message, open the message menu, and choose Show Original, View Message Source, or View All Headers. Copy the whole header block down to the first blank line, which marks the start of the body. Then paste the block into the Email Header Analyzer tool and submit it. Read the Received chain first, then the authentication results.

Step 2: Act on the result, and respect permission

Analyze only headers from your own mailbox or from messages you have permission to analyze. Do not paste mail that belongs to other people, and do not post header contents in public forums, because headers can contain addresses and server details. If the report shows spoofing, do not click links or open attachments in the message.

What should you do when the results show spoofing?

When the report points to spoofing, stop interacting with the message and verify the request separately. Do not click links, open attachments, or reply to the message. Contact the claimed sender through a phone number or address you already trust, and confirm whether they sent the request.

Fictional example: A fictional shop owner named Lina receives an invoice that claims to come from her regular supplier. The display name matches the supplier, but the analyzer shows a Return-Path on an unrelated domain and a failed SPF check. Lina does not pay. A call to the supplier confirms no invoice was sent.

If the message asks for payment or bank details, treat it as high risk until the sender confirms it through a separate channel. Check whether your domain appears on a blacklist with the Blacklist Checker guide. If you suspect your address was exposed, read the Email Breach Checker guide for the next steps.

Can a message pass authentication and still be fake?

Yes. A message can pass checks for a lookalike domain or for a domain an attacker controls. Passing authentication supports the authenticated domain only, and it does not by itself confirm sender identity. Always check that the authenticated domain matches the sender you expected before you act.

Lookalike domains

Attackers register domains that differ from a real brand by one letter, a swapped character, or a different ending. Mail from such a domain can authenticate cleanly because the attacker owns the domain and set up its records. The header result is accurate, and the domain itself is the trick. Compare the domain letter by letter with the address you already trust. For a broader safety routine, see the Small Business Cybersecurity guide.

Stop spoofed email from reaching your inbox

CodexFuse manages your email setup end to end, with SPF, DKIM, and DMARC configured and monitored for your domain, all handled for you on credits.

Get Started with CodexFuse

How Do You Read the Authentication Results in an Email Header Analyzer?

After you paste a header block into an email header analyzer, the report shows three authentication badges — SPF, DKIM, and DMARC — each marked pass, fail, or not found. The values come from the Authentication-Results line your receiving server wrote (a standalone Received-SPF line is read too when one exists), and the report lists the first ten Received hops so you can trace the delivery path. Wrapped header lines are unfolded automatically before anything is read.

Worked example: a message claiming to come from a trusted bank carries a Return-Path on an unrelated domain and the line "spf=fail ... dkim=none ... dmarc=fail". The analyzer marks SPF fail, DKIM as other, and DMARC fail, then flags two security issues: a From/Return-Path domain mismatch (warning) and an SPF failure (high). It lists the two Received hops. The badges alone do not prove intent, but a failed SPF check combined with a domain mismatch is the strongest spoofing signal the report can give.

The tool flags two more warning patterns: a Reply-To domain that differs from the From domain, and headers with no SPF or DKIM results at all — the last one is common for internal mail and some mailing lists, where the absence of results is a gap in evidence, not a verdict.

Once you have confirmed a message is genuine, you may want the addresses themselves: the email extraction guide shows how to pull every email address out of a thread or export into a clean, deduplicated list. Use it only on text you own or have permission to process.

Frequently Asked Questions

Is it safe to paste a header into an analyzer?

Analyzing headers from your own mailbox with a tool you trust is a normal diagnostic step. Headers can contain addresses and server details, so do not post them in public forums or share them with people who do not need them.

What does a failed SPF check mean?

A failed SPF check means the sending server is not authorized to send for the domain in the Return-Path. It is a warning sign, not a final verdict, so verify the message through a separate channel before acting on it.

What is the difference between SPF, DKIM, and DMARC?

SPF checks which servers may send for a domain. DKIM checks whether the message carries a valid signature from the sending domain. DMARC ties both together and states what receivers should do when checks fail.

Why does the From address differ from the Return-Path?

Legitimate mailing lists and some services use a different Return-Path for bounce handling. A mismatch alone is not proof of spoofing, but combined with failed authentication it is a strong reason to verify.

Does CodexFuse set up SPF, DKIM, and DMARC for managed domains?

Yes. For domains managed on CodexFuse, the platform configures SPF, DKIM, and DMARC records and helps clients fix alignment problems so legitimate mail authenticates cleanly.

Can an email header analyzer prove an email is fake?

No. The analyzer shows whether the sending domain authenticated correctly and whether the visible sender aligns with the envelope, but passing authentication only supports the authenticated domain — a lookalike domain the attacker owns can authenticate cleanly. Treat a failing SPF or DMARC on mail claiming to be from a bank or brand as a strong warning, and verify through a separate channel before acting.

What does "no authentication found" mean in the report?

It means the headers carried no SPF or DKIM results for the tool to read. Internal mail, some mailing lists, and messages relayed without authentication checks often show this. The message is not necessarily spoofed, but there is also no evidence it is genuine — verify another way before acting on it.

Check the headers whenever a message asks for money or urgent action.

Featured on Twelve Tools Hunt for Tools Featured on LaunchBuff Launch Llama Tools Launch your MCP Top Web Development Companies in the US - OnToplist.com Designer Listings Listed on SeeWhatNewAI Featured on SubmitMySaas Featured on AI Agents Directory Product Wing SaaS Wheel Featured on Stremit Featured on Thank John We Are Founders SubmitMySaas ShinyLaunch SaaS Tools Dir Featured on SaasHunt Product List Dir Featured on ShowMeBestAI Listed on Best-AI.org Featured on SaaSCity Listed on LaunchPact CodexFuse Solution on goodSaaS Featured on IndieLaunch Featured on BestAIApps AI X Collection Featured on SemiLaunch Listed on AlterBase We Like Tools codexfuse.dev LaunchClash Featured on Next Launch