TLS-RPT Record Generator
Generate a TLS-RPT (_smtp._tls TXT) record so you receive JSON reports when sending servers fail to negotiate TLS with your mail infrastructure. TLS-RPT (SMTP TLS Reporting, RFC 8460) is the visibility layer for MTA-STS and DANE — it tells you when and why TLS is failing so you can fix it before or after switching to enforce mode.
How to use the TLS-RPT Record Generator
Enter your domain and one or more reporting endpoints — either mailto:email@domain addresses or https:// URIs pointing to a report collector endpoint. Each endpoint goes on its own line.
Click Generate Record. The output shows the DNS Host and TXT Value to add in your DNS zone as a TXT record. The record name is always _smtp._tls.<domain>.
After publishing:
- Sending servers that support TLS-RPT will send daily JSON reports (RFC 8460 format) to your reporting endpoints whenever they encounter TLS failures when delivering mail to your MX hosts.
- Reports include: the sending MTA, the receiving MX host, the type of failure (certificate expired, policy mismatch, handshake failure, etc.), the count of affected sessions, and the date range.
- Monitor reports during your MTA-STS testing phase — if you see unexpected failures, investigate before switching to enforce mode.
TLS-RPT works independently of MTA-STS. Even if you are not deploying MTA-STS, TLS-RPT reports reveal TLS configuration problems on your MX servers that you might not otherwise know about.
What is SMTP TLS Reporting?
SMTP TLS Reporting (TLS-RPT), defined in RFC 8460, is a mechanism that lets domain owners receive machine-readable reports about TLS failures when external mail servers attempt to deliver email to their infrastructure. It is published as a TXT record at _smtp._tls.<yourdomain> and is the observability companion to MTA-STS — just as DMARC aggregate reports give you visibility into authentication failures, TLS-RPT gives you visibility into transport-layer encryption failures.
The failure categories TLS-RPT covers include: STARTTLS not supported or not offered by the receiving server, certificate validation failures (expired, wrong hostname, untrusted CA), MTA-STS policy mismatches (the MX hostname is not in the policy), and DANE/TLSA validation failures. Each category appears in the daily JSON report with a count of affected messages and the specific failure reason. This is data you cannot easily obtain otherwise — TLS failures are typically silent from the sender's perspective, with messages either delivered insecurely or silently queued.
TLS-RPT reports are sent by supporting mail providers — Gmail and Microsoft 365 both send them — and arrive as JSON attachments at the address you specify in the rua= tag. The JSON schema is standardised so you can parse them programmatically or use any TLS-RPT report aggregator. Unlike DMARC aggregate reports, TLS-RPT data does not contain message content — only connection-level metadata — so there are fewer privacy concerns with the forensic approach. Deploying TLS-RPT before MTA-STS enforcement is strongly recommended: know what is failing before you start rejecting deliveries.
Common use cases
- MTA-STS rollout companion — deploy TLS-RPT alongside MTA-STS in testing mode to receive reports of any TLS failures before switching to enforce mode, preventing unintended mail loss.
- MX certificate monitoring — TLS-RPT reports will alert you when your MX server’s TLS certificate is about to expire or has configuration issues before they cause delivery failures.
- DANE validation feedback — if you publish TLSA records for DANE, TLS-RPT reports failures when the sending server’s TLSA lookup results do not match your certificate, helping you catch misconfigurations.
- Third-party mail processor visibility — route TLS-RPT reports to a monitoring service or SIEM to track TLS delivery health across all your sending domains from a single dashboard.
- Compliance evidence — TLS-RPT provides documented evidence that you monitor transport security for email, useful for security audits and regulatory reporting.