Cluster 10 · RFC 8460 · Telemetry · _smtp._tls TXT

TLS-RPT Setup Guide (RFC 8460): Catch SMTP TLS Downgrade & Certificate Errors

Publish RFC 8460 _smtp._tls.<domain> TXT records to receive daily compressed JSON reports from Gmail, Microsoft, and Yahoo detailing every successful STARTTLS/DANE/MTA-STS session and failure.

Zero Telemetry · Strict CSP (connect-src 'none')

Domain Trust & Email-TLS Configuration

RFC 8461 · 8460 · 8659 · 9116
Domain Trust Readiness Score
93 / 100 (A)
HARDENED — TRUST & TLS READY
MTA-STS & TLS-RPT 23/30
BIMI & DMARC Gate 25/25
DNS CAA (RFC 8659) 20/20
RFC 9116 security.txt 25/25

MTA-STS & TLS-RPT Artifacts

RFC 8461 + 8460
https://mta-sts.example.com/.well-known/mta-sts.txt
version: STSv1
mode: testing
mx: aspmx.l.google.com
mx: *.aspmx.l.google.com
mx: smtp.google.com
mx: *.googlemail.com
max_age: 86400
TXT @ _mta-sts.example.com
v=STSv1; id=20261127000000Z
TXT @ _smtp._tls.example.com
v=TLSRPTv1; rua=mailto:[email protected]
STS-MX-OK: 4 valid MX pattern(s) encoded PASS
Policy binds TLS validation to aspmx.l.google.com, *.aspmx.l.google.com, smtp.google.com, *.googlemail.com.
STS-ID-OK: Valid _mta-sts policy id=20261127000000Z PASS
Update id= whenever you edit /.well-known/mta-sts.txt so senders re-fetch the policy.
STS-MODE-TEST: mode: testing (does not block downgrade attacks yet) WARN
Collect 7–14 days of TLS-RPT reports in testing mode, then switch to mode: enforce.
STS-AGE-LOW: Short max_age (86400s = 1 day) WARN
Recommended minimum for production enforce mode is >= 604800 seconds (7 days).
TLSRPT-OK: Valid _smtp._tls TLS-RPT record (RFC 8460) PASS
Daily JSON TLS reports route to mailto:[email protected].

Complete 4-in-1 Domain Trust Bundle

Markdown / TXT
domain-trust-bundle.md
# Domain Trust Sidecar & Email-TLS Bundle — example.com

- **Domain Trust Readiness Score:** 93 / 100 (Grade A — HARDENED — TRUST & TLS READY)
- **MTA-STS & TLS-RPT:** 23/30 · **BIMI:** 25/25 · **DNS CAA:** 20/20 · **security.txt:** 25/25

## 1. MTA-STS Policy File (`https://mta-sts.example.com/.well-known/mta-sts.txt`)
Serve over HTTPS (`200 OK`, `Content-Type: text/plain; charset=utf-8`, no redirects):
```text
version: STSv1
mode: testing
mx: aspmx.l.google.com
mx: *.aspmx.l.google.com
mx: smtp.google.com
mx: *.googlemail.com
max_age: 86400
```

### MTA-STS & TLS-RPT DNS TXT Records
- `_mta-sts.example.com` TXT: `v=STSv1; id=20261127000000Z`
- `_smtp._tls.example.com` TXT: `v=TLSRPTv1; rua=mailto:[email protected]`

## 2. BIMI DNS TXT Record
- `default._bimi.example.com` TXT: `v=BIMI1; l=https://example.com/.well-known/bimi-logo.svg; a=https://example.com/.well-known/bimi-vmc.pem`
- DMARC Prerequisite: `p=reject; pct=100` (READY)

## 3. DNS CAA Records (RFC 8659 BIND Zone)
```bind
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
example.com. 3600 IN CAA 0 issue "pki.goog"
example.com. 3600 IN CAA 0 issuewild "letsencrypt.org"
example.com. 3600 IN CAA 0 issuewild "pki.goog"
example.com. 3600 IN CAA 0 iodef "mailto:[email protected]"
```

## 4. RFC 9116 `https://example.com/.well-known/security.txt`
```text
Contact: mailto:[email protected]
Expires: 2027-11-26T00:00:00.000Z
Canonical: https://example.com/.well-known/security.txt
Policy: https://example.com/security-policy
Preferred-Languages: en
```

## Live Verification & Automated Remediation
- Live DoH + Security Scan: https://audit.runglab.dev/?domain=example.com
- Tailored 9-File ReadyCheck Fix Pack ($49): https://www.creem.io/product/prod_6rX3ZZhMCJ5MGugvk75Ogo
- Remote MCP Server (dev.runglab/devtools): https://mcp-server.runglab.dev/
Live DoH + TLS Verification $49 9-File Fix Pack

Verify Live DNS Records or Deploy All 9 ReadyCheck Fixes Together

In our N=140 B2B SaaS Readiness Benchmark, 95.2% (60/63) missed _mta-sts and 79.4% lacked valid RFC 9116 security.txt. Scan your live domain on ReadyCheck (https://audit.runglab.dev), order the tailored $49 9-File Domain Fix Pack, or automate via remote MCP Server dev.runglab/devtools.

RFC Specifications & Provider Requirements

Field / Record Compliant Value Engineering & Rollout Rationale
DNS Record Host _smtp._tls.<domain> Standard TXT record host required by RFC 8460 §3
DNS Record Value v=TLSRPTv1; rua=mailto:tls-reports@<domain> Supports mailto: or https:// collector endpoints separated by commas
Report Format application/tlsrpt+gzip (JSON) Sent roughly once every 24h UTC summarizing total-successful & failed-session-count
Pre-Enforce Requirement Mandatory before MTA-STS enforce Prevents blind email blackholes caused by stale MX lists or expired certs

RFC 8460 DNS TXT Record & Sample Incoming TLS-RPT JSON

tls-rpt-spec.json
// DNS TXT @ _smtp._tls.example.com
// v=TLSRPTv1; rua=mailto:[email protected]

{
  "organization-name": "Google Inc.",
  "date-range": {
    "start-datetime": "2026-11-26T00:00:00Z",
    "end-datetime": "2026-11-26T23:59:59Z"
  },
  "contact-info": "[email protected]",
  "report-id": "2026-11-26T00:00:00Z_example.com",
  "policies": [
    {
      "policy": {
        "policy-type": "sts",
        "policy-string": ["version: STSv1", "mode: testing", "mx: smtp.google.com", "max_age: 604800"],
        "policy-domain": "example.com"
      },
      "summary": {
        "total-successful-session-count": 482,
        "total-failure-session-count": 0
      }
    }
  ]
}

Inspect Common TLS-RPT Failure Reasons via jq

parse-tlsrpt.sh
# Decompress and inspect failures in any received .json.gz TLS-RPT attachment:
gzip -dc google.com\!example.com\!1795651200\!1795737599.json.gz \
  | jq '.policies[] | {type: .policy."policy-type", ok: .summary."total-successful-session-count", fail: .summary."total-failure-session-count", details: ."failure-details"}'

Step-by-Step Deployment & Key Insights

  1. Create a dedicated reporting alias or webhook collector such as tls-reports@<domain>.
  2. Publish a DNS TXT record at _smtp._tls.<domain> containing v=TLSRPTv1; rua=mailto:tls-reports@<domain>.
  3. Wait 24–72 hours for Gmail, Outlook, and Yahoo to deliver daily gzipped JSON reports.
  4. Verify total-failure-session-count is 0 and check policy-type: sts before raising MTA-STS mode from testing to enforce.
  • Unlike DMARC rua reports (XML), TLS-RPT delivers clean JSON inside gzip archives, pinpointing exact failure reasons such as certificate-expired, sts-policy-invalid, or starttls-not-supported.
  • You can publish _smtp._tls.<domain> even before deploying MTA-STS so receivers report opportunistic STARTTLS issues immediately.
  • If using an external mail monitoring mailbox on another domain, check RFC 8460 §3.2 — unlike DMARC, TLS-RPT does not require an external _report._smtp._tls DNS authorization record.

Common Configuration Pitfalls to Avoid

  • Publishing _smtp._tls on the wrong hostname (e.g. _tls._smtp or root @) — RFC 8460 requires exact label _smtp._tls.<domain>.
  • Omitting the mailto: or https:// scheme inside rua= (bare email addresses fail RFC 8460 syntax checks).
  • Routing TLS-RPT emails to an unmonitored inbox or personal employee email that bounces.

More Domain Trust & Email-TLS Guides

RFC 8461 · Cloudflare Workers + Pages

MTA-STS Setup on Cloudflare: Workers, Pages & DNS TXT Guide

Deploy RFC 8461 MTA-STS on Cloudflare in under 5 minutes without a separate origin server: host https://mta-sts.<domain>/.well-known/mta-sts.txt via Cloudflare Pages or a 12-line Worker plus _mta-sts TXT.

← Back to Domain Trust Sidecar Hub · Cluster 1A: SPF & DMARC Builder → · Cluster 4: Security Headers & CSP → · 2026 N=140 B2B Benchmark → · ReadyCheck Live Audit → · $49 9-File Fix Pack →

Frequently Asked Questions

Can I reuse my DMARC rua mailbox for TLS-RPT?

Yes, though using a dedicated alias like tls-reports@<domain> or a combined parser avoids mixing XML DMARC digests with JSON.gz TLS-RPT reports.

Does TLS-RPT hurt mail delivery if something is misconfigured?

No. TLS-RPT is purely observational reporting; publishing _smtp._tls never blocks or rejects email.

What TLS-RPT failure-details codes mean my MTA-STS config is broken?

Watch for sts-policy-fetch-error (broken HTTPS or 301 redirect on mta-sts.<domain>), sts-policy-invalid (bad mx: or max_age), and validation-failure (MX mismatch).