Re: [ietf-smtp] SMTP Reply code 1yz Positive Preliminary reply

Hector Santos <hsantos@isdg.net> Fri, 06 March 2020 02:45 UTC

Return-Path: <hsantos@isdg.net>
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 91D953A1178 for <ietf-smtp@ietfa.amsl.com>; Thu, 5 Mar 2020 18:45:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isdg.net header.b=Bpydg9M8; dkim=pass (1024-bit key) header.d=beta.winserver.com header.b=s0BjfFc9
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 dodP0aXIofmx for <ietf-smtp@ietfa.amsl.com>; Thu, 5 Mar 2020 18:45:43 -0800 (PST)
Received: from mail.winserver.com (winserver.com [76.245.57.69]) (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 4EF963A1177 for <ietf-smtp@ietf.org>; Thu, 5 Mar 2020 18:45:43 -0800 (PST)
DKIM-Signature: v=1; d=isdg.net; s=tms1; a=rsa-sha1; c=simple/relaxed; l=3160; t=1583462732; atps=ietf.org; atpsh=sha1; h=Received:Received:Received:Received:Message-ID:Date:From: Organization:To:Subject:List-ID; bh=l9xeou1t3XOv7i+KWYQUCQXVuu4=; b=Bpydg9M8nN1b/J74iyapK0PjRFGEzbyLiK0etZxFyYANjqCeCzJ7YCIFIYKMJr PaxQoJ8TIxF/911OPPIwyC8EWhMJnq8lIwtSeBpXLdkB+JumDmQCntFYmxO2YR5q MvDXwKVR6Dk9r9UmQ1C2xnbYjYtatnHc1lZ40mm+tr+/I=
Received: by winserver.com (Wildcat! SMTP Router v8.0.454.9) for ietf-smtp@ietf.org; Thu, 05 Mar 2020 21:45:32 -0500
Authentication-Results: dkim.winserver.com; dkim=pass header.d=beta.winserver.com header.s=tms1 header.i=beta.winserver.com; dmarc=pass policy=reject author.d=isdg.net signer.d=beta.winserver.com (atps signer);
Received: from beta.winserver.com ([76.245.57.74]) by winserver.com (Wildcat! SMTP v8.0.454.9) with ESMTP id 2780069693.16278.7500; Thu, 05 Mar 2020 21:45:31 -0500
DKIM-Signature: v=1; d=beta.winserver.com; s=tms1; a=rsa-sha256; c=simple/relaxed; l=3160; t=1583462462; h=Received:Received: Message-ID:Date:From:Organization:To:Subject:List-ID; bh=VHr2KWk UyyhZtnBLEXpz0TE/4IhI268+iHULCFMvQmI=; b=s0BjfFc9Iqef0mUYHFOugE8 VaU0R4ei76Lb7O+jndaPuALbKJdtVhOKP0YVdyQ4ThN91oacQYSEaK1TTCjQAtiV xwJltuVzIAdPRdghxBkKwP29C5mv8Y8l25vFxa5HpKJQFmvEB9ET0RhaZQ2meZyA 9tnof1kgvhNQXBgF54vQ=
Received: by beta.winserver.com (Wildcat! SMTP Router v8.0.454.9) for ietf-smtp@ietf.org; Thu, 05 Mar 2020 21:41:02 -0500
Received: from [192.168.1.68] ([75.26.216.248]) by beta.winserver.com (Wildcat! SMTP v8.0.454.9) with ESMTP id 2628101953.4.14820; Thu, 05 Mar 2020 21:41:01 -0500
Message-ID: <5E61B94D.9020104@isdg.net>
Date: Thu, 05 Mar 2020 21:45:33 -0500
From: Hector Santos <hsantos@isdg.net>
Reply-To: hsantos@isdg.net
Organization: Santronics Software, Inc.
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.8.1
MIME-Version: 1.0
To: John C Klensin <john-ietf@jck.com>
CC: ietf-smtp@ietf.org
References: <1583290845.3368.15.camel@gmail.com> <aedd19df-c406-2513-934e-4498ae159964@pscs.co.uk> <5E6128C8.7070001@isdg.net> <5E613D31.70301@isdg.net> <CFEDA025D86BD13BB8D15A56@PSB>
In-Reply-To: <CFEDA025D86BD13BB8D15A56@PSB>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/kagJwxKYSc34dcWBXPgeOsau0eM>
Subject: Re: [ietf-smtp] SMTP Reply code 1yz Positive Preliminary reply
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: Fri, 06 Mar 2020 02:45:46 -0000

John K, regarding the Timeouts, I was more facetious than serious 
here. However, there are situations we already talked about in the 
past. We could highlight some of them, but I believe the main one was 
the 5 mins after the transaction was completed and a RSET/MAIL can 
start a new transaction. The server has to wait 5 minutes. This is a 
wasteful timeout. By far, the majority, and for most system, 100% of 
the time, a new shorter wait time would be more scale efficiency, 
offer more load management friendliness.

This should be an adjustable per domain timeout state. The known sites 
that correctly issue multiple transactions in a single session can be 
allowed a longer period to start new transactions.

On 3/5/2020 3:05 PM, John C Klensin wrote:
> Hector,
>
> I have added a placeholder for this to the list in Appendix G
> Section 7 of the working draft.
>
> FWKW, my personal opinion is that would be a significant change,
> outside the scope contemplated for 5321bis.  YMMD and that is,
> IMO, a decision that can be made only by the WG when there is
> one.  However, if others agree with me, your best course forward
> is to write and post an I-D explaining what you think would be
> desirable and why, see if you can get it standardized and
> implementation reports generated, and then propose it for
> inclusion in 5321bis.
>
> best,
>     john
>
>
> --On Thursday, March 5, 2020 12:56 -0500 Hector Santos
> <hsantos@isdg.net> wrote:
>
>>
>> On 3/5/2020 11:28 AM, Hector Santos wrote:
>>
>>> I used the reply group:
>>>
>>>      1yz   Positive Preliminary reply
>>>
>>
>> I had forgotten that RFC5321 had removed this 1yz code.
>>
>> https://tools.ietf.org/html/rfc5321#section-4.2.1
>>
>> All because of the 1yz potentially used as a "preliminary"
>> multiple lines "1yz-" response before the final response was
>> issued and a possible legacy 821 client that looked only at
>> the first response line because it didn't expect multiple
>> lines.
>>
>> I don't fully recall the discussions. While I would had
>> accepted the decision for backward compatibility reasons over
>> a decade ago, I am pretty sure I would of been somewhat
>> disappointed by the removal of "1yz Positive preliminary
>> reply" codes, removing even the possibility of a keep alive
>> concept.  Today speeds allow for fast data processing, so even
>> today, 5, certainly 10 minutes of idle timeout is outdated and
>> probably should be a design taboo today.  If we don't want
>> ESMTP 2821 clients to use 1yz, well, maybe for RFC5321bis, we
>> can lower the timeouts. I already do for after a successful
>> transactions where there is additional 5 minutes wait for a
>> new transaction.  I reduced to less than 1 minute to because
>> clients from the BIG boys were 99.9% of the time holding up my
>> servers and never doing a 2nd MAIL transaction.  So wcSMTP
>> will drop clients who chews up available mail service time
>> from the server threads.
>
>
> _______________________________________________
> ietf-smtp mailing list
> ietf-smtp@ietf.org
> https://www.ietf.org/mailman/listinfo/ietf-smtp
>
>

-- 
HLS