How-to guide 5 min read Updated

How to read SMTP TLS-RPT reports

Plain-English guide to daily .json.gz TLS-RPT reports: what no-policy-found means, testing vs enforce failures, and how to fix every RFC 8460 error.

For Email admins, MSPs and security teams
Short answer

An SMTP TLS-RPT report is a daily JSON summary from mail senders like Google or Microsoft showing whether encrypted (TLS) delivery to your mail servers succeeded or failed. Seeing no-policy-found with 0 failures is completely normal when you have not enabled MTA-STS or DANE yet; if failures appear, the report names the exact MX host and error code to fix.

Every TLS-RPT scenario, explained simply

TLS-RPT JSON reports look intimidating at first, especially the policy-type: no-policy-found message that Google sends by default. Use the table below to see what each scenario really means.

ScenarioWhat it means in plain EnglishWhat to do
All pass + sts (enforce) or tlsa (DANE)Every inbound mail connection from this sender was encrypted and verified against your strict policy.Nothing to fix. Keep automated TLS certificate renewal healthy.
All pass + sts (testing)Your MTA-STS policy worked cleanly with 0 failures while still in safe testing mode.Monitor reports for 1 to 2 clean weeks, then change mode: testing to mode: enforce and bump the id= in _mta-sts.
no-policy-found + 0 failuresNormal when TLS-RPT is published without MTA-STS or DANE. Mail still arrived encrypted via opportunistic TLS.No urgent action needed. Publish MTA-STS if you want senders to strictly require TLS, or check your _mta-sts setup if you expected it to be live.
Failures + sts (testing) or no-policy-foundThe sender hit a TLS certificate, STARTTLS, or policy fetch error, but mail still delivered because enforcement is off.Fix the listed MX host, certificate, or mta-sts.txt issue now while mail is still flowing, before switching to enforce.
Failures + sts (enforce) or tlsa (DANE)Urgent: senders defer or bounce inbound mail when TLS validation fails under an enforced policy.Fix the expired/mismatched certificate, MX hostname, or TLSA/DNSSEC record immediately. For MTA-STS, you can temporarily drop to mode: testing while repairing.
sts (none) or 0 sessionsmode: none disables MTA-STS enforcement; 0 sessions simply means this sender sent no mail during the window.For mode: none, switch to mode: testing when ready. For 0 sessions, no action needed.

Common TLS failure codes and how to fix them

When total-failure-session-count is greater than zero, the failure-details section includes a standard RFC 8460 result-type code. Here is what the most common codes mean:

Result typeWhat went wrongHow to fix it
certificate-expiredYour receiving mail server presented an expired TLS certificate on port 25.Renew the mail server TLS certificate immediately and verify automated renewal reloads the mail service.
certificate-host-mismatchThe certificate SAN/CN does not match the MX hostname.Install a certificate covering the exact MX hostname, and confirm your MTA-STS mx: patterns match live MX records.
certificate-not-trustedThe certificate is self-signed, from an untrusted CA, or missing an intermediate certificate.Serve the full certificate chain from a publicly trusted CA on port 25.
starttls-not-supportedThe mail server did not advertise STARTTLS on port 25.Enable STARTTLS on your mail server (and remove any legacy backup MX that lacks TLS).
sts-policy-fetch-errorThe sender saw _mta-sts in DNS but could not download /.well-known/mta-sts.txt.Make sure https://mta-sts.yourdomain/.well-known/mta-sts.txt returns HTTP 200 reliably with no redirects.
sts-webpki-invalidThe HTTPS certificate on mta-sts.yourdomain failed validation.Serve a valid, publicly trusted HTTPS certificate covering mta-sts.yourdomain.
sts-policy-invalidThe mta-sts.txt file broke RFC 8461 formatting.Check version: STSv1, mode, mx:, and max_age lines using our MTA-STS checker.
tlsa-invalid / dnssec-invalidYour DANE TLSA record did not match the live certificate, or DNSSEC validation failed.Run our DANE and DNSSEC checkers and update _25._tcp.<mx> TLSA or broken DS/RRSIG records.
Do not jump straight to mode: enforce
Always run MTA-STS in mode: testing first and read your daily TLS-RPT reports for 1 to 2 weeks. Switching straight to mode: enforce with a mismatched mx: pattern or stale backup MX certificate can cause Google and Microsoft to defer or bounce incoming mail.

How TLS-RPT differs from DMARC reports

  • DMARC reports (.xml.gz) are about mail sent FROM your domain (SPF and DKIM authentication, and stopping spoofers).
  • TLS-RPT reports (.json.gz) are about mail sent TO your domain (whether other mail servers could connect to your MX hosts over valid encrypted TLS).
  • Both reports arrive daily as compressed attachments to the rua= address in their respective DNS TXT records (_dmarc vs _smtp._tls).
Tip: Drop raw .json.gz, .gz, .zip, or .json attachments straight into our TLS-RPT report analyser without unzipping first to get plain-English context and exact fixes.

How middle.network makes cryptic TLS-RPT JSON effortless to act on

Daily RFC 8460 TLS-RPT attachments arrive as compressed .json.gz files filled with terse codes like no-policy-found and sts-webpki-invalid. middle.network unpacks compressed attachments safely in one drop, explains whether mail was affected, and translates every failure code into an exact fix.

Direct .json.gz & .zip upload

Unpacks daily attachments from Google and Microsoft automatically with built-in archive-bomb and path-traversal guards.

Policy-aware urgency

Distinguishes safe no-policy-found and testing-mode reports from urgent failures under enforced MTA-STS or DANE policies.

Actionable RFC 8460 fixes

Decodes every standard TLS failure result-type into plain English and links straight to live MTA-STS, MX, DANE and DNSSEC checks.

Questions people ask

Why does my Google TLS-RPT report say no-policy-found?
Because your domain has a _smtp._tls TLS-RPT DNS record (so Google sends you daily reports) without an MTA-STS or DANE policy published. If failed sessions are 0, nothing is broken and mail still arrived encrypted using opportunistic TLS.
Can I upload .json.gz TLS-RPT attachments directly?
Yes. Drop the .json.gz, .gz, .zip, or .json attachment straight onto middle.network’s TLS-RPT report analyser (up to 1 MB) for an instant plain-English breakdown.
What happens if I have TLS failures while mode: enforce is on?
Senders that support MTA-STS refuse to fall back to unencrypted delivery, so affected messages are delayed or bounced. Fix the certificate or MX mismatch right away, or temporarily switch to mode: testing and update the _mta-sts id= tag while repairing.
When is it safe to move from mode: testing to mode: enforce?
Once daily TLS-RPT reports from your main senders show 0 failures for 1 to 2 weeks and every MX host matches your mta-sts.txt patterns.

Sources and further reading

Written by the middle.network engineering team (Middle Enterprises Pty Ltd, ABN 88 633 909 412), who build and operate these tools. Last reviewed 2026-11-29.