Email header analyzer

Paste a message's headers to see the path it took, where it was delayed, and whether it passed SPF, DKIM and DMARC.

Private by design: the analysis runs in your browser. The headers you paste are never sent to us.

Gmail: open the message, ⋮ menu, "Show original". Outlook: File, Properties, "Internet headers". Apple Mail: View, Message, All Headers. Paste the headers first.

Free, no account needed.

What headers are, and which ones to trust

Headers come from the sender and from each server along the way, and the part to trust is what your own provider added: its Received lines and its Authentication-Results verdict.

Read moreShow less: What headers are, and which ones to trust

Every email carries a block of headers above the text you read. Some are written by the sender's software: From, To, Subject, Date and Message-ID. Others are added on the way. Each mail server that accepts the message stamps a Received line at the top, so the newest stamp sits highest and the first one is near the bottom (RFC 5321 calls this trace information). The receiving server then records what it concluded about the sender in an Authentication-Results header (RFC 8601), and sometimes a Received-SPF header as well.

Everything below the Received lines your own provider added, that is earlier in the message's path, was written by servers you don't control, and a forger can write fake Received lines too. The lines added by your provider's servers are the trustworthy part, and the Authentication-Results header that names your provider as the recorder is the verdict that counts.

The analyzer's output, part by part

A banner with the overall verdict, a finding for each check, then the header summary, a hop-by-hop table with delays and the recorded authentication results.

Read moreShow less: The analyzer's output, part by part

The banner gives one of three verdicts with the sender's address, and a sentence such as "The message took 10 hops and 50s end to end and passed SPF, DKIM." If anything failed, the sentence names it instead: "This message failed DKIM. That is the most likely reason it was flagged."

Findings follow, one per check:

  • SPF / DKIM / DMARC: pass, fail, softfail… with the domain that was checked in brackets, for example "DKIM: pass (gmail.com)".
  • "DMARC: no result" (Note) when no server recorded a verdict. That is common on mailing lists and doesn't mean DMARC failed.
  • "DKIM signed by X, not Y" (Note) when the signature belongs to a different domain from the one in the From address, so it can't help DMARC.
  • "Slow hop: 8m 50s at hop 3" (Warning) for any step longer than five minutes, and "Clock skew at hop N" (Note) when a hop's timestamp is more than two minutes earlier than the one before it.
  • "No Message-ID", "No Date header" and "No Authentication-Results header" for missing pieces.

Hops and full results then shows:

  1. A summary list read straight from the headers: from, to, subject, date, messageId and returnPath (the bounce address).
  2. Hops (oldest first): one row per Received line, with #, From (the name the sending server gave, plus in brackets the address the receiving server actually saw), By (the server that took it), With (the protocol, such as ESMTPS for encrypted SMTP), Time (UTC) and Delay since the previous hop.
  3. Authentication results (recorded by …): each method's result and details such as header.d=gmail.com, the domain that signed.

Two real messages

Two Apache mailing-list messages analyzed on 21 October 2026: one from Gmail that passed SPF and DKIM, and one from a Google Workspace domain with a slow hop and a DKIM signature that doesn't align with the From address.

Read moreShow less: Two real messages

Both come from the public archives of Apache Software Foundation mailing lists, analyzed on 21 October 2026, with personal names and addresses redacted by us.

The first was sent from a Gmail account to the Apache HTTP Server developers' list. Result: "The message took 10 hops and 50s end to end and passed SPF, DKIM. No server recorded a DMARC result." Hop 1 is the sender's connection to smtp.gmail.com, with ESMTPSA meaning an authenticated, encrypted submission. Apache's inbound server and its spam filter come a few hops later, and the slowest step, 38 seconds, is the final delivery to the archive service. The findings read "SPF: pass (from Received-SPF)" and "DKIM: pass (gmail.com)".

The second went to a different Apache list from a custom domain hosted on Google Workspace (we've left the domain out). The analyzer flagged "Slow hop: 8m 50s at hop 3": the message sat for almost nine minutes between Apache's inbound server and its internal filter, a queue on the receiving side rather than a fault at the sender. It also noted "DKIM signed by …gappssmtp.com, not …": the domain hadn't set up its own DKIM key, so Google signed with its default domain, which passes DKIM but doesn't align with the From address for DMARC. The message would still pass DMARC, because SPF passed for the sender's own domain; the gap shows up when the mail is forwarded.

Verdicts and what to change

Common causes of spf=fail, dkim=none, dkim=fail, dmarc=fail and compauth=fail, with the record or setting to change where one helps.

Read moreShow less: Verdicts and what to change
  • spf=fail or softfail for your own domain: the sending server isn't in your SPF record. Add the include for that service, for example include:_spf.google.com for Google Workspace or include:spf.protection.outlook.com for Microsoft 365, keeping one SPF record per domain.
  • dkim=none: the message wasn't signed. Turn on DKIM in the sending service and publish its key, google._domainkey for Google Workspace or the two selector CNAMEs Microsoft 365 gives you.
  • dkim=fail with "body hash did not verify": something changed the message after signing, typically a mailing list footer, a security gateway rewriting links, or a forwarding rule. Nothing in your DNS will fix it. For mail sent directly, not through a list or forwarder, an aligned SPF pass still lets DMARC pass.
  • dmarc=fail: neither SPF nor DKIM passed for the domain in the From address. A common cause is a third-party service sending as you with its own domain in the signature and the envelope.
  • compauth=fail in Microsoft 365 headers: Microsoft's composite verdict, which combines SPF, DKIM, DMARC and its own signals. An SPF or DKIM pass aligned with the From domain normally clears it.

Header questions

Answers on viewing full headers, reading Received lines, finding the sender's IP, faked headers and spf=pass dkim=pass dmarc=fail.

How do I view the full headers of an email?

In Gmail, open the message, open the three-dot menu and choose Show original. In classic Outlook for Windows, open the message, then File, Properties and the Internet headers box. Copy all of it and paste it above.

How do I read Received headers?

Read them from the bottom up: the lowest Received line is the first server that took the message, and each line above is the next step. Each one names the server that handed the message over (from), the one that took it (by), the protocol and a time. The analyzer puts them in order for you and works out the delay at each step.

Can I find the sender's IP address in the headers?

Sometimes. A message sent from a mail app often shows the sender's connection in its first Received line, as in the Gmail example above. Messages written in a webmail interface usually show only the provider's own servers.

Can email headers be faked?

Yes. A sender can write any header, including made-up Received lines placed before the message reached a real server. The lines added by your own provider, and its Authentication-Results verdict, are the part you can rely on.

What does spf=pass dkim=pass dmarc=fail mean?

SPF and DKIM both passed, but for a domain other than the one in the From address, so neither counted for DMARC. Compare the smtp.mailfrom domain (SPF) and the header.d domain (DKIM) with the From domain; at least one has to match.

Other places to look

A failed verdict usually points at a record; the health check reads all of a domain's authentication records together so you can see which one.

Guide: Reading email headers.