Definition
What it is
SPF (Sender Policy Framework) is an email authentication standard defined in RFC 7208. It lets a domain holder publish in DNS a list of servers and IPs authorized to send email on its behalf [1]. The receiver queries that list and compares the sending server’s IP. If the IP is not authorized, the message may be marked as spam or rejected.
Why it matters
SPF protects the envelope sender (MAIL FROM), not the visible From header. That distinction explains why SPF alone does not stop all spoofing attacks [2]. Still, it is the foundation on which DKIM and DMARC are built: without SPF, DMARC alignment has nothing to evaluate.
How it works in practice
The typical record starts with v=spf1 and chains mechanisms such as ip4, ip6, a, mx, include, and exists, closing with all, ~all, or -all. Evaluation is capped at 10 DNS lookups and 2 void lookups; exceeding either limit produces a PermError that invalidates authentication [2]. Domains with many senders often need flattening to stay within the limit.
Connections
- dkim — cryptographic signature that complements the IP check
- dmarc — policy that aligns SPF with the visible domain and decides what to do
- txt-record — the DNS record type where SPF is published
- mx-record — the record that routes email and conditions
mxmechanisms - email-spoofing — the attack SPF helps mitigate
Common mistakes
- Chaining too many
includemechanisms. Each include consumes a DNS lookup; exceeding 10 produces PermError and invalidates all messages from the domain. - Using
+all. It authorizes any server to send on the domain’s behalf, nullifying protection. - Relying on SPF alone. SPF does not protect the From header and does not survive forwarding; DKIM and DMARC are needed.
- Ignoring forwarding. A mailing list or forwarder changes the originating IP, so SPF fails even for legitimate messages.
Evidence
Etymology
Origin: acronym
Sender Policy Framework — sender policy framework
Sender(root): senderPolicy(root): policyFramework(root): framework
Morphology
Variants
Typographical errors
SFPspf
Semantic network
● broader ● narrower ● related
Broader
email-authentication
Narrower
spf-record
Related
Antonyms
unauthenticated-email
Used in the garden
- Unlock Your Inner Radiance: Hidden Secrets for Dazzling Beauty (1×)
- Unlock Your Radiant Beauty: Secrets Nobody Told You (1×)
- Code Your Way to Authority: Python & SMTP for Unstoppable Link Building (1×)
- The Best-Kept Secret of Female Beauty? What No One Tells You to Look Radiant (1×)
Sources
Kitterman, S. (2014). Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1. RFC 7208. https://www.rfc-editor.org/rfc/rfc7208.html
Slavin, B. (2026). SPF vs DKIM vs DMARC: What's the Difference and How Do They Work Together?. DMARC Report. https://dmarcreport.com/blog/spf-vs-dkim-vs-dmarc-difference-explained-2026/
Lebda, A. (2026). The Inbox Infrastructure Report 2026. BounceZero Research. https://bouncezero.io/inbox-infrastructure-report-2026
PowerDMARC (2026). United States DMARC & MTA-STS Adoption Report 2026. https://powerdmarc.com/united-states-dmarc-adoption-rates/