Email header analyzer: SPF, DKIM, DMARC and route

Paste raw email headers to see the route, the delay at each server, and the SPF, DKIM and DMARC results in plain words. Free, and it runs in your browser.

Last updated

Analyze email headers

The headers are read by your browser on this page. Nothing you paste is uploaded or stored.

Paste the headers of one email above and choose Analyze headers. The analyzer shows who sent the message, every server it passed through with the delay at each one, and the SPF, DKIM and DMARC results the receiving server wrote down. It also checks whether the DKIM and Return-Path domains match the From domain, and explains each failure in plain words. The headers are read in your browser and never uploaded.

What the analyzer reads

Every server that handles an email adds lines to its header. Together they tell you where the message came from and whether the receiver trusted it.

HeaderWhat it tells you
FromThe address the reader sees. DMARC protects this domain
Return-PathWhere bounces go. SPF checks this domain
ReceivedOne line per server, newest at the top, each with a time
Authentication-ResultsThe SPF, DKIM and DMARC results the receiving server wrote
Received-SPFThe SPF result, when the server writes it on its own line
DKIM-SignatureThe domain (d=) and selector (s=) that signed the message
  • SPF passes when the sending server is on the list in the Return-Path domain's SPF record.
  • DKIM passes when the signature checks out against the key the signing domain publishes in DNS.
  • DMARC passes when SPF or DKIM passes for a domain that matches the From domain. A match can be exact (example.com) or within the same domain (mail.example.com), unless the domain's policy asks for an exact match.
  1. Copy the headers from the received email

    Open the message in the recipient's mailbox, not in your sent folder. In most mail apps the full headers are in the message menu, under a name such as Show original, View source or Message source. Copy everything from the top down to the first empty line. Pasting the whole message works too; the analyzer stops where the body starts.

  2. Paste them and choose Analyze headers

    Paste the text into the box above and choose Analyze headers. Long lines that your mail app folded onto several lines are joined back together, so you can paste them as they are.

  3. Read the results

    The first block shows From, To, Subject, Date, Message-ID and Return-Path. Below it, each check gets a line marked Pass, Check, Problem or Note. The table at the end lists the servers in the order the message reached them, with the time each one received it and how long it took since the hop before.

    A hop that took more than five minutes is flagged. It usually means the message waited in a queue, was retried or was held by a filter. A negative delay means two servers disagree about the time, and the real delay is unknown.

  4. Fix what failed

    Most failures come from DNS records on the sending domain. A failed SPF check means a sending server is missing from the SPF record. A DKIM domain or Return-Path domain that does not match the From domain means the sending service signs or bounces with its own domain; set it up to use yours. Check the records themselves with the email DNS checker, then send a new test message and analyze its headers again.

Questions about email headers

Is the header analyzer free?

Yes. It needs no account, and you can analyze as many messages as you like.

Are my headers uploaded anywhere?

No. The analysis runs in your browser on this page. The headers are not sent to DASTER or anywhere else, and nothing is stored. Closing the page clears them.

Why does it say no server has checked the message?

The headers have no Authentication-Results or Received-SPF line. That happens when you copy a message from your sent folder, because no receiving server has checked it yet. Copy the headers from the recipient's inbox instead.

SPF passed, so why did DMARC fail?

SPF checks the Return-Path domain, not the From domain. If a sending service bounces to its own domain, SPF can pass for that domain while DMARC fails for yours. DKIM signed with your own domain fixes this, because DMARC needs only one of the two to pass and match.

What does a DKIM body hash failure mean?

The message was changed after it was signed. Mailing lists that add a footer and gateways that rewrite links often do this. If every message fails, check that the DKIM record in DNS is the one your sending service gave you.

Why are the Received lines in reverse order?

Each server adds its line at the top, so the newest line comes first. The analyzer turns them around and numbers the hops from the first server to the last.

Do DASTER's emails pass these checks?

When you add a sender domain in App email, its page shows the DKIM, SPF and DMARC records to add, and you can send once SPF and DKIM are verified. Analyze the headers of a test message to see the results a receiver wrote; see the free email API for what is included.

Read more

DASTER is in testing. Join the waitlist and you get access 20 days after you join.

Join the waitlist

Next steps