Messages and email evidence
How to Read Email Headers for Evidence
By Lucerna LawPublished 10 min readUpdated
To read email headers, open the message's full source and start with the Received lines, read from the bottom up, because each server adds its line above the last. Then compare the Date field with those times, note the Message-ID and Return-Path, and treat SPF, DKIM and DMARC results as statements about domains.
How do you view the full headers of an email in Gmail and Outlook?
In Gmail, open the message and choose "Show original" from the More menu beside Reply. In Outlook, the path depends on the version: "View message details" in new Outlook and on the web, or File and then Properties in classic Outlook. Each opens the header lines that an ordinary reading view leaves out.
The steps below are from the two companies' help pages.
- Gmail. Google's page on how to trace an email with its full header says to open the email in a browser and, next to Reply, click More, then "Show original." The full header opens in a new window, with a "Copy to clipboard" button.
- New Outlook and Outlook on the web. Microsoft's page on how to view internet message headers in Outlook says to select More actions at the top of the message window, then View, then "View message details."
- Classic Outlook for Windows. The same page says to double-click the message so it opens outside the Reading Pane, then click File and Properties. The header is in the "Internet headers" box.
Copying the header into a document is fine for reading. To keep the message itself, save it as a file. Google's page on downloading emails gives the steps, More and then "Download message," and calls the result "the EML file that downloads."
An example email header, marked up line by line
A full header is a stack of lines, each a field name, a colon and a value. The example below is invented for this post, with reserved example domains and addresses: no such message exists. Real headers are longer and vary by mail system, though the delivery lines that servers add are placed above the fields the message started with.
Return-Path: <accounts@northfield-supply.example>
Authentication-Results: mx.harbor-firm.example;
spf=pass smtp.mailfrom=northfield-supply.example;
dkim=pass header.d=northfield-supply.example;
dmarc=pass header.from=northfield-supply.example
Received: from out2.northfield-supply.example
(out2.northfield-supply.example [203.0.113.25])
by mx.harbor-firm.example with ESMTPS id k12;
Mon, 3 Mar 2025 09:42:17 -0800
Received: from [192.0.2.44] (unknown [192.0.2.44])
by out2.northfield-supply.example with ESMTPSA id 4Zq;
Mon, 3 Mar 2025 12:42:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; d=northfield-supply.example;
s=sel1; h=from:to:subject:date:message-id; bh=...; b=...
Date: Mon, 3 Mar 2025 12:41:58 -0500
From: Accounts <accounts@northfield-supply.example>
To: billing@harbor-firm.example
Subject: Revised invoice 2291
Message-ID: <7f3a9c.2291@northfield-supply.example>Read this invented example in three bands. Its bottom five lines stand for the fields the sender's mail program wrote. The DKIM-Signature and the lower Received line stand for what the sender's own mail server added. Everything above that stands for what the recipient's side added. A real header has to be read for who added what. The sections that follow take each band in turn.
Why are Received lines read from the bottom up?
Received lines are read from the bottom up because the mail standard tells every server to put its line at the top. The lowest Received line is the first hop, and the highest is the last server before the mailbox. Reading upward follows the message from sender to recipient.
RFC 5321, the Simple Mail Transfer Protocol standard, states the rule: "SMTP servers MUST prepend Received lines to messages; they MUST NOT change the order of existing lines or insert Received lines in any other location." It adds that a mail program "MUST NOT change or delete a Received: line that was previously added."
Each line has parts. The standard says the FROM clause should contain "the name of the source host as presented in the EHLO command" and "an address literal containing the IP address of the source, determined from the TCP connection." Those two phrases are worth separating. The name is what the sending machine called itself. The address in brackets is what the receiving server saw.
In the example, the lower line says a device at 192.0.2.44 handed the message to the supplier's server at 12:42:11, five hours behind UTC. The upper line says that server passed it to the recipient firm's server at 09:42:17, eight hours behind UTC. Converted to one zone, the two are six seconds apart.
01
Date field
The sender's mail program stamps 12:41:58 -0500
02
Lower Received
The supplier's server takes the message in at 12:42:11 -0500
03
Upper Received
The recipient firm's server takes it in at 09:42:17 -0800
04
Return-Path
Inserted by the delivering server at final delivery
Date versus Received: which time in an email header is which
The Date field is the time the author's mail program stamped when the message was finished. Each Received line carries the time a server took the message in. They come from different clocks, and the standard says the Date field is not meant to record transport at all.
RFC 5322, the Internet Message Format standard, says the origination date is "the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system," and that it is "specifically not intended to convey the time that the message is actually transported." Microsoft's help page puts it plainly: the Date line is "based upon the computer clock on the sender's computer."
In the invented example above, the three kinds of time line up like this.
| Field | Whose clock | What it records |
|---|---|---|
Date | The sender's device or mail program | When the author finished the message |
Lowest Received | The sender's mail server | When that server accepted it |
Highest Received | The recipient's mail server | When it arrived on the recipient's side |
Three habits follow. Convert every time to one zone before comparing; RFC 5321 says servers "SHOULD use explicit offsets in the dates (e.g., -0800)," so the arithmetic is usually possible. In the example the Date comes thirteen seconds before the first Received time. And treat a Date that falls after a Received time, or hours before it, as a question to ask and not as an answer. It may reflect no more than a wrong clock on the sender's device.
Gmail offers a shortcut for delay. Its header page says the "Show original" window displays the delivery time next to "Created at." Which date belongs in a chronology is a separate choice, covered under where each chronology date comes from.
Message-ID and Return-Path: two identifiers under the visible sender
The Message-ID names one message, and the Return-Path records the address the sending server gave for bounces. Neither is shown in an ordinary reading view. Both help answer whether two copies are the same email and whether the sending system matches the name on the From line.
RFC 5322 says a message identifier "pertains to exactly one version of a particular message; subsequent revisions to the message each receive new message identifiers," and that its uniqueness "is guaranteed by the host that generates it." The standard adds that trace fields prepended in transit do not change a message's identity, so "the original 'Message-ID:' field is retained." Copies of one email collected from the sender and from the recipient would therefore be expected to carry the same Message-ID. How replies point at their parents through the In-Reply-To field is covered under how an email thread forks into branches.
RFC 5322 calls it "a good method" to put the generating host's domain to the right of the @ sign. That is the generating system's own statement, not a verified fact.
The Return-Path is written at the end of the journey. RFC 5321 says that when the delivering server makes final delivery, "it inserts a return-path line at the beginning of the mail data," and that the line "preserves the information" from the MAIL command of the transfer itself. That address is often called the envelope sender. The same standard gives two reasons it may differ from the From line. It says the return path can be "a special error handling mailbox," and that for a mailing list the envelope return address "MUST be changed to be the address of a person or other entity who administers the list" while the From field is left alone. A mismatch may therefore have an ordinary explanation. It is something to ask about, and by itself it shows neither forgery nor its absence.
What SPF, DKIM and DMARC results prove, and what they do not
SPF, DKIM and DMARC are three checks a receiving server may run, and it can write the outcome into an Authentication-Results line. A pass is a statement about a domain: that it authorised the sending host, that its key validates a signature, or that such a domain matches the From line. No pass names the person who wrote the email.
| Check | What it tests, per its standard | What the standard does not claim |
|---|---|---|
| SPF, RFC 7208 | Whether a domain has authorised the hosts "allowed to use" its name. The identities checked are the "HELO" and "MAIL FROM" names given in the transfer | Anything about the From line a reader sees. That line is neither of the two identities |
| DKIM, RFC 6376 | Whether a signing domain's public key validates a signature over the message | Authorship. The standard says DKIM separates the signer's identity "from the purported author of the message" |
| DMARC, RFC 7489 | Whether the From domain is "in alignment" with a domain that passed SPF or DKIM | "Authentication of entities other than domains," which the standard puts out of scope |
Each standard states its own reach. RFC 6376 says DKIM lets a domain "claim some responsibility for a message," and, in its security section, that DKIM "is not intended to provide strong cryptographic proof about authorship or contents." RFC 7489 lists what DMARC leaves out of scope, including "display name" attacks and "authentication of entities other than domains," and says it does not address visually similar "cousin domains."
Two cautions apply to the result line itself. Google's page on checking whether a Gmail message is authenticated says unauthenticated messages "aren't necessarily spam," and, in its advice to senders, that "spammers can also authenticate mail." And RFC 8601, which defines the Authentication-Results field, has a section headed "Forged Header Fields." It describes how someone could forge the field to "claim that the message was properly authenticated," and it ties the field's reliability to a "trust boundary" around the system that wrote it.
Reading the headers of a forwarded or printed email
An email forwarded by a user is a new message with new headers, and a printout shows only the fields a mail program chose to display. Neither is the place to look for the original's Received lines or authentication results. Header reading needs the message as it sat in a mailbox that received or sent it.
RFC 5322 describes that kind of forwarding as "making the forwarded message the body of the new message," which "is an entirely new message from the forwarder." RFC 8601 takes up the case where the original travels as an attachment, a forwarded message inside another, and says of the authentication results found there: "The details reported by this field cannot be trusted in that case." So the header of a forward tells you about the forward.
Microsoft's page notes one more gap: blind-copy recipients "do not appear in the header." The rules of evidence that these fields feed into are set out under what email headers and metadata show, and what they leave open.
A header worksheet for one disputed email
For one disputed email, a header reading is a short written record: where the copy came from, what each band of the header says, and what remains open. The checklist below keeps the reading honest about its limits.
- The copy is a native file from a mailbox that received or sent the message, and its source is noted.
- Every Received line is listed bottom to top, with each time converted to one zone.
- The Date field is compared with the first Received time.
- The Message-ID is matched against any other copy of the same email.
- The Return-Path and From domains are compared, and any difference explained.
- The Authentication-Results line is recorded with the name of the server that wrote it.
- What the header cannot show is written down: who typed the message.
Lucerna Law reads .eml files, one message to a file. Its documentation says an email becomes a passage for its headers and one for each paragraph of its text, and every passage carries the sender, the recipients, the subject and the time from the Date header. Its email reader builds the headers passage from nine fields: From, To, Cc, Bcc, Reply-To, Date, Subject, Message-ID and In-Reply-To. The Received, Return-Path, Authentication-Results and DKIM-Signature lines are not among them, so an answer cannot quote them. For those, open the native file. The security section of the homepage says each upload is recorded with a fingerprint of the file.
Ask the file
Which emails in this matter came from the northfield-supply.example domain between March 1 and March 5, and what does each say about invoice 2291?
The server checks that each citation names a passage the model was given, not that the passage supports the sentence, which is why the two checks every citation needs stay with the reader. And when the email in question was sent from a personal account on a worker's own phone, getting the native file is the harder problem, taken up in the post on employee text messages.