[ Enterprise operations ]

Exit hosted SPF or delegated DKIM without losing control

Replace hosted authentication dependencies in an order that preserves valid sending and delayed-message verification.

By the EmailAuth research team · 3 min read

[ Key points ]

  • Replace hosted authentication dependencies in an order that preserves valid sending and delayed-message verification.
  • Moving public DNS records does not transfer private signing ability; test replacement and recovery before canceling the old dependency.
On this page

Leaving a supplier that hosts SPF logic or DKIM DNS records changes a live trust dependency. It is not just a subscription cancellation. Inventory the exact DNS names and signing routes first, then replace the dependency while you still have the access and authority to recover. Keep reporting-only changes out of the same change window unless the plan genuinely requires them.

Identify what the supplier controls

For SPF, record the actual published policy and every include or redirect relationship. An include is evaluated as an SPF mechanism; redirect supplies another policy when applicable. Neither is merely a cosmetic alias. Evaluate the resulting policy against the DNS lookup limits in RFC 7208, including nested dependencies. Copying today's expanded IP addresses can become stale and does not preserve a supplier's future updates.

For DKIM, record each active selector, its exact DNS owner name, any CNAME or zone delegation and the signing service using the corresponding private key. RFC 6376 separates signing from public-key retrieval. Moving a public record does not give the replacement service the old private key, and changing an alias does not cause existing messages to be signed with the new selector.

Build the replacement before removing the old path

Establish the new sender authorization or signing route using values generated for the intended account. Verify authoritative DNS and test received messages through each critical application. If DNS or provider constraints prevent coexistence, record that constraint and use a controlled cutover with a tested recovery route. Do not assume two different TXT policies at the same SPF owner name create redundancy.

Preserve old DKIM public-key availability for the approved delayed-mail window after old signing stops. The appropriate interval depends on queue behavior, signature validity constraints, operational risk and provider retention. There is no universal TTL-length waiting rule: DNS caching and delayed delivery are different clocks. A compromised key can require revocation despite delayed-mail failures, which is an incident decision rather than routine migration housekeeping.

Distinguish new signing from delayed verification

Suppose an old queued message carries selector old and a newly generated message carries selector new. Each signature was valid when generated, and the messages remain unmodified. If the old public record is removed before a receiver retrieves it, that receiver may be unable to verify the old signature even while the new signature verifies with its own key. A cached usable key or another valid signature can change the observed result, so this is not a universal delivery prediction.

This hypothetical dependency example performs no signing, DNS query or verification. Restoring the correct public record may restore that lookup path, but cannot repair an expired signature, changed message or compromised signing key. Before cancellation, separately verify the new sending route, the approved old-key retention or revocation decision, and actual recovery access. A public-record export cannot restore private signing capability.

Make the exit reversible where appropriate

The change record should identify the old dependency, replacement, approval, expected DNS answers, authentication test, delayed-mail decision and rollback trigger. Keep the service active until its required replacement tests pass. If recovery requires an expired account or a domain relationship you no longer control, it is not an executable rollback.

After the agreed observation window, remove obsolete SPF authorization, selector delegations and access through the approved process. Recheck the actual authoritative answers and representative receiver results. Retain the exact before and after records and unresolved exceptions. Successful dashboard cancellation is the commercial end of the service, not evidence that the technical exit was safe.

[ Takeaway ]

Moving public DNS records does not transfer private signing ability; test replacement and recovery before canceling the old dependency.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Map exact DNS dependencies

Trace SPF policy references and every active selector.

Next steps

  1. Test new signing before retirement.
  2. Preserve before and after DNS evidence.
  3. Verify the old selector still supports retained messages.

CISO / SecOps

Separate retirement from revocation

A routine exit and a compromised-key response have different risk priorities.

Next steps

  1. Approve residual access duration.
  2. Verify obsolete authority is removed.
  3. Remove retired permissions after the approved window.

Founder / Non-technical

Fund a real transition

Keep the supplier available until replacement gates pass.

Next steps

  1. Approve the delayed-mail decision.
  2. Avoid a cancellation date without technical ownership.
  3. Confirm recovery does not rely on an already canceled account.

[ FAQs ]

Frequently asked questions

Is SPF include just a DNS alias?

No. It participates in SPF evaluation and its nested lookups count toward applicable limits.

Can I publish two SPF policies for redundancy?

No. Multiple SPF policy records at the same owner name are not a valid redundancy scheme.

Does moving a public DKIM key move signing capability?

No. Signing requires the corresponding private key or a newly configured signing service.

Why keep an old selector after switching senders?

Already-signed delayed messages may still need its public key for verification.

Is one TTL a sufficient retirement interval?

Not necessarily. Queue delay and DNS cache lifetime are different considerations.

What if the old key is compromised?

Handle revocation as an incident decision; preserving verification is not always the overriding goal.

Did the example execute a signing test?

No. It illustrates a hypothetical old/new selector dependency without cryptographic tests, provider queries or actual DNS changes.

When is cancellation safe?

After required replacement, recovery and delayed-mail acceptance tests are complete.

[ Sources ]

Sources

  1. RFC 7208: SPF

    Sections §2.6.6 · §2.6.7 · §3.2 · §4.6.4 · §5.2 · §6.1

  2. RFC 6376: DKIM

    Sections §3.3 · §3.5 · §3.6 · §5.2 · §6.1.2

  3. RFC 1034: Domain Names Concepts and Facilities

    Sections §3.6.2 · §4.2 · §4.3 · §5.3

[ Glossary ]

Glossary

Selector
The DKIM label used to locate a signing domain’s public key.
Redirect
An SPF modifier that delegates applicable policy evaluation to another domain.

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