Re: [Extra] Review: draft-ietf-extra-imap-uidonly

Alexey Melnikov <alexey.melnikov@isode.com> Fri, 03 March 2023 15:10 UTC

Return-Path: <alexey.melnikov@isode.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 BAA44C14F6EB for <extra@ietfa.amsl.com>; Fri, 3 Mar 2023 07:10:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.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 f-YDc4tZ8Czp for <extra@ietfa.amsl.com>; Fri, 3 Mar 2023 07:10:30 -0800 (PST)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id D75CFC14CEE4 for <extra@ietf.org>; Fri, 3 Mar 2023 07:10:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1677856223; d=isode.com; s=june2016; i=@isode.com; bh=dhVHNsQJMjmCDb18270heAEP/uayTwLbrSYO1zwRAfc=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Dp+hdrbb2ym8hDoQIz84gXNPZECE9h5hcYNyzVwogQAGUIY/KYPnb+e3avSjDYV9/TY6UA zfkihBSQvxl+Oh+4OzeNIdDPiY3cedgnRHg8T7jmNUnAcbDTocP514HmAZ3wEeoKxopzcz iP5mSF3cTqFaGoL5nAJ30RJ4jtv7rOs=;
Received: from [192.168.1.222] (host31-49-219-27.range31-49.btcentralplus.com [31.49.219.27]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <ZAIN3gAXxFS8@waldorf.isode.com>; Fri, 3 Mar 2023 15:10:22 +0000
Message-ID: <c5a5927b-b5e5-b947-abda-3fccf3e06851@isode.com>
Date: Fri, 03 Mar 2023 15:10:17 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2
To: Bron Gondwana <brong=40fastmailteam.com@dmarc.ietf.org>, extra@ietf.org
References: <4d5a68c2-57c9-4ace-8955-a3c5c4cadc05@betaapp.fastmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
In-Reply-To: <4d5a68c2-57c9-4ace-8955-a3c5c4cadc05@betaapp.fastmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------etOfEpjoygAHoiqoSmtWug76"
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/Q6AvfKFC5d-4O8TAzDM_IjqHVmM>
Subject: Re: [Extra] Review: draft-ietf-extra-imap-uidonly
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 03 Mar 2023 15:10:33 -0000

Hi Bron,

On 31/01/2023 01:21, Bron Gondwana wrote:
> I figured I should do an initial review of this document now it's 
> adopted.  It looks good, though there's definitely outstanding 
> questions to respond to.  Here's my responses.
>
> *Abstract***
>
> The wording could do with some tightening up.  My idea for a rewrite 
> looks something like:
>
>     The UIDONLY extension to the Internet Message Access Protocol (RFC
>     3501/RFC 9051) allows clients to enable a mode in which information
>     about mailbox changes is returned using only UIDs.  Message numbers are
>     not returned in responses, and can not be used in requests once this
>     extension is enabled.  This allows both clients and servers to avoid
>     requiring resources to maintain a map between message numbers and UIDs.
I used some of your text, thank you!
>
> *3.2 Changes to FETCH/STORE/SEARCH
> *
>
> No, this is not too restrictive. Yes, COPY/MOVE should be restricted 
> in the same way.  They allow MSGNOs, they need to be restricted.  ALSO 
> SEARCH/SORT/THREAD/etc *MUST NOT* have a |<sequence set>| without the 
> UID specifier.
Ok. I now also mention SORT/THREAD.
>
> *3.3 Changes to UID FETCH/UID STORE*
>
> I would not make this change to not give the UID if requested.  I see 
> the point of UIDFETCH vs FETCH but I'd still allow the UID item to be 
> in the result if explicitly requested rather than ignoring it.
>
> Either make it an error to specify it, or return it so parsers don't 
> need to be quite so smart.
I am not sure what is the big deal either way?
> *
> *
> *3.5. Changes to how other mailbox changes are announced**
> *
>
> Regarding interaction with CONDSTORE/QRESYNC - I don't think it's that 
> complex, basically:
> /
> /
> /RFC7162 section 3.2.5, the client MUST NOT include a sequence range 
> to UID mapping in the SELECT parameters./
>
> We should just specify that. There's nothing else in that document 
> which isn't already covered by removing the msgno versions of 
> FETCH/STORE etc.
Ok.
> And with that, I really think this is basically ready to go - unless 
> we want to re-open the debate about having a FETCH response with a 
> zero or random msgno rather than a UIDFETCH response.

I would rather not :-). I think reusing FETCH is a mistake (in 
particular 0 FETCH) and will confuse existing client implementations.

UIDFETCH is also a safety net if servers start sending this [by mistake] 
to clients without UIDONLY being enabled.


Best Regards,

Alexey