TLS-RPT report reader

Short answer

How do I read TLS-RPT reports?

You read TLS-RPT reports by unpacking the JSON file and looking at the number of successful and failed sessions per policy, and at failure-details, which shows the error type and server. Typical errors are certificate-expired, certificate-host-mismatch and sts-policy-fetch-error. Drop the files above and we show the overview. The reports arrive at the address in the _smtp._tls record.

Drop the TLS reports here and we show successful and failed sessions per policy and server.

What TLS reports are

With TLS-RPT, Google, Microsoft and others send a daily JSON file about the encryption when they delivered email to you. Errors like an expired certificate or a wrong host name show up here.

Privacy

The file or text is only read in your browser. Nothing is uploaded to us.

Common error types

  • starttls-not-supported: the server did not offer encryption.
  • certificate-expired: the certificate on the mail server has expired.
  • certificate-host-mismatch: the name in the certificate does not match the MX name.
  • certificate-not-trusted: the certificate is not issued by a known authority.
  • sts-policy-invalid: the MTA-STS policy file has wrong content, for example an mx line that does not cover the server.
  • tlsa-invalid and dnssec-invalid: errors in DANE or DNSSEC.

What do you do with the errors?

A few errors from single servers are normal. If many sessions from the same sender fail, or all of them against one MX, the problem is on your side. Fix the error before MTA-STS is set to enforce, otherwise email can be stopped.

Questions and answers

What does sts-policy-fetch-error mean?

The sender could not fetch the MTA-STS policy file. Check that https://mta-sts.domain/.well-known/mta-sts.txt responds.

Can I read DMARC reports here?

Use the DMARC report reader for the XML files. This one reads JSON from TLS-RPT, and APRF as well.

Why is the policy type no-policy-found?

The sender found neither MTA-STS nor DANE for the domain. The report then only shows whether STARTTLS worked. That is common before MTA-STS is set up.