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.
| Tool | What it is for | Notes |
|---|---|---|
| Gmail, “Show original” | Shows the full message and SPF, DKIM and DMARC results | Lets you download the original file |
| Outlook, message properties | Shows the Internet headers | In the web version, from the message details |
| Thunderbird, message source | Shows the full text with Ctrl+U | Also saves the EML file |
| Header analysers | Order the Received lines and compute delays between servers | Google and Microsoft offer them too |
| dkimpy and similar tools | Repeat DKIM verification from the command line | Documentable, repeatable result |
| dig or nslookup | Retrieve DKIM keys and SPF and DMARC records | Record date and time |
| WHOIS and address registries | Show who an IP address is assigned to | See IP addresses |
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.
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: 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: 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.