Email security

How to Read Email Headers: Find the Real Sender in Minutes

Every email carries a hidden delivery record. Learn where to find it, which fields matter, and how to tell a genuine message from a spoof.

Cysoro Security TeamPublished · 9 min read
From: [email protected]Received: relay > mx > inboxSPF PASS DKIM PASSDMARC PASS123 EMAIL SECURITY Read emailheaders Find the real sender, fast.
Quick answer

To read email headers, open the full message source in Gmail with Show original or in Outlook with View message details, then read the Received lines from the bottom up, compare From, Reply-To and Return-Path, and check the Authentication-Results field for SPF, DKIM and DMARC verdicts added by your own mail provider.

Key takeaways

  • Read Received lines from the bottom up: the lowest line is the first hop, and only lines added by your own provider are fully trustworthy.
  • Check Authentication-Results from your provider, not any pass text a sender could add, and confirm DMARC alignment with the From domain.
  • A matching display name proves nothing; the sending IP, envelope domain and authentication verdicts are what identify the real sender.

The name you see in your inbox is a claim, not proof. Behind every message sits a block of headers that records which servers handled it, when, and what your provider concluded about its authenticity. Learn to read that block and you can spot most spoofs in minutes.

What are email headers?

Email headers are the metadata lines at the top of every message, above the first blank line. They record who sent it, who received it, when it was sent, a unique message ID, and each server that passed it along.

The format comes from RFC 5322, the internet standard for email messages. Each header is a field name, a colon and a value, such as Subject: Lunch on Friday?. Long values wrap onto lines that start with whitespace; that folding is normal, not a new header.

Your mail app hides most of this by default and shows you only From, To, Subject and Date. The full block is longer, often dozens of lines, but you only need a handful of fields to answer the usual questions: who really sent this, did it pass authentication, and where was it delayed?

How do I view full email headers in Gmail and Outlook?

In Gmail on the web, open the message, click the three-dot More menu beside Reply, and choose Show original. In new Outlook or Outlook on the web, open the message, choose More actions, then View and View message details.

Classic Outlook for Windows is different: double-click the message to open it in its own window, choose File, then Properties, and copy the text in the Internet headers box. In Apple Mail on a Mac, choose View, then Message, then All Headers, or Raw Source for the complete message.

Copy everything from the top down to the first blank line, which is where the body starts. Keep every Received line and every indented continuation line. If you paste the block into an analyzer, use the copy from the recipient mailbox, not a forwarded copy, because forwarding adds a new journey and can drop the original details.

Mail appHow to open the full headers
Gmail (web)More menu beside Reply, then Show original
Outlook (web / new)More actions, then View, then View message details
Classic Outlook (Windows)Open message, File, Properties, Internet headers box
Apple Mail (Mac)View, Message, All Headers; Raw Source for the full message
ThunderbirdView, Message Source (Ctrl+U)

Which header fields matter most?

The fields fall into three groups: fields the sender sets and can forge, fields servers add in transit, and fields your receiving server adds. Knowing who added each field tells you how much to trust it.

  • From — the author address shown to you. The display name and address are claims in the message.
  • Reply-To — where replies go when present. An unexpected domain is worth checking, though legitimate support and campaign setups also use it.
  • Return-Path — the envelope address used for delivery failures. A sending service often uses its own bounce domain here.
  • Received — one line per server hop, with the sending host, the receiving host, the protocol and a timestamp.
  • Authentication-Results — your provider's SPF, DKIM and DMARC verdicts in one place.
  • DKIM-Signature — the cryptographic signature, including the signing domain (d=) and selector (s=). A signature existing does not prove it verified.
  • Message-ID — a unique ID that helps match the message with provider logs.
  • Date — the time the sender states the message was written, not necessarily when you received it.

Fields such as X-Mailer name the sending software, and spam-filter headers such as X-Spam-Status record your provider's filtering view. They add context, but they rarely decide whether a message is genuine.

MailSlurp's guide to reading email headers explains the same field groups and shows a worked example of a delayed message.

Who added each header field?Sender sets itFrom, To, SubjectDate, Reply-ToMessage-ID, X-MailerCan be forgedServers add itReceived (each hop)DKIM-SignatureARC headersTrust the top linesReceiver adds itReturn-PathAuthentication-ResultsSpam filter headersMost reliable
Header fields grouped by who added them — and how much each group can be trusted. Illustration by Cysoro.

How do I read the Received chain?

Read Received lines from the bottom up. Each server adds its line at the top, so the bottom line is the first hop, closest to the sender, and the top line was added by your own mail server.

A typical line names the host the sender announced, the name and IP address the receiving server actually saw, the receiving server, the protocol and a timestamp. Compare the announced name with the IP in parentheses: a mismatch between the claimed host and the reverse DNS name is a warning sign.

Only Received lines added by servers you trust are reliable. A malicious sender can write fake Received lines at the bottom of the stack, before the message reaches your provider. In practice, find the first hop into your provider's infrastructure and treat the IP it recorded as the real origin.

Subtract each hop's timestamp from the one above it to find where time was spent. A long gap points to the hop to investigate, but it does not explain why the delay happened. Match the message ID and time range with your sending provider's logs before you blame a slow server.

What does Authentication-Results mean?

Authentication-Results records the SPF, DKIM and DMARC verdicts your receiving server found, in one field defined by RFC 8601. The name before the first semicolon identifies the server that reported the results.

Use only the result your own provider added. A sender can add a look-alike field containing the word "pass", and forwarded mail can contain results from more than one service. If you see several Authentication-Results fields, pick the one from the provider that delivered the message to you.

For that trusted result, check each verdict with its domain. For SPF, look at the verdict and smtp.mailfrom, the envelope domain that was checked. For DKIM, look at the verdict and header.d, the signing domain. For DMARC, compare the authenticated domain with the visible From domain.

CheckPass meansFail or none means
SPFThe sending IP was authorized for the envelope domainThe IP was not authorized, or no SPF record existed
DKIMThe signature verified for the signing domainThe signature failed, or no signature was present
DMARCAn SPF or DKIM result aligned with the From domainNo aligned result, or no DMARC policy was published

DMARC alignment is the key step many readers miss. A passing SPF or DKIM check must align with the From domain for DMARC to pass. Strict alignment needs the same domain; relaxed alignment allows the same organizational domain. A message can pass SPF for its sending service's domain and still fail DMARC for the brand in the From address.

OpenSysTools explains how SPF, DKIM and DMARC results interact in its header guide, including the trust boundary for Received lines.

How do I work through a real header example?

Take a short example using reserved example domains. Start at the bottom, check the authentication field, then compare the addresses before you decide anything.

Example header — read bottom to topFrom: Updates <[email protected]>Return-Path: <[email protected]>Authentication-Results: mx.recipient.example; spf=pass dkim=pass dmarc=passReceived: from relay.brand.example by mx.recipient.example; 10:03 UTCReceived: from app.brand.example by relay.brand.example; 10:00 UTC1. Bottom hop first (10:00) 2. Then the next hop (10:03) 3. Check the verdicts
A short header example with three passes and a three-minute gap between hops. Fictional example domains. Illustration by Cysoro.

In this example the message left the application server at 10:00, reached the relay, and arrived at the recipient server at 10:03. The three-minute gap is the delivery time between those two hops. All three authentication checks passed for the same domain shown in From, which is a good sign.

Now change one detail: if the envelope and signing domain were sender.example while From showed brand.example, SPF and DKIM could still pass while DMARC failed. That pattern is common with a misconfigured sending service, and it is also how a spoof can look partly legitimate. Always check alignment, not just the word pass.

How do headers reveal a spoofed email?

A spoof usually leaves several small mismatches at once. No single field proves a message is fake, but the pattern below is hard for a genuine message to produce by accident.

  1. The From domain and the Return-Path domain differ sharply. A bounce domain from a sending service is normal; a free webmail domain for a bank is not.
  2. Reply-To points somewhere else. Hit reply and look at where your answer would actually go.
  3. Authentication fails or is missing. A DMARC fail, or no DMARC policy at all, on a message claiming to be from a major brand deserves suspicion.
  4. The first trusted hop comes from an unexpected network. Check the IP and host name your provider recorded, not the name the sender announced.
  5. The Message-ID domain does not match the sender. Genuine mail usually carries an ID from the sending domain or its mail service.
  6. The Date is far from the Received timestamps. A large gap can mean a forged date or a message held in a queue.

If you spot these signs, do not click links or open attachments from the message. Report it with your mail app's phishing button, and if it impersonates your own company, forward it to your security team as an attachment so the headers survive. You can read more examples of the messages these headers belong to in our phishing email examples.

What if the message was delayed or went to spam?

Headers help with delivery problems as well as spoofs. For a delay, work out the gap between hops, then take the message ID and the time range to your sending provider's delivery log.

Time spent before the first recorded hop will not appear between Received lines, so check the application's own send time too. A temporary rejection followed by a retry is a common cause of a delay, and it looks very different from a server that was simply slow.

For a message that passed authentication but still landed in spam, remember that authentication is only one input to filtering. Content, links, sending reputation and the recipient's own filters all matter. Check the spam-filter headers for the score and the reasons your provider recorded, then test with the finished campaign and its normal sending service.

A header block that contains only Subject and From, with no Received lines and no authentication results, does not answer the routing or authentication question. It is not an authentication failure; it is an incomplete copy. Go back and copy the complete original before you draw a conclusion.

What mistakes should I avoid when reading headers?

The most common mistake is trusting the display name. Anyone can set a display name to a colleague, a bank or a chief executive. Always expand the address and read the domain itself.

Another mistake is trusting any field that contains the word pass. Only your provider's Authentication-Results field counts. A sender can add their own field, and a forwarded message can carry results from several services.

Do not diagnose alignment from the Return-Path alone. DKIM can provide an aligned pass even when the bounce domain differs, so check the DKIM signing domain and the DMARC result together.

Finally, do not share a full header block carelessly. It can contain private addresses, internal host names and routing details. Remove identifiers you do not need to disclose, but keep an unedited original for your own investigation. Paste a suspicious header into our free email header analyzer to see the route and authentication results laid out clearly.

Check the domain, not the nameIf a message claims to be from your bank or your boss, expand the From address and compare its domain with the real one. A single changed letter is the oldest trick in email spoofing.

The bottom line

Reading email headers is a short skill with a large payoff: open the full source, read Received from the bottom up, trust only your provider's authentication verdicts, and check that those verdicts align with the From domain.

Practice on a genuine newsletter first, so you know what a clean header looks like. Then, when a suspicious message arrives, you will spot the mismatch in minutes. You can also check whether your own domain is set up to pass these checks with the free DMARC checker.

To learn how the underlying records work, read our guide to what DMARC is.

Frequently asked questions

What are email headers?

Email headers are the metadata lines at the top of every message. They record the sender and recipients, the date, a message ID, each server that handled the message, and the authentication results your provider recorded.

How do I see full email headers in Gmail?

Open the message in Gmail on the web, click the three-dot More menu beside Reply, and choose Show original. That opens the full header and body source in a new tab, with a button to copy it.

How do I see full email headers in Outlook?

In new Outlook or Outlook on the web, open the message, choose More actions, then View and View message details. In classic Outlook for Windows, open the message in its own window, choose File, then Properties, and read the Internet headers box.

What does Authentication-Results tell me?

It records the SPF, DKIM and DMARC verdicts your receiving server found, and names the server that reported them. Use only the result your own provider added, because a sender can add a look-alike field to the message.

Why do I read Received lines from the bottom up?

Each server adds its Received line at the top, so the bottom line is the oldest hop and the top line is the newest. Reading upward follows the message in the order it actually travelled.

Can email headers be faked?

Yes. A sender controls the From, Reply-To, Subject and Date fields, and can add fake Received lines at the bottom. Only the lines added by servers you trust, at the top, are reliable evidence of the route.

What does SPF softfail mean?

Softfail means the sending server was not listed as authorized in the domain's SPF record, but the record did not tell receivers to reject it outright. Treat it as a warning and look at the DKIM and DMARC results before deciding.

Do headers prove an email is safe?

No. Passing SPF, DKIM and DMARC shows the message was authorized by the domain in the From address, but a genuine account can still be hacked and a real domain can still send a harmful message. Headers are one check, not a verdict.

Sources

  1. MailSlurp — How to Read Email Headers: Fields, Examples and Delivery Checks
  2. OpenSysTools — How to Read Email Headers: Received, SPF, DKIM, Spoofing
  3. Canary Mail — Email Headers: What They Are and How to Read Them
  4. Guillaume Richard — Reading Email Headers: Received, SPF, DKIM, DMARC
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against RFC 5322 and RFC 8601 as explained in the MailSlurp and OpenSysTools guides, and Gmail and Outlook help for viewing message source.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free