Skip to content

Scan your domain with 35 DNS and email security checks at zerohook.org.

What is

What is MTA-STS

MTA-STS publishes a policy that tells sending mail servers to use TLS, and which hosts may receive the mail. The policy id is a TXT record at _mta-sts. The policy itself is HTTPS.

The record

_mta-sts.example.com. IN TXT "v=STSv1; id=20160831085700Z;"

The policy file is https://mta-sts.example.com/.well-known/mta-sts.txt. mode is testing, enforce, or none. The TXT line above is the example in RFC 8461.

Id and file

RFC 8461, September 2018, puts the policy id in a TXT record at _mta-sts. The example is v=STSv1; id=20160831085700Z;. The policy file is https://mta-sts.example.com/.well-known/mta-sts.txt.

mode is testing, enforce, or none. enforce means sending servers must not deliver to an MX that fails the policy. testing is for detecting failures without that block. none is how a domain tells senders to drop a cached policy. TLS-RPT is the reporting side of the same failure.

testing, enforce, none

enforce means sending servers must not deliver to an MX that fails the policy. testing is for detecting failures without that block. none is how a domain tells senders to drop a policy they have cached. The RFC's example URL is https://mta-sts.example.com/.well-known/mta-sts.txt.