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.
| Finding | Result | Meaning |
|---|---|---|
| Message-ID | Identical in both mailboxes | It is the same message |
| Received lines | Consistent route from the supplier’s server to the customer’s, times in sequence | The message really was sent and received |
| Authentication-Results | On arrival DKIM had passed | At that moment the message was intact |
| Fresh DKIM verification | Failed: the hash of the text no longer matches | The text changed after arrival |
| Text comparison | The 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 logs | The message was re-uploaded to the mailbox three days after receipt | A 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.
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 overviewEmail 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.
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.
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.
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.
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.
Email headers: frequently asked questions
Short answers to the most common questions about email headers and their use as evidence.