Reading email headers
An email header is the block of technical lines above the message text. It shows the sender, date and the servers that handled the message, and it...
Email is stored in different file types. PST and OST are Outlook files, MBOX holds many messages in one text file, and EML holds one message per file. Each needs the right tool to open it.
A PST is an Outlook Personal Folders file. It is a message store with folders, messages and attachments, and Microsoft publishes its structure (MS-PST). An OST is an offline copy of a mailbox kept by Outlook for a server account.
Both are binary files and cannot be read as plain text. Deleted items can sometimes still be found inside them.
An MBOX file stores many messages back to back in one file. A line beginning with From and a space marks the start of each message (RFC 4155). The format has several variants, so tools may handle details differently.
Many mail programs on Linux and other systems use this format or a close variant.
An EML file holds one message in the standard text format with its header. MSG is a Microsoft format used for single Outlook items. Attachments are stored inside the message.
Keep the original file, hash it and work on a copy. Open it with a tool that reads the format, then export the items you need with their headers. Note which mailbox and account the file came from. Procedures and laws differ by country and agency, so follow your lab's own procedure.
| Type | Holds | Notes |
|---|---|---|
| PST | Many items in folders | Outlook, binary |
| OST | Offline mailbox copy | Outlook, binary |
| MBOX | Many messages in one file | Text based, variants exist |
| EML | One message | Text with header |
MBOX holds many messages in one file. EML holds a single message.
An offline copy of a mailbox that Outlook keeps for a server based account.
Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.