[ Transport security ]

MTA-STS for domains with multiple MX providers

Validate primary, backup and migration MX routes across providers, including hostname patterns, TLS evidence and cached-policy transitions.

By the EmailAuth research team · 8 min read

[ Key points ]

  • The policy must cover every intended receiving candidate, including rarely used backups.
  • MX pattern matching and SMTP certificate validation are separate checks.
  • Coordinate provider migration with HTTPS publication, discovery updates and existing policy caches.
On this page

Documentary review: 8 November 2026. No MX host, certificate, policy endpoint or sending implementation was tested. The route matrix and migration example below are proposed operational evidence, not observations of a customer domain.

Model one receiving domain with every intended route

A receiving domain can publish MX records pointing to more than one mail provider. Its MTA-STS policy must describe the acceptable MX hostnames for that domain's delivery path, not merely the brand used for most mailboxes. A policy that covers the primary provider but excludes the backup can appear healthy until a failure makes the backup necessary.

Start with the receiving domain and its complete authoritative MX set. Record preferences, target hostnames, service owners and whether each target is primary, backup or temporary migration capacity. Keep MX data separate from the policy's mx entries: DNS supplies the candidate route, while the policy validates whether a candidate is acceptable. A policy entry does not add a new MX destination or change its preference. MTA-STS discovery and validation

Identify any administratively configured smart host as a separate case. RFC 8461 treats that smart host's domain as the policy domain for compliant senders using the configured relay. Do not infer that the recipient domain's policy controls every internal relay hop or every service's onward routing.

Match hostnames precisely across providers

Each permitted MX pattern belongs on its own mx line in the HTTPS policy. Use actual hostnames or supported wildcard patterns, not IP addresses, provider marketing names or mailbox domains chosen by appearance. Internationalized names use their ASCII A-label representation. Confirm the provider's intended MX targets from current configuration evidence before publishing the list. Policy format

A policy wildcard matches only the entire leftmost label. For example, *.mail.example matches mx1.mail.example, but not mail.example or mx1.region.mail.example. It is not a general recursive suffix permission. A broad-looking pattern can therefore both authorize more hosts than intended and fail to match a deeper hostname that an operator expected it to cover. Write out the expected matches in the review worksheet. MX host matching

Prefer exact patterns where the host list is stable and manageable. If a provider requires a wildcard because its documented MX fleet changes, record that rationale and the scope it authorizes. Do not add a catch-all merely to remove a validation warning. The team should know which hosts become acceptable and who is responsible for the receiving service behind them.

Check transport and certificates for each candidate

A hostname match is only one validation step. Under an enforce policy, a compliant sender must not deliver to a candidate that fails MX matching, certificate validation or STARTTLS support. The receiving MTA's certificate must be unexpired, chain to a trusted root and contain a matching DNS identity for the MX hostname. The policy website's certificate is a different certificate with a different hostname obligation. MTA certificate validation and policy application

Collect transport evidence for every intended candidate, including rarely used backup infrastructure. Record which hostname and address were tested, when the test occurred, whether STARTTLS was offered and what certificate identities were presented. A successful test of one provider's primary host cannot establish the second provider's readiness. Any testing of third-party infrastructure must remain within an approved operational scope.

Ask each provider about changes to its MX names and certificate lifecycle. The organization's policy owner needs a way to learn when a supplier changes a receiving endpoint. A policy that was accurate at launch can later exclude an authorized route, while a certificate problem can break a route without any DNS change.

Preserve ordinary MX traversal and backup behavior

MTA-STS does not replace SMTP candidate traversal with a new provider-selection algorithm. RFC 8461 warns implementers against prefiltering candidates in ways that change the usual traversal logic and recommends treating invalid candidates as unreachable while following ordinary traversal. For domain operators, the practical lesson is to test the backup route explicitly rather than assuming routine traffic exercises it. Preserving MX candidate traversal

A backup provider can remain untested for long periods because successful primary delivery means senders never reach it. TLS reports with no failures therefore do not establish that every candidate works. Reports describe participating senders' observed delivery attempts, not an exhaustive inspection of the domain's possible routes. SMTP TLS reporting

Keep provider readiness and policy readiness as separate acceptance decisions. The backup might be listed correctly but lack a valid certificate, or it might have sound TLS while being omitted from the policy. Those defects require different owners and different corrective changes. Before permanently failing delivery because of an enforce policy, a compliant sender must check DNS for an updated policy; RFC 8461 also recommends treating these failures as transient and retrying later. This does not guarantee a particular retry schedule.

Stage changes with old policy caches in mind

During a provider migration, some senders may still apply a previously fetched policy. Updating the DNS MX set to a new provider before cached policies permit it can delay mail from compliant senders. Plan an overlap in which the old and new intended routes remain acceptable and operational while policy updates become discoverable and caches are considered.

RFC 8461 recommends updating the HTTPS policy body before changing the discovery TXT record's id. That order avoids signaling a new policy while the endpoint still serves the old content. DNS TTL and policy max_age are separate clocks; a new id does not synchronously replace every cached policy. Preserve a history of served policies and their lifetimes when planning route removal. Policy updates and caching

Testing mode can expose policy failures through TLS-RPT without enforcing MTA-STS rejection of those failures. It is useful for a controlled rollout, but it is not proof that the domain is protected as though enforce were active. Decide when to enforce using actual route evidence and accountable approval, not merely the passage of a fixed number of days.

Multiple-provider acceptance worksheet

Maintain one domain-level record with a row for each MX candidate and a separate policy history.

  • Receiving domain ___; authoritative MX set and preferences ___; observation timestamp ___.
  • Candidate hostname ___; provider/account owner ___; primary/backup/migration role ___; current business dependency ___.
  • Pattern match: proposed mx value ___; exact expected match ___; unintended wildcard scope reviewed ___.
  • Transport: approved test reference ___; STARTTLS ___; certificate hostname/chain/expiry evidence ___; unresolved condition ___.
  • Policy host: exact HTTPS endpoint ___; valid response and content ___; discovery id ___; mode ___; max_age ___.
  • Transition: old policy versions and last-served times ___; overlapping route support ___; DNS TTL assumptions ___; removal approval ___.
  • Observation: TLS-RPT results and coverage limits ___; controlled primary/backup checks ___; accountable final sign-off ___.

Blank fields are holds. A candidate should not be treated as ready merely because its supplier is familiar or its MX preference is low.

Fictional example: the backup omitted from enforcement

This scenario is fictional. example.com uses mx1.primary.example as its preferred route and mx1.backup.example as a fallback. Its enforce policy lists only the primary hostname. Routine traffic succeeds, so the omission is not noticed until a primary outage makes the fallback relevant.

The proposed diagnosis compares the full MX set with the policy and separately checks the backup's STARTTLS and certificate evidence. The owner prepares a policy covering the authorized backup, publishes that body before a new discovery id and accounts for senders still using cached policy. The team does not claim immediate recovery for every sender or change MX preference simply to bypass enforcement.

The durable fix is an evidence-backed route matrix owned across both suppliers. No live results are claimed here. Independent review, actual DNS and transport checks, visual review and owner release remain pending before publication.

[ Takeaway ]

Own one complete receiving-route matrix across suppliers, verify each candidate and keep old policy expectations viable during a controlled transition.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Test the backup before it is needed

Routine successful delivery may never exercise a lower-priority candidate.

Next steps

  1. Inventory all authoritative MX targets and preferences.
  2. Match each hostname against the approved policy.
  3. Retain per-candidate STARTTLS and certificate evidence.

CISO / SecOps

Review exact accepted hosts

A broad wildcard can expand authority while still missing deeper names.

Next steps

  1. Validate one-label wildcard behavior.
  2. Separate policy-host and receiving-MTA certificates.
  3. Review enforcement and cached-policy failure handling.

Founder / Non-technical

Coordinate both provider owners

A backup route is a business dependency, not just another DNS value.

Next steps

  1. Assign primary and backup service owners.
  2. Approve migration overlap and route retirement.
  3. Require evidence before enforcement or provider removal.

[ FAQs ]

Frequently asked questions

Does adding an mx line create a new delivery route?

No. DNS MX records supply candidates; MTA-STS validates acceptable hostnames and transport. A policy entry does not create a DNS MX record or alter its preference.

RFC 8461: SMTP MTA Strict Transport Security

Must each permitted MX pattern have its own line?

Yes. RFC 8461 requires a separate mx key/value line for each pattern. Use supported exact names or one-label wildcard patterns.

RFC 8461: SMTP MTA Strict Transport Security

Does *.mail.example match mx.region.mail.example?

No. The wildcard matches the entire leftmost label only. It matches mx.mail.example, not the base mail.example or a name with two additional labels.

RFC 8461: SMTP MTA Strict Transport Security

Does a policy hostname match prove the backup is ready?

No. The candidate must also support STARTTLS and present a valid trusted certificate matching its MX hostname under the specification’s rules.

RFC 8461: SMTP MTA Strict Transport Security

Why can a broken backup remain unnoticed?

Normal candidate traversal may deliver successfully to the primary before a sender encounters the backup. Explicit approved backup checks are therefore useful.

RFC 8461: SMTP MTA Strict Transport Security

Can I move MX before cached policies allow the new provider?

That can delay delivery from senders applying an older enforce policy. Plan overlap and account for discovery TTL and previously served policy lifetimes.

RFC 8461: SMTP MTA Strict Transport Security

Does testing mode provide the same enforcement as enforce?

No. Testing mode can report policy failures through TLS-RPT where supported, while delivery may proceed as though the validation failure did not occur.

RFC 8461: SMTP MTA Strict Transport Security

Do clean TLS reports prove every MX candidate works?

No. Reports reflect participating senders’ observed attempts. Low traffic and an unused backup can leave important routes unobserved.

RFC 8460: SMTP TLS Reporting

[ Sources ]

Sources

  1. RFC 8461: SMTP MTA Strict Transport Security

    Sections §3. Policy Discovery · §3.2 MTA-STS Policies · §3.3 HTTPS Policy Fetching · §3.4 Policy Selection for Smart Hosts and Subdomains · §4.1 MX Host Validation · §4.2 Recipient MTA Certificate Validation · §5. Policy Application · §8.1 Policy Updates · §8.2 Policy Delegation · §8.3 Removing MTA-STS · §8.4 Preserving MX Candidate Traversal

  2. RFC 8460: SMTP TLS Reporting

    Sections §3. Reporting Policy · §4. Reporting Schema · §5. Report Delivery

[ Glossary ]

Glossary

MX candidate
A receiving host considered during the sender’s normal SMTP delivery traversal.

RFC 8461: SMTP MTA Strict Transport Security

Policy pattern
An exact hostname or supported leftmost-label wildcard used to validate an MX candidate.

RFC 8461: SMTP MTA Strict Transport Security

Migration overlap
A planned period during which intended old and new routes remain compatible with policy history.
TLS-RPT coverage
The set of delivery observations actually represented by participating senders’ reports.

RFC 8460: SMTP TLS Reporting

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