Re: [ietf-smtp] parsing SMTP replies (was: Proposed ESMTP keyword RCPTLIMIT}

John C Klensin <john-ietf@jck.com> Thu, 18 March 2021 13:58 UTC

Return-Path: <john-ietf@jck.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 609D73A2C26 for <ietf-smtp@ietfa.amsl.com>; Thu, 18 Mar 2021 06:58:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 qylxCbbz890Z for <ietf-smtp@ietfa.amsl.com>; Thu, 18 Mar 2021 06:58:49 -0700 (PDT)
Received: from bsa2.jck.com (ns.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 EABE63A2C25 for <ietf-smtp@ietf.org>; Thu, 18 Mar 2021 06:58:48 -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 1lMtAj-000MhA-4D; Thu, 18 Mar 2021 09:58:45 -0400
Date: Thu, 18 Mar 2021 09:58:39 -0400
From: John C Klensin <john-ietf@jck.com>
To: Alessandro Vesely <vesely@tana.it>, Ned Freed <ned.freed@mrochek.com>, ietf-smtp@ietf.org
Message-ID: <0BEE6B0072CA657CBBD724E8@PSB>
In-Reply-To: <23c8a0fb-408e-3756-83bf-233c7e40197a@tana.it>
References: <77B21231-47EA-4CA6-A665-5880B6A54D4D@wordtothewise.com> <20210312203224.F3739701E4C5@ary.qy> <01RWOUM3HK0Q005PTU@mauve.mrochek.com> <e6e5d166-ded5-b6c0-db9a-57c44e8bd92a@dcrocker.net> <01RWOX4A2CZG005PTU@mauve.mrochek.com> <CF0247A810AF9482CBB155E8@PSB> <01RWP85B98S4005PTU@mauve.mrochek.com> <20210316061139.GA26514@kiel.esmtp.org> <0d5912b5-6aba-728b-00de-a75397ad8ad8@tana.it> <01RWRTQUWB8Q005PTU@mauve.mrochek.com> <23c8a0fb-408e-3756-83bf-233c7e40197a@tana.it>
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/ietf-smtp/faHjpcYWTtRmX_2Y98kYpEyjCGA>
Subject: Re: [ietf-smtp] parsing SMTP replies (was: Proposed ESMTP keyword RCPTLIMIT}
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: Thu, 18 Mar 2021 13:58:50 -0000


--On Thursday, March 18, 2021 11:37 +0100 Alessandro Vesely
<vesely@tana.it> wrote:

>...
>> That said, I don't see why this limit necessarily has
>> anything to do  with greylisting. It's about how to long to
>> wait before retying after a transient failure, irrespective
>> of why the delay occurred. If could be greylisting, it could
>> be exceeding a rate or connection limit, it could be one of
>> the sources for validating recipients is down, it could be
>> the spam filtering system is down, etc. RETRYDELAY would be a
>> much better name for it.

> Good point.  By observing RCPTLIMIT, a client can avoid
> re-queuing delays.  It stops just before reaching the limit
> and then starts a new transaction right away.  However, this
> won't work if 452 was issued to split recipients according to
> a different criterion than the local max number.

"Avoid" and "stops"?  Only maybe.  If some variation on
greylisting is applied because the server doesn't approve of,
e.g., the IP address of the sender or the combination of the
reverse-path and one or more of the recipients, a published
maximum on the number of RCPT commands doesn't have anything to
do with it.   And, for a variety of reasons, that might result
in a 4yz code after DATA, not anything but 250 codes after the
RCTP commands.

I see this feature as useful, but we should not over-sell it,
even to each other.

   john