What is TLS-RPT?
TLS-RPT (SMTP TLS Reporting, RFC 8460) is a DNS record that asks mail servers sending to your domain to report, once a day, how many encrypted (TLS) connections to your MX hosts succeeded and which ones failed, and why. The reports are JSON files. TLS-RPT never blocks mail; it only gives you visibility of email encryption failures.
This page is the reader's guide to those reports: the record, how reports arrive, a complete annotated example, and what to do about each failure type. If you are still deciding whether to deploy MTA-STS at all, start with what MTA-STS is and whether you need it. For how the policy and the report fit together and in which order to roll them out, see MTA-STS vs TLS-RPT. The wider transport and identity picture is in the email protection pillar guide.
Key takeaways
- TLS-RPT is one TXT record at
_smtp._tls.<your domain>withv=TLSRPTv1and arua=destination: amailto:address, anhttps:endpoint, or both. - Reports are I-JSON files, usually gzip-compressed, covering one UTC day per sending organisation. Email delivery uses
multipart/reportand must be DKIM-signed; HTTPS delivery is a POST. - Every report has a
summarywith success and failure counts, andfailure-detailsthat name aresult-type, the sending IP, your MX hostname and a session count. - RFC 8460 defines eleven result types in three groups (TLS negotiation, MTA-STS, DANE). The group tells you what to fix: the MX host, the policy hosting, or DNSSEC and TLSA records.
- Silence is not proof of success: only senders that implement TLS-RPT report, and transient network failures need not be reported at all.
How do you publish a TLS-RPT record?
Publish a single TXT record at _smtp._tls under the domain that receives mail. It must start with v=TLSRPTv1; and contain a rua= tag listing one or more report destinations, separated by commas. RFC 8460 Section 3 supports two URI schemes: mailto: for email and https: for an HTTPS POST endpoint.
_smtp._tls.example.com. 3600 IN TXT "v=TLSRPTv1; rua=mailto:tlsrpt@example.com"
The rules from RFC 8460 that catch people out:
| Rule | What it means in practice |
|---|---|
Version must be TLSRPTv1 |
v=TLSRPT1 or v=tlsrptv1; with a missing semicolon is not a valid record |
Records not starting with v=TLSRPTv1; are discarded |
An unrelated TXT record at the same name is ignored, so it does no harm |
| Exactly one valid record must remain | If two v=TLSRPTv1 records exist, senders "MUST assume the recipient domain does not implement TLSRPT" |
rua is a comma-separated list |
rua=mailto:a@example.com,https://reports.example.com/tlsrpt sends to both |
| Extension tags are allowed | Senders must ignore tags they do not understand, so do not rely on custom tags |
| One record per receiving domain | Subdomains that receive mail need their own _smtp._tls record |
The record lives on the policy domain, the domain in the recipient address, not on the MX hostname. Mail for user@example.com delivered to mx1.mailhost.example is reported under example.com, so the record goes at _smtp._tls.example.com. Section 7 of the RFC recommends a large TTL or DNSSEC on the record to reduce the risk of an attacker suppressing or redirecting reports.
How do you verify a TLS-RPT record with dig?
Query the TXT record directly and check three things: there is exactly one record beginning with v=TLSRPTv1;, the rua value is a complete mailto: or https: URI, and the name is _smtp._tls, not a near miss such as _tls._smtp. Then confirm the destination actually accepts mail or POST requests.
dig +short TXT _smtp._tls.example.com
"v=TLSRPTv1; rua=mailto:tlsrpt@example.com"
On Windows:
Resolve-DnsName -Type TXT _smtp._tls.example.com
nslookup -type=TXT _smtp._tls.example.com
Common results and what they mean:
- Nothing returned: no record, or it was created at
_smtp._tls.example.com.example.combecause the DNS panel appended the zone name. Enter only_smtp._tlsas the host in most panels. - Two records returned: a second TLS-RPT record was added instead of editing the first. Senders treat this as no TLS-RPT at all. Merge the destinations into one
rualist. rua=tlsrpt@example.com: themailto:prefix is missing, so the destination is not a valid URI.- Record exists, still no reports after several days: check that the mailbox accepts
multipart/reportmessages with gzip attachments, that a spam or attachment filter is not quarantining them, and that the HTTPS endpoint returns 200 or 201.
Checking the MTA-STS record and policy file next to it is covered in how to set up MTA-STS.
How are TLS-RPT reports delivered?
Each report is a JSON document, normally gzip-compressed, sent either as an email attachment to a mailto: destination or as an HTTPS POST to an https: destination. RFC 8460 Section 4.1 says a report should cover a full UTC day and be sent after a delay, "perhaps several hours", so a day's report typically arrives the following day.
The delivery details, from RFC 8460 Section 5:
| Item | Email (mailto:) |
HTTPS (https:) |
|---|---|---|
| Container | multipart/report with report-type="tlsrpt" |
POST body |
| Media type | application/tlsrpt+gzip (compressed) or application/tlsrpt+json |
Same media types |
| Authentication | Must be DKIM-signed by the reporting domain; unsigned reports "MUST be ignored". The signature must not use the l= body-length tag |
Submitters may ignore certificate errors on your endpoint |
| Required headers | TLS-Report-Domain and TLS-Report-Submitter |
Not applicable |
| Success signal | Normal SMTP acceptance | HTTP 200 or 201 |
| Retries | Senders should retry for up to 24 hours | Same |
Gzip is a SHOULD in the RFC, partly because "a commonly observed receiver limit is ten megabytes". The recommended attachment filename packs the useful metadata into the name, in the form sender!policy-domain!begin-timestamp!end-timestamp!unique-id.json.gz, with Unix timestamps. A report email might look like this:
Subject: Report Domain: example.com Submitter: mail-sender.example Report-ID: <7f3c9a@mail-sender.example>
TLS-Report-Domain: example.com
TLS-Report-Submitter: mail-sender.example
Content-Type: multipart/report; report-type="tlsrpt"; boundary="..."
Attachment: mail-sender.example!example.com!1763596800!1763683199!7f3c9a.json.gz
Because the RFC tells you to discard unsigned email reports, a collector should verify DKIM before trusting the content.
What does a TLS-RPT report look like?
A TLS-RPT report is one JSON object with five top-level fields (organization-name, date-range, contact-info, report-id, policies). Each entry in policies describes the policy the sender applied, a summary of successful and failed sessions, and optional failure-details. The example below follows the structure in RFC 8460 Appendix B, with example values.
{
"organization-name": "Mail Sender Example Ltd",
"date-range": {
"start-datetime": "2026-11-18T00:00:00Z",
"end-datetime": "2026-11-18T23:59:59Z"
},
"contact-info": "tlsrpt-noreply@mail-sender.example",
"report-id": "2026-11-18T00:00:00Z_example.com_7f3c9a",
"policies": [
{
"policy": {
"policy-type": "sts",
"policy-string": [
"version: STSv1",
"mode: testing",
"mx: mx1.example.com",
"mx: mx2.example.com",
"max_age: 86400"
],
"policy-domain": "example.com",
"mx-host": "mx1.example.com"
},
"summary": {
"total-successful-session-count": 4180,
"total-failure-session-count": 46
},
"failure-details": [
{
"result-type": "certificate-expired",
"sending-mta-ip": "192.0.2.10",
"receiving-mx-hostname": "mx2.example.com",
"receiving-ip": "198.51.100.25",
"failed-session-count": 40
},
{
"result-type": "validation-failure",
"sending-mta-ip": "192.0.2.11",
"receiving-mx-hostname": "mx1.example.com",
"receiving-ip": "198.51.100.24",
"failed-session-count": 6,
"failure-reason-code": "X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED"
}
]
}
]
}
What does each field mean?
The top-level fields identify the report; the policy block says which rules the sender applied; summary gives the totals; failure-details explains each group of failures. Definitions below are from RFC 8460 Section 4.4.
| Field | What it holds | How to use it |
|---|---|---|
organization-name |
The organisation that generated the report | Group reports by sender |
date-range |
start-datetime and end-datetime in RFC 3339 format, normally one UTC day |
Line failures up with your change log |
contact-info |
An email address for the party responsible for the report | Where to ask questions about the sender's view |
report-id |
A unique string; the RFC lets each sender choose its own scheme | De-duplicate reports sent to several destinations |
policy-type |
sts, tlsa or no-policy-found |
Tells you which policy, if any, the sender applied |
policy-string |
The policy as the sender saw it: MTA-STS policy lines for sts, TLSA record data for tlsa |
Spot a stale or cached policy that differs from what you host |
policy-domain |
The domain the policy applies to | Attribute the report to the right client domain |
mx-host |
For sts, the MX pattern from the applied policy |
Check it against your real MX records |
total-successful-session-count |
Sessions that negotiated a policy-compliant TLS connection | Your baseline; a sudden drop is a signal |
total-failure-session-count |
Sessions that could not establish one | The number to drive towards zero before enforce |
result-type |
One of the defined failure types (next section) | Tells you which layer to fix |
sending-mta-ip |
The IP of the sending server that tried STARTTLS | Identify which sender cluster saw the failure |
receiving-mx-hostname / receiving-ip |
Which of your MX hosts, by name and IP | The exact host to inspect |
receiving-mx-helo |
The name your MX announced (optional) | Spot a load balancer or gateway answering for the wrong name |
failed-session-count |
Failed sessions for that combination | Prioritise by volume |
additional-information |
Optional URI with more detail, such as the certificate chain | Follow it when the result type alone is not enough |
failure-reason-code |
Free text, such as a TLS library error code | Search the code for the precise cause |
Reading the example: on 18 November the sender made 4,226 attempts, 46 failed (about 1.1%). Forty failures hit mx2 with an expired certificate, which is one fix on one host. Six hit mx1 with a validation-failure; the failure-reason-code (the same OpenSSL error the RFC uses in its own example) points at the certificate chain that host serves. Because the policy is in testing, all of that mail was still delivered; in enforce, it would not have been.
What does policy-type no-policy-found mean?
no-policy-found means the sender found neither an MTA-STS policy nor a DANE TLSA record for your domain, but still reports on its TLS sessions because you published a TLS-RPT record. It is normal before you deploy MTA-STS, and the success count is a useful baseline of how much inbound mail already arrives over TLS.
If you have deployed MTA-STS and a sender still reports no-policy-found, check the _mta-sts TXT record and the policy URL from outside your network. Senders cache policies, so also allow for timing after a change.
What failure types can a TLS-RPT report contain?
RFC 8460 Section 4.3 defines eleven result-type values in three groups: five for TLS negotiation, three for DANE policy and three for MTA-STS policy. Transient failures such as busy networks or TCP timeouts are not required to be reported. The table lists every value with the RFC's meaning and the usual fix.
| Group | result-type |
RFC meaning | What to do |
|---|---|---|---|
| Negotiation | starttls-not-supported |
The receiving MX did not support STARTTLS | Enable STARTTLS on that MX, or remove a host that cannot offer it from the MX set and the policy |
| Negotiation | certificate-host-mismatch |
The certificate did not meet the MTA-STS or DANE constraints, for example the MX name is not in the certificate's subject alternative names | Reissue the certificate with every MX hostname, or fix an mx: line that points at the wrong host |
| Negotiation | certificate-expired |
The certificate has expired | Renew it and check the renewal automation on every MX host, including backups |
| Negotiation | certificate-not-trusted |
Catch-all for certificate trust and chain errors | Install a certificate from a public CA and serve the full chain |
| Negotiation | validation-failure |
A general failure not covered by the other types | Read failure-reason-code; it usually names the library error |
| DANE | tlsa-invalid |
None of the TLSA records in the RRset was valid | Regenerate TLSA records after a key or certificate change, and publish new ones before rotating |
| DANE | dnssec-invalid |
The resolver returned no valid records | Fix the DNSSEC chain: expired signatures, a DS record mismatch, or a broken key rollover |
| DANE | dane-required |
DANE is mandatory but no DNSSEC-validated TLSA records exist | Publish TLSA records in a signed zone, or remove the requirement |
| MTA-STS | sts-policy-fetch-error |
The MTA-STS policy could not be retrieved | Check that https://mta-sts.<domain>/.well-known/mta-sts.txt returns HTTP 200 without a redirect |
| MTA-STS | sts-policy-invalid |
The policy as a whole failed validation | Fix the syntax: version: STSv1 first, valid mode, max_age, and one mx: per line |
| MTA-STS | sts-webpki-invalid |
The policy could not be authenticated with PKIX (certificate) validation | Renew or correct the certificate on the mta-sts. host |
How do you prioritise failures?
Fix by layer and by volume. One result type on one MX host with a high failed-session-count is a configuration fault you can fix today. Small numbers scattered across many senders and hosts are often sender-side quirks; watch the trend before acting. Anything in the MTA-STS group affects every sender, so it comes first.
After each fix, expect the next day's reports to confirm it. The failure count for that host should fall to zero within one or two report cycles from the senders that reported it.
How does TLS-RPT relate to MTA-STS and DANE?
TLS-RPT is the reporting channel; MTA-STS (RFC 8461) and DANE (RFC 7672) are the two policies it reports on. The policy-type field tells you which one applied: sts for MTA-STS, tlsa for DANE, no-policy-found for neither. TLS-RPT works with either, both or none.
With DANE, the policy is a TLSA record published at _25._tcp.<mx hostname> in a DNSSEC-signed zone. RFC 7672 recommends 3 1 1 (DANE-EE, public key, SHA-256) as the first choice for SMTP. Because DANE depends on DNSSEC, its failures look different in reports: dnssec-invalid and tlsa-invalid point at your DNS, not your mail server. Check a TLSA record with:
dig +dnssec +short TLSA _25._tcp.mx1.example.com
The rollout order (TLS-RPT first, MTA-STS in testing, then enforce) and the side-by-side comparison are in MTA-STS vs TLS-RPT. When DANE is worth the extra DNSSEC work is covered in DANE for SMTP.
What does UK guidance say about TLS-RPT?
UK government guidance makes TLS-RPT mandatory for government organisations and recommends it alongside MTA-STS for everyone else. GOV.UK's Securing government email lists "set up DMARC and TLS reporting (TLS-RPT) and reviewing the data regularly" as a must. Its update history records MTA-STS and TLS-RPT moving to "must do" on 4 March 2024.
The same page also recommends "using a provider that sends (TLS-RPT) and DMARC reports". That is the outbound side of the standard: your own mail platform reporting on its connections to other domains. It is worth asking a client's provider about when you review their setup.
The NCSC MTA-STS guidance describes TLS-RPT as the feedback you need before enforcing, recommends at least a month of monitoring, and says "Mail Check no longer processes TLS reporting". The NCSC retired Mail Check on 31 March 2026. The security.gov.uk MTA-STS and TLS-RPT standard (last updated May 2024) still mentions Mail Check, so any UK domain whose rua points at a Mail Check address needs a new destination. A quick check:
dig +short TXT _smtp._tls.example.gov.uk
The broader UK position on DMARC is in what the NCSC recommends for DMARC.
How should an MSP monitor TLS-RPT across a client portfolio?
Treat TLS-RPT as a weekly operational check, not a daily inbox. Point every client's rua at one collector you control, parse the JSON automatically, and review a per-domain summary of failure counts by result type and MX host. Escalate when a new result type appears or failures stop falling after a fix.
A routine that works for a portfolio of client domains:
- Inventory. For every client domain that receives mail, record the MX hosts, the
_smtp._tlsrecord, the MTA-STS mode and whether DANE is in use. - Standardise the record. One central destination, for example
rua=mailto:tlsrpt@msp.example.com. Keep it separate from your DMARC aggregate (RUA) mailbox, because the formats and parsers differ. - Verify weekly. Script
dig +short TXT _smtp._tls.<domain>across the list and flag domains with no record, two records or a changed destination. - Parse and group. Verify DKIM on report emails, unzip, then group by
policy-domain,result-typeandreceiving-mx-hostname. Usereport-idto drop duplicates. - Review by exception. Look at domains with any
sts-result, any new result type, or a failure count that is rising week on week. - Tie to change control. Certificate renewals, MX migrations and gateway changes are the usual cause of new failures. Check the next two days of reports after each one, using your existing change management process for MSP portfolios.
- Gate enforcement. Move a domain from
testingtoenforceonly after the monitoring window (the NCSC suggests at least a month) shows no unexplained failures.
A simple way to get the per-domain view from a folder of uncompressed reports, using jq:
jq -r '.policies[] | .policy["policy-domain"] as $d
| (.["failure-details"] // [])[]
| [$d, .["result-type"], .["receiving-mx-hostname"], .["failed-session-count"]] | @tsv' *.json
Remember the coverage limit when reporting to clients: a TLS-RPT summary describes the senders that report, not all inbound mail. For the multi-tenant side of report handling in general, see multi-tenant DMARC management.
FAQ
Can TLS-RPT block or delay email?
No. TLS-RPT only asks senders to report on TLS connections; it never changes how they deliver. A typo in the _smtp._tls record cannot stop mail. The worst outcome of a broken record is that reports go nowhere. Blocking only happens through an MTA-STS policy in enforce mode or through DANE.
Why do I receive few or no TLS-RPT reports?
Only senders that implement TLS-RPT send reports, roughly once a day after the UTC day closes. Check that exactly one valid record exists, that the mailbox accepts DKIM-signed multipart/report mail with gzip attachments, and that an HTTPS endpoint returns 200 or 201. Then wait two or three days.
Does a report with zero failures mean everything is fine?
It means that sender negotiated TLS successfully for every session it counted that day. It says nothing about senders that do not report, and RFC 8460 does not require transient failures such as timeouts to be reported. Use clean reports from several senders over weeks, not one day, as evidence.
Do TLS-RPT reports contain email content or personal data?
No message content. A report holds the sending organisation, date range, policy details, session counts, IP addresses and MX hostnames. The contact-info field is an address for the reporting party, not a user. Treat reports as operational data and still apply your normal retention rules.
Is TLS-RPT affected by DMARCbis (RFC 9989)?
No. RFC 9989 updated DMARC, which authenticates mail sent from your domain. TLS-RPT is a separate standard about encryption of mail sent to your domain, and RFC 8460 is unchanged. Both use a rua tag, but the reports, formats and senders differ, as the DMARC guide explains.
Final thoughts
TLS-RPT costs one TXT record, has no effect on mail flow, and tells you daily whether senders reach your MX hosts over valid TLS. Its value depends on someone reading the JSON: learn the eleven result types, group failures by MX host, and fix by layer.
For an MSP, the habit that pays off is a weekly per-domain summary from one central collector, checked after every certificate or MX change. Pair it with MTA-STS in testing, and move to enforce only when the reports have been quiet for long enough. The full stack is described in the modern email security stack.