Topic · Transport Security

MTA-STS policy file

An MTA-STS policy file is the HTTPS-served plain-text policy describing permitted MX hosts and TLS enforcement mode.

Email Security Glossary·Practical guidance
Share this definition LinkedIn X WhatsApp Email
01 / How it works

How it works

The file is hosted at the specified well-known HTTPS path for the mta-sts subdomain and includes version, mode, mx and max_age.

02 / What can go wrong

What can go wrong

Missing files, invalid syntax or inaccessible HTTPS hosting can prevent senders from using the intended policy.

03 / What to check or do

What to check or do

Fetch the policy externally and validate syntax, TLS certificate and all listed MX patterns.

Practical diagnosis

How to investigate MTA-STS policy file

Signal to investigate
The TXT id= changes, but the HTTPS policy still serves the previous version.
Evidence to collect
Fetch /.well-known/mta-sts.txt from the required policy host and compare policy contents.
Common wrong conclusion
A valid HTTPS response with unrelated content is not a valid MTA-STS policy.
Illustrative diagnostic — substitute your authorized domain or host
curl -i https://mta-sts.example.com/.well-known/mta-sts.txt
Educational example; not validated against your live infrastructure.
NEXT STEP

Put this into practice

Run a focused check, then explore protection if your domain needs it.

Authoritative reference ↗