MediumInfrastructure · usually medium

MTA-STS record published but the policy file is unreachable

The DNS record announces a policy that cannot be fetched.

Check your own domain

What causes this

MTA-STS has two halves: a TXT record that announces a policy exists, and a policy file served over HTTPS. Senders that see the record then fetch the file. When the fetch fails, senders cannot apply the policy — so the configuration provides no protection while appearing to be in place.

What it breaks

MTA-STS gives you no protection. Senders fall back to opportunistic TLS.

How to fix it

Serve the policy file over HTTPS with a valid certificate.

  1. Confirm https://mta-sts.yourdomain.com/.well-known/mta-sts.txt returns the policy with content type text/plain.
  2. Confirm the certificate for the mta-sts subdomain is valid and not expired.
  3. Confirm the mta-sts subdomain has DNS records pointing at the host serving the file.

Specification: RFC 8461 — MTA-STS

Related problems