trustyourinboxDocs
Browse sections

The MTA-STS tab

Protocol Guides, 4 of 5

Inbound TLS protection: the drift and orphan states, the four-step rollout ladder, and the TLS-RPT receipts.

What this tab protects

MTA-STS protects mail coming to you: it tells senders your mail servers always speak TLS, closing the encryption-downgrade hole in plain SMTP. Because it is about inbound mail, this tab keys on whether the domain has MX records, not on its sending purpose; a domain with no MX honestly reads "Nothing to protect."

The states that matter

  • Enforce, MX covered: encrypted, or refused. The goal state.
  • Testing: encrypted, or noted; problems report without blocking.
  • MX drift (critical): the policy no longer covers your live MX hosts, so senders honoring the stale policy will refuse your mail in enforce mode. The silent killer this tab exists to catch.
  • Orphan states: a DNS pointer without a reachable policy file, or the reverse. Half a handshake is worse than none.

The four-step ladder

With no policy, the tab shows the safe rollout in order: turn on TLS reporting, publish the policy in testing mode, watch the reports for about 30 days, then flip the mode to enforce. Turning on TLS reporting is the only one-click fix this tab offers, and it points _smtp._tls at your managed reporting address.

You host the policy file

The policy file lives at https://mta-sts.yourdomain.com/.well-known/mta-sts.txt on your infrastructure; we pre-fill both halves (the DNS pointer and the file, with your live MX hosts) as copy blocks. Publish them together: a pointer without a file is an orphan state.

The evidence and the receipts

The handshake section checks all three pieces live (the TXT, the fetched policy file, and your MX hosts against the policy's patterns), and the receipts section shows the ingested TLS reports: who failed to deliver to you securely and why, which is exactly the data that tells you when testing mode is ready to become enforce.

Fixing the states that matter

Each failure state has one remedy, and the order matters because enforce mode is the only one that can bounce your mail:

  • MX drift. Your live MX hosts are no longer covered by the policy's patterns. Republish the policy file with the current hosts, keeping the same mx: pattern style you already use. If the policy is in enforce mode, do this first: senders honoring the stale policy are refusing your mail right now.
  • DNS pointer without a policy file. The _mta-sts TXT resolves but the file does not fetch. Confirm https://mta-sts.yourdomain.com/.well-known/mta-sts.txt returns 200 over HTTPS with a valid certificate. A redirect, a 404, or a bad certificate all read as no policy.
  • Policy file without a DNS pointer. The reverse: the file is served but nothing tells senders to look. Publish the _mta-sts TXT.
  • The pointer changed but senders did not notice. Senders cache by the id= value. Editing the policy file without changing id= leaves them on the old copy until max_age expires, so bump id= on every policy change.

If you are unsure whether a change took, the handshake section re-checks all three pieces live rather than trusting a cache.

Was this page helpful?