RFC 8461 MTA-STS & RFC 8460 TLS-RPT Policy Validator, Generator & CI/CD Gate

Enforce mandatory STARTTLS encryption for inbound SMTP and receive daily TLS failure reports—without breaking RFC 7208 10-lookup SPF ceilings across Google Workspace, Microsoft 365, SendGrid, or Amazon SES.

⚡ 1-Click Live Diagnostic • Zero Login • <1.5s Edge Execution

Run a Live Deterministic Check Right Now

Scan real corporate DNS via Cloudflare DoH, simulate a broken AI-agent OpenAPI PR, or audit WCAG 2.2 / EN 301 549 clauses instantly.

1-Click Real DNS Presets:
Click Scan Live DNS & Flatten SPF or any preset above to query live TXT records via Cloudflare DoH (cloudflare-dns.com/dns-query) and compute your exact X / 10 DNS Lookups (RFC 7208) score.

RFC 8461 MTA-STS & RFC 8460 SMTP TLS-RPT Reference Blueprint

Enter any domain in the Live SPF & Email Auth Diagnostic above or call POST https://specgate.profalexandrezamboni.workers.dev/api/v1/spfguard/analyze to audit live DNS lookups alongside ready-to-publish MTA-STS and TLS-RPT artifacts:

1. HTTPS Policy File (https://mta-sts.example.com/.well-known/mta-sts.txt)

version: STSv1
mode: enforce
mx: aspmx.l.google.com
mx: *.googlemail.com
max_age: 604800

2. Authoritative DNS TXT Records (_mta-sts & _smtp._tls)

_mta-sts.example.com.  300 IN TXT "v=STSv1; id=2026111601;"
_smtp._tls.example.com. 300 IN TXT "v=TLSRPTv1; rua=mailto:tls-rpt@example.com;"

GitOps Best Practice: Whenever MX hosts or policy modes change, RFC 8461 Section 3.1 requires rotating the id= token in _mta-sts.<domain> so remote SMTP caches fetch the updated policy file.

10-Second Onboarding Builder • Zero Docker

Generate Your Drop-In CI/CD or .pre-commit Config in 10 Seconds

Select your CI stack, deterministic gates, and repository scale to generate ready-to-commit YAML.

2. Deterministic Gates to Enforce
.github/workflows/specgate.yml
name: SpecGate Deterministic CI Gates
on: [pull_request]
jobs:
  deterministic-gates:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: profalexandrezamboni-ui/specgate-action@v1.2.0
        env:
          SPECGATE_API_KEY: ${{ secrets.SPECGATE_API_KEY }}
        with:
          base_spec: openapi/base.json
          head_spec: openapi/head.json
      - run: pipx run --spec git+https://github.com/profalexandrezamboni-ui/spfguard-cli@v1.2.0 spfguard-cli --domain example.com
Recommended for 3–15 Repositories: Starter Plan ($19/mo flat team rate) unlocks SPECGATE_API_KEY for up to 15 private/public repos, automated inline PR comments, and 1,000 checks/hr.

Transparent Pricing — Instant Activation via Paddle

Start free on up to 2 repositories or domains. Upgrade anytime for multi-repository governance, signed PR overrides, and compliance exports.

Free Open-Source

$0/mo
  • Up to 2 repositories / domains
  • Deterministic CLI & GitHub Action
  • Interactive Web Playground
  • 60 API requests/hour
Install from GitHub

Team & Compliance

$39/mo

Paddle Price ID: pri_01m72s8sgdake5vfj2ygs54x50

  • Unlimited repositories & domains
  • Auditable PR Sign-Off override workflow
  • SOC 2 Audit Trail & EN 301 549 exports
  • 10,000 API requests/hour
Subscribe Team — $39/mo

14-Day Self-Serve Refund Guarantee: Payments, sales tax, and VAT are handled by our Merchant of Record (Paddle). Cancel immediately or trigger an automated 14-day full refund anytime via POST /api/v1/support/ticket.

Frequently Asked Technical Questions

What is the difference between RFC 8461 MTA-STS testing mode and enforce mode?

In testing mode, sending mail servers report STARTTLS negotiation or certificate mismatches via RFC 8460 TLS-RPT without dropping messages. In enforce mode, compliant SMTP senders refuse plaintext fallback if TLS validation fails against your authorized MX patterns.

Why validate MTA-STS, TLS-RPT, and RFC 7208 SPF 10-lookup limits together in CI/CD?

Email authentication regressions happen when DNS Terraform or zone PRs add SaaS mailers (pushing SPF past 10 DNS lookups into PermError) or rotate MX hosts without updating /.well-known/mta-sts.txt and the _mta-sts TXT id.