No records
fakeinbox
It passes SPF for its own domain, while Larkspur’s real confirmation goes to junk.
Module 41 · How email arrives
Larkspur’s real confirmations land in junk while a fake invoice walks into the inbox. Here you sort mail in a customer’s post room: peel the postmarks, then check who may send, the seal, and what to do when a check fails.
The whole idea in one example
inbox
It passes SPF for its own domain, while Larkspur’s real confirmation goes to junk.
bounced
No pass is for Larkspur’s domain, so Larkspur’s policy sends it back.
Made-up mail and DNS on .example names, judged by real SPF, DKIM and DMARC checks. The DKIM key is a demo key, public on purpose.
How it works
Each server stamps the message on top; read them bottom-up for its road
RFC 5321 says each mail server that takes a message must add a Received line at its top, and the server that makes final delivery adds a Return-Path line holding the envelope sender.
Source, checked 28 October 2026
SPF lists the servers that may send with your envelope
RFC 7208 has SPF check the envelope sender’s domain (the MAIL FROM address) against the IP address of the server handing the message over, and caps one check at 10 DNS lookups.
Source, checked 30 October 2026
DKIM signs the words; one changed digit breaks it
RFC 6376 has the signer name its domain (d=) and a selector, a name for the key, and publish the public key in DNS at <selector>._domainkey.<domain>.
Source, checked 30 October 2026
DMARC wants a pass for the From line’s own domain, then applies your policy
RFC 7489 counts an SPF or DKIM pass for DMARC only when its domain aligns with the From domain, relaxed by default, and offers three policies: none, quarantine and reject.
Source, checked 28 October 2026
The story
Larkspur Supply Co.’s order confirmations land in junk while a fake Larkspur invoice reaches a customer’s inbox; the team learns that anyone can write any From line, and SPF, DKIM and DMARC are how the receiver checks it. You run the checks at the customer’s end.
Your path






Chapter 6 · done
How does a receiver know which pass speaks for the From line?

Anyone whose company sends mail customers must trust, or who has been asked “why is our mail in spam?”. Opening a web page teaches the DNS these checks read, and Locks and keys the signature behind DKIM.