Reads the record and fetches the policy, and says which MX it covers.
Answers in about a second. No sign-up, and no email address.
Mail between servers is encrypted opportunistically, which means that if the encryption fails the message is sent in plain text anyway. Anyone on the network path can force that, and nothing warns either end. MTA-STS lets a domain say in advance which mail servers are legitimate and that TLS is required.
This reads the record, fetches the policy file the way a sending server would, and checks that the mx entries match the MX records actually published — the mistake that stops mail once the policy is enforced.
When one mail server delivers to another it offers STARTTLS and, if that works, encrypts. If it does not work it sends in plain text anyway. That fallback is the whole weakness: somebody on the network path can strip the STARTTLS offer and the sender downgrades silently, or present any certificate at all, because opportunistic TLS does not verify one.
MTA-STS lets a domain say in advance which mail servers are legitimate and that TLS is required. A sender that has the policy cached will not fall back. Note the direction: SPF, DKIM and DMARC stop people forging mail from you; MTA-STS protects mail coming to you from being read in transit. They do not overlap.
| Part | Where | What it does |
|---|---|---|
| TXT record | _mta-sts.example.com | The signal. Without it senders never look for a policy at all. |
| Policy file | https://mta-sts.example.com/.well-known/mta-sts.txt | The rules. Must be HTTPS with a certificate valid for that hostname. |
| A record | mta-sts.example.com | So the policy host resolves. Plumbing, with no security meaning of its own. |
| Field | Meaning | Advice |
|---|---|---|
| mode: none | The policy is switched off. | For withdrawing MTA-STS, not for starting. |
| mode: testing | Senders report failures and still deliver insecurely. | Start here. It protects nothing and risks nothing. |
| mode: enforce | A sender that cannot match refuses to deliver. | Only after the reports are clean. |
| mx | Every mail server allowed to receive. | Miss one and enforce stops that mail. Check against your live MX. |
| max_age | How long senders cache the policy, in seconds. | 604800 is a week. A long cache makes a mistake last. |
version: STSv1
mode: testing
mx: mx1.example.com
mx: mx2.example.com
max_age: 604800
A sender reads the TXT record at _mta-sts first and only then fetches the policy, so the record has to exist and its id has to change whenever the policy does. Senders cache by id, so an edited policy with the old id is ignored until max_age expires.
It protects nothing by itself, but it produces the TLS reports that tell you whether enforce would break delivery. Publishing testing for a week and reading the reports is the safe order.
Any mail to an MX host the policy does not list. That is why this check compares the mx entries with your live MX records.
Yes. The policy must be served at https://mta-sts.yourdomain/.well-known/mta-sts.txt with a certificate valid for that name. It cannot be served from the main domain.
This check reads what is public. These are the engagements that go further, and what each one covers.