Skip to content

Email Forensics: Protocols, Headers and Spoofed Messages

Email forensics: SMTP, headers, SPF, DKIM, DMARC, spoofing indicators and mailbox records, with trust-boundary and reporting checks.

By Reviewed by Sushil Kumar

Last updated:

Email forensics examines preserved messages, mailbox stores and transport or account records to investigate delivery, impersonation and related activity. Visible sender details are claims; the examiner must establish which infrastructure produced particular trace and authentication fields.

Read the delivery sequence with a defined trust boundary. Correlate original message bytes, trusted receiver records, authentication results and independent logs. Neither an authentication pass nor a failure alone establishes who operated an account or whether a message was malicious.

By the end of this topic you will be able to:

  • Identify email submission, transport and mailbox-access evidence.
  • Separate trusted trace fields from unverified earlier header claims.
  • Interpret SPF, DKIM and DMARC without equating them with personal identity.
  • Preserve and validate messages, containers and correlated provider records.
Key terms
MTA
A mail transfer agent accepts and relays messages; its trace lines and retained logs describe particular processing steps.
MUA
A mail user agent composes or displays messages. Its local records can differ from provider-held data.
Received header
A trace field normally prepended by an SMTP server. Its evidential reliability depends on the writer and established trust boundary.
SPF
A mechanism checking whether a connecting IP is authorised for an SMTP envelope or HELO identity under the domain’s policy.
DKIM
A domain signature mechanism verifying selected message data against a published key. A valid signature is not a declaration that a message is safe.
DMARC
Domain-based authentication policy using alignment between the visible From domain and a passing SPF or DKIM identity, under the applicable specification.

Protocols and Ports: SMTP, POP3, IMAP

SMTP handles message transfer, while submission and mailbox access serve different roles. Identify the actual protocol and negotiated protection from configuration or captured evidence, rather than infer plaintext or TLS solely from a port.

Scroll horizontally if needed to see the full table.

FunctionCommon PortInterpretation
SMTP relay25STARTTLS may upgrade the connection; assess actual negotiation
Message submission587Commonly uses STARTTLS under service policy
Implicit-TLS submission465TLS begins at connection establishment
POP3 access110 or 995110 can upgrade; 995 uses implicit TLS
IMAP access143 or 993143 can upgrade; 993 uses implicit TLS

POP3 can leave copies on the server depending on settings. IMAP synchronises selected mailbox state and can cache only part of it. A provider API or webmail interface can use a different access path; modern Outlook variants need not produce traditional local containers.

Submission, relay and mailbox access are separate roles. Ports suggest a service; they do not alone prove whether TLS was negotiated or where all copies remain.

TLS can conceal message contents from a passive network capture. Session endpoints, service logs and preserved messages can provide different evidence. An observed SMTP connection does not prove that a particular message was accepted or delivered.

Webmail can leave downloads, cached content, origin storage and account-related traces on an endpoint. Provider records may add information but are not the only evidentiary source.

Email Architecture: MUA, MTA, MDA and the MX Record

A user agent may submit through a mail submission service, after which one or more transfer agents route the message toward a delivery service and mailbox. APIs and internal provider systems can alter the visible path; not every processing component adds an SMTP trace line.

DNS MX records guide normal domain delivery, but current DNS is not proof of historical routing. Retain relevant contemporaneous resolution or provider records where available.

SMTP servers prepend Received fields, so lower trace entries usually describe earlier claimed hops. Establish the receiver-controlled boundary first, then assess earlier claims. A bottom-up chronological reading does not authenticate the bottommost entry.

SMTP receivers prepend trace fields, so earlier retained hops appear lower in the header stack. Confirm which servers supplied trusted lines before reconstructing the route.

Transport logs can include queue identifiers, recipient processing, acceptance or failure status and authentication context under the actual logging policy. Preserve their time basis, coverage and retention. An accepted message is not automatically a message read by the recipient.

Email Headers: Trace Fields, Chronology and Trust Boundaries

Preserve complete message bytes, including folded headers, MIME parts and attachments. A forwarded message or screenshot may omit or change important fields. Decode a copy and retain the original representation.

Scroll horizontally if needed to see the full table.

FieldQuestion It Helps AnswerLimit
ReceivedWhat did this identified server record about a hop?Earlier fields can be supplied by an untrusted sender
Authentication-ResultsWhat checks did this identified receiver report?A header with this name is not automatically trusted
From and Reply-ToWhich identities and reply destination are presented?Values can be chosen or manipulated
Return-PathWhich reverse path was recorded for delivery?Legitimate services may differ from visible From
Message-ID and DateHow can records be correlated?Identifiers and sender dates can be duplicated or forged
MIME fieldsHow is the message structured?Decoded display can conceal original differences

Identify trusted receiving infrastructure using provider configuration and logs. Inspect the trace fields that infrastructure added, then compare any preceding claims against independent information. Forged Authentication-Results or Received fields may already be present when a receiver accepts the message.

Use a chronological table of claimed hops, normalised timestamps, stated hosts and corroboration. Clock skew, relays, aliases and incomplete fields can explain apparent gaps; exact textual continuity is not a universal requirement.

Start trust assessment at the recipient-controlled infrastructure. A chronological bottom-up reading must not turn sender-supplied lower headers into authenticated origin evidence.

An absent or private X-Originating-IP is not proof of spoofing or a particular NAT route. Many providers omit client addressing or expose only internal infrastructure. A transport IP identifies an observed connection endpoint, not automatically the human sender.

Email Authentication: SPF, DKIM and DMARC

SPF evaluates an SMTP identity using the connecting IP and the applicable DNS policy. It does not authenticate the visible display name or every address in the message. Forwarding and policy errors can affect outcomes.

DKIM verifies a signature over selected headers and body representation under its canonicalisation and other parameters. It does not necessarily cover every displayed field or prove that the signer is the claimed human author. Missing keys, modification and configuration can affect verification.

RFC 9989 (May 2026) replaces RFC 7489 as the core DMARC specification. Implementations and historical records can follow different revisions; record the receiver context. DMARC evaluates alignment of the visible From domain with at least one passing SPF or DKIM identity. Both mechanisms need not pass. Published handling policy informs receiver decisions; it does not guarantee an identical disposition at every provider.

A message from an attacker-controlled lookalike domain can pass its own authentication checks. A legitimate forwarded message can fail some checks. Therefore authentication is one component of assessing impersonation, not a standalone maliciousness verdict.

DMARC can pass through aligned SPF or aligned DKIM. Authentication failures need context, and a pass does not prove the content is benign or the human sender is genuine.

Use trusted receiver-added results from the relevant delivery where available. Retesting against current DNS must be labelled with the test date and limitations; keys and policies may have changed since delivery. Do not upload confidential message content to a public checker without appropriate handling authority.

Spoofing and Phishing: Indicators, Alternatives and Corroboration

Analyse presented identity, actual address domains, reply destination, links, attachments and request context together. Distinguish display-name impersonation, lookalike-domain use, direct address spoofing and a compromised genuine account.

A Return-Path mismatch, tracking image, internationalised domain or missing authentication result can occur legitimately. Explain why a combination is relevant to this message rather than turn any one feature into automatic proof.

Compare displayed link text with the actual HTML destination on a safe analysis copy. Redirects and tracking services require contextual assessment. A destination in the message does not establish that anyone clicked it or submitted credentials.

Correlate any independently preserved click-side evidence using Web Browser Forensics. Keep a received lure, a navigation record and a completed account action distinct.

Legal definitions of fraud, impersonation and unauthorised access vary by jurisdiction. Describe the technical findings accurately and apply the relevant legal framework separately; a header anomaly does not establish every element of an offence.

Email Evidence Sources: PST, OST, MBOX, EML, MSG and Webmail

Mailbox containers and individual-message files represent different acquisition units. Establish the client, version, account type and export method before assuming a local file holds the entire mailbox.

Preserve the original container and extraction context. A mailbox file, a local sync cache and an exported message differ in completeness and metadata.

Scroll horizontally if needed to see the full table.

FormatTypical RolePreservation Concern
PSTOutlook data or exported archivesExport selection, attachments and metadata
OSTOffline cached data in supported Outlook configurationsPartial synchronisation and parser support
mboxConcatenated messages in a mailbox fileVariant, boundaries and original representation
EMLIndividual RFC-style messageComplete headers, MIME and export changes
MSGOutlook message formatCompound-file properties require a compatible parser
MaildirDirectory-based message storageFile state, folders and supporting metadata

Preserve a consistent source copy and hash the acquired material. Parse an analysis copy with a format-compatible tool. Conversion can alter metadata or representation, so retain both the source and derived output with the conversion method.

Provider data can be obtained through authorised account access, organisational export or an appropriate legal process, depending on the case. Scope, preservation, disclosure and cross-border requirements vary by jurisdiction. A request cannot guarantee that deleted data or historical logs still exist.

Match message identifiers, queue IDs, recipients, sizes and timestamps across sources where available. A Message-ID alone is not globally unique proof of identity or content; compare the preserved records and explain discrepancies.

Record raw header values, trusted boundaries, decoded fields, attachment hashes, query/export settings and missing periods. Separate message delivery, mailbox access, human authorship and the substantive allegation.

A reliable reconstruction combines message content with independently obtained delivery/account logs and relevant browser activity. Each source has its own provenance and limits.

Use a suitable validation method for important fields, including direct inspection of source records where practical. Two tools agreeing does not remove a shared parsing assumption. Certification and admissibility requirements belong to the applicable jurisdiction, not a universal email-processing checklist.

Check Your Understanding

Question 1 of 5· 0 answered
Where should header trust analysis begin?

Sources

  1. 1.Guide to Integrating Forensic Techniques into Incident Response (2006) · NIST SP 800-86
  2. 2.SMTP transport and trace fields · RFC 5321
  3. 3.Authentication-Results and trust boundaries · RFC 8601
  4. 4.DMARC core specification (May 2026) · RFC 9989
  5. 5.TLS for email submission and access · RFC 8314
  6. 6.Sender Policy Framework · RFC 7208
  7. 7.DomainKeys Identified Mail signatures · RFC 6376

Test yourself on Digital Forensics with free, timed mocks.

Practice Digital Forensics questions

Found this useful? Pass it along.