Skip to content

fix(email-service): MTA-STS setup path immediately enforces the policy it says to test first #35775

Done

Description

@coygeek

Existing documentation URL(s)

What changes are you suggesting?

A reader following the guide for an existing domain should have an actionable way to publish the testing-mode policy the guide recommends and later switch to enforcement.

Additional information

Summary

The MTA-STS guide tells operators to start an existing domain in testing mode before enforcing the policy. The documented deployment serves Cloudflare's shared enforce-mode file and gives no way to follow the testing-first instruction.

Runtime or environment

Published Cloudflare developer documentation and its production source baseline.

Steps to reproduce

  1. Read Serve the policy file in the MTA-STS guide, including the existing-domain caution.
  2. Follow the Deploy to Cloudflare link as far as reading the template source. Do not deploy.
  3. Fetch the static policy file referenced by the template with an ordinary HTTPS GET and inspect its mode.

Actual behavior

The proxy template fetches and returns the shared policy file verbatim. The public response returned HTTP 200 and mode: enforce. The documented DNS record aliases the shared discovery record. The guide provides no alternate deployment steps that start in testing mode. No policy was deployed during this check.

Evidence

Restoration check

Following the instructions for an existing domain gives the reader a testing-mode policy to verify at their custom hostname and a documented transition to enforcement with the required discovery configuration. A reader choosing the shared template can see the enforcement behavior before deployment.

Triage assessment

  • Impact level: P2
  • Assessment status: supported
  • Impact basis: The published setup supplies an enforce-mode policy to an operator trying to follow the same page's testing-first rollout guidance.
  • Workaround status: unverified
  • Workaround basis: A self-managed policy endpoint and discovery record could permit a testing-first rollout. This alternative was not deployed or validated with a domain's DNS and receiving-mail setup.
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