Prioritise include-based authorisation when a third party owns and updates the sending infrastructure. That approach lets the provider maintain its own IP ranges while your SPF record stays simpler to operate. Use direct IPs only for stable, internally managed mail servers. The decision should balance change frequency, lookup consumption, and the long-term maintenance burden of each sending source.
Include-based SPF authorisation becomes the better choice when the sender is a third party that owns, scales and changes the mail infrastructure. It lets that provider keep its own IP ranges while you maintain a shorter, easier SPF policy. Direct IP authorisation is usually better only when the mail source is stable, fully controlled internally and unlikely to change often.
When include-based SPF is the cleaner operating model
SPF answers a narrow question: which hosts are allowed to send mail for your domain. An include statement delegates that decision to another domain’s SPF record, which is useful when you depend on a vendor, SaaS platform or outsourced mail service that routinely changes infrastructure. The main benefit is operational. You update one policy reference instead of chasing address changes across your own DNS.
This approach is strongest when the sending service is already the source of truth for its outbound mail fleet. If the provider expands, deprecates or rebalances IPs, their SPF record can absorb those changes without forcing repeated edits to yours. That reduces maintenance drift and lowers the chance of stale records lingering long after the sender has changed.
An include-based model also fits better when multiple approved senders are involved. Rather than hard-coding every IP, you can express trust at the provider boundary and keep your record readable. That matters because SPF has lookup limits, and overly complex records can become harder to maintain and easier to break during routine change.
When direct IPs are still the right fit
Direct IP authorisation is the better fit for a small set of well-known mail servers that you operate yourself. If the infrastructure is stable, the change rate is low and the IPs are unlikely to move, listing them directly can be simpler than delegating to another SPF record. It also gives you explicit visibility into the exact sending hosts you are trusting.
The trade-off is that direct IPs become brittle when the sender is not under your control. If the provider shifts address space or introduces new outbound nodes, your SPF record can fall out of date and legitimate mail may start failing authentication. For that reason, direct IPs are usually a maintenance-friendly choice only for internally managed systems with predictable network footprints.
The operational question is not which method is more “secure” in the abstract, but which one best matches the change pattern of the sender. If the sender changes often, delegation via include is usually less error-prone. If the sender is fixed and fully owned by your team, direct IPs can remain perfectly appropriate.
How to choose without creating SPF drift
The decision should follow the ownership model of the sending infrastructure. If the sender owns its own outbound IP ranges, prefer include-based authorisation so the record stays aligned with the provider’s live configuration. If your team owns the servers and IPs, use direct entries so the policy reflects a controlled, stable asset inventory.
Also watch the cumulative cost of each choice. Includes consume DNS lookups, and nested delegation can make SPF records harder to reason about as the number of vendors grows. Direct IPs consume less lookup budget, but they shift the burden to your change process. The best record is the one your team can keep accurate over time, not the one that looks shortest on day one.
Where possible, keep the sending architecture simple enough that ownership and update responsibility are obvious. That reduces the risk of duplicate policy paths, forgotten senders and emergency DNS edits during a mail failure.
Risk and Threat Considerations
SPF errors usually show up as delivery failures or unexpected authentication gaps, but they can also create a trust problem if third-party senders are not reviewed carefully. A badly managed include chain can hide an expanding set of permitted senders, while stale direct IPs can leave legitimate mail unauthorised after an infrastructure change.
Failure mechanism: The policy breaks when the SPF record no longer matches the real sending path, either because a provider changed IPs behind an include or because a hard-coded address no longer represents the active mail host.
Impact: Legitimate mail can fail SPF checks, inconsistent sender behaviour can complicate DMARC enforcement, and teams may overcorrect by broadening authorisation instead of fixing the underlying ownership model.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
CIS Controls v8 and NIST SP 800-53 Rev 5 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS-5 — Account Management | SPF sender authorization depends on controlled account and service ownership. |
| Recommendation — Track and review every mail-sending service to keep SPF authorization aligned with ownership. | ||
| ISO/IEC 27001:2022 | A.5.15 — Access Control | SPF defines which systems are authorised to send as a domain. |
| Recommendation — Define and maintain sender authorization rules for each mail source. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Identification and Authentication (Service, Workload, and Device Authentications) | SPF is part of authenticating sending services to receiving systems. |
| Recommendation — Authenticate mail services consistently and keep their allowed endpoints current. | ||
Practitioner Guidance
What to verify: Confirm who owns the sending infrastructure, who controls IP changes, and whether that team can update SPF promptly when the outbound fleet changes. If the answer is “the vendor,” include-based authorisation is usually the safer operating choice.
Decision rule: Use direct IPs only when the sender is stable enough that address changes are rare and fully governed by your team. If the sender is external or elastic, prefer delegation and keep a close eye on lookup depth and record readability.
Practitioner takeaway: Choose the SPF model that matches operational reality, not organisational preference. Stable internal mail favors direct IPs; provider-managed mail favors include-based delegation because it tracks change more reliably.
Related resources from NHI Mgmt Group
- How should security teams prioritise NHI remediation in cloud environments?
- When should teams prioritise orchestration over adding more auth features?
- When should teams prioritise API platform migration over adding new features?
- Should API security teams prioritise business logic abuse over signature-based scanning?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 20, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org