[ SPF ]

SPF delegation: ownership, availability and exit requirements

Delegating SPF creates a dependency on another policy operator. Define the exact scope, failure behaviour, monitoring and replacement plan before relying on it.

By the EmailAuth research team · 3 min read

[ Key points ]

  • Include and redirect have different match and error behavior.
  • A policy dependency is not a grant of DNS account access.
  • Test missing targets and a supported replacement before exit.
On this page

SPF delegation lets one policy depend on information controlled elsewhere. That can reduce duplicated administration, but it also moves part of the authorisation decision outside the local record. The practical question is not whether delegation is good or bad. It is whether its scope and operating responsibilities are understood.

Identify the actual delegation mechanism

Read the published record and draw the evaluation path. An include and a redirect are not interchangeable. An include matches when its target evaluation passes, with the include qualifier determining the outer result; a target fail does not simply become the parent policy's final fail. A redirect is considered when the local mechanisms do not match, and an all mechanism prevents it from being used. These semantics are defined in RFC 7208 §5.2 and RFC 7208 §6.1.

Also distinguish a policy dependency from DNS zone delegation or a publishing integration. A referenced policy can influence authorisation without having permission to edit your zone. A DNS integration may grant broader change powers. Document both layers if both exist.

State what the other operator may authorise

Record the business service, envelope domains and permitted scope. Keep the supplier's current instructions and a named business owner. Determine whether the target is tenant-specific or shared across customers, without assuming that a shared policy automatically provides tenant-level identity protection.

Use an illustrative review: a company delegates a billing envelope subdomain to a managed policy. Assume the target is reached through a positive include or redirect. The operator later adds another provider to that target. The company's local record may remain unchanged while its effective authorisation changes. Whether that is acceptable depends on the agreed scope and controls. A local DNS change log alone would not provide the complete history.

Keep related identity questions separate. DMARC alignment does not turn every authorised network into a trustworthy sender of every message, and it does not certify message content.

Plan for missing or failing dependencies

A broken target is not necessarily a harmless nonmatch. SPF distinguishes temporary DNS failures, permanent policy errors and normal authentication results. Test the behaviours relevant to the mechanism in use rather than promising that evaluation will “fall through” during an outage.

Preserve a dependency inventory and monitoring that can detect target changes, missing policies and evaluation errors. Alert the team capable of acting, not only the person who originally bought the service. Define when an incident calls for supplier escalation, local replacement or temporary routing changes. Any production intervention still needs the normal approval and evidence process.

Prepare a replacement while access works

Keep an independent list of legitimate senders and their supported provider instructions. Draft an exit record from that inventory, not by copying an unexplained address list from the current target. A redirect replacement may require restoring the full intended policy, including the nonmatching result.

Test the proposed replacement for relevant senders, unrelated addresses, IPv4 and IPv6 where used, and lookup-limit behaviour. Identify who can publish it and what evidence they need to approve the change. Preserve the current policy and plan for mixed cached views during the transition.

Verify closure after leaving

After the approved switch, inspect authoritative and recursive answers and send representative messages. Confirm that the old dependency is no longer referenced by the affected policies, while checking other domains before cancelling shared service access. Remove unnecessary integration access through the authorised account process.

Keep the final configuration, received-message evidence and ownership handover together. A successful exit means your remaining policy is understandable and maintained, not merely that the old supplier's name disappeared. For broader comparison, use SPF operating models.

Put the decision in writing

Use two hypothetical failure cases. A reached include whose target returns none produces permerror, not a harmless nonmatch; a reached redirect whose target has no SPF record also produces permerror under RFC 7208 §5.2 and RFC 7208 §6.1. By contrast, an include target returning fail is a nonmatch, and evaluation can continue in the parent. Test these cases in a controlled fixture before relying on an outage fallback. No such test was executed here.

[ Takeaway ]

Include and redirect have different match and error behavior. A policy dependency is not a grant of DNS account access. Test missing targets and a supported replacement before exit.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Test failure as well as success.

Include, redirect and publishing integrations create different operational dependencies.

Next steps

  1. Draw the evaluation path.
  2. Exercise target error cases in a controlled evaluator.
  3. Verify an exit record before cancellation.

CISO / SecOps

Audit effective authority.

Effective authorisation can change without a local DNS edit.

Next steps

  1. Review target changes.
  2. Separate policy trust from DNS privileges.
  3. Confirm unnecessary access is removed after exit.

Founder / Non-technical

Own the supplier relationship.

Delegation should come with a clear service boundary and a usable way to leave.

Next steps

  1. Identify the business owner.
  2. Agree incident escalation.
  3. Maintain access to replacement instructions.

[ FAQs ]

Frequently asked questions

Is include the same as redirect?

No. They have different evaluation and fallback semantics. Inspect which mechanism the record actually uses before designing tests or an exit.

RFC 7208 §5.2 RFC 7208 §6.1

Can I add redirect after -all?

An all mechanism prevents redirect from being used, regardless of where the modifier appears. Do not treat that combination as a backup policy.

RFC 7208 §5.1 RFC 7208 §6.1

Does referencing a policy grant DNS editing access?

Not by itself. A policy dependency and an account integration are different grants of control.

Can a target outage be ignored?

No. A dependency failure can produce an SPF error. Test the actual mechanism and failure condition.

RFC 7208 §5.2 RFC 7208 §6.1

Why monitor a target if my record never changes?

The target operator can change effective authorisation without a local record edit.

RFC 7208 §5.2 RFC 7208 §6.1

Can I copy target IPs when cancelling?

Only after confirming they accurately represent the intended, current authorisations. A blind copy can lose conditions or create a stale list.

Should the exit policy end the same way?

Preserve the intended nonmatching result and overall semantics, not just the known sending addresses.

When can I remove the old service?

After checking all dependent domains, verifying the replacement and confirming that required records and access will remain available through the transition.

[ Sources ]

Sources

  1. RFC 7208

    Sections §2.4 · §2.6 · §4.6.2 · §4.6.4 · §5.1 · §5.2 · §6.1

  2. RFC 9989

    Sections §2.4 · §4.4

  3. RFC 1034

    Sections §4.2

[ Glossary ]

Glossary

SPF
Authorization evaluation for a connecting IP and the relevant SMTP identity.

RFC 7208 §2.4

SPF include
Recursive evaluation whose pass makes the include match; the include qualifier determines the outer result.

RFC 7208 §5.2

SPF redirect
A modifier that delegates evaluation when local mechanisms do not match; an all mechanism prevents its use.

RFC 7208 §5.1 RFC 7208 §6.1

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base