Re: [ietf-smtp] [dispatch] Forced SMTP redirects

Sam Varshavchik <mrsam@courier-mta.com> Tue, 16 March 2021 23:11 UTC

Return-Path: <mrsam@courier-mta.com>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE3413A1288 for <ietf-smtp@ietfa.amsl.com>; Tue, 16 Mar 2021 16:11:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e7R0GN9jzyMy for <ietf-smtp@ietfa.amsl.com>; Tue, 16 Mar 2021 16:11:06 -0700 (PDT)
Received: from mailx.courier-mta.com (mailx.courier-mta.com [68.166.206.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48DCC3A1287 for <ietf-smtp@ietf.org>; Tue, 16 Mar 2021 16:11:06 -0700 (PDT)
Received: from monster.email-scan.com (monster.email-scan.com [::ffff:192.168.0.2]) (TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by www.courier-mta.com with UTF8SMTPS id 00000000002C003B.0000000060513B04.0000798E; Tue, 16 Mar 2021 19:11:00 -0400
Received: from monster.email-scan.com (localhost [127.0.0.1]) (IDENT: uid 1004) by monster.email-scan.com with UTF8SMTP id 000000000001E836.0000000060513B04.00011AF8; Tue, 16 Mar 2021 19:11:00 -0400
References: <CAKFo7wkawgk-Yj676kE5MqK8XuebuArMexH-eOdq_Uo7ijdimQ@mail.gmail.com> <20200710015947.0BE2D1C78A2F@ary.qy> <CAKFo7w=MJBt0FdnCcOZCXZWdkd6Jinv4TqwdpefdoaCncbZH3Q@mail.gmail.com> <6AEA7D44C8037B32BC1F3810@PSB> <81d0132b-3ebf-2b0b-756b-503bb5afdb37@dcrocker.net> <8E2D8138-EE61-486A-B957-A922F0C6F4B3@dukhovni.org>
Message-ID: <cone.1615936259.881805.72389.1004@monster.email-scan.com>
X-Mailer: http://www.courier-mta.org/cone/
From: Sam Varshavchik <mrsam@courier-mta.com>
To: ietf-smtp@ietf.org
Date: Tue, 16 Mar 2021 19:10:59 -0400
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="=_monster.email-scan.com-72389-1615936259-0002"; micalg="pgp-sha1"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/16z68_4fAc5uIAevuHSGoBCP68M>
Subject: Re: [ietf-smtp] [dispatch] Forced SMTP redirects
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2021 23:11:08 -0000

Viktor Dukhovni writes:

> Postfix has been around since 1997 (alpha), or if you prefer 2001 (1.0 prod).
> The SMTP client in Postfix only ever[1] looks at the first digit.  I expect  
> this
> is fairly common.

Ditto for Courier. The relevant wording in 2?821 never meant anything else  
to me.

   4yz   Transient Negative Completion reply
      The command was not accepted, and the requested action did not
      occur.  However, the error condition is temporary and the action
      may be requested again.

   [ ... ]

   5yz   Permanent Negative Completion reply
      The command was not accepted and the requested action did not
      occur. The SMTP client is discouraged from repeating the exact
      request (in the same sequence).

This is followed by some discussion of the 2nd and the 3rd digit; but none of  
that ammends the concise definition stated above. So far, nobody was able to  
convince me that this means something other than its plain meaning.

I have some dim recollection of very, very few instances, over the last  
several decades, of parties who were (apparently) very much invested into  
having their mail delivered, trying to convince me that someone telling them  
5xx didn't really mean that, because of the specific error message that was  
assigned to the specific numeric code. I never found those arguments very  
convincing.

The most innovating argument revolved around the interpretation of "in the  
same sequence". The argument was that it only means "hey, you just can't  
resend it immediately, but if your RSET, or maybe disconnect or reconnect,  
its okay-dokay".