---
title: "MTA-STS Checker and TLS-RPT Validator"
description: "Check MTA-STS and TLS-RPT for any domain. Reads both TXT records, fetches the policy file over HTTPS and checks that it covers every MX host."
canonical_url: "https://smtp.dev/tools/mta-sts-check/"
---

> Index of every page on this site: [llms.txt](https://smtp.dev/llms.txt)

## What MTA-STS and TLS-RPT are

MTA-STS ([RFC 8461](https://www.rfc-editor.org/rfc/rfc8461)) has two parts. A TXT record says a policy exists and gives it a version id:

```txt
_mta-sts.example.com.  TXT  "v=STSv1; id=20261118T1200"
```

The policy itself is a text file served over HTTPS from a fixed URL, `https://mta-sts.example.com/.well-known/mta-sts.txt`:

```txt
version: STSv1
mode: enforce
mx: mx1.example.net
mx: *.mail.example.net
max_age: 604800
```

TLS-RPT ([RFC 8460](https://www.rfc-editor.org/rfc/rfc8460)) is a separate TXT record that asks senders to send daily reports of TLS problems:

```txt
_smtp._tls.example.com.  TXT  "v=TLSRPTv1; rua=mailto:tls-reports@example.com"
```

## How to read the result

- **TXT record**: present, one record only, `id=` of 1 to 32 letters and digits.
- **Policy file**: fetched without following redirects, `text/plain`, with `version`, `mode`, at least one `mx` and a `max_age`.
- **MX coverage**: each real MX host must match an `mx:` line. `*.mail.example.net` matches `a.mail.example.net` but not `a.b.mail.example.net`.
- **TLS-RPT**: present and pointing at a `mailto:` or `https:` address.

## Common failures and how to fix them

**Policy URL unreachable.** No `mta-sts` host, a certificate that does not cover `mta-sts.example.com`, or a 404. Any of these means senders treat the domain as having no policy. A static host or a small worker works fine for serving one text file.

**Redirects.** Hosting platforms often redirect to add a trailing slash or `www`. Serve the file with a direct 200.

**MX not in the policy.** After a mail provider migration the policy still lists the old MX names. In `enforce` mode, senders refuse to deliver to unlisted hosts, so mail queues and eventually bounces. Update the `mx:` lines first, then change the `id=`.

**id= with punctuation.** `id=2026-11-18` is invalid; use `id=20261118`.

**Very short max_age.** Senders cache the policy for `max_age` seconds. A few minutes offers little protection against an attacker who blocks the first fetch. One to several weeks is common in enforce mode, and the limit is one year (31557600).

**No TLS-RPT.** Without reports you will not know when a sender cannot establish TLS to your MX, which is exactly what you need to see before moving to `enforce`.

## Sitemap

See the full [sitemap](https://smtp.dev/sitemap.md) for all pages.
