Read the _mta-sts DNS record, fetch the policy file, parse it and compare its MX patterns with the published MX.
Email glossary
MTA-STS
MTA-STS (SMTP MTA Strict Transport Security, RFC 8461) combines a DNS TXT record at _mta-sts.<domain> with a policy file at https://mta-sts.<domain>/.well-known/mta-sts.txt that lists the allowed MX hosts and a mode (testing or enforce). Senders that support it refuse to deliver without a valid TLS connection to a listed host.
Example
A policy file in enforce mode:
version: STSv1
mode: enforce
mx: mx1.example.com
mx: *.example.com
max_age: 604800Why it matters
Plain SMTP TLS is opportunistic and can be downgraded by an attacker on the path. MTA-STS closes that gap for senders that implement it, and TLS-RPT tells you when it fails.
Related tools and resources
Domain and authentication
Related terms
Mailiqo
See the SMTP serviceSending email from your website or app?
Mailiqo delivers your transactional email over API or SMTP, with encrypted connections, your own domain and built-in recipient validation.
