TLS-RPT result types: what each failure means and how to fix it
By Jose Pollman · Published · Updated
A TLS-RPT result type is the label a sending server puts on a failed TLS connection to your mail server. RFC 8460 defines eleven, in three groups: the MX certificate and handshake, DANE and DNSSEC, and MTA-STS. Nearly all of them point at your own receiving setup, and each section below says what to fix.
What a result type is
A TLS-RPT report is a JSON file a sender delivers to the address in your TLS-RPT record, covering one UTC day, as RFC 8460 asks. For each policy it applied to your domain — policy-type is sts, tlsa or no-policy-found — it gives a count of successful and failed sessions, then a failure-details list. Every entry in that list carries a result-type, a failed-session-count and, usually, the MX hostname and IP address involved.
The result-type is not free text. It is one of the eleven values RFC 8460 §4.3 defines, which is why it can be looked up here. The free text goes in failure-reason-code, which the RFC says a reporter SHOULD fill in for certificate-not-trusted and validation-failure; when a report has one, read it alongside the section below. The types are also not exclusive: the RFC notes that one delivery attempt hitting several errors can be counted under more than one, so the counts need not add up to the number of failed connections.
Which direction the reports point
Worth being clear about, because it is easy to get backwards: you publish TLS-RPT for your own domain, and senders report the failures they hit while delivering to you. So policy-domain and receiving-mx-hostname in your reports are yours, and sending-mta-ip belongs to whoever sent the report. An expired certificate in your report is your certificate; a policy that will not parse is your policy.
The three groups
- The MX certificate and the TLS handshake:
starttls-not-supported,certificate-host-mismatch,certificate-expired,certificate-not-trusted,validation-failure - DANE and DNSSEC:
tlsa-invalid,dnssec-invalid,dane-required - Your MTA-STS policy:
sts-policy-fetch-error,sts-policy-invalid,sts-webpki-invalid
The MX certificate and the TLS handshake
Five types for connections that reached your mail server and failed while starting TLS or checking its certificate. Under an enforced MTA-STS or DANE policy the sender does not fall back to plain text, so the mail was refused. In testing mode, or with no policy, it usually still arrived, unencrypted — the policy-type in the report tells you which.
starttls-not-supported: your server did not offer STARTTLS
"result-type": "starttls-not-supported"A sender tried to upgrade the connection to your mail server to TLS, and your server did not offer STARTTLS or refused it. Because their policy required encryption, they did not fall back to delivering in the clear — so that mail did not reach you.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: Either your MX genuinely has no TLS configured, or something between the sender and your server is stripping the STARTTLS capability from the connection. The second is worth taking seriously: middleboxes and older firewalls did this routinely for years, and from the sender’s side it is indistinguishable from your server not supporting TLS at all.
How to fix it:
- Connect to your own MX on port 25 from outside your network and check that it advertises STARTTLS in the EHLO response.
- If it does advertise it, something in front of it is stripping it — check your firewall, any SMTP proxy, and your hosting provider’s edge.
- If it does not, enable TLS on the mail server. A publicly trusted certificate is required if any sender enforces MTA-STS against you.
- Treat this as urgent: senders enforcing a policy are not delivering to you at all, and you will see no bounce because the failure is at their end.
Defined in RFC 8460 §4.3.1, Negotiation Failures.
certificate-host-mismatch: your certificate does not match your MX hostname
"result-type": "certificate-host-mismatch"Your mail server presented a valid certificate, but it was issued for a different name than the MX hostname the sender connected to. Under MTA-STS or DANE the name has to match, so the session was refused and the mail did not arrive.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: Most often a shared hosting or mail platform serving one certificate under its own hostname across many customer domains, or an MX record pointing at a name that was never added to the certificate. Changing MX records during a migration without reissuing the certificate produces this immediately.
How to fix it:
- Check which hostname your certificate is issued for and which one your MX record points at — this failure is the gap between them.
- Reissue the certificate with your MX hostname among its subject alternative names.
- If your mail is hosted, this is your provider’s certificate: send them the report and ask for the MX hostname to be covered.
- Do not "fix" it by repointing MX at the certificate’s name unless that name really is your mail server.
Defined in RFC 8460 §4.3.1, Negotiation Failures.
certificate-expired: your certificate has expired
"result-type": "certificate-expired"Your mail server presented a certificate past its expiry date, so senders enforcing a policy refused the session and their mail did not reach you.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: Almost always automated renewal that stopped working, or a certificate renewed on disk and never reloaded by the mail server. SMTP daemons hold certificates in memory and do not notice a file changing underneath them the way a web server often does, so the renewal "succeeds" and port 25 keeps serving the old one. Certificate lifetimes are on a shrinking schedule, so anything depending on a manual step will fail more often over time.
How to fix it:
- Renew, then actually restart or reload the mail daemon — renewing the file alone is the classic half-fix.
- Make the renewal hook reload Postfix, Exim or whatever terminates TLS on port 25, not just the web server.
- Check the certificate as served on port 25 rather than 443. They are frequently different, and monitoring only 443 misses this entirely.
- Add expiry monitoring against the MX hostname on port 25.
Defined in RFC 8460 §4.3.1, Negotiation Failures.
certificate-not-trusted: your certificate is not from a trusted authority
"result-type": "certificate-not-trusted"Senders could not trace your certificate chain to a trusted root. Under MTA-STS that means the session is refused, because MTA-STS requires a publicly trusted certificate.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: Either a genuinely self-signed certificate — normal for SMTP for years, and not acceptable under MTA-STS — or a perfectly good certificate served without its intermediate. The second is the more painful case, because it works in a browser: browsers fetch missing intermediates, and mail servers do not.
How to fix it:
- Test the full chain as your server actually serves it on port 25, not just the leaf certificate.
- If an intermediate is missing, configure the server to send the complete chain. This is the most common cause and it is invisible from a browser.
- If the certificate is self-signed, replace it with one from a public CA — under MTA-STS a self-signed certificate cannot pass.
- If your mail is hosted, send the chain test result to your provider.
Defined in RFC 8460 §4.3.1, Negotiation Failures.
validation-failure: the TLS session failed for another reason
"result-type": "validation-failure"The connection to your server failed during TLS negotiation for a reason that does not fit the more specific categories — a protocol version mismatch, no shared cipher, or a handshake cut short.
Could be either end. This can originate at either end, so the failure reason and your own configuration are both worth checking.
Why it happens: This is the catch-all, and it is most often a version or cipher mismatch after one side hardens its configuration. If you drop TLS 1.0 and 1.1 on your MX you will start collecting these from older senders; if a large sender raises its own floor, you will collect them until you raise yours.
How to fix it:
- Read the failure-reason-code field where the reporter supplied one — it frequently names the real cause when the result-type cannot.
- Compare the TLS versions and cipher suites your MX accepts against what modern senders offer.
- Look for a recent hardening change at either end; this type appears suddenly rather than gradually.
- Check for network equipment interfering with the handshake, which produces truncated sessions that look like this.
Defined in RFC 8460 §4.3.1, Negotiation Failures.
DANE and DNSSEC
Three types that appear when you publish TLSA records for your MX hosts, or when a sender requires DANE for your domain. DANE rests on DNSSEC, so a DNSSEC failure takes DANE down with it, and DANE has no fallback: these sessions were refused.
tlsa-invalid: your DANE TLSA record does not match your certificate
"result-type": "tlsa-invalid"You publish a TLSA record for DANE, and the certificate your server presented did not match it. DANE has no fallback — a mismatch means DANE-validating senders refuse the session outright.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: Nearly always a certificate renewed without updating the TLSA record. DANE pins the certificate or its key, so unless renewal reuses the same key, every renewal invalidates the record. Doing it in the wrong order takes inbound mail down from every validating sender until DNS TTLs expire.
How to fix it:
- Compare your TLSA record against the certificate your MX is actually serving.
- Publish the new TLSA record *before* deploying the new certificate, and keep both valid across the changeover.
- Automate the TLSA update alongside renewal — a manual step will eventually be missed, and the failure mode is total.
- Treat this as urgent: it is breaking mail from every DANE-validating sender, not just the one that reported it.
Defined in RFC 8460 §4.3.2.1, DANE-Specific Policy Failures.
dnssec-invalid: your DNSSEC validation is failing
"result-type": "dnssec-invalid"Your DNS records failed DNSSEC validation. DANE depends entirely on DNSSEC, so senders could trust nothing about your domain and refused the session.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: Usually an expired signature or a DS record that no longer matches after a key rollover. DNSSEC signatures expire on their own schedule independently of the records themselves, so a zone that stops being re-signed breaks without anyone changing anything.
How to fix it:
- Run your domain through a DNSSEC validator to find which record is failing.
- Check whether signatures have expired — the most common cause, and it happens on a timer rather than on a change.
- After a key rollover, confirm the DS record at your registrar matches your current signing key.
- This reaches well beyond mail: a domain failing DNSSEC is being rejected by every validating resolver, for every service.
Defined in RFC 8460 §4.3.2.1, DANE-Specific Policy Failures.
dane-required: a sender required DANE and yours was not usable
"result-type": "dane-required"The sending server was configured to insist on DANE for your domain, and could not use it — your TLSA records were missing, unusable, or not backed by valid DNSSEC at the moment they tried.
Could be either end. This can originate at either end, so the failure reason and your own configuration are both worth checking.
Why it happens: This is the one type where the sender’s own policy is part of the story: they chose to require DANE. But the usual trigger is at your end — TLSA records withdrawn or broken while senders still expect them, often mid-migration or after a certificate change.
How to fix it:
- Confirm your MX hosts publish usable TLSA records and that DNSSEC validates, since DANE is unusable without it.
- If you deliberately withdrew DANE, expect these until senders stop expecting it; the records should be removed cleanly rather than left broken.
- If you never intended to run DANE, check whether stale TLSA records exist for your MX hostnames.
Defined in RFC 8460 §4.3.2.1, DANE-Specific Policy Failures.
Your MTA-STS policy
Three types about the policy itself: senders could not fetch it, could not parse it, or could not trust the certificate it was served over. In each case the policy was not applied, and the mail usually still arrived, unencrypted.
sts-policy-fetch-error: your MTA-STS policy could not be fetched
"result-type": "sts-policy-fetch-error"You advertise MTA-STS in DNS, but senders could not retrieve the policy file from its well-known HTTPS location — so the policy is not being applied to mail sent to you.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: The DNS record and the policy file are separate things maintained in separate places, so having one without the other is easy. The usual causes are a missing file at the well-known path, an expired certificate on the policy host, or a redirect — the policy must be served directly, and senders do not follow redirects.
How to fix it:
- Fetch https://mta-sts.<your-domain>/.well-known/mta-sts.txt yourself and see what happens.
- Confirm it returns 200 directly, with no redirect, and Content-Type text/plain.
- Check the certificate on the mta-sts host — it is a separate hostname and is routinely forgotten at renewal.
- Confirm the _mta-sts TXT record and the policy file agree on the policy id.
Defined in RFC 8460 §4.3.2.2, MTA-STS-specific Policy Failures.
sts-policy-invalid: your MTA-STS policy is malformed
"result-type": "sts-policy-invalid"Senders fetched your policy file but could not parse it — a missing required field, a bad version line, or an mx entry that is not valid. A policy that fails to parse is treated as no policy at all.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: The format is strict and unforgiving: CRLF line endings, a version line first, and every MX host listed. Policies hand-edited in a text editor that saves LF endings fail this way, and so do policies whose MX list has drifted out of step with the actual MX records.
How to fix it:
- Check the file begins with version: STSv1 and includes mode, max_age and at least one mx entry.
- Confirm the line endings are CRLF — the single most common cause, and invisible on screen.
- Make sure every hostname in your MX records appears in the policy; one missing host fails only for that host, which makes it look intermittent.
- Re-check after every edit, since an unparseable policy silently stops protecting anything.
Defined in RFC 8460 §4.3.2.2, MTA-STS-specific Policy Failures.
sts-webpki-invalid: your MTA-STS policy host certificate is not trusted
"result-type": "sts-webpki-invalid"Your policy file was served over HTTPS with a certificate that failed validation, so senders could not trust the policy and did not apply it.
Your mail server. This is your own receiving setup. The report describes senders failing to reach your MX, so the certificate, policy or DNS record at fault is yours to fix.
Why it happens: The mta-sts subdomain is a web host, and it is almost always the forgotten one: set up once, certificate issued, then left outside whatever monitoring covers the main site. It expires with nobody watching, and your MTA-STS protection quietly stops applying.
How to fix it:
- Check the certificate on mta-sts.<your-domain> specifically, not on your main domain.
- Confirm the full chain is served — a missing intermediate fails here exactly as it does for SMTP.
- Add this hostname to certificate expiry monitoring; it is the one nobody remembers.
- Until it is fixed, senders fall back to unencrypted delivery, which is quietly worse than it looks.
Defined in RFC 8460 §4.3.2.2, MTA-STS-specific Policy Failures.
Related
- Setting up TLS-RPT — the record that makes senders send these reports
- Publishing an MTA-STS policy safely — the record, the policy file and the order to roll them out in