ietf-wg-emailcore / emailcore

3 stars 0 forks source link

SHOULD level requirement on users in 4.2.4.3 #90

Closed aamelnikov closed 4 months ago

aamelnikov commented 7 months ago

Alexey Melnikov wrote:

4.2.4.3.  Reply Codes after DATA and the Subsequent

.   The user who originated the message SHOULD be able to interpret the I find it odd to have RFC 2119 level requirement on users. Maybe change "SHOULD" to the lowercase "should", if we really talking about users here?
aamelnikov commented 7 months ago

Is this talking about server operators? Then SHOULD might be more appropriate.

toddherr commented 7 months ago

As an example...

The operator of the SMTP server SHOULD endeavor to use text in the transient failure status that is clear to the originator of the message in its meaning as a non-delivery indication....

aamelnikov commented 6 months ago

2 suggested replacements:

The operator of an SMTP server SHOULD use text in
the transient failure status (by mail message or otherwise)
that can reasonably be expected to be interpreted by
the originator as a non-delivery indication, just as a permanent
failure would be interpreted. If the client SMTP successfully
handles these conditions, the user will not receive such a reply.

Or:

An SMTP response indicating a transient failure status SHOULD
contain text providing a simple explanation, indicating that
delivery of the message is delayed.
klensin commented 5 months ago

See extended discussion at https://mailarchive.ietf.org/arch/msg/emailcore/2Soh8oWadOnpIIiHLVE_LIDLNxc . That discussion includes an example that illustrates why the second option above does not work. If the "transient failure" indication reaches the message originator, it is, as far as the mail system is concerned, a permanent error, not, e.g., an indication that there was a delay but delivery attempts are continuing.

aamelnikov commented 4 months ago

After a further discussion, the following proposal was made by John Klensin:

The text provided by the server as part of the reply SHOULD be designed to allow the user, or the user's agent, to interpret the return of a transient failure status (by mail message or otherwise) as a non-delivery indication, just as a permanent failure would be interpreted. If the client SMTP successfully handles these conditions, the user will not receive such a reply.

Subsequent explanation from John pointed out why this needs to be a SHOULD and why we don't want to go into details of explaining this, as this might take weeks to figure out and write correctly.

aamelnikov commented 4 months ago

Implemented in -28