Repository navigation
Description
Existing documentation URL(s)
- https://developers.cloudflare.com/email-service/reference/postmaster/#non-delivery-reports-ndrs
- https://developers.cloudflare.com/email-service/reference/postmaster/#smtp-errors
What changes are you suggesting?
Clarify that Email Routing does not forward a downstream non-delivery report generated after the destination accepts a message. Link to the SMTP errors section for the separate case where the destination rejects the message during forwarding and Cloudflare returns the error in the same session. When the original sending relay already accepted the message and its envelope return path is non-null, that relay is responsible for notifying the return address after permanent delivery failure. This helps postmasters decide which server to check when diagnosing a forwarding failure.
Additional information
Summary
The Postmaster page says a sender will receive no failure notification after describing the limitation on forwarding non-delivery reports. Its SMTP error section documents a separate failure path that reaches the original sending server in-session and can cause that server to generate its own report.
Steps to reproduce
- Read the Postmaster non-delivery report limitation and the SMTP errors section on the same page.
- Compare two cases. In the first, the destination SMTP server accepted and acknowledged the forwarded copy before a later failure. In the second, the destination returned a permanent SMTP error in-session, and the original sending relay had already accepted the message with a non-null envelope return path.
- Check the second case against the notification responsibility in RFC 5321 §6.1. This is a documentation comparison. No SMTP traffic or delivery reports were generated.
Expected behavior
A reader should be able to distinguish a later downstream non-delivery report that Cloudflare does not forward from an in-session SMTP error that Cloudflare returns to the sending relay. If that relay already accepted a message with a non-null return path and then encounters a permanent delivery failure, the relay is responsible for notifying the envelope return address.
Actual behavior
The non-delivery report section gives an unqualified statement that the sender will receive no failure notice. The SMTP error section says a permanent downstream SMTP rejection is returned to the sending server in the original session. In the second case, RFC 5321 assigns the original sending relay responsibility for notifying the envelope return address because the relay had already accepted the message. I compared the wording of both sections and checked the protocol rule.
Evidence
- Expected source: Postmaster: SMTP errors,
src/content/docs/email-service/reference/postmaster.mdx:146–148, describes the in-session path. RFC 5321 §6.1 assigns notification responsibility after acceptance and defines the null return-path exception. - Failure source: Postmaster: Non-delivery reports,
src/content/docs/email-service/reference/postmaster.mdx:204–206, does not limit its notification statement to the downstream report path. - Evidence provenance: observed
- Local verification: reproduced
- Reproduction completeness: complete
Restoration check
Read the updated page for both delivery outcomes. It should identify the different notification boundaries and direct the reader to the original sending relay when the error appeared in-session. Preserve the documented distinction that Cloudflare does not forward the later downstream report.
Runtime or environment
Cloudflare Developer Docs, production revision cd5bf82ac1d0d34fe13997eb15c6727b498cd926. I compared the live page with this production source.
Triage assessment
- Impact level: P2
- Assessment status: supported
- Impact basis: A postmaster seeking a permanent forwarding error can incorrectly rule out the sending relay and its notification or logs. No false diagnosis by an operator or mail delivery failure was observed.
- Workaround status: available
- Workaround basis: The SMTP errors section already describes the original sending server as the recipient of the in-session rejection.
References
- fix(email-service): clarify who retries temporary Email Routing delivery failures #35771 — This report addressed retry responsibility after a temporary SMTP rejection.
- [Email Service] Fix routing rules, catch-all precedence, and retry lifecycle #35841 — The change clarified the in-session error path in SMTP errors and left the non-delivery reports paragraph unchanged.
Activity
[Email Service] Fix postmaster, limits, and GraphQL analytics docs