Log in Sign up
Email headers

Analyze email headers: mail route, delays and auth results

Each server on the way adds a Received line, and your mail provider records the SPF, DKIM and DMARC verdicts in Authentication-Results. Paste the full headers to trace the email hop by hop and see where it waited and which check failed.

The analysis runs in your browser, and the headers go nowhere.

The path of a message across servers as shown in Received headers

What the headers show

This email header analyzer splits a raw header block into a summary, the SPF, DKIM and DMARC verdicts, the mail route and the full list of fields. It decodes MIME-encoded From, To and Subject lines (=?utf-8?B?...?=) and counts the time in transit from the Date header to the last Received line.

Each server that handles the message adds its Received line above the earlier ones, so the analyzer reads them bottom up and numbers the oldest one as hop 1. The gap between the timestamps of two neighboring hops tells you how long the message took to get from one server to the next.

Your mail provider writes Authentication-Results with the outcome of each check. When that header has no SPF result, the analyzer takes it from Received-SPF. If DMARC fails, the policy of the From domain sets the outcome: receivers that follow it move the message to spam under p=quarantine and refuse it under p=reject. The DMARC link next to the tag opens that domain's record.

When it helps

  • An email arrived hours late and you need the hop where it waited.
  • A message claims to come from your bank and you want the IP of the server that handed it to your provider.
  • You set up SPF, DKIM and DMARC and want to see how a real mailbox scored your message.
  • A mail admin asked for an email trace and you need the hop list with timestamps and the Message-ID.

How to get full headers in each mail client

In Gmail, open the message, click the three-dot More menu, choose Show original and press Copy to clipboard. In classic Outlook for Windows, open the message in its own window, go to File, Properties and copy the Internet headers box. In new Outlook and Outlook on the web, open the message, click More actions, then View and View message details. In Apple Mail, choose View, Message, All Headers, or Raw Source for the complete text. In Yahoo Mail, open the message, click More and View raw message. Thunderbird opens the source on Ctrl+U. The Mail app on iPhone and the Gmail and Outlook phone apps have no full header view, so open the same mailbox in a desktop browser. You can paste the whole raw message: the analyzer picks the header block and skips the body.

Reading the result: tags, route, slow hops and clock skew

The Summary block lists From, To, Subject, Date, Return-Path, Message-ID and the time in transit. Each check in the SPF, DKIM and DMARC block gets a tag: green for pass, amber for softfail, red for fail, permerror or temperror, gray for none, neutral or no data. Next to each tag, a link opens the SPF, DKIM or DMARC lookup for the domain found in the headers. The DKIM link appears once the analyzer finds a selector, in header.s or in s= of DKIM-Signature. To verify a DKIM signature, the analyzer relies on the dkim= verdict your provider recorded and runs no cryptographic check of its own. The Mail route table lists the sending host and IP, the receiving host, the protocol such as ESMTPS or LMTP, and the time of each hop in your local time zone. Delay counts from the previous hop, and hop 1 counts from the Date header. Delays over 5 minutes turn amber, and a negative delay shows as clock skew in gray. All headers, collapsed by default, keeps every field in its original order, ARC-Seal and X-Spam-Status included, without interpretation.

Spotting a spoofed email in the headers

Start with the DMARC tag. dmarc=fail means neither SPF nor DKIM passed for a domain aligned with the From address, and receivers use that check to catch forged From addresses. Then compare the From domain with Return-Path. Mailing services set their own Return-Path, so a mismatch on its own is normal for newsletters. Paired with dkim=fail or a missing DKIM-Signature, the same mismatch points to a forged sender. Last, find where the trusted part of the route ends. In the Mail route table, look for the first hop whose By column shows your provider's host. The From column of that row names the server that handed over the message, and its IP is the one to check. The sender controls the rows with lower numbers and can write anything there. Paste that IP into the ASN lookup to see which network owns it, and into the RBL lookup to see whether blacklists list it.

Questions and answers

01Where do I find the headers?

Gmail: More, Show original. Classic Outlook: open the message, File, Properties, Internet headers. New Outlook and Outlook on the web: More actions, View, View message details. Apple Mail: View, Message, All Headers. Yahoo Mail: More, View raw message. The iPhone Mail app has no full header view, so open the mailbox in a desktop browser. Copy the whole block.

02Do the headers go to your server?

No. The analysis runs in your browser and the headers go nowhere. Internal mail is safe to paste.

03Why are the timestamps out of order?

Each server keeps its own clock. When a clock is off, the delay comes out negative. The analyzer marks those hops as clock skew so you don't hunt for a delay that isn't there.

04How do I find the real sender IP?

Look at the Received lines your own mail provider added at the top of the block. The lowest of them names the server that handed the message over, with its IP in square brackets. In the Mail route table that IP sits in the From column. Lines below it come from the sender's side: they may show internal hops and private addresses, or carry forged data.

05What does Authentication-Results mean?

Your provider writes one verdict per check there. spf=pass means the SPF record of the Return-Path domain lists the sending IP, and softfail means the record ends in ~all and doesn't list it. dkim=fail means the signature didn't match, often because a server changed the message after signing or the sender rotated the key in DNS. dmarc=fail means neither check passed for a domain aligned with From. If you own the sending domain, the links next to the tags open the record to fix.

06Why did my email take so long to arrive?

Find the amber row in the Delay column of the Mail route. The server in the From column of that row held the message before passing it on, in a queue or while it retried after a temporary error. A long delay on hop 1 means the sender's client or outgoing server held the message, or the Date header is wrong.

07How can I tell from the headers that an email is spoofed?

Look for dmarc=fail in Authentication-Results, a From domain that matches neither Return-Path nor the DKIM d= domain, and a handover IP in your provider's lowest Received line that belongs to a network unrelated to the sender. A single sign can have an innocent cause: a forwarder, for one, breaks SPF.

08What are Return-Path, Message-ID and Received-SPF?

Return-Path holds the bounce address your provider saw in MAIL FROM, and SPF checks its domain. Message-ID is the unique ID the sending system gave the message. Quote it when you ask a mail admin to trace the email in server logs. Received-SPF is an older header some servers add with the SPF verdict, and the analyzer reads it when Authentication-Results has no spf= entry.

Pricing Grab a free hour