← Reference library

Email and identity

Email authentication in plain English

What SPF, DKIM and DMARC actually check, and what a pass does not prove.

The problem

Email was designed to move messages, not to prove who sent them. The visible From address is easy to forge. Three standards now do most of the authentication work: SPF, DKIM and DMARC.

SPF: who may send for the domain

SPF is a DNS record that lists the servers authorised to send mail for a domain. The receiving server checks the sending IP against that list. A pass means the message came from a server the domain owner authorised. It does not mean the message is from the person named in the From line, because SPF checks the envelope sender, which can differ from the visible sender.

DKIM: a signature on the message

DKIM adds a cryptographic signature to the message. The receiving server looks up the public key in DNS and checks the signature. A pass means the signed parts of the message have not been altered and the signing domain authorised the signature. DKIM survives forwarding better than SPF, but it still only authenticates a domain, not a person.

DMARC: alignment and policy

DMARC tells the receiving server what to do when SPF or DKIM does not align with the visible From domain. It also gives the domain owner reports. Alignment is the key idea: a message can pass SPF for one domain while claiming to be from another. DMARC checks whether the authenticated domain matches the From domain.

ARC: forwarding

ARC (Authenticated Received Chain) preserves authentication results across forwarding. It is useful when a message passes through a mailing list or a forwarding service, but it is not a guarantee. Treat an ARC pass as a supporting signal, not a substitute for reading the message.

What a pass does not prove

  • It does not prove the sender is honest.
  • It does not prove the content is true.
  • It does not prove a link or attachment is safe.
  • It does not catch a compromised mailbox, because the attacker is using the real account.
  • It does not catch a lookalike domain that has its own valid SPF, DKIM and DMARC records.
A pass answers a narrow question: does the message align with the domain it claims to come from? The rest is verification.

Related