Skip to content
toolstome

MTA-STS checker

MTA-STS (RFC 8461) makes other mail servers deliver to you only over verified, encrypted connections. Enter a domain and the checker looks up the _mta-sts TXT record over DNS-over-HTTPS, fetches the policy from https://mta-sts.yourdomain/.well-known/mta-sts.txt, and checks the version, mode (enforce, testing or none), mx lines and max_age. It then compares the policy with the domain’s MX records, because mail to an MX host the policy doesn’t list fails once you enforce.

Free · No sign-upNothing stored

Lookups go from your browser straight to Cloudflare’s public DNS resolver (1.1.1.1) over HTTPS. Our server never sees the domain.

Our server fetches the public address you enter, as any visitor’s browser would, and sends back only the findings. It refuses private and internal addresses, keeps nothing, and limits how many checks each visitor can run.

How to use the MTA-STS Checker

  1. 1

    Enter a domain

    The email domain, e.g. example.com.

  2. 2

    Check

    The TXT record, policy file and MX hosts are tested.

  3. 3

    Fix and enforce

    Clear the errors, then move from testing to enforce.

When to use it

  • Set up MTA-STS and check it before switching to enforce.
  • Check the policy still covers new mail servers.
  • Pair it with TLS-RPT for reporting.

Limits

  • Checks the policy and record; it doesn’t test each mail server’s certificate.
  • The policy host must have a valid certificate for mta-sts.yourdomain.

Privacy

Our server fetches only the public address you enter and returns the findings. Private and internal addresses are refused, nothing is stored, and checks per visitor are limited.

Frequently asked questions

What does MTA-STS protect against?

Attackers who strip or downgrade encryption between mail servers. With MTA-STS, sending servers refuse to deliver without a valid TLS connection.

What’s the difference between testing and enforce?

Testing reports problems without blocking mail; enforce refuses delivery to servers that fail. Start with testing and TLS-RPT reports.

What max_age should I use?

At least a day for enforce, often a week to a year. The maximum allowed is 31557600 seconds (about a year).

Why must every MX be listed?

Under enforce, mail to an MX host the policy doesn’t match is refused, so a missing host means lost mail.

When do I change the id?

Every time you change the policy file, so sending servers know to fetch the new version.

What content type should the file have?

text/plain, served over HTTPS without redirects at https://mta-sts.yourdomain/.well-known/mta-sts.txt.

People also use

Last updated November 23, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More