Why Raw SMTP Trust Is Broken
The original Simple Mail Transfer Protocol (SMTP) was designed in an era when every mail server on the internet was operated by a trusted university or research lab. By default, SMTP allows any server to claim any From: header address. Modern email authentication relies on three complementary DNS standards—SPF, DKIM, and DMARC—to restore cryptographic accountability.
1. Sender Policy Framework (SPF)
SPF publishes a DNS TXT record on your domain specifying which IPv4/IPv6 ranges or third-party mail relays are permitted to send mail using your domain in the SMTP MAIL FROM envelope.
- Keep DNS lookups under the strict 10-lookup limit to avoid
PermErrorfailures. - End your policy with
-all(hard fail) or~all(soft fail) rather than+all.
2. DomainKeys Identified Mail (DKIM)
DKIM attaches a cryptographic RSA or Ed25519 signature to selected email headers and the message body hash. Receiving mail exchangers fetch your public key from selector._domainkey.yourdomain.com and verify that the message was not altered in transit.
3. DMARC Alignment and Reporting
DMARC ties SPF and DKIM together by requiring domain alignment with the human-visible From: header. Start with p=none and an rua= aggregate reporting address to audit legitimate senders before moving to p=quarantine or p=reject.
You can inspect any domain's live MX, SPF, and DMARC configuration using our built-in Email & MX Reputation Checker.