Skip to content

TLS-RPT: hearing about failed encrypted delivery

Updated

When a sender tries to deliver mail to your domain with encryption and it fails, you normally never find out. TLS-RPT (RFC 8460) fixes that: you publish an address, and large senders send you a daily summary of what went wrong.

The record

It is a TXT record at _smtp._tls. The rua part is where reports go: a mailto: address, an https: address, or several separated by commas.

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

What the reports contain

  • A small JSON file, usually compressed, one per sender per day
  • How many connections succeeded, and how many failed
  • For each failure, the reason: an expired certificate, a name that does not match, a sender that could not fetch the MTA-STS policy, or a DANE problem

Why you want it

It is the safety net for MTA-STS and DANE. In testing mode the reports show which mail servers or certificates would have broken delivery, before anything is refused. It is optional, costs nothing to publish, and needs a mailbox (or a web address) that can receive the reports.

Check a domain's TLS-RPT record