You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(email-service): MTA-STS setup path immediately enforces the policy it says to test first #35775
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
Read Serve the policy file in the MTA-STS guide, including the existing-domain caution.
Follow the Deploy to Cloudflare link as far as reading the template source. Do not deploy.
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.
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.
Activity
[Email Service] Fix DNS onboarding, SPF, suppressions, and MTA-STS do…