What it does
MTA-STS tells sending mail servers to require TLS and valid certificates when delivering to your domain. It combines a DNS record, an HTTPS-hosted policy and optional TLS reporting. This checker verifies all three, because a missing piece makes the policy inert.
How it works
The DNS side is a TXT record at _mta-sts.example.com with the form v=STSv1; id=... . The id is a version string; change it whenever the policy changes so senders refetch. Missing or malformed, and senders behave as if there were no policy.
The policy itself is served at https://mta-sts.example.com/.well-known/mta-sts.txt with a valid certificate for mta-sts.example.com. It contains version: STSv1, mode, max_age and one or more mx entries. mode can be enforce, testing or none.
mx entries must match the domain's actual MX hostnames, with wildcards allowed. If a listed MX does not match what DNS returns, senders may treat the policy as invalid. mode: testing asks senders to report failures without blocking; enforce rejects delivery over non-conforming TLS.
max_age controls how long senders cache the policy. A short value means faster reaction to changes but more fetches; a long value is stricter but slower to update. Many deployments start with a day and raise it after confidence.
TLS reporting uses a TXT record at _smtp._tls.example.com with v=TLSRPTv1; rua=mailto:... . Reports show TLS negotiation failures and policy mismatches, which is how you find a broken MX before enforcing.
When to use it
- Before switching to enforce, confirm the record, policy file and MX list agree.
- Diagnose why senders ignore an MTA-STS policy.
- Set up TLS reporting before enforcement.
- Check a policy after an MX migration.
Glossary
- MTA-STS
- A policy that requires TLS and certificate validation for inbound mail.
- Policy file
- The HTTPS-hosted mta-sts.txt that lists mode, max_age and MX hosts.
- TLSRPT
- TLS reporting, which sends aggregate failure reports to a nominated address.
- max_age
- How long a sender may cache the policy.
- Enforce mode
- Senders refuse delivery when TLS or the certificate does not meet policy.
Frequently asked questions
Why is my MTA-STS policy ignored?+
Usually a missing or stale TXT record, an HTTPS fetch failure, or a certificate that does not cover mta-sts.example.com. All three must work.
Does MTA-STS encrypt mail?+
No. It requires TLS in transit and certificate validation. It does not provide end-to-end encryption; the message is still readable by the receiving provider.
Testing or enforce first?+
Testing. It surfaces failures through reports without blocking legitimate mail. Move to enforce once reports are clean.
What is the id in the TXT record for?+
It is a version marker. Senders refetch the policy when the id changes, so bump it on every policy edit.
Do I need TLSRPT?+
It is optional but strongly recommended. Without reports, enforcement failures are invisible until mail stops arriving.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/mta-sts-checker?d=gmail.com"Shareable result
https://100www.dev/tools/mta-sts-checker?d=gmail.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


