Is there a “no-reply” email header?

后端 未结 3 829

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-

3条回答
  •  孤独总比滥情好
    2021-02-13 23:08

    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…

提交回复
热议问题