Email DNS Check

Set up MTA-STS for your mail domain

MTA-STS tells supporting senders which MX hosts may receive your mail and requires a valid TLS connection in enforce mode.

Reviewed by Mira John Updated

  1. Prepare the HTTPS policy

    Serve a text policy at https://mta-sts.example.com/.well-known/mta-sts.txt with a valid HTTPS certificate. Include version: STSv1, mode: testing, the intended MX patterns and a max_age value in seconds.

  2. Advertise the policy in DNS

    Publish one TXT record at _mta-sts with v=STSv1; id= followed by a new policy identifier. Update that identifier whenever the HTTPS policy changes.

  3. Test before enforcing

    Verify STARTTLS and certificate names on every permitted MX. Review TLS reports, then switch the HTTPS policy to mode: enforce and publish a new DNS identifier.

Check the published record

Replace example.com with your domain.

nslookup -type=TXT _mta-sts.example.com
curl -fsS https://mta-sts.example.com/.well-known/mta-sts.txt

Recheck DNS →

Full documentation