Search code examples
emailrfc822rfc2822rfc5322

Is there a "no-reply" email header?


I often see automated emails postfixed with a message like

Amazon:

*Please note: this e-mail was sent from an address that cannot accept incoming e-mail. Please use the link above if you need to contact us again about this same issue.

Twitter:

Please do not reply to this message; it was sent from an unmonitored email address. This message is a service email related to your use of Twitter.

Google Checkout:

Need help? Visit the Google Checkout help center. Please do not reply to this message.

Directly underneath this warning, Gmail shows me a reply input field. It seems to me that there should be some sort of header that could be attached to such automated emails that would tell the recipient's email client to not allow replies.

Is there such a header? If not, has it ever been discussed by the groups that control email formats?


Solution

  • RFC 6854 updates RFC 5322 to allow the group construct to be used in the From field as well (among other things). A group can be empty, which is likely the only way you've ever seen the group syntax being used: undisclosed-recipients:;.

    Section 1 of the RFC explicitly lists "no-reply" among the motivations for allowing the group construct in the From field:

    The use cases for the "From:" field have evolved. There are numerous instances of automated systems that wish to send email but cannot handle replies, and a "From:" field with no usable addresses would be extremely useful for that purpose.

    It provides the following example: From: Automated System:;

    However, at the end of the same section, the RFC also says:

    This document recommends against the general use of group syntax in these fields at this time

    In section 3, the RFC clarifies that the group syntax in the From field is only for Limited Use.

    Personally, I think this method should not be used – unless we're certain that all relevant clients display the originating domain in some other way (reconstructed from the Return-Path or a new header). Otherwise, this defeats all the efforts towards domain authentication (SPF, DKIM, and DMARC). Introducing an additional header field which causes clients to simply hide the reply button seems the much better approach to me.

    The RFC comments on this aspect in section 5:

    Some protocols attempt to validate the originator address by matching the "From:" address to a particular verified domain (for one such protocol, see the Author Domain Signing Practices (ADSP) document [RFC5617]). Such protocols will not be applicable to messages that lack an actual email address (whether real or fake) in the "From:" field. Local policy will determine how such messages are handled, and senders, therefore, need to be aware that using groups in the "From:" might adversely affect deliverability of the message.

    What a failed opportunity…