Skip to content
Skip to main content
Email Evidence Foundation explainer
Pathway: I have been given a suspicious email

What do SPF, DKIM and DMARC actually prove?

SPF, DKIM and DMARC test parts of the domain and delivery arrangement used by an email. They can support that a message followed an authorised route, carried a valid domain signature or aligned with the visible From domain. They do not identify the person who wrote the message, prove that the content is true or guarantee that the email is safe.

The short version
Authentication can validate the route and domain arrangement without validating the person or purpose behind the message. Always record which domain and system each result relates to.

Start with the result in the suspicious message

In the supplier-payment investigation, the recipient's provider records three successful checks:

Visible From domainridgeway-componants.example
SPFpass
DKIMpass
DMARCpass
Selected Authentication-Results
Authentication-Results: recipient.example;  spf=pass smtp.mailfrom=ridgeway-componants.example;  dkim=pass header.d=ridgeway-componants.example;  dmarc=pass header.from=ridgeway-componants.example

The results support that the email used an authorised and aligned route for ridgeway-componants.example. That is useful. It shows the message is not merely a crude direct forgery of that lookalike domain.

It does not make the lookalike domain genuine. Ridgeway Components actually uses ridgeway-components.example. The fraudster's domain can pass every authentication test while still being one letter wrong in exactly the right place.

The results support

The recipient's provider recorded successful technical checks for the lookalike domain and its sending arrangement. The exact domains and provider-added result create lines of enquiry into the infrastructure and service account used.

They do not establish

The results do not prove that Ridgeway sent the email, that Martin Cole wrote it, that the content is honest or that the person controlling the relevant service account has been identified.

Ask the right authentication questionWhat did each test check, for which domain, and which trusted receiving system recorded the result?

The three checks perform different jobs

Sending routeSPFChecks whether the connecting server was authorised for the envelope-sender domain.
Domain signatureDKIMChecks a cryptographic signature and whether signed material still matches.
Visible-domain alignmentDMARCChecks whether a successful SPF or DKIM result aligns with the domain in From.

They contribute different information. “Authentication passed” is therefore too vague for an investigation. Record the method, result, assessed domain and trusted system that added it.

SPF checks an authorised route

SPF normally tests whether the IP address that handed the message to the receiving system was authorised by the policy for the SMTP envelope-sender domain - often reflected in the Return-Path.

SPF can supportserver authorised for envelope domain

The connecting server appears in, or is permitted by, the domain's SPF policy.

SPF cannot provevisible author or human sender

The From address, message content, account user and person responsible are separate questions.

An attacker using a domain they control can authorise their own server and achieve a perfect SPF pass. A legitimate message may also fail after some forms of forwarding because the forwarding server is not listed in the original domain's policy.

DKIM checks a domain signature

DKIM adds a cryptographic signature using a private key associated with a signing domain. The receiver retrieves the corresponding public key from DNS and checks the signed material.

A valid signature can support that the signing domain's key created the signature and that the covered parts of the message have not changed in a way that breaks it. The signing domain may be the visible From domain or a third-party platform. Not every header field has to be covered.

A compromised genuine account can send a harmful message through the normal provider and receive a valid DKIM signature. DKIM has then worked correctly; it has not identified the person who used the account.

DMARC checks alignment with the visible From domain

DMARC passes when at least one successful SPF or DKIM result aligns with the domain presented in the From field under the applicable DMARC rules. This makes simple direct spoofing of a protected domain harder.

A DMARC pass may support

The message used an authenticated route aligned with the domain shown in From. This can distinguish an authorised domain arrangement from simple unauthorised use of that domain.

A DMARC pass does not prove

The domain belongs to the organisation the recipient had in mind, the correct person used the account, or the message is benign. Lookalike domains and compromised accounts can pass.

DMARC therefore tests consistency between technical identities. It does not compare componants with the supplier name in somebody's invoice system and decide that the spelling looks a bit cheeky.

A failure also needs context

SPF, DKIM or DMARC failure may support spoofing, unauthorised sending or message alteration. It may also arise through forwarding, mailing-list changes, third-party platforms or poor configuration.

Forwarding

The forwarding server may not be authorised by the original envelope domain, causing SPF to fail even though the forwarding itself is legitimate.

Message modification

A gateway or mailing list may alter signed content or headers and cause DKIM validation to fail.

Configuration

A legitimate organisation may have incomplete or incorrect DNS and platform settings.

Unauthorised sending

The sender may genuinely be using an unapproved route or directly spoofing a protected visible domain.

The result should therefore generate questions, not an automatic verdict.

Use results added by infrastructure you trust

A sender can insert convincing-looking text called Authentication-Results before the message enters the recipient's environment. The useful field is normally the one added by the recipient's provider or another system whose position and behaviour can be established.

Work from the trusted Received chain and identify which system performed the checks. Provider-side message trace may also preserve the result and connect it to a delivery event.

Read authentication in a repeatable sequence

  1. Preserve the complete header

    Retain the native message because copied extracts may omit the domains, methods and trusted system needed to interpret the result.

  2. Identify the trusted result

    Locate the Authentication-Results field added by the recipient's provider because sender-supplied result text can be fabricated.

  3. Read SPF precisely

    Record the tested IP address and envelope-sender domain because SPF does not normally authenticate the visible author address directly.

  4. Read DKIM precisely

    Record the signing domain and validation result because the signature may belong to a third-party platform and cover selected fields only.

  5. Read DMARC alignment

    Identify which successful method aligned with the From domain because a pass describes domain consistency, not human authorship.

  6. Move to attribution

    Use provider, account, session, device and contextual records because authentication cannot identify who caused the message to be sent.

Use a conclusion that says what actually passed

Avoid:

SPF, DKIM and DMARC passed, so Martin Cole sent the email.

A supported conclusion is closer to:

The recipient's provider recorded successful SPF, DKIM and DMARC checks aligned with ridgeway-componants.example, the lookalike domain used in the message.

That conclusion is useful because it identifies the authenticated domain arrangement without turning it into a person.

The point to remember

Operational takeaway
SPF checks a sending route, DKIM checks a domain signature and DMARC checks alignment with the visible From domain. Use the results to understand the domain arrangement, then follow provider and account records to investigate who controlled it.
Continue from here

See it used in an investigation

Go deeper

Reference: EML-025Email Evidence