SPF Basics
SPF Include Mechanism
The SPF include mechanism authorizes another domain's SPF policy as part of your own, enabling third-party senders without listing every IP.
Quick answer
The SPF include mechanism lets your record reference another domain SPF policy, commonly used to authorize email providers. Receivers fetch the included domain TXT record and evaluate its mechanisms while counting DNS lookups. Multiple includes can coexist, but each adds lookup cost and dependency on the included domain remaining valid and up to date.
Beginner explanation
Includes are the reason a five-line SPF record can authorize mail from global cloud platforms. They are also the reason lookup limits and PermError appear when too many vendors stack up.
Learning include behavior is essential for anyone editing SPF, because it is the most commonly used mechanism after ip4.
Technical explanation
Includes can nest. Provider macros are designed for this pattern. The include mechanism does not pass by itself; it delegates evaluation. If the nested policy yields a match, the result is pass. If nested evaluation ends without match, evaluation continues to the next mechanism in the parent record.
Combine includes with a terminal all mechanism such as ~all or -all to express default policy for unmatched IPs. The qualifier on all should reflect your enforcement posture coordinated with DMARC.
Business impact
Because includes delegate trust, a compromised or misconfigured vendor SPF policy becomes your deliverability problem even when your own DNS text never changed.
Common mistakes
- Adding duplicate includes for the same vendor after documentation changes
- Placing all before includes, which can short-circuit evaluation unexpectedly depending on match state
How SPF Manager helps
Search and education features explain what each include authorizes in plain language for stakeholders who do not read RFCs.
Recommended next step
See how this applies to your domain before you change DNS.
Analyze my domainRelated articles
SPF Basics
What is an SPF Record?
An SPF record is a DNS TXT entry that lists which mail servers are allowed to send email on behalf of your domain.
DNS
Nested SPF Includes
Nested includes occur when an SPF include points to another policy that contains additional includes, multiplying DNS lookup cost.
Providers
SPF Email Providers
Email providers publish SPF include hostnames or IP ranges that you must add to your domain policy to authorize their outbound mail.
Microsoft 365
Microsoft 365 SPF Setup
Microsoft 365 requires include:spf.protection.outlook.com in your SPF record to authorize Exchange Online outbound mail.