Email header analyzer
Paste the headers of an email to see the route it took with the delay of each hop, and how SPF, DKIM, DMARC and ARC came out, with alignment.
Run the full email security check DMARC, SPF, DKIM, MX and MTA-STS in one free report.
How it works
Every mail server that passes a message on adds a Received field at the top, so the headers hold the route in reverse. The analyzer reads them from the bottom up and shows each hop oldest first: the host that sent the message, the address and reverse DNS name the receiver noted, the server that received it, the protocol (such as ESMTPS for an encrypted connection) and the time. The delay of a hop is the time since the hop before it, and the delivery time is the span from the first to the last hop.
It then reads the Authentication-Results field that the receiving server wrote (RFC 8601): the SPF result and the envelope domain it was checked for, each DKIM result with its signing domain and selector, and the DMARC result for the From domain. ARC-Authentication-Results and ARC-Seal fields from forwarders and mailing lists are listed too. For SPF and DKIM the analyzer compares the domain with the From domain: two domains are aligned when they share the registrable domain, the relaxed alignment most DMARC policies use. DKIM-Signature fields give the signing domain, selector, algorithm and signed fields, and the Return-Path, From and Message-ID fields give their domains.
Nothing is looked up: no DNS queries, no key downloads, no connections. The result is what the headers say, so it can explain a single message, while the email security check shows how the domain is set up today.
Common mistakes
Pasting a forwarded message instead of the original source loses the Received fields and the Authentication-Results of the first delivery, so paste the source of the message as it arrived. Headers copied from the sent folder show no route at all, because no server has received the message yet. Treat a pass in a lower Authentication-Results field with care: only the topmost one comes from the server that delivered the message to you.
Use it from code
The same check is available as an API: $0.002 per check. See the API reference.
curl -i -X POST https://api.lookproof.dev/v1/mail/header-parse \
-H 'content-type: application/json' \
-d '{"headers": "Received: by 2001:db8:4::1 with SMTP id q5csp1; Wed, 18 Nov 2026 10:02:17 -0800\nARC-Seal: i=1; a=rsa-sha256; cv=none; d=example.org; s=arc1; b=AbCd\nReturn-Path: <[email protected]>\nReceived: from out-25.mailer.example.net (out-25.mailer.example.net. [198.51.100.25])\n by mx.example.org with ESMTPS id m3si8; Wed, 18 Nov 2026 10:02:16 -0800\nAuthentication-Results: mx.example.org; dkim=pass [email protected] header.s=s1;\n spf=pass [email protected]; dmarc=pass header.from=example.com\nReceived: from app-3.example.net (app-3.example.net [192.0.2.17])\n by out-25.mailer.example.net with ESMTPSA id 4Fq2; Wed, 18 Nov 2026 18:01:58 +0000\nDKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=s1; h=from:to:subject:date; b=EfGh\nFrom: Example News <[email protected]>\nSubject: Your November update\nMessage-ID: <[email protected]>\n"}'
A request without payment is answered with 402 Payment Required and the exact price.
Frequently asked questions
Where do I find the headers of an email?
In Gmail, open the message, choose the three dots and Show original. In Outlook on the web, choose the three dots, View and View message source; in the Outlook desktop app, open File and Properties and copy Internet headers. In Apple Mail, choose View, Message and All Headers. Copy from the top down to the first empty line. The body can be left out, and it is never read if you paste it.
Is the content of my email stored?
No. The headers are sent once to the engine, read in memory and dropped. They are not written to logs or a database, and the form is not filled in again after the check. Email addresses come back with the local part replaced by …, so only the domain is shown. The Subject, the To and Cc fields and the body are not read at all.
Why does DMARC fail when SPF passes?
DMARC needs SPF or DKIM to pass for a domain aligned with the From address. A sending service often passes SPF for its own bounce domain, which is not your domain, so SPF cannot count. The fix is DKIM signing for your From domain at the service, or a custom return-path under your domain. The analyzer marks each passing result as aligned or not, and the DMARC check shows the policy that receivers apply.
Does the analyzer verify the DKIM signature?
No. It shows the tags of each DKIM-Signature field (d=, s=, a= and the signed fields), but it does not fetch the key or check the signature. The verdicts it shows are the ones the receiving server wrote in Authentication-Results. To see whether the published key is there and strong enough, use the DKIM selector finder with the domain and selector from the signature.
Can Authentication-Results be faked?
Yes, a sender can add any header, including a false Authentication-Results field. RFC 8601 asks receivers to remove incoming fields that carry their own server name, and the one the final receiver adds is at the top. The analyzer therefore takes its summary from the topmost Authentication-Results field and lists the others below it.
Why is one hop so slow?
A long wait between two Received fields usually means greylisting (the receiver asked the sender to try again later), a queue at the sending server, a server that was down, or a slow spam filter. A negative delay means the clocks of two servers disagree. The analyzer reports hops that took more than five minutes and clocks that are more than a minute behind.
HEADERS_ARC_FAILHEADERS_CLOCK_SKEWHEADERS_DKIM_FAILHEADERS_DKIM_SHA1HEADERS_DMARC_FAILHEADERS_FROM_MISSINGHEADERS_FROM_MULTIPLEHEADERS_HOP_DELAYHEADERS_MESSAGE_ID_MISMATCHHEADERS_MESSAGE_ID_MISSINGHEADERS_NOT_ALIGNEDHEADERS_NOT_FOUNDHEADERS_NO_AUTH_RESULTSHEADERS_NO_DKIM_SIGNATUREHEADERS_NO_RECEIVEDHEADERS_RETURN_PATH_MISMATCHHEADERS_SPF_FAIL
- Amazon SES
- Brevo
- Cloudflare Email Routing
- Cloudflare Email Sending
- Customer.io
- Fastmail
- Freshdesk
- Gandi
- Google Workspace
- HubSpot
- Klaviyo
- Loops
- mailbox.org
- Mailchimp
- MailerLite
- Mailgun
- Mailjet
- Microsoft 365
- Namecheap Private Email
- Postmark
- Proton Mail
- Resend
- Shopify
- Squarespace
- Twilio SendGrid
- Zendesk
- Zoho Mail