MTA-STS Policy Generator

MTA-STS takes three pieces to deploy, not one: a TXT record announcing the policy, a host serving the policy file over HTTPS with a certificate valid for it, and the policy file itself. This builds all three, plus the TLS-RPT record you'll want alongside them. Runs entirely in your browser — nothing you type is sent anywhere.

1. Serve this file

At https://mta-sts.example.com/.well-known/mta-sts.txt, as text/plain, with no redirect.


        

        

2. Publish these DNS records

Things that catch people out

Once it's published, confirm it end to end with the MTA-STS Checker. Background in what MTA-STS and TLS-RPT actually do.