Re: [imapext] SEARCHRES RFC5182

Alexey Melnikov <alexey.melnikov@isode.com> Thu, 11 March 2021 16:13 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C2533A127C for <imapext@ietfa.amsl.com>; Thu, 11 Mar 2021 08:13:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.099
X-Spam-Level:
X-Spam-Status: No, score=-7.099 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_DNSWL_HI=-5, SPF_HELO_NONE=0.001, 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=isode.com
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 i3XsIOJSGF3i for <imapext@ietfa.amsl.com>; Thu, 11 Mar 2021 08:13:30 -0800 (PST)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id 5152B3A1274 for <imapext@ietf.org>; Thu, 11 Mar 2021 08:13:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1615479209; d=isode.com; s=june2016; i=@isode.com; bh=8JzFRLPbE2M9sIlyAllYsawRHl4dyQVgctJ/WO8mC8Y=; 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=fVDZ7z7IhV359P8Y/hCTlr7i7OdaiHzi0OCFo+HXeDwwMgXmi41F9Mu6j4Ve1d0Vb9OVGz QWB2bH9TqVSUXxkKJ+IKn6fTu2/wlJHBKHEvByKjHisYuHh69CEoEcFyo0lq1wqS50QUA7 m0eQYTmnQh+yosnjNoCfcOGXFalhSI8=;
Received: from [192.168.0.5] (4e697ac1.skybroadband.com [78.105.122.193]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <YEpBqAAuQSb6@waldorf.isode.com>; Thu, 11 Mar 2021 16:13:28 +0000
To: Adrien de Croy <adrien@qbik.com>
Cc: "imapext@ietf.org" <imapext@ietf.org>
References: <CAO0d3bLXzYynT-9BxDy2DS4nHGzVM2hBTAQyyy2nhu-s1FmsNg@mail.gmail.com> <CAO0d3bJ_ma7R+0Xti0sO8fEL9g1qJWfs8F25O7GODT2r4eEzaQ@mail.gmail.com> <f53b4661-1d6c-4243-b76d-169ba1a33017@gulbrandsen.priv.no> <40f8d9ec-2387-4e38-819d-fdb4407c5709@spark> <e90008f2-fde5-4596-a1a9-4dc6d8ea9753@gulbrandsen.priv.no> <3089d87b-5884-44bf-8eb9-ef5d34f16756@spark> <em68d5d29d-695c-4b42-be1c-4d99ee6bcf08@bombadil> <23240094-4827-f85e-6ad5-6b22bc09905b@isode.com> <emedd85d67-977f-4847-922b-541a4f97294d@bombadil>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <7eee45ff-ae66-e25c-ae0b-533214c49f20@isode.com>
Date: Thu, 11 Mar 2021 16:13:27 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1
In-Reply-To: <emedd85d67-977f-4847-922b-541a4f97294d@bombadil>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------39E48282651526F40C7513B7"
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/imapext/aLaGlHJmUxDVbW96m-V8ggWrnks>
Subject: Re: [imapext] SEARCHRES RFC5182
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Mar 2021 16:13:33 -0000

Hi Adrian,

On 10/03/2021 20:14, Adrien de Croy wrote:
> Hi Alexey
>
> ------ Original Message ------
> From: "Alexey Melnikov" <alexey.melnikov@isode.com 
> <mailto:alexey.melnikov@isode.com>>
> To: "Adrien de Croy" <adrien@qbik.com <mailto:adrien@qbik.com>>
> Cc: "imapext@ietf.org <mailto:imapext@ietf.org>" <imapext@ietf.org 
> <mailto:imapext@ietf.org>>
> Sent: 10/03/2021 11:07:25 pm
> Subject: Re: [imapext] SEARCHRES RFC5182
>
>> Hi Adrien,
>>
>> On 09/03/2021 23:21, Adrien de Croy wrote:
>>> Hi Everyone
>>>
>>> I've been looking into this extension, but it has a number of 
>>> problems and uncertainties in the spec especially:
>>>
>>> * in relation to storing results of ESEARCH extensions, it refers to 
>>> them as messages).
>>
>> Can you elaborate/quote specific text which is confusing?
>>
>
>
> When the SAVE result option is combined with the MIN or MAX [ESEARCH]
>    result option, and none of the other ESEARCH result options are
>    present, the corresponding MIN/MAX is returned (if the search result
>    is not empty), but the "$" marker would contain a single message as
>    returned in the MIN/MAX return item.
>
>
> It's not clear if $ is storing the result of the MIN, or something else.
It is.
> But I guess those are the same for MIN and MAX - the IDs.
> $ only stores message IDs, not messages.  Maybe replace "contain a 
> single message" with "refers to a single message" or "contains the 
> message ID"
Right. Dave has explained the intent well, so yes, I mean a message 
reference.
>
> I guess I should have read it a few more times.  Maybe it's not so 
> unclear.
>
Best Regards,

Alexey