Lesson 8 of 8 · About 4 minutes

Follow an email through its trust checks

Learn the concept.

An inbox can show a familiar sender name even when the message came from somewhere else. Email authentication checks domains and signatures behind the scenes. Seeing what each check actually measures helps you avoid treating a passing result as a safety certificate.

SPF checks the sending route

Sender Policy Framework (SPF) asks whether the sending server is allowed to use the envelope-sender domain. The envelope sender is the return address used by mail systems, often shown as Return-Path. It can differ from the From address you see in your inbox.

DKIM checks a domain signature

DomainKeys Identified Mail (DKIM) verifies a signature using a public key published by the signing domain. The signature covers selected message headers and body content. A valid result ties the signed content to that domain; it does not establish that the request is honest.

DMARC connects a passing check to From

Domain-based Message Authentication, Reporting, and Conformance (DMARC) passes when either SPF or DKIM passes and its domain aligns with the visible From domain. Alignment means a permitted domain match, not a similar-looking name. Domain owners also publish a policy for failures. Receivers still make delivery decisions.

Field example08 / A

Put it in context

Harbor Books uses harbor.example. A message from harbor-help.example passes authentication for harbor-help.example. Those results do not turn it into Harbor Books. A different case has a valid DKIM signature for harbor.example but a failed SPF check after forwarding; aligned DKIM can still let DMARC pass. Our practice uses exact domain matches so you can see the relationship clearly.

SEE THE IDEA

Three checks. Three different questions.

A simplified receiving mail server checks an incoming message.

  1. SPF: sending route

    Is this server authorized for the envelope-sender domain?

  2. DKIM: signed content

    Does the signature verify under the signing domain’s public key?

  3. DMARC: domain relationship

    Does at least one passing method align with the visible From domain?

Read the domain and the request. A passing mail check is useful evidence, not a verdict that a message is safe.
Read the visualSPF fails, but DKIM passes with a signing domain aligned to the visible From domain. What is the DMARC result?

DMARC needs a passing, aligned SPF result or a passing, aligned DKIM result. This result concerns domain authentication; it does not approve the message content.

Put it to the test.

Explore the practice space, then answer the check-in below. A correct answer lets you save this lesson to your progress.

INTERACTIVE VISUAL · FICTIONAL PRACTICE

Trace the sender behind the message.

Inspect three messages. Compare the visible sender with the domains used by the mail checks, including a lookalike that passes.

Enable JavaScript to use the diagram controls. No real accounts or files are accessed. The illustrated explanation and recap remain available without JavaScript.

Take this with you.

Read the domain and the request. A passing mail check is useful evidence, not a verdict that a message is safe.

YOUR LEARNING SPACE