Email headers · 06 Case study

Email headers: a case

A guided case: in a commercial dispute an email confirming a discount is disowned; Message-ID, Received lines, results of checks on arrival and a fresh DKIM verification show the message was sent, but its text changed after receipt.

Case built for teaching purposes.

A customer company asks the court to apply a 15% discount and produces a printout of an email from the supplier confirming it. The supplier disowns it: it admits writing that day, but not that sentence. The court appoints an expert, who acquires the message from the customer’s mailbox and the copy in the supplier’s sent folder.

FindingResultMeaning
Message-IDIdentical in both mailboxesIt is the same message
Received linesConsistent route from the supplier’s server to the customer’s, times in sequenceThe message really was sent and received
Authentication-ResultsOn arrival DKIM had passedAt that moment the message was intact
Fresh DKIM verificationFailed: the hash of the text no longer matchesThe text changed after arrival
Text comparisonThe supplier wrote “we can consider a discount”, the customer’s copy says “we confirm the 15% discount”The difference concerns precisely the disputed sentence
Customer’s mail provider logsThe message was re-uploaded to the mailbox three days after receiptA time compatible with the change

The expert concludes that the message was sent by the supplier and received by the customer, but that the text produced does not match the one received. The report does not say who changed it: that assessment is for the court, with its civil and possibly criminal consequences.

Continue with
07 Checklist

Email headers: checklist

The checklist for the forensic analysis of email headers: acquiring the original file, reconstructing the route, DKIM verification with key preservation, checks on identifiers and addresses, conclusions and attachments.

The pages of this topic

Back to the overview
01 How it works

Email headers: how they work

How email headers work: fields written by the sender’s program and fields added by servers, Received lines read from the bottom up, envelope and visible headers, SPF, DKIM, DMARC and ARC, Italian certified email headers, what can be forged.

02 Step-by-step procedure

Email headers: analysis procedure

The procedure for analysing email headers: acquiring the original message, computing the hash, extracting the headers, reconstructing the route, converting times, verifying DKIM and preserving the key, checking identifiers and addresses, comparing with other copies, writing the report.

03 Tools

Email headers: tools

The tools for reading and verifying email headers: mail program features, header analysers, command-line DKIM verification, DNS queries, IP address registries, caution with online services.

04 Pitfalls to avoid

Email headers: mistakes to avoid

The most common mistakes in header analysis: trusting From, reading Received lines from the top, believing every line, ignoring time zones, working on printouts or forwards, verifying DKIM too late, mistaking SPF for authenticity, treating a failed DKIM as proof of forgery.

05 Value in court

Email headers: value in court

The value of email headers in proceedings: original file and printouts, disowning, proof of integrity through DKIM, results of checks on arrival, certified email receipts, limits in attributing a message to a person, provider data.

08 FAQ

Email headers: frequently asked questions

Short answers to the most common questions about email headers and their use as evidence.

↑