What does MTA-STS do?
Email between servers is usually encrypted, but the sending server will quietly fall back to plain text if the encryption fails, and it doesn't check the certificate. MTA-STS (RFC 8461) closes that gap: your policy tells senders which MX hosts are yours and that they must use TLS with a valid certificate to reach them.
It needs three things
- The policy file at
https://mta-sts.yourdomain.com/.well-known/mta-sts.txt, served over HTTPS with a valid certificate. - The _mta-sts TXT record, which tells senders a policy exists and which version it is.
- The TLS-RPT record, which isn't required but is how you find out about problems before turning on enforce.
Start in testing
In testing mode nothing changes about delivery, and the daily TLS reports show whether any sender had trouble. Once a couple of weeks of reports are clean, switch the file to mode: enforce and change the id in the TXT record.