Every email carries a hidden audit trail in its headers: which servers handled it, when, and whether the sender’s domain authenticated correctly. This analyzer parses that block locally and surfaces the parts that matter for deliverability and spoofing investigations.
How it works
Headers follow a simple Name: value format, but a single logical header can be
folded across several lines where continuation lines begin with whitespace.
The analyzer first unfolds these, stopping at the first blank line (which marks
the start of the message body), so multi-line Received and
Authentication-Results headers are reassembled correctly.
It then extracts three things:
- Authentication verdicts. SPF, DKIM, and DMARC results are pulled from the
Authentication-Resultsheader your receiving server stamped on, falling back toReceived-SPFfor SPF. Each is classified as pass, fail, softfail, neutral, none, or error and colour-coded. - Identity fields.
From,To,Subject,Date,Return-Path,Message-ID, andX-Mailer/User-Agent— the headers most useful when checking whether a message is genuine. - The hop chain. Every
Receivedheader is parsed for itsfrom,by, andwithparts plus a timestamp. Because servers prepend Received lines, the list is reversed into chronological order and the gap between consecutive timestamps is shown as a per-hop delay.
Reading the authentication panel
The three checks answer different questions:
- SPF asks whether the sending IP is authorised to send for the envelope (Return-Path) domain.
- DKIM asks whether the message carries a valid cryptographic signature from the signing domain.
- DMARC ties them together: it passes only when SPF or DKIM passes and the
authenticated domain aligns with the visible
Fromdomain.
A common spoofing pattern is From: [email protected] while SPF and DKIM
authenticate a completely unrelated domain — DMARC will report fail, which is
the headline signal to watch.
Tips
- Always copy from the top of the raw source down to the first empty line; that is the complete header block.
- A long delay on one hop usually means the message was queued (greylisting or rate limiting) rather than anything malicious.
- The verdicts reflect what the receiving server decided at delivery time. If you need to re-test a live domain’s policy, use a dedicated SPF/DKIM/DMARC record builder to inspect the current DNS records.