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.
- Trusting From
- The visible sender can be written at will: the other headers are what count.
- Reading from the top
- Received lines are read from the bottom, oldest to newest.
- Believing every line
- Only those added by the recipient’s servers are certain; the others must be verified.
- Ignoring time zones
- +0100 and +0200 can change the apparent order of events.
- Working on printouts or forwards
- A printout loses the headers, a forward replaces them with new ones.
- Verifying DKIM late
- If the key has been withdrawn from DNS, verification can no longer be repeated.
- Mistaking SPF for authenticity
- SPF concerns the address used in delivery, not the visible sender.
- Reading a failed DKIM as forgery
- Forwarding, mailing lists and antivirus filters can modify a message in good faith.
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.
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: 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.
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.
Email headers: frequently asked questions
Short answers to the most common questions about email headers and their use as evidence.