[ Transport security ]

MTA-STS first-connection limits and cached-policy protection

Explain initial-discovery exposure by comparing empty, valid and expired sender policy caches, with explicit boundaries for enforcement, reporting and DANE.

By the EmailAuth research team · 6 min read

[ Key points ]

  • Initial policy acquisition can be suppressed before the sender has a trusted cached policy.
  • Valid cached enforce policy survives failed live discovery or retrieval.
  • Testing mode, expired entries and empty caches are distinct states.
  • TLS-RPT supplies observations, while DANE and local policy can add separate constraints.
On this page

Define first connection by sender policy state

MTA-STS cannot guarantee protection for every initial delivery to a domain. Its strongest downgrade resistance depends on a supporting sender already holding a valid policy that requires enforcement. “First connection” is therefore better understood as a policy-state question than as the first message ever sent by a person. Another machine, a cleared cache or an expired policy can change the starting conditions.

This explanation uses a fictional state comparison, not a live downgrade experiment. No traffic was intercepted, DNS response altered or sending system tested. Demonstrating a particular implementation's behavior requires an approved isolated test with evidence of its initial cache, discovery results, policy mode and delivery decision.

Explain why discovery is the vulnerable step

A receiving domain advertises MTA-STS through a DNS TXT record and serves its policy over HTTPS. The authenticated HTTPS fetch establishes the policy's contents, but an attacker who can prevent successful initial discovery can keep a sender from learning those contents. RFC 8461 explicitly describes this discovery-prevention risk. A securely hosted policy does not help a sender that has not obtained it. RFC 8461 sections 3 and 10.2

The specification requires a sender with no valid cached policy to continue as though MTA-STS were not implemented if a valid discovery record exists but HTTPS retrieval fails. It also permits policy acquisition to occur asynchronously in its example control flow. Publishing an enforce policy does not establish that every supporting sender has fetched it before its next delivery. RFC 8461 sections 3.3 and 5.1

Distinguish ordinary TLS from enforced policy

SMTP STARTTLS provides a way to negotiate TLS on a connection. The extension alone does not establish the receiving domain's MTA-STS requirements. RFC 3207 discusses the limitations of opportunistic operation and the importance of local policy when TLS cannot be negotiated or authenticated. Avoid equating a STARTTLS advertisement with a guarantee that a sender will reject every unsafe fallback. RFC 3207 sections 5 and 6

Once a supporting sender applies a valid enforce policy, it must not deliver to a candidate that fails the required MX matching or certificate validation, or lacks STARTTLS. Testing mode differs: messages may be delivered despite MTA-STS validation failure, with reporting where implemented. A cached policy therefore matters together with its mode; merely having a cache entry is not synonymous with enforcement. RFC 8461 section 5

Compare three fictional senders

Assume fictional example.com publishes an enforce policy for mx1.example.com. Sender Alder has no valid cached policy and cannot retrieve one. Sender Birch has a valid, unexpired enforce policy obtained earlier. Sender Cedar has only an expired policy and cannot refresh it. These are constructed states for explanation, not measurements of named products.

Alder continues without MTA-STS protection after the failed acquisition. Birch must continue applying its cached enforce policy even when current discovery or retrieval is unavailable. Cedar cannot treat its expired entry as the valid cached policy required by this protection rule. None of these statements rules out other constraints imposed by DANE or local transport requirements. The example distinguishes MTA-STS's contribution from the sender's entire security posture. RFC 8461 sections 3.3 and 5.1

Now suppose the contacted SMTP host fails certificate validation. Birch cannot deliver to that failing candidate under enforce mode and should follow the specified retry and updated-policy checks. Alder's outcome cannot be predicted from the missing MTA-STS policy alone: its other policies and SMTP implementation still matter. Calling all three outcomes “encrypted” or “blocked” would hide the deciding evidence. RFC 8461 sections 4–5

Describe what caching improves and what expires

Policy max_age limits how long a fetched policy remains usable. RFC 8461 expects lifetimes commonly measured in weeks or more to reduce refresh-time exposure, and recommends proactive refresh before expiration. That creates a tradeoff: longer-lived policies preserve protection through temporary discovery failures but demand care when changing MX infrastructure. An unavailable old MX does not become acceptable just because a new configuration is intended. RFC 8461 sections 3.2–3.3 and 8.1

Deleting discovery records does not immediately remove policies already cached by senders. The documented opt-out uses a valid mode none policy, a new discovery ID and enough time for previously served policies to expire before removing endpoints. Operational rollback must account for those remote states. A local DNS change cannot retroactively prove that every remote sender has abandoned its cache. RFC 8461 section 8.3

Position DANE and reporting accurately

DANE for SMTP uses DNSSEC-authenticated TLSA information to provide a different basis for authenticating TLS. RFC 8461 presents MTA-STS as complementary and states that it must not override a failing DANE validation. DANE's applicability depends on its authenticated DNS chain, usable records and sending implementation; it should not be presented as a switch that this article has configured or tested. RFC 8461 section 2 RFC 7672

TLS-RPT helps participating senders describe transport and policy failures, but reporting is not enforcement. Reports cover a reporter's observations and can arrive after the event. A missing report cannot prove that discovery succeeded, a cache existed or all paths were protected. Use reports alongside sender-state and connection evidence, not as a substitute for them. RFC 8460 sections 1 and 4

State a defensible protection claim

A useful claim identifies supporting senders, valid policy acquisition, enforce mode, applicable MX scope and remaining first-acquisition exposure. Avoid “all incoming email is downgrade-proof.” An approved evaluation should demonstrate empty-cache, valid-cache and expired-cache behavior while holding the intended scenario constant. The actual implementations, traces and results are absent here. Current RFC errata were checked, but no reported proposal has been elevated into a new protection guarantee. RFC 8461 errata

[ Takeaway ]

A published enforce policy does not prove every sender has acquired it. State the sender support, valid cache and policy mode behind any protection claim.

[ By role ]

What this means for you

Choose your role for practical next steps.

Security architect

Scope the protection statement

The architecture should distinguish published intent from policy acquisition and enforcement by a particular sender.

Next steps

  1. State which senders support and apply the mechanism.
  2. Document initial discovery and refresh exposure.
  3. Evaluate DANE or local requirements without claiming they are deployed here.

MTA administrator

Make the starting cache state observable

Tests of first-contact behavior are meaningful only when the implementation's initial state is known.

Next steps

  1. Record policy fetch time, max_age and mode.
  2. Separate expired entries from valid cached enforcement.
  3. Retain logs that show the actual delivery decision and any other applicable constraints.

Risk communicator

Avoid universal downgrade claims

A concise statement can still name the limits that materially change the protection offered.

Next steps

  1. Do not equate a STARTTLS advertisement with mandatory authenticated delivery.
  2. Describe cache and sender-support conditions in customer-facing claims.
  3. Keep reporting coverage separate from enforcement assurance.

[ FAQs ]

Frequently asked questions

Does first connection mean the first message a person sends?

Not reliably. The relevant state belongs to the sending implementation and its policy cache. A new sending node, expired entry or missing cache can create initial-acquisition conditions even when people have exchanged mail before.

Why is HTTPS insufficient to prevent suppressed discovery?

HTTPS authenticates the policy when it is fetched successfully. An attacker able to suppress the discovery response can prevent a sender without a cached policy from learning that the policy exists. RFC 8461 explicitly describes this risk.

Will a valid cached enforce policy disappear when DNS discovery fails?

No. A supporting sender must apply a valid, unexpired cached policy when live discovery or retrieval is unavailable. The policy mode still matters, and other applicable transport requirements remain separate.

Does a cached testing policy require delivery to stop on validation failure?

No. In testing mode, messages may be delivered as though the MTA-STS validation failure had not occurred, with reporting where implemented. A cache entry by itself does not establish enforce-mode protection.

Can I assume an expired policy protects a sender until refresh succeeds?

No. The specified cached-policy protection depends on a valid, nonexpired policy. An expired entry does not satisfy that condition. The actual sender may also have independent DANE or local transport constraints.

Does deleting the TXT record immediately disable MTA-STS everywhere?

No. Remote valid caches remain relevant. The documented removal workflow serves a mode none policy, signals it with a new ID and waits for previously served policies to expire before removing the endpoints.

Can MTA-STS override a failed DANE check?

No. RFC 8461 describes the mechanisms as complementary and says MTA-STS must not override failing DANE validation. DANE applicability itself depends on authenticated DNS information, TLSA records and sender implementation.

What test would support a claim about a specific sender?

Use an approved isolated evaluation that establishes empty-cache, valid-cache and expired-cache initial states, then retains discovery, policy and delivery decisions. No such implementation test or interception experiment was run for this article.

[ Sources ]

Sources

  1. RFC Editor current errata register for RFC 8461
  2. RFC 3207: SMTP Service Extension for Secure SMTP over Transport Layer Security
  3. RFC 7672: SMTP Security via Opportunistic DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS)
  4. RFC 8460: SMTP TLS Reporting
  5. RFC 8461: SMTP MTA Strict Transport Security (MTA-STS)

[ Glossary ]

Glossary

Initial policy acquisition
The sender's process of discovering and fetching a policy when it lacks a usable cached policy.
Downgrade exposure
The opportunity for interference to reduce transport protection, including suppression of initial MTA-STS policy discovery.
Enforce mode
The MTA-STS mode that prohibits delivery to candidates failing the required MX, certificate or STARTTLS checks.
Policy expiration
The point after the fetched policy's max_age lifetime at which it no longer supplies the specified valid-cache protection.
DANE for SMTP
SMTP TLS authentication using DNSSEC-authenticated TLSA information under the applicability and processing rules of RFC 7672.

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