Re: [Extra] Martin Duke's No Objection on draft-ietf-extra-imap4rev2-25: (with COMMENT)

Bron Gondwana <brong@fastmailteam.com> Sun, 24 January 2021 23:01 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1885A3A0CC1 for <extra@ietfa.amsl.com>; Sun, 24 Jan 2021 15:01:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level:
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=htf5JCOo; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=IgnIAnqa
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 N2kdXUcaBHF7 for <extra@ietfa.amsl.com>; Sun, 24 Jan 2021 15:01:24 -0800 (PST)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBE1F3A0CBE for <extra@ietf.org>; Sun, 24 Jan 2021 15:01:23 -0800 (PST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 00FD92B8; Sun, 24 Jan 2021 18:01:22 -0500 (EST)
Received: from imap7 ([10.202.2.57]) by compute2.internal (MEProxy); Sun, 24 Jan 2021 18:01:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type; s=fm1; bh=i/tt On0IGPR4xQmXxQw0xpIScN30jhyBYUNGONHg4Ic=; b=htf5JCOo3RB4RV1yRmdF RG1J/myzd/SmJQCgf1Pw6ZqskoMz4WaKifhS6JW/1umlYAbbYXtHi61ycdE0TeRZ CsYcRn2m/5kdQvzPpvnAFim9MWaALpsAMTYBXuYRZ96DKavCANsxyljGcDuL/zTh HGuDh5i/cCYQYpLHAJcAZ9+awNz02BLAAOHrkEzxIUaOjFrUMEQ63wei79DqkoTq 6MtCQWnT+BXufpNQVw7P/bwIx9D7kLy1kG6RvgJmSyxGzDL7AIAzVQ702qGGag3R eXUPuq1nWiEtPo4RwnQnmei/e2QjvwRXoUy+NtMilGM/Ag2ba1HS4MjSgNUwd+at pw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=i/ttOn 0IGPR4xQmXxQw0xpIScN30jhyBYUNGONHg4Ic=; b=IgnIAnqadx8/UuyAP+iyQj HvYCr+Ac+WacnJSmh2J+7o+JqrfFaRpwYTlh2vix47bGr8DIuaV08tMJDuI/M7VJ aTFAbf+bsm7QhEreET4/eEL+ydNtJ2ZoXpMI0W/AA1FIHcLXMFV6qkX+HZ0nUnYY Xn7QwrPk/emZgHow8+ck9KwBveEVgW1WgTcpkrGOJaQ5a1xJ5eQbEknIU9aU48JE 1+ovIFTgZVC/FbbyIsv7B6T81VoNdueAVebaGv8MoDTPkAKqLDBogevFHPW7bxNy mYogRlpTI/4Io8q//01Gubjax9nyifLKw370fAI6aXmfiPQ3XTak6vH9fcudVUXg ==
X-ME-Sender: <xms:QfwNYK0eRq9X9E1Lbm4S6TZMzJD17pB6dz47yP2mzumxJ_SF2g2NHQ> <xme:QfwNYNGZ3DWEL_3xtfB73-O9a3GfT98aJyLy9d7Sq5mR6Nd-1TfGDBJNI5G6unShK uiyZWjM0G8>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpedfuehrohhn ucfiohhnugifrghnrgdfuceosghrohhnghesfhgrshhtmhgrihhlthgvrghmrdgtohhmqe enucggtffrrghtthgvrhhnpeehffduieffuefffeeuuedtiefhleeuvdeihfefuedvgfeu hffgffdthfefjedvieenucffohhmrghinhepihgvthhfrdhorhhgpdhirghnrgdrohhrgh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsrhho nhhgsehfrghsthhmrghilhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:QfwNYC6cKyNnnFCUoUn5OTGJKalKomUQGvil6z4crt4Gi5xCJzUhMg> <xmx:QfwNYL0_Lkuugd7E0bnVueto1TPapIt-K0pdOQsustHdJJ9hyL99LQ> <xmx:QfwNYNG1dHReABJh1l_-E2o_E2kYtepO0N_3o3KFFWpa4eisTBcz8Q> <xmx:QvwNYAPRkuttn8lp9Z4eKP1kQPqE_8Ye18o19M0UnakQm3bB53YUwQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id BD72C360068; Sun, 24 Jan 2021 18:01:21 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-78-g36b56e88ef-fm-20210120.001-g36b56e88
Mime-Version: 1.0
Message-Id: <e132060b-1f15-4f36-982b-6aba2d1f8171@dogfood.fastmail.com>
In-Reply-To: <CAM4esxS07JxMAQnfOOASxAZd3PvT=_GZpYE=P9i8d9nzpwmN=w@mail.gmail.com>
References: <161137784334.20615.12096399788075509949@ietfa.amsl.com> <f950de71-5e6a-4b19-ad2e-40b7394c27f7@dogfood.fastmail.com> <CAM4esxS07JxMAQnfOOASxAZd3PvT=_GZpYE=P9i8d9nzpwmN=w@mail.gmail.com>
Date: Mon, 25 Jan 2021 10:01:01 +1100
From: "Bron Gondwana" <brong@fastmailteam.com>
To: extra@ietf.org
Cc: "Alexey Melnikov" <alexey.melnikov@isode.com>, "Barry Leiba" <barryleiba@computer.org>
Content-Type: multipart/alternative; boundary=f069f4f0ed79464fa55612e15a0c52a1
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/FNQZ99xubwciXy7JRUJUPfXoPIk>
Subject: Re: [Extra] =?utf-8?q?Martin_Duke=27s_No_Objection_on_draft-ietf-ext?= =?utf-8?q?ra-imap4rev2-25=3A_=28with_COMMENT=29?=
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Jan 2021 23:01:26 -0000

Oh hey - I'll defer to Alexey / Barry on this one.  It looks like "UID Set" is fresh terminology in imap4rev2 - I can't see it in RFC3501 - so they can explain why it's needed.

Cheers,

Bron.

On Mon, Jan 25, 2021, at 08:14, Martin Duke wrote:
> Thanks Bron,
> 
> Your replies make sense, but one:
> 
> Regarding 4.1.1, I find this terminology confusing, overloading the word "sequence", although at this stage maybe it can't be helped. Still, this section still seems very unclear to me.
> 
> 4.1.1 <https://datatracker.ietf.org/doc/html/draft-ietf-extra-imap4rev2-26#section-4.1.1>.  Sequence set and UID set

   A set of messages can be referenced by a sequence set containing
   either message sequence numbers or unique identifiers.  See Section 9 <https://datatracker.ietf.org/doc/html/draft-ietf-extra-imap4rev2-26#section-9>
   for details.  Sequence sets can contain ranges (e.g. "5:50"), an
   enumeration of specific message/UID numbers, a special symbol "*", or
   a combination of the above.

   A "UID set" is similar to the sequence set of unique identifiers;
   however, the "*" value for a sequence number is not permitted.
> So if I got this right, there's a "sequence set" that contains either sequence numbers or UIDs and can contain "*". 
> then there is also a "UID Set" which is UID only, and cannot contain "*". But then I have two questions:
> (1) Can a sequence set have a combination of sequence numbers and UIDs (" a combination of the above")?
> (2) If a UID set can't have sequence numbers, then why is it explaining the lack of "*" in the context of UID sets with sequence numbers?
> 
> On Sat, Jan 23, 2021 at 7:14 PM Bron Gondwana <brong@fastmailteam.com> wrote:
>> __
>> On Sat, Jan 23, 2021, at 15:57, Martin Duke via Datatracker wrote:
>> 
>> (I know the answers to these!)
>> 
>>> 2.3.1.1 what would happen if the UID approached 2^32 due to a lifetime of spam
>>> or something? The server can increment the validity value, but doesn’t that
>>> make earlier email unreferenceable except via sequence number?
>> 
>> Sequence number is even less persistent - but when you increment the UIDVALIDITY you can renumber the UIDs for everything, so you'd just start at 1 and reid all the existing records.  So they'll be referenceable by their new UIDs next time the mailbox is selected.
>> 
>> And (plug) if the server implements RFC8474 (object ids) then a client can even tell that it's the same email and not need to fetch the content again, even after a UIDVALIDITY change.
>> 
>>> 2.3.2 In the $Phishing definition, do you mean the user agent SHOULD (in caps)
>>> display an additional warning message?
>> 
>> This definition is copied from the IANA registry for keywords:
>> 
>> https://www.iana.org/assignments/imap-jmap-keywords/phishing/phishing-template
>> 
>> I'm not sure there's any point in changing the text to be different from the IANA registration just to make it capital SHOULD.  It's unlikely to change anybody's behaviour on reading this document.
>> 
>>> 4.1.1 the last statement, “ the "*" value for a sequence number is not
>>> permitted.”, is oddly placed, enough that it almost reads like a typo where you
>>> meant UID. A clearer statement might be “The ‘*’ value is permitted for UIDs
>>> but not sequence numbers.”
>> 
>> No, that would be an incorrect statement.  The phrase "UID set" is a definitional term which means:
>> 
>> * a sequence set;
>> * that references UIDs, not message numbers; and
>> * that consists only of numbers, not the magic '*' character (which can change value as new messages arrive)
>> 
>> You can have a "sequence set" which references UIDs and does contain '*', but then it's not a "UID set" any more by definition.
>> 
>> Cheers,
>> 
>> Bron.
>> 
>> --
>>   Bron Gondwana, CEO, Fastmail Pty Ltd
>>   brong@fastmailteam.com
>> 
>> 
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra
> 

--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  brong@fastmailteam.com