Re: [Emailcore] Retrying delivery on post-DATA permanent error status

John C Klensin <john-ietf@jck.com> Tue, 26 July 2022 14:54 UTC

Return-Path: <john-ietf@jck.com>
X-Original-To: emailcore@ietfa.amsl.com
Delivered-To: emailcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA45CC13C52F; Tue, 26 Jul 2022 07:54:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9X5XRsVz7FL9; Tue, 26 Jul 2022 07:54:11 -0700 (PDT)
Received: from bsa2.jck.com (bsa2.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA468C15A731; Tue, 26 Jul 2022 07:53:31 -0700 (PDT)
Received: from [198.252.137.10] (helo=PSB) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1oGLwA-000ILm-2Y; Tue, 26 Jul 2022 10:53:30 -0400
Date: Tue, 26 Jul 2022 10:53:23 -0400
From: John C Klensin <john-ietf@jck.com>
To: Michael <michael@linuxmagic.com>, "Luis E. Muñoz" <emailcore=40lem.click@dmarc.ietf.org>, emailcore@ietf.org
Message-ID: <E253F202B165F9AB9CE5E9FE@PSB>
In-Reply-To: <463068259a5dd858bb5b247abc9cb687@fe1.cityemail.com>
References: <463068259a5dd858bb5b247abc9cb687@fe1.cityemail.com>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.10
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/BICM_nvy5ioL7yOzJJHnXjmMKOQ>
Subject: Re: [Emailcore] Retrying delivery on post-DATA permanent error status
X-BeenThere: emailcore@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: EMAILCORE proposed working group list <emailcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emailcore>, <mailto:emailcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emailcore/>
List-Post: <mailto:emailcore@ietf.org>
List-Help: <mailto:emailcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emailcore>, <mailto:emailcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2022 14:54:12 -0000

To a first order approximation and with allowances for writing
at that hour after an exhausting day, I think that is what I was
saying.

  john


--On Tuesday, July 26, 2022 07:50 -0700 Michael
<michael@linuxmagic.com> wrote:

> Weighing in, the wording SHOULD might be appropriate in
> context of a CLIENT, eg outbound spam filtering, your SMTP
> server returns 5xx, you should not click send again ;), you
> might have selected wrong outbound server as well. To say
> MUST, is impossible to enforce, programmatically given the
> wide range of possibilities that caused it
> 
> On Tue, 26 Jul 2022 01:15:39 -0400
> John C Klensin  wrote:
>> 
>> 
>> --On Monday, July 25, 2022 16:52 -0400 "Luis E. Muñoz"
>>  wrote:
>> 
>>> 
>>> RFC-5321 has this to say regarding status codes returned
>>> post-DATA
>>> 
>>>    When an SMTP server returns a permanent error status (5yz)
>>> code after    the DATA command is completed with
>>> ., it MUST NOT make    any subsequent attempt to
>>> deliver the message.  As with temporary    error status
>>> codes, the SMTP client retains responsibility for the
>>> message, but SHOULD not again attempt delivery to the same
>>> server without user review of the message and response and
>>> appropriate intervention.
>>> 
>>> I do not understand the reasoning behind the "SHOULD not", as
>>> I believe it should rather be a "MUST NOT" to maintain
>>> consistency. What am I missing?
>> 
>> (Personal opinion, not as editor or anything else because I
>> don't remember the original discussion any more). 
>> 
>> The key part of that text is the last part of the sentence:
>> "without user review of the message and response and
>> appropriate intervention".  Now the question for you is "are
>> you sure those are all of the cases".  If, for example, for
>> some messages, and automated review would be satisfactory, do
>> you think whatever robotic process was involved would
>> constitute "user review".  If the answer to either of those
>> questions is "no", then SHOULD is appropriate and the
>> question becomes whether there should be an explanation in
>> the text about those other possible cases.  (Now slipping my
>> editor hat back on, for this case, I hope not.)
>> 
>> best,
>>    john
>> 
>>  
>> 
>> -- 
>> Emailcore mailing list
>> Emailcore@ietf.org
>> https://www.ietf.org/mailman/listinfo/emailcore
>> 
> 
> 
> --