SPF/DKIM/DMARC do not solve SMTP transport downgrade
SPF, DKIM and DMARC answer questions about sender authorization, message signatures and domain alignment. They do not force another mail server to use a trusted TLS channel when delivering mail to your MX hosts.
RFC 8461 defines MTA-STS so a receiving domain can publish a policy saying that conforming senders should use TLS with certificates that validate for the declared MX hosts. RFC 8460 defines TLS-RPT so domains can receive aggregate reports about transport-policy and TLS failures.
Three objects must agree
An MTA-STS deployment has three different control points: normal MX records, a TXT record at _mta-sts.DOMAIN containing v=STSv1 and a policy id, and an HTTPS policy at https://mta-sts.DOMAIN/.well-known/mta-sts.txt.
The policy declares a mode (none, testing or enforce), one or more mx patterns and max_age. In enforce mode, conforming senders must not deliver to MX hosts that fail the policy's TLS/certificate requirements. In testing mode, delivery can continue while failures are reported where TLS-RPT is supported.
TLS-RPT is separately published as TXT at _smtp._tls.DOMAIN, commonly with v=TLSRPTv1 and a rua destination.
Read-only checks before rollout
Inventory every legitimate inbound MX target first. A strict policy that omits a real backup MX can turn a security rollout into mail loss.
Windows examples: Resolve-DnsName -Type MX example.com; Resolve-DnsName -Type TXT _mta-sts.example.com; Resolve-DnsName -Type TXT _smtp._tls.example.com. Cross-platform examples include dig MX example.com +short and dig TXT _mta-sts.example.com +short. Fetch the HTTPS policy with curl -fsS https://mta-sts.example.com/.well-known/mta-sts.txt and confirm Content-Type and certificate validity.
NetSignalKit FIELD-tested this workflow against gmail.com on authorized NVIDIA: _mta-sts.gmail.com returned an STSv1 TXT record, _smtp._tls.gmail.com returned TLSRPTv1 with a reporting address, and the HTTPS policy returned 200 text/plain with mode=enforce and declared Gmail MX patterns. That verifies command/record interpretation, not administrative control of Google's policy.
Roll out in testing mode first
Start with a policy whose mx values match observed production routing and mode=testing. Publish TLS-RPT at the same time so failures become visible. Change the _mta-sts policy id when the HTTPS policy changes so senders know to refresh cached policy.
Review reports for certificate-name mismatch, untrusted chains, missing STARTTLS, wrong MX patterns and intermittent routing to legacy gateways. Fix the receiving infrastructure before moving to enforce.
Do not treat 'no reports arrived' as proof of success. Reporting support is not universal, report delivery can fail, and traffic volume may be low. Test known mail paths and inspect server logs as separate evidence.
Move to enforce only with rollback prepared
Before enforce, define a rollback policy and verify that the policy host remains highly available. RFC 8461 senders can cache policies up to max_age; changing a DNS record does not instantly erase a previously cached enforcing policy.
A conservative rollout uses a manageable max_age during early deployment, then increases it after stable observation. Any emergency rollback must account for cached sender state, not only today's DNS/HTTPS content.
Failure interpretation
- TXT missing: sender cannot discover a new MTA-STS policy; previously cached policy may still matter until expiry.
- TXT exists but HTTPS policy cannot be fetched: behavior depends on whether sender already has a valid cached policy; RFC 8461 describes this explicitly.
- MX not matching policy: in enforce mode a conforming sender should not deliver to that MX.
- STARTTLS or certificate validation failure: enforce can defer delivery; testing should report the problem while allowing normal delivery behavior.
- TLS-RPT failures: diagnose the reporting endpoint separately from the transport policy itself.
Common failed approaches
Do not copy another domain's mx lines. Do not move straight to enforce because DNS validates. Do not host mta-sts.DOMAIN with an invalid certificate—the policy itself is fetched over HTTPS and must validate correctly. Do not confuse a DMARC rua mailbox with the TLS-RPT record; they are different reporting protocols.
Do not assume MTA-STS protects outbound mail you send to every destination. The recipient domain publishes the policy; your outbound MTA enforces policies for recipients it supports.
Verification after deployment
- _mta-sts TXT is correct and its id corresponds to the currently served policy revision.
- Policy URL returns HTTP 200, text/plain and a trusted certificate for mta-sts.DOMAIN.
- Every intended inbound MX matches at least one policy mx pattern.
- TLS-RPT TXT is syntactically correct and the reporting endpoint is monitored.
- Testing-mode reports have been reviewed and infrastructure failures resolved.
- Enforce mode is enabled only after rollback/caching behavior is understood.
- Mail-delivery metrics and server logs show no unexplained deferrals after enforcement.
Evidence classification
FIELD: public DNS and HTTPS checks were executed against Gmail and produced a real STSv1/TLSRPTv1/enforce policy result. AUTHORITATIVE: protocol behavior comes from RFC 8461 and RFC 8460. NOT CLAIMED: Gmail's deployment is not presented as a configuration template for another organization.
Related guides
Primary sources & further reading
- RFC 8461 — SMTP MTA Strict Transport Security (MTA-STS) ↗
- RFC 8460 — SMTP TLS Reporting ↗
- Google Workspace — About MTA-STS and TLS reporting ↗
Sources are credited for verification, not reproduced. Linked pages may change after publication.