Guide
What is MTA-STS?
DMARC, SPF and DKIM prove who sent a message. MTA-STS and TLS reporting cover a different gap: making sure mail sent to you is encrypted on the way.
The gap
Mail servers usually try to encrypt connections with TLS, but by default they will fall back to plain text if encryption fails, and an attacker on the network can force that failure. MTA-STS lets your domain say: only deliver to my mail servers over a valid, encrypted connection.
What you publish
- A DNS TXT record at
_mta-sts.example.co.ukannouncing a policy exists and its version. - A policy file served over HTTPS at
https://mta-sts.example.co.uk/.well-known/mta-sts.txt, listing your mail servers and a mode oftestingorenforce. - A TLS-RPT TXT record at
_smtp._tls.example.co.ukgiving an address for reports.
_mta-sts.example.co.uk TXT "v=STSv1; id=20261116000000"
_smtp._tls.example.co.uk TXT "v=TLSRPTv1; rua=mailto:tls@example.co.uk"
Testing first
Start in testing mode. Senders still deliver if a check fails, but you get TLS-RPT reports showing what would have failed. Move to enforce once the reports are clean.
The awkward part: the policy host
The policy needs a web server with a valid certificate at mta-sts.your-domain, kept renewed, which is why many domains never deploy it. With Mailfletch's hosted MTA-STS, the policy file and its certificate are handled for you and you add only the DNS records.
Check yours
The free domain check tests for MTA-STS and TLS reporting alongside SPF, DKIM and DMARC.
Common questions
Do I need MTA-STS if I have DMARC?
They solve different problems. DMARC protects against spoofing of your domain. MTA-STS protects mail sent to you from being read or tampered with in transit.
Does MTA-STS work with Microsoft 365?
Yes. Your policy lists the Microsoft 365 mail host for your domain as the allowed MX.