Skip to content

fix(email-routing): configure TLS reporting before relying on testing-mode reports #36043

In review

Description

@coygeek

Existing documentation URL(s)

What changes are you suggesting?

Before the monitoring step, document how to set up or verify TLS reporting for the domain.

Additional information

Summary

The testing-mode walkthrough tells operators to monitor TLS reports before switching to MTA-STS enforcement. It takes a domain through configuring and verifying MTA-STS without establishing the separate reporting policy needed to request those reports.

Steps to reproduce

  1. Read Start in testing mode for an existing domain without a TLS reporting policy or collector.
  2. List the records and endpoints that the walkthrough creates and verifies before telling the reader to monitor reports.
  3. Compare that list with the reporting policy defined by RFC 8460.

Expected behavior

Before monitoring, the walkthrough explains how to publish and verify a _smtp._tls TXT record with a working rua report destination, or how to confirm that an existing reporting configuration meets that prerequisite.

Actual behavior

The walkthrough serves a testing-mode policy over HTTPS, publishes the _mta-sts TXT record, verifies both, and then directs the reader to monitor TLS reports. It leaves the reporting record and its destination unspecified. Following only the walkthrough for a domain without a reporting policy leaves that domain without a request for reports. An operator may wait for reports that the domain never requested or interpret their absence as evidence that the test succeeded.

Evidence

  • Expected source: RFC 8460 §3 defines the _smtp._tls TXT reporting policy and the required rua destination.
  • Failure source: The production guide source goes directly from verifying the MTA-STS record and policy to monitoring reports.
  • Evidence provenance: observed
  • Local verification: reproduced
  • Reproduction completeness: complete

Reproduction consisted of inspecting the published guide and its production source. No Worker was deployed, no DNS records were changed, and no mail was sent.

Restoration check

Walk through the updated guide for a domain without TLS reporting and for one that already receives reports. Before monitoring begins, the first case explains how to publish and verify a reporting policy with a working destination, and the second explains how to verify and reuse the existing configuration.

Runtime or environment

Cloudflare Developer Docs as served and at the pinned production revision linked in Evidence.

Triage assessment

  • Impact level: P2
  • Assessment status: supported
  • Impact basis: An operator can wait for telemetry that their domain never requested or mistake the absence of reports for successful testing.
  • Workaround status: unverified
  • Workaround basis: The linked RFC provides the reporting record format. Setting up and verifying a collector using the RFC alone was untested.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions