What is the difference between MTA-STS and TLS-RPT?
MTA-STS is a policy and TLS-RPT is a report. MTA-STS (SMTP MTA Strict Transport Security, RFC 8461) tells sending mail servers that mail to your domain must arrive over TLS with a valid certificate. TLS-RPT (SMTP TLS Reporting, RFC 8460) asks those same senders to send you a daily summary of the TLS connections that worked and the ones that failed.
One changes what senders do. The other only tells you what happened. MTA-STS can stop delivery when you set it to enforce; TLS-RPT never blocks anything. That is why the two are almost always deployed together, and why the order you deploy them in matters.
Both protect inbound mail: mail other people send to your domain. Neither has anything to do with SPF, DKIM or DMARC, which authenticate mail sent from your domain. For the wider picture, see the email protection pillar guide.
Key takeaways
- MTA-STS is published with a
_mta-stsTXT record plus a policy file on HTTPS. TLS-RPT is a single_smtp._tlsTXT record that names where reports go. - Sending servers act on MTA-STS. You act on TLS-RPT. A broken MTA-STS policy in
enforcemode can stop inbound mail; a broken TLS-RPT record only means you get no reports. - Roll out in this order: TLS-RPT, then MTA-STS in
testing, thenenforceonce the reports are clean. - TLS-RPT also reports DANE failures, so it is useful even where MTA-STS is not deployed.
- TLS-RPT reports are JSON, sent by mail senders about your inbound mail. DMARC aggregate reports are XML, sent by mailbox providers about your outbound mail. They need separate handling.
How do MTA-STS and TLS-RPT compare side by side?
The short version: MTA-STS has two moving parts (a DNS record and a policy file) and can affect delivery, while TLS-RPT is one DNS record and is read-only. The table below compares them on the points that matter when you deploy them across client domains.
| MTA-STS | TLS-RPT | |
|---|---|---|
| Purpose | Require TLS and a valid certificate for mail sent to your domain | Collect reports of TLS successes and failures for mail sent to your domain |
| Standard | RFC 8461 | RFC 8460 |
| DNS record name | _mta-sts.example.com |
_smtp._tls.example.com |
| Record syntax | v=STSv1; id=20261119T090000; |
v=TLSRPTv1; rua=mailto:tlsrpt@example.com |
| Other components | Policy file at https://mta-sts.example.com/.well-known/mta-sts.txt |
A report destination: a mailbox (mailto:) or an HTTPS endpoint (https:) |
| Who acts | The sending server fetches your policy and refuses to deliver over a failing connection (in enforce) |
The sending server reports; you read the reports and fix things |
| Effect on mail flow | Can block delivery in enforce mode |
None |
| What breaks if misconfigured | In enforce: inbound mail from senders that validate MTA-STS bounces or queues. In testing: nothing is blocked |
Reports go nowhere, so failures stay invisible. Mail still flows |
| Also covers DANE? | No, it is separate from DANE | Yes, DANE failures are reported too |
What does each record look like?
An MTA-STS deployment needs a DNS record and a policy file. The id value is any short string you change whenever the policy changes, so senders know to fetch it again:
_mta-sts.example.com. 3600 IN TXT "v=STSv1; id=20261119T090000;"
# https://mta-sts.example.com/.well-known/mta-sts.txt
version: STSv1
mode: testing
mx: mail.example.com
mx: *.mail.protection.outlook.com
max_age: 86400
RFC 8461 caps max_age at 31557600 seconds (about a year). The policy host must present a valid certificate for mta-sts.example.com, and senders should check that the file is served as text/plain.
A TLS-RPT deployment is one record. RFC 8460 allows a comma-separated list of destinations, so you can send reports to a mailbox and an HTTPS collector at the same time:
_smtp._tls.example.com. 3600 IN TXT "v=TLSRPTv1; rua=mailto:tlsrpt@example.com,https://reports.example.com/tlsrpt"
Check both from any shell:
dig +short TXT _mta-sts.example.com
dig +short TXT _smtp._tls.example.com
curl -s https://mta-sts.example.com/.well-known/mta-sts.txt
Building and hosting the policy file is covered step by step in how MTA-STS strengthens email transport security.
What do the MTA-STS modes mean?
MTA-STS has three modes, defined in RFC 8461 Section 5. Only enforce changes whether mail is delivered; testing is where TLS-RPT does its main job. The mode is set in the policy file, not in DNS.
none: no active policy; senders treat the domain as if it had none. Used to withdraw a policy safely.testing: do not block; sending servers still deliver when TLS validation fails, and report the failure through TLS-RPT (RFC 8461 Section 5).enforce: do not deliver on failure; sending servers must not deliver to an MX host that fails certificate or MX matching.
The wording on testing is the clearest link between the two standards: RFC 8461 says that in this mode, senders "that also implement the TLSRPT (TLS Reporting) specification [RFC8460] send a report". Without a TLS-RPT record, testing mode tells you nothing.
How do MTA-STS and TLS-RPT work together in a rollout?
TLS-RPT goes first, because it has no effect on mail and gives you a baseline. MTA-STS then goes in testing, so the reports start showing what would fail under enforcement. You move to enforce only when the reports are clean. RFC 8461 Section 6 says MTA-STS "is intended to be used along with TLSRPT".
A practical sequence for one domain:
- Publish the
_smtp._tlsrecord. Within a day or two you should start seeing reports from large senders. They showno-policy-foundas the policy type until MTA-STS exists, which still tells you whether senders reach your MX hosts over TLS. - Check the MX certificates. Every MX host listed in the policy needs a certificate that matches its name, is unexpired and chains to a public root. A quick check:
openssl s_client -starttls smtp -connect mail.example.com:25 -servername mail.example.com </dev/null 2>/dev/null | openssl x509 -noout -subject -enddate
- Publish MTA-STS in
testingwith a shortmax_agesuch as 86400, as the NCSC MTA-STS guidance recommends while testing. - Read the reports. Look for
sts-andcertificate-result types (listed below). The NCSC recommends "monitoring your email traffic for the period of at least a month" before enforcing. - Switch to
enforce, change theidin the TXT record, and raisemax_age(one to two weeks is common). - Keep reading the reports. Certificate expiry and MX changes are the usual causes of new failures after enforcement.
Google gives the same order in its Workspace help on MTA-STS and TLS reporting: start in testing mode, review the daily reports, fix connection issues, then enforce. Microsoft's Exchange Online MTA-STS guide also recommends starting in testing, and notes that Exchange Online validates MTA-STS on all outbound mail by default. If a policy in enforce fails validation there, the sender gets an NDR with code 5.4.8 (MX host mismatch) or 5.7.5 (certificate failure).
Does MTA-STS work without TLS-RPT?
Yes, technically. Senders that support MTA-STS will still fetch and apply your policy without a TLS-RPT record. But you lose all visibility: in testing mode nothing is reported, so the test proves nothing, and in enforce mode blocked mail fails on the sender's side without any signal reaching you.
In practice, MTA-STS without TLS-RPT turns a certificate renewal that went wrong into a mystery. The sender sees a deferral or a bounce; your client sees "some partners say our email is down". With TLS-RPT, the next day's reports from those senders show certificate-expired or certificate-host-mismatch against the exact MX hostname.
Note that the reports arrive a day or more after the problem. TLS-RPT is a diagnostic and trend tool, not a real-time alert. Monitor certificate expiry on MX hosts and on the mta-sts. policy host separately.
Does TLS-RPT work without MTA-STS?
Yes, and it is useful on its own. TLS-RPT reports on TLS connections whether or not you publish a policy. With no MTA-STS or DANE policy, reports use the policy type no-policy-found and still show successful and failed session counts. With DANE deployed, they report DANE failures.
That makes TLS-RPT a low-risk first step for any client domain. It tells you which senders reach you over TLS, whether STARTTLS works on every MX host and whether your certificates validate, all before you commit to a policy that could block mail. If a client never moves to MTA-STS, the record still earns its place.
The full picture of what TLS-RPT reports contain and how to work through them is in TLS-RPT explained.
How often do TLS-RPT reports arrive, and in what format?
Usually once a day per sending organisation. RFC 8460 Section 4.1 says a report "SHOULD cover a full day, from 00:00-24:00 UTC", and suggests sending it after a delay, "perhaps several hours". Each report is an I-JSON file, normally gzip-compressed, delivered by email to a mailto: address or by HTTPS POST to an https: address.
The delivery details from RFC 8460 that matter when you build or choose a collector:
- Email delivery: the message uses
multipart/reportwithreport-type="tlsrpt", includesTLS-Report-DomainandTLS-Report-Submitterheaders, and must carry a valid DKIM signature from the reporting domain. RFC 8460 says reports without one must be ignored. - HTTPS delivery: the sender POSTs the report, and your endpoint must return a success code, typically 200 or 201.
- Media types:
application/tlsrpt+gzipfor compressed reports,application/tlsrpt+jsonfor uncompressed ones. - Size: the RFC notes a commonly observed receiver limit of ten megabytes, one reason to compress.
- Success counts: each report includes
total-successful-session-countas well as failures, so a report with zero failures is still useful evidence that TLS is working. - Coverage: you only receive reports from senders that implement TLS-RPT. Google's help page warns you may receive few reports until more mail providers adopt it. Silence from a small sender does not mean its connections succeeded.
What failure types do TLS-RPT reports show?
RFC 8460 Section 4.3 defines a fixed set of result-type values in three groups: TLS negotiation failures, MTA-STS policy failures and DANE policy failures. The group tells you which layer to fix: the MX host, the MTA-STS policy, or DNSSEC and TLSA records.
| Group | result-type |
Usually means |
|---|---|---|
| Negotiation | starttls-not-supported |
An MX host did not offer STARTTLS |
| Negotiation | certificate-host-mismatch |
The MX certificate does not match the hostname |
| Negotiation | certificate-expired |
The MX certificate has expired |
| Negotiation | certificate-not-trusted |
The certificate does not chain to a trusted root |
| Negotiation | validation-failure |
Catch-all for failures that fit no other category |
| MTA-STS | sts-policy-fetch-error |
The policy file could not be fetched over HTTPS |
| MTA-STS | sts-policy-invalid |
The policy file was fetched but could not be parsed |
| MTA-STS | sts-webpki-invalid |
The certificate on the mta-sts. policy host failed validation |
| DANE | tlsa-invalid |
A TLSA record is malformed or does not match |
| DANE | dnssec-invalid |
DNSSEC validation failed for the records involved |
| DANE | dane-required |
DANE was required but no valid TLSA record was available |
In a rollout, sts- results point at the policy hosting (expired certificate on mta-sts.example.com, a redirect, a wrong path) and certificate- results point at the MX hosts themselves. Each failure entry also carries fields such as sending-mta-ip, receiving-mx-hostname and failed-session-count, which tell you which of your MX hosts to look at.
How does DANE fit alongside MTA-STS and TLS-RPT?
DANE (DNS-Based Authentication of Named Entities for SMTP, RFC 7672) is the other way to make inbound TLS mandatory. Instead of an HTTPS policy file, it publishes TLSA records in a DNSSEC-signed zone. TLS-RPT reports on both: RFC 8460 describes itself as a mechanism for domains "compatible with MTA-STS or DANE".
So the relationship is:
- MTA-STS and DANE are the two policy mechanisms. You can deploy either or both.
- TLS-RPT is the shared reporting channel for both, with separate
result-typevalues for each. - If both are present, RFC 8461 says a sender "MUST NOT allow MTA-STS Policy validation to override a failing DANE validation". DANE wins.
For most client domains, MTA-STS is the practical choice because it does not need DNSSEC. Where the DNS provider supports DNSSEC and the mail platform supports DANE, deploying both is reasonable. DANE for SMTP covers when it is worth the extra work.
Where should TLS-RPT reports go for 50 client domains?
Point every client's rua at one central destination you control, rather than a mailbox inside each client's tenant. Each report names the policy domain it covers, so a single collector can sort reports by client. Without that, 50 domains means 50 mailboxes nobody reads.
A typical MSP setup:
_smtp._tls.client-a.example. IN TXT "v=TLSRPTv1; rua=mailto:tlsrpt@msp.example.com"
_smtp._tls.client-b.example. IN TXT "v=TLSRPTv1; rua=mailto:tlsrpt@msp.example.com"
Points to plan for:
- Volume. Expect roughly one report per day from each reporting sender per client domain. Across a portfolio that adds up quickly, so a mailbox needs automated parsing, not a person reading attachments.
- Separation. Keep TLS-RPT apart from your DMARC
ruaaddress. The formats, senders and parsers differ, and mixing them makes both harder to process. - Mailbox rules. Make sure the collecting mailbox accepts
multipart/reportmessages with gzip attachments and does not quarantine them as suspicious. - HTTPS collection. If you run your own collector, an
https:destination avoids mailbox handling entirely. RFC 8460 requires the endpoint to return a success response, typically 200 or 201. - Policy hosting. For MTA-STS, each client needs
mta-sts.<client domain>served over HTTPS with a matching certificate. A common approach is to CNAME these names to one central web host that holds a certificate for each name. - Change control. Record each client's MTA-STS mode and
max_agein your change log, and treat a move toenforcelike a DMARC policy change. DMARC change management for MSP portfolios describes a process that works for both.
A note on tooling: DMARC AI processes DMARC aggregate (RUA) reports and uses AI to classify sending sources. TLS-RPT reports are a separate stream with their own format, so decide up front where they go and who reads them.
How do TLS-RPT reports differ from DMARC aggregate reports?
They are different reports about different mail, sent by different parties. DMARC aggregate reports are XML, sent by receiving mailbox providers, describing mail that claimed to come from your domain. TLS-RPT reports are JSON, sent by sending servers, describing their attempts to deliver mail to your domain.
| DMARC aggregate report | TLS-RPT report | |
|---|---|---|
| Covers | Outbound mail using your domain in the From header | Inbound mail delivered to your domain |
| Sent by | Receivers that evaluate DMARC | Senders that implement TLS-RPT |
| Answers | Did this mail pass SPF, DKIM and alignment? | Did this connection negotiate valid TLS? |
| DNS record | _dmarc.example.com with rua= |
_smtp._tls.example.com with rua= |
| Format | XML, usually gzip or zip | I-JSON, usually gzip |
| Standard | RFC 9990 (DMARCbis aggregate reporting) | RFC 8460 |
| Delivery | Email to mailto: |
Email to mailto: or HTTPS POST |
Both use a rua tag and both arrive daily, which is where the confusion comes from. A domain can have a perfect DMARC record and a broken MX certificate, or the reverse. For the DMARC side, start with the DMARC guide, then see DMARC aggregate reports explained and the RFC 9990 guide for MSPs.
FAQ
Is TLS-RPT required for MTA-STS?
No. RFC 8461 says MTA-STS "is intended to be used along with TLSRPT", but the two are separate records and senders apply MTA-STS either way. In practice it is required for a safe rollout, because testing mode only produces information when TLS-RPT is published and senders implement it.
Can TLS-RPT block email?
No. TLS-RPT only asks senders to report on TLS connections. It never changes how they deliver, so a typo in the _smtp._tls record cannot stop mail. The worst outcome of a broken TLS-RPT record is that reports go nowhere and TLS failures stay invisible until someone complains.
Do I need both records on every client domain?
Publish TLS-RPT on every domain that receives mail, since it is free of risk. Add MTA-STS where the client's MX hosts have valid public certificates and you can host the policy file reliably. For domains that never receive mail, MTA-STS adds little; they are better protected by SPF, DMARC and a null MX.
Why am I getting few or no TLS-RPT reports?
Only senders that implement TLS-RPT send reports, and they send roughly once a day after the UTC period closes. Check the record with dig, confirm the mailbox accepts gzip report attachments and DKIM-signed multipart/report mail, and wait at least two days. Google notes that report volume depends on wider sender adoption.
Do MTA-STS and TLS-RPT affect DMARC?
No. They protect the connection that carries inbound mail, while DMARC authenticates the sender of mail using your domain. Neither changes SPF, DKIM or DMARC results. They belong in the same email security baseline, as described in the modern email security stack.
Final thoughts
MTA-STS and TLS-RPT answer two different questions. MTA-STS answers "must mail to this domain be encrypted with a valid certificate?" TLS-RPT answers "did it work?" The first can stop mail, the second cannot, and that difference sets the rollout order: reporting first, policy in testing, then enforce.
For an MSP, the useful habit is to treat them as a pair per client domain: one _smtp._tls record pointing at a central collector, and an MTA-STS policy whose mode is tracked like any other change. If MTA-STS is new to the client, start with what MTA-STS is and why businesses should care.