Email Headers Explained: How to Read Authentication Results and Trace a Message
Every email carries a detailed travel log and identity report, written in plain text, attached to the message itself. They are called headers, and almost nobody reads them — until the day mail starts failing authentication, landing in spam, or arriving hours late, and support asks you to "send the full headers." At that moment, the sender who can read headers solves the problem in ten minutes, and everyone else waits days.
This guide teaches you to read them yourself: where to find headers in common mail clients, how the Received chain works, how to read Authentication-Results for SPF, DKIM and DMARC, which individual headers matter, and how to trace a message's journey from sender to inbox. No tooling beyond your mail client is required.
Where to Find the Headers
- Gmail (web): open the message, click the three-dot menu, choose "Show original." You get the full raw message plus a handy summary of SPF, DKIM and DMARC results at the top.
- Outlook (web): open the message, click the three-dot menu, choose "View" then "View message details."
- Outlook (desktop): open the message in its own window, then File → Properties; the internet headers appear in a box at the bottom.
- Apple Mail: with the message selected, choose View → Message → All Headers, or "Raw Source" for the complete text.
- Thunderbird: View → Headers → All, or Ctrl+U for the full source.
For diagnosis, always work from the headers of the message as received — ideally forwarded as an attachment or pasted in full — not from a screenshot of the message body. The body tells you what the mail said; the headers tell you what actually happened to it.
The Big Picture: Two Kinds of Headers
Headers fall into two families. The first family is written by the sender and their system: From, To, Subject, Date, Message-ID, MIME information. These describe the message as composed. The second family is written by every server that handles the message on its journey: Received stamps and the Authentication-Results added by the receiving side. These describe the journey — and they are the ones you can trust for troubleshooting, because they were written by machines at the time, not by whoever is reporting the problem.
Reading the Received Chain
Each server that accepts a message adds a Received header at the top of the list. That means the chain reads in reverse: the newest stamp is first, and to follow the journey chronologically you read from the bottom up.
A single Received stamp typically tells you:
- from — the hostname and IP of the machine that handed the message over.
- by — the server that accepted it.
- with — the protocol used (for example ESMTPS, which also tells you the transfer was encrypted with TLS).
- for — the recipient address the server accepted it for.
- date/time — when that hop happened.
Comparing the timestamps hop by hop is how you find delays. If a message left the sender at 09:00, sat on one relay until 11:40, and then moved instantly, the two-hour problem belongs to that relay — not to the sender and not to the recipient's provider. When a user says "your emails arrive late," the Received chain is how you prove where the time went.
The chain is also your first forgery check. A message claiming to come from a well-known brand but whose earliest Received stamps pass through an unrelated server in an unexpected network deserves suspicion, whatever the body says.
Authentication-Results: The Verdict Line
The receiving server (or the recipient's provider) adds an Authentication-Results header recording how the message scored on the three authentication systems. It is the single most valuable header for deliverability work. A typical example looks like this:
Authentication-Results: mx.google.com; dkim=pass header.d=example.com; spf=pass (google.com: domain of bounces@mail.example.com designates 203.0.113.10 as permitted sender); dmarc=pass (p=REJECT) header.from=example.com
How to read each part
- spf=pass / fail / softfail / neutral — whether the connecting IP was authorised by the domain in the Return-Path (the envelope sender). Note the domain named in the result: it is the Return-Path domain being judged, which may be a subdomain, not the visible From domain.
- dkim=pass / fail / none — whether a valid DKIM signature was present. The header.d= value shows the signing domain. A pass with a signing domain unrelated to the From domain authenticates somebody — just not necessarily the sender you see.
- dmarc=pass / fail — the combined judgement: DMARC passes when SPF or DKIM passes and the authenticated domain aligns with the visible From domain. The p= value shows the From domain's published policy (none, quarantine or reject) that the receiver applied.
The failure patterns you will actually meet
- spf=softfail after forwarding: classic forwarding breakage — the forwarding server's IP is not in the original sender's SPF record. The mail may still pass DMARC via DKIM.
- dkim=fail (body hash did not verify): the message was modified in transit — mailing lists that add footers or rewrite links do this — or the wrong key was used after a rotation.
- dmarc=fail with spf=pass and dkim=pass: alignment failure. Both checks passed for other domains (a sending service's Return-Path and signing domain) but neither aligns with your From domain. This is the signature problem of a badly configured sending platform.
- dmarc=none: the From domain has no DMARC record at all, so receivers fall back on their own judgement — you have given them no policy and no reporting.
On your own infrastructure — for example a dedicated SMTP server where SPF, DKIM and DMARC are set up for your domains — a healthy message shows all three passing with your domains in the results. That one header, checked on a test message, verifies the whole authentication stack at once.
The Other Headers Worth Knowing
From, Reply-To and Return-Path — three different addresses
The From is who the mail claims to be from and what the recipient sees. Reply-To is where replies are directed, if different. The Return-Path (visible in headers, set at the envelope level) is where bounces go — and it is the domain SPF judges. Confusion between these three explains a large share of "but I set up SPF!" problems: the record was published on the From domain while the Return-Path used a different domain entirely.
Message-ID
A unique identifier created by the sending system, usually containing the sender's domain. It is the reference support teams and server logs use to find one specific message among millions. When reporting a delivery problem, quoting the Message-ID and the exact time is the difference between a five-minute lookup and a shrug.
DKIM-Signature
Contains the signing domain (d=), the selector (s=), the list of signed headers (h=), and the signature itself. You rarely need to decode it; you need it to exist, to name your domain, and to verify — which Authentication-Results already reports.
ARC headers
Authenticated Received Chain headers let forwarders and mailing lists preserve the authentication results they observed before they modified or forwarded a message, so the final receiver can make a fairer judgement. Their presence on list mail is normal and increasingly common.
List-Unsubscribe
The machine-readable unsubscribe mechanism behind the one-click unsubscribe button in mail clients. Its presence (with both mailto and HTTPS options) is a positive signal for bulk senders, and major providers expect it on marketing mail.
X- headers
Anything starting with X- is a custom stamp added by some system along the way — sending platforms add campaign and account identifiers here, and receiving systems sometimes add spam-score or filtering notes. They are not standardised, but when debugging with a provider's support they are often the breadcrumbs that identify which system did what.
A Worked Example: "Our Reset Emails Go to Spam"
Imagine users report that password-reset emails land in spam. You ask one user to show the original message and read the headers:
- The Received chain shows the message travelled directly from your server to the provider in seconds — no delay, no weird relays.
- Authentication-Results shows spf=pass for a Return-Path on your sending subdomain, dkim=none, and dmarc=fail.
- Diagnosis: your application sends through a new server whose IP is in SPF, but nobody enabled DKIM signing for the application stream, and the SPF-aligned domain does not match the From domain — so DMARC fails and the provider treats the mail as unauthenticated.
- Fix: enable DKIM signing with the From domain (or an aligned subdomain), retest, and watch Authentication-Results flip to pass across the board.
Notice what happened: no guessing, no "maybe the content," no blaming the provider. The headers contained the whole story, because they always do.
Header Habits Worth Building
- After any change to DNS, sending IPs or platforms, send a test to a mailbox you control and read the Authentication-Results before announcing success.
- When a customer reports a problem, ask for the full headers (or the message as an attachment) in your very first reply — it halves resolution time.
- Keep one known-good header sample per mail stream; when something breaks, diffing the broken message against the good one finds the change immediately.
- Check the Received chain whenever "late" or "missing" is reported, before touching any settings.
Bounce Messages Have Headers Too — Read Them
When mail cannot be delivered, the bounce message (formally a delivery status notification) that comes back contains diagnostic gold that most senders never open. Inside it you will usually find the exact SMTP reply code and text from the receiving server, the address that failed, and frequently the original message's headers attached in full. A code in the 5xx family is a permanent refusal — a nonexistent mailbox, a policy rejection, a block — while 4xx means a temporary failure that your server will retry. The plain-language text beside the code is the receiving server explaining itself: it may name a blocklist, a rate limit, an authentication failure or a content policy. When you ask a provider or a support desk for help with delivery, forwarding the complete bounce — not a paraphrase of it — is what gets you a precise answer quickly.
A Note on Privacy and What Headers Reveal
Headers are metadata, and metadata is revealing. The Received chain can expose internal server names, the IP address of the machine a person sent from (for mail submitted from a desktop client, sometimes their home or office connection), and the software versions in use along the path. This is one reason webmail became the default for personal mail: the provider's servers originate the message, so the sender's own network stays out of the public record. For businesses, the lesson is practical rather than alarming — be aware that every message you send carries an infrastructure fingerprint, keep internal hostnames sensible and professional, and think twice before forwarding raw headers to public forums when asking for help. Redact recipient addresses and internal IPs in public posts; keep the authentication lines, which are what helpers actually need.
Checking Headers at Scale
Reading individual headers is a diagnostic skill; it does not scale to "is all of our mail, from every system, authenticating properly?" That is what DMARC aggregate reports are for. Once you publish a DMARC record with a reporting address, receiving providers send you daily XML summaries of every message they saw claiming to be from your domain: which IPs sent it, how much volume, and how SPF and DKIM evaluated and aligned. Report-viewing tools turn those files into readable tables. The combination is powerful: aggregate reports tell you where to look — an unexpected source, a stream whose alignment broke last Tuesday — and individual headers then tell you exactly what that stream is doing wrong. Senders who use both rarely get surprised by their own email.
The Bottom Line
Headers are not trivia for specialists; they are the receipt, the tracking record and the identity check of every message you send, written in a format that takes an afternoon to learn and pays you back for years. Read the Received chain for the journey, Authentication-Results for the verdict, and the three addresses — From, Reply-To, Return-Path — for the identities involved, and you can diagnose most delivery problems yourself.
If you want those verdicts to read "pass" every time, the foundation is infrastructure where the authentication is configured correctly from the start. A goIX dedicated SMTP server is provisioned with SPF, DKIM, DMARC, MX and rDNS set up for your domains, so the headers your messages carry tell the story you want receivers to read. Order your server, send a test, and check the headers — they will speak for themselves.