Microsoft 365, AD and Windows · #23
Online Email Header Analyzer
Orders the Received chain of an email header and shows delays between hops and authentication results.
- Data is processed in your browser and not sent to a server
- Export: CSV
Tool
What does this tool do?
The story of a late, spam-filtered or suspicious email is in its headers, but they come in reverse order, with folded lines and different time zones. The tool puts the Received lines in chronological order, calculates the time between hops in UTC and tabulates the Authentication-Results.
How to use it
- Open the original header in your mail client (Outlook: File › Properties › Internet headers; Gmail: Show original) and paste the header section.
- Do not add the body; anything after the first blank line is ignored. Press Calculate.
Fields
- Email header
- Header section only. Data does not leave your browser.
Worked example
| Input | Value |
|---|---|
| Email header | |
Expected result: 3 hops: the sending server 5 s after the client, then Microsoft's edge server 1 min 30 s later; SPF, DKIM and DMARC pass.
The first Received line is in +0300, the others in +0000; the tool converts all to UTC. The 90-second delay happened between the sending server and Microsoft; long delays usually come from greylisting or the sender's queue.
Method and assumptions
Header lines are unfolded per RFC 5322 (lines starting with whitespace continue the previous header). Received headers are prepended by each server, so they are ordered bottom to top.
The date after the last ; of each Received line is parsed with its time zone and converted to UTC. The delay is the difference between consecutive hops; a negative value indicates clock skew.
spf, dkim, dmarc, arc and compauth results are read from Authentication-Results; d= and s= from DKIM-Signature.
Using the result and troubleshooting
The hop with the large delay shows which server is the problem. A negative delay means that server's clock is wrong (check NTP).
If authentication fails, check the sending domain with the SPF Record Checker and DKIM Selector Lookup.
Limits and common mistakes
- Received headers can be added by the sender; the lower part of the chain (before your own servers) cannot be verified.
- It does not replace Microsoft 365 message trace or server logs.
Frequently asked questions
Is it safe to paste a header?
The analysis runs entirely in your browser; the header is not sent to a server, the URL or analytics. You can still mask personal addresses with the Log Masking Tool before sharing.
Related tools and service
- SMTP Error Code LookupDecodes the SMTP code in a bounced email into class, subject and detail and tells you whether the error is permanent or temporary.
- SPF Record CheckerExpands an SPF record with its include and redirect chain, counts the DNS lookup budget and shows structural errors.
Related service: Microsoft 365, Azure, AWS and Google Cloud Services