← Back to Learning Hub

DNS • Intermediate • 6 min read

What Is TLS-RPT? Reading TLS Reporting Reports

TLS-RPT publishes a _smtp._tls TXT record so receivers send you daily JSON reports on successful and failed TLS sessions. Learn what the reports contain and how to act on them.

TLS-RPT, defined in RFC 8460, is the reporting half of SMTP transport security. It does not enforce encryption; it tells you how encryption is actually going. You publish one TXT record at _smtp._tls.yourdomain.com naming where reports should be sent, and participating mail providers then deliver you a daily JSON summary of every TLS session they attempted when sending mail to your domain: how many succeeded, how many failed, and why. If you have turned on MTA-STS or DANE to require encrypted delivery, TLS-RPT is how you find out whether that policy is quietly bouncing legitimate mail. This article explains the record, the report format, and what to do with what you see.

What TLS-RPT is for

SMTP between mail servers uses opportunistic TLS by default, which means a sending server tries STARTTLS but falls back to plaintext if anything goes wrong, and it does so silently. Policies like MTA-STS and DANE remove that silent fallback and require TLS, but once you require it, a certificate problem or a downgrade attack stops being invisible and starts dropping mail. TLS-RPT closes the feedback loop. Receivers that support it batch up the outcomes of their TLS connections to you and send a report, so you learn about failures from telemetry instead of from a user complaint. You can confirm your reporting record is live with a DNS lookup of the TXT at _smtp._tls.

The _smtp._tls TXT record

Publishing TLS-RPT is a single TXT record. It names a version and one or more report destinations, which can be a mailbox or an HTTPS endpoint:

_smtp._tls.example.com. IN TXT "v=TLSRPTv1; rua=mailto:tlsrpt@example.com"

You can verify it resolves with dig:

dig +short TXT _smtp._tls.example.com

The v=TLSRPTv1 tag identifies the record and must come first. The rua tag lists where aggregate reports go; mailto: addresses receive the report as an email attachment, while an https: endpoint receives it by POST. You can list more than one destination separated by commas. Note that TLS-RPT only requests reports. It does nothing to require TLS on its own, which is why it is almost always deployed alongside an MTA-STS policy or DANE records.

Reading the JSON report

A report is a JSON document, usually gzip-compressed, covering a 24-hour window. The envelope identifies the reporting organization and the date range, then a policies array holds one entry per policy the sender evaluated, each with a summary count and a list of failure details. The core of it looks like this:

{
  "organization-name": "mail.receiver.example",
  "date-range": { "start-datetime": "2026-11-27T00:00:00Z",
                  "end-datetime": "2026-11-27T23:59:59Z" },
  "policies": [{
    "policy": { "policy-type": "sts", "policy-domain": "example.com" },
    "summary": { "total-successful-session-count": 9841,
                 "total-failure-session-count": 12 },
    "failure-details": [{
      "result-type": "certificate-expired",
      "sending-mta-ip": "203.0.113.9",
      "receiving-mx-hostname": "mx1.example.com",
      "failed-session-count": 12
    }]
  }]
}

The two counts in summary are the headline: successful versus failed sessions. When failures are non-zero, the failure-details array tells you the result type, which sending IP and receiving MX were involved, and how many sessions hit that error, which is enough to localize the problem to a specific host.

Common failure types and what they mean

result-typeWhat happenedLikely cause
certificate-expiredMX cert was past its validityRenewal gap on a mail host
certificate-host-mismatchCert did not cover the MX hostnameMissing SAN entry for the MX name
certificate-not-trustedChain did not reach a trusted rootMissing intermediate on the MX
starttls-not-supportedMX did not offer STARTTLSTLS disabled or stripped on that host
validation-failurePolicy or DANE check failedStale MTA-STS policy or bad TLSA

A certificate-expired or host-mismatch result points straight at the MX certificate, so you fix it the same way you would any TLS cert problem. A starttls-not-supported result on a host that should offer TLS can signal a downgrade attempt or a broken mail node and deserves a closer look.

Acting on the reports

The point of TLS-RPT is to turn these JSON files into action before mail actually fails. A practical routine:

  1. Confirm the _smtp._tls record resolves and points at a mailbox or endpoint you actually monitor.
  2. Treat any non-zero failure count as a signal, not noise, and read the failing MX and IP from failure-details.
  3. Map certificate result types to a renewal or chain fix on the named mail host.
  4. Watch for starttls-not-supported or validation-failure, which can indicate interference or a stale policy rather than a simple cert issue.
  5. Re-check the next day's report to confirm the failure count dropped to zero after a fix.

Frequently asked questions

What is TLS-RPT?

TLS-RPT is SMTP TLS Reporting, defined in RFC 8460. You publish a TXT record at _smtp._tls and receivers send you daily JSON reports on their TLS sessions to your domain, including successful and failed connection counts with failure reasons.

Does TLS-RPT encrypt my email?

No. TLS-RPT only reports. Encryption is enforced by MTA-STS or DANE. TLS-RPT is the telemetry that tells you whether that enforcement is working or quietly blocking delivery.

Where does TLS-RPT send reports?

To the destinations in the rua tag of your TXT record. A mailto: address receives the report as an email attachment, and an https: endpoint receives it by HTTP POST. You can list several.

How often do reports arrive?

Reports are aggregate and cover a 24-hour window, so you typically get one per day from each reporting provider that sent mail to your domain during that period.

Do I need MTA-STS to use TLS-RPT?

Not strictly, but they go together. TLS-RPT on its own still reports on opportunistic TLS, yet it is most valuable paired with MTA-STS or DANE, where it reveals failures that a required-TLS policy would otherwise turn into dropped mail.

Setting a realistic reporting destination

The rua tag decides where reports land, and the choice shapes how useful TLS-RPT actually is day to day. A mailto: address is the quickest to deploy, but pointing it at a human inbox does not scale: reports arrive daily from every reporting provider that sent you mail, each as a gzip-compressed JSON attachment, and a busy domain can collect dozens. They pile up unread, which defeats the purpose. The better pattern is a dedicated mailbox that a parser monitors, or an https: endpoint that ingests the POSTed reports directly into whatever you use to track delivery health.

One subtlety trips people up: the mailbox that receives TLS-RPT reports should itself be reachable without depending on the very TLS policy you are monitoring. If an enforced MTA-STS policy is blocking mail to your domain, routing the failure reports through that same broken path means you may never see the alert telling you delivery is broken. Where practical, host the reporting destination on a separate domain or provider so a policy problem on the monitored domain cannot also swallow its own reports.

It is also worth setting expectations about coverage. TLS-RPT is voluntary on the sender side, so you only receive reports from providers that implement it, the large mailbox operators among them. A low or zero failure count therefore means no reported failures from participating senders, not a guarantee that every server reached you over TLS. Read the reports as a strong signal from the senders that matter most, and pair them with your own outbound monitoring for the full picture.

Why am I not receiving any TLS-RPT reports?

Either no participating sender delivered mail to your domain in the window, or the record is wrong. Confirm the _smtp._tls TXT resolves, starts with v=TLSRPTv1, and names a rua destination you actually monitor. Remember reports are aggregate and daily, so allow a full day before expecting the first one.

TLS-RPT is the visibility layer under enforced SMTP encryption, turning silent TLS failures into a report you can act on. Confirm your _smtp._tls record is published and correct with the DNS lookup tool.

Troubleshooting box

If results look inconsistent, compare authoritative nameservers first, then recursive resolvers by region. Capture snapshots every 10 minutes for deterministic incident timelines.

Try VallaDNS free →

Intermediate • 6 min

Fix ERR_NAME_NOT_RESOLVED in Your Browser

ERR_NAME_NOT_RESOLVED means the browser could not turn a hostname into an IP. Separate a missing record from a stale cache, a down resolver, or a typo, and fix each.

Intermediate • 6 min

How to Find Your DKIM Selector and Record

DKIM records hide at selector._domainkey and the selector name is not obvious. Discover it from an email's DKIM-Signature s= tag and verify the published key with a TXT lookup.