[mailmaint] Re: draft-ietf-mailmaint-imap-uidbatches-02

Ken Murchison <murch@fastmail.com> Mon, 03 February 2025 15:42 UTC

Return-Path: <murch@fastmail.com>
X-Original-To: mailmaint@ietfa.amsl.com
Delivered-To: mailmaint@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D259C1519A2 for <mailmaint@ietfa.amsl.com>; Mon, 3 Feb 2025 07:42:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.804
X-Spam-Level:
X-Spam-Status: No, score=-2.804 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_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.com header.b="WcyuG49M"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="faQr0j3R"
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 Z4Q1M99FI381 for <mailmaint@ietfa.amsl.com>; Mon, 3 Feb 2025 07:42:51 -0800 (PST)
Received: from fout-a7-smtp.messagingengine.com (fout-a7-smtp.messagingengine.com [103.168.172.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A5C2AC18DB90 for <mailmaint@ietf.org>; Mon, 3 Feb 2025 07:42:51 -0800 (PST)
Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id E04C013800EF; Mon, 3 Feb 2025 10:42:50 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Mon, 03 Feb 2025 10:42:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1738597370; x=1738683770; bh=996OiEcPpq LEsXLjxW+YdRP8ZfkcaTqwJotkYgFnYVA=; b=WcyuG49MPKEgRIi5hMr8Jt2AbI ln40Fja2YYp2naPjwePMNU7lhV3Ifa+za7bjW5f3q705bY0jACUCwPvdPS8h9dF3 36QS9p6EvmnOAYl8H7vCTji3z9FOrdqu1u85RWfhdiGU6nISACZKGxCkBU53eT0/ tnOgl9eBZbcjb98c+ZFLcVu788JA47UvcN+3Y7jmXrxDy65QrNFqESOVAcAIZct2 YfqqEICVP08lo2hWWp2zDjZ/y4WhvXddMoNAMVxPBdi1Sb3PgfpYec116eGLReLq YapvU22SH1JmcDiV6msJbZIpDCKPTv2gcl2sljXyGN93O6ug2eZOdgcgJsrw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738597370; x=1738683770; bh=996OiEcPpqLEsXLjxW+YdRP8ZfkcaTqwJot kYgFnYVA=; b=faQr0j3Re+GjEjGOQkgHnUEkZlHSfhcLoj28OezRgp212A+jbxE V1FYyG3gizUIflGpJA/aMC4qN0jg8PsF8TElvdlCZuYnPF672QJP2rotSUUte0eG yUntfzwB24UBKob4xDPR9lld8mc/3ZL9t4sG1DQtnhkC9EXpyK7rSUUvGSBR2WmV N3f9gJZtqHiKxrW+VHVopb7ZIEsKGO3ZR/aAFyIz7R0umqcuUPhaF0QsLUZX/zXg WIAvlQ463b+WNZrTICP1wvt8QBT2a0EujRspZq/ELzSxiLGrpB3GeNjcRAHtoacN SgBpmxjo7GXfZF+SAbriXKAxcf3+UM/YdOQ==
X-ME-Sender: <xms:-uOgZ2GZbRjFcSEnAjcNtMbZ3vuZt0Xpk36HRdcMEAcJRir_ZqB90Q> <xme:-uOgZ3WQ2alP2i32kdjnh73U865qB2z5-jBvxm-jiMjvK6dSuJwfLgi-2PKyyPH4M n54JNnFUb7fYg>
X-ME-Received: <xmr:-uOgZwL4p2I0c0JdoI26RowwdVzhBTncUrveHovxuCa5FsEvo-mhnQlqJlRRqQOnvHaFBSf587CIsSnBvnG19ueNXmlKdWNVbDzwYVs>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddujeellecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpegtkfffgggfuffhvfevfhhojgesrgdtreertddv jeenucfhrhhomhepmfgvnhcuofhurhgthhhishhonhcuoehmuhhrtghhsehfrghsthhmrg hilhdrtghomheqnecuggftrfgrthhtvghrnhepvdetkeehleehleeiheehiefhtdeuveei fedvtdeileeuleeltdeiheefledvuedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepmhhurhgthhesfhgrshhtmhgrihhlrdgtohhmpdhnsggp rhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmrghilhhmrg hinhhtsehivghtfhdrohhrghdprhgtphhtthhopeguvghgghgvrhhtsegrphhplhgvrdgt ohhm
X-ME-Proxy: <xmx:-uOgZwHREY0jPlis_MYgY3i0TvEK3_QB7FP-GqKX19YDPkVyvKFaiA> <xmx:-uOgZ8WnjNmcixCwA2G2DOzQX1QsLXJ7fm59zv6jTDBbDkZ6hEJzJg> <xmx:-uOgZzMJIQBuSy1bZO4Hz4dVworu0ZDMWfjifE_j_Pwz81kf8xBYZQ> <xmx:-uOgZz1O9uNZKhicegL2-RkxcGxxqMr8npuGdU34wJCNzUPh0dmrVg> <xmx:-uOgZ5gImb56q82NhE5_xhlSzl0Ba8UtlouI7hm577_1GBJjR3w2A_dz>
Feedback-ID: ibf914243:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Feb 2025 10:42:50 -0500 (EST)
Content-Type: multipart/alternative; boundary="------------mPOvg4K0luLAkymK1EhCURyz"
Message-ID: <29474d1f-ef46-4137-a2a6-f210a3329452@fastmail.com>
Date: Mon, 03 Feb 2025 10:42:49 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Ken Murchison <murch@fastmail.com>
To: mailmaint@ietf.org
References: <0fbd537a-8103-4c0a-a9b2-67d3269ed966@fastmail.com>
Content-Language: en-US
Organization: Fastmail US LLC
In-Reply-To: <0fbd537a-8103-4c0a-a9b2-67d3269ed966@fastmail.com>
Message-ID-Hash: HWUVEEDY3ERGMRKENAIRE6OEDZAWTK6A
X-Message-ID-Hash: HWUVEEDY3ERGMRKENAIRE6OEDZAWTK6A
X-MailFrom: murch@fastmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Daniel Eggert <deggert@apple.com>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [mailmaint] Re: draft-ietf-mailmaint-imap-uidbatches-02
List-Id: Mail Maintenance <mailmaint.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mailmaint/5VhQCqnG--zF6WT-6ZazYbHW-Zk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mailmaint>
List-Help: <mailto:mailmaint-request@ietf.org?subject=help>
List-Owner: <mailto:mailmaint-owner@ietf.org>
List-Post: <mailto:mailmaint@ietf.org>
List-Subscribe: <mailto:mailmaint-join@ietf.org>
List-Unsubscribe: <mailto:mailmaint-leave@ietf.org>

I've just updated the Cyrus implementation to remove the UID indicator 
and to support inverted batch requests (e.g. 4:1).


On 2/3/25 8:10 AM, Ken Murchison wrote:
>
> I just reviewed the latest draft.  Here is my feedback:
>
>   * 3.1.2, para 1: the text still states that the response MUST
>     include the UID indicator, but that was removed from the formal
>     syntax in section 4 and from the example in 3.1.1.
>   * 3.1.3, para 9: "VANISH" -> "VANISHED".  I'd also suggest changing
>     "messages" to "responses".
>   * 3.1.4, para 6: this text is redundant given the last two
>     paragraphs in section 3.1.3
>   * 3.1.5: A question that was brought up by one of my colleagues:
>     Assuming that batches 1-4 exist, is requesting batch range 4:1 the
>     same as 1:4 or it is a syntax error?  I don't have strong opinion
>     either way, but it would be trivial to support in my code.  Also,
>     I know that the order of UID ranges doesn't matter per the specs.
>   * 3.3, para 1: "pages" -> "paged"
>   * 3.6: this section seems superfluous as I wouldn't expect SEARCHRES
>     to apply to any command other than SEARCH
>   * 4: neither search-correlator nor uid-range are defined in
>     RFC3501.  I'd suggest changing para 2 to state that non-terminals
>     are defined in RFC9051
>
> -- 
> Kenneth Murchison
> Senior Software Developer
> Fastmail US LLC
> IETF MailMaint Chair

-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC
IETF MailMaint Chair