MTA-STS tells other mail servers to deliver to you only over verified TLS, and it needs two pieces: a _mta-sts TXT record in DNS and a policy file served over HTTPS at mta-sts.yourdomain. A Cloudflare Worker on that hostname can return the policy file directly, with Cloudflare handling the certificate, which makes it one of the lightest ways to host MTA-STS.
The policy has to list your real MX hosts, and getting the mode, hostnames or certificate wrong can delay mail, so start in testing mode and move to enforce once reports look clean. The EmailAuth AI Agent reads your live MX and MTA-STS records, drafts the policy file and Worker response for you, and checks it once it is published. Start with your domain below, or book a free call with an EmailAuth engineer.