Re: [ietf-smtp] draft-freed-smtp-limits

"Murray S. Kucherawy" <superuser@gmail.com> Fri, 04 August 2023 21:36 UTC

Return-Path: <superuser@gmail.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 7F395C151088 for <ietf-smtp@ietfa.amsl.com>; Fri, 4 Aug 2023 14:36:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 uPblVwMVaq9q for <ietf-smtp@ietfa.amsl.com>; Fri, 4 Aug 2023 14:36:30 -0700 (PDT)
Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFD6EC151063 for <ietf-smtp@ietf.org>; Fri, 4 Aug 2023 14:36:30 -0700 (PDT)
Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-99c3ca08c09so75179766b.1 for <ietf-smtp@ietf.org>; Fri, 04 Aug 2023 14:36:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691184989; x=1691789789; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Hf0J/0mf5blxSf5vhjgfjZSvCZBJNNqms9AmO4iownU=; b=HO1DI1NEaKY/gg3trcYt9OaT+bSwAdpQEUyFORyZu2RyCzztbP3TzFV5X2O27YnBqx QgYRSScRC7M30gpc6CVYNbPooHKwz3RD5rxe40LKfanMTDJcl1joustgTQiepbHAjTd/ Tt8uIDH6lIJ3GA4YNtEaWn3SfpSeL42cI5flSiL6Lw1nqOmqqqPW/4ZGMGbYW4phQCSV 62wjLosch5baHGcFniVDuwXAaKBMHIZlrP70xZjrRbDeDhVliP5BQfniiEbNpqWRZQCs O2sHZo7Be/DDz/bkjKavMh1zvWwbciI+SPu/Bord1z8spf+bG+bIHpWMuzRZ3pWEW+9A hl9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691184989; x=1691789789; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Hf0J/0mf5blxSf5vhjgfjZSvCZBJNNqms9AmO4iownU=; b=josDhiNB8tn46aISLAtc0J+2UqeHKQknqFMVwQOZUUkprl5IfG0Ahl092DlIPTsPkh 663WZY9oUnPoy6S6+SzB8sDVEQS0YZENb6EdBpki0yf2HvsSU60RffMI9NSFHmaYpbci EQOLeYrSBGgHQZNhkERbfPFp4eNRoYbh+ieCO5HLT/dExtT7K3x0FaQ7IsUpFJZz+ZFp D2/61aqReY/xCYWdphJdTbfrDk5KxF/FZn7JZPcDVlruu8k41oiLN5UCI7Tn66T16oho BwJm7UP5dGDVa2MQOzv7M5BmAkIvFVhD1FoYHyUYKf5x9GcyaUF8fVISepOFh2AzqInU nRuA==
X-Gm-Message-State: ABy/qLZgZCYzGl3fhYuUc/5MGGCHT+zKA9l6SA9nYggxbRjr70bFpqm7 RL7f4ZxqZQj5JuXgiorTaoM4OvwbEmH07sKNoY7EeDn1
X-Google-Smtp-Source: APBJJlGuWlfBfi3cZLXmPDrQRCEWnXbNMMn+Eqb0sn5XVUUVZxGcuGtOkYpa0neCN0HQaWN2SlfeqqnMCJ6ddvnkg5Y=
X-Received: by 2002:a17:906:5358:b0:997:d069:a880 with SMTP id j24-20020a170906535800b00997d069a880mr16604432ejo.1.1691184989220; Fri, 04 Aug 2023 14:36:29 -0700 (PDT)
MIME-Version: 1.0
References: <E5D603318655781DAC56BADD@PSB> <BF128F7A-C3E8-4F57-9DC9-E11C997326ED@isdg.net> <63EBB19B3823FADBE6671A65@PSB>
In-Reply-To: <63EBB19B3823FADBE6671A65@PSB>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Fri, 04 Aug 2023 14:36:16 -0700
Message-ID: <CAL0qLwbmaHbSdcEZ4zm65rwat24i-gByFEgiKAn8FYfU6oqgbQ@mail.gmail.com>
To: John C Klensin <john-ietf@jck.com>
Cc: Hector Santos <hsantos@isdg.net>, ietf-smtp@ietf.org
Content-Type: multipart/alternative; boundary="00000000000088329d06021fb07c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/VysKluH6Gb53NQK0z6GXhcl7Pjk>
Subject: Re: [ietf-smtp] draft-freed-smtp-limits
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.39
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, 04 Aug 2023 21:36:35 -0000

Speaking only as a participant here:

On Fri, Aug 4, 2023 at 1:49 PM John C Klensin <john-ietf@jck.com> wrote:

> p.s. I've gotten several other comments from Murray.


That guy's the worst.


> >> * The whole business about caching (Section 3.8). Dave pointed
> >> out an issue or two in November and Murray pointed out a
> >> different set in an AD review of the draft.  I fixed the issue
> >> Dave raised that was obvious, but then there are the others.
> >> While I've been trying to ignore the issues, that clearly will
> >> not work.  Those issues include conditions under which the
> >> cached data should be reset, what a new EHLO command in the
> >> same session, or a different session, in which the extension
> >> is not mentioned means (including where a server response
> >> should include limit values or whether that is optional, etc.
> >> Options that I can see now include just dropping the
> >> subsection or trying to identify and cope with all of the
> >> cases the current text leaves uncertain.  The latter would
> >> take us into "what would Ned have wanted" territory as well
> >> and some non-trivial technical issues.  Thoughts?
>

The more I think about how caching could work, the more I'm bothered by the
ambiguity of it.  For instance:

* Do we have any advice about how long caching should be done?  Should I be
free to reuse limits I saw a year ago?

* What should the client do when LIMITS is present during session #1 but
absent from session #2?  This has ambiguous meaning, i.e., the client
doesn't know if the server means "Use standard SMTP limits for this
session" by omitting the extension; applying cached limits could mean an
unnecessarily degraded session.

>> There is also an odd complication with the IANA considerations
> >> and registration of new limits (See Section 7.2).  The text
> >> says "Specification Required" but the current registry and
> >> subregistry for Service Extensions and their parameters
> >> specify Standards Action or IESG-approved Experimental.  We
> >> went through the problems that causes, and why Specification
> >> Required isn't a good answer either, in EMAILCORE and I think
> >> the two-model system specified there is probably right for
> >> this case, especially since approval of 5321bis will change
> >> the requirements for those registries.  So, unless we want
> >> LIMITs and its parameters to be unique among extensions,
> >> either I need to write some tricky text, or we need to create
> >> a normative reference to 5321bis (holding up publication of
> >> this), or the either long-promised revision to 8126 or the
> >> long-threatened update to it to include just that option (an
> >> I-D I started on two weeks ago when I noticed the "need to do
> >> something about this" note in 5321bis).   Thoughts?
>

I like the idea of a registry that accepts provisional registrations under
FCFS and permanent ones under IETF Review, or something of that ilk.

-MSK, hatless