MTA-STS Generator
Enter your domain and mail servers and get the DNS record and policy file for MTA-STS, ready to publish.
Analysis messages from the checker are currently in Dutch.
How does it work?
MTA-STS has two parts: a TXT record at _mta-sts and a policy file served over HTTPS at mta-sts.yourdomain.com. We build both. Start with testing mode, check the result with the MTA-STS Checker and then switch to enforce.
Frequently asked questions
Where do I put the policy file?
On a web server with a valid certificate that is reachable as mta-sts.yourdomain.com, at the path /.well-known/mta-sts.txt. The host record mta-sts.yourdomain.com points to that web server.
What do I enter under mail servers?
The host names from your MX records, one per line. With Microsoft 365 you can use *.mail.protection.outlook.com.
Which mode do I choose?
Start with testing: sending servers report problems but do not refuse mail. Once everything is right, move to enforce.
Why does the record have an id?
Sending servers remember your policy. Whenever the policy file changes the id must change, otherwise they do not see the change. We use the current date and time.
What is TLS-RPT?
An optional record that gets you reports about failed encrypted connections. Useful to follow testing.
Need help with your email security?
We set up DMARC, SPF, DKIM and MTA-STS for you and keep an eye on it, as part of Security and Monitoring.