Email header analyzer

Email headers record the path a message took and whether it passed SPF, DKIM and DMARC. Paste them below to see each server hop, where time was lost, and what the authentication results mean.

Headers only is enough. If you paste the whole message, the body is ignored.

What you paste stays on your device. Nothing is uploaded or sent to RelayMail.

How to use it

  1. Get the raw headers. Gmail: open the message, choose the three dots, then "Show original". Outlook on the web and new Outlook: the three dots, then View, View message details. Classic Outlook: open the message in its own window, then File, Properties, and copy the Internet headers box. Apple Mail: View, Message, Raw Source.
  2. Copy the full header block, from the first line down to the blank line before the message body.
  3. Paste it into the box, or load the example to see how a result looks.
  4. Read the findings first, then the hop table. The delay column is the time between the previous server receiving the message and this one receiving it.
  5. Check the authentication list. SPF, DKIM and DMARC should all say passed for mail that claims to come from your domain.

How to read the hops

Every server that handles a message adds a Received header at the top. The newest hop sits first in the raw text, so the analyzer reverses them: hop 1 is where the message entered the mail system and the last hop is your mailbox.

Authentication results come from the topmost Authentication-Results header, the one your own provider wrote when the message arrived. Lower copies were added by servers earlier in the chain and are shown only when the top one is missing a method.

The delay is the difference between two timestamps written by two different servers, so a long one points at the server on the row above: it held the message before passing it on. A few seconds is normal. Minutes usually mean greylisting, a queue, or a scanning gateway. A negative delay means the clocks disagree, not that mail travelled back in time.

Questions

Where do I find the full headers in Gmail?

Open the message, click the three dots at the top right, and choose "Show original". Use "Copy to clipboard" and paste the result here.

What does SPF softfail mean?

The sending server is not listed in the domain's SPF record, but the domain published ~all, which asks receivers to treat it as suspicious instead of rejecting it. Add the sender to the record if it is legitimate.

Why can DMARC fail when SPF and DKIM pass?

DMARC needs a pass that aligns with the visible From domain. If SPF passes for a different return-path domain and DKIM is signed by a third-party domain, neither aligns and DMARC fails.

Why is there a big delay between two hops?

Common causes are greylisting (the receiver asked the sender to retry), a busy queue, spam scanning, or a recipient server that was briefly down. The time was spent at the server one row above the slow hop, or between the two.

Can headers be faked?

Anything added before the message reached your provider can be forged, including the lowest Received lines and extra Authentication-Results headers. Trust the top ones your own provider wrote; the analyzer reads authentication from the topmost header for that reason.

Is it safe to paste headers here?

Yes. The analysis runs in your browser and nothing is sent anywhere. Headers can still contain addresses and IPs, so remove anything you would not share before posting them elsewhere.

See also

More free email tools

Updated .

As seen on

Fazier badgeFazier badgeRelayMail, featured on Smol LaunchRelayMail, featured on Smol LaunchLaunched on StartupBaseLaunched on StartupBaseOpenHunts Club MemberFeatured on Aura++Featured on Aura++Featured on Twelve ToolsFeatured on Twelve Tools