Re: New draft: SEARCH return options

Philip Guenther <guenther+imap@sendmail.com> Mon, 14 February 2005 23:46 UTC

Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ENkRLZ063300; Mon, 14 Feb 2005 15:46:31 -0800 (PST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j1ENkRHd063299; Mon, 14 Feb 2005 15:46:27 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from foon.sendmail.com (tls.sendmail.com [209.246.26.40]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ENkRg1063292 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:46:27 -0800 (PST) (envelope-from guenther@sendmail.com)
Received: from lab.smi.sendmail.com ([10.210.100.93]) by foon.sendmail.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j1ENkQsl004179 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 14 Feb 2005 15:46:27 -0800
X-DomainKeys: Sendmail DomainKeys Filter v0.2.2 foon.sendmail.com j1ENkQsl004179
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; b=hGd+JHqw9+uYGhbB65eSynRjshno4qqcjmb7Ky261lVpaHDwuTZXClq4WWYjpjy8j TzRdNwlG7fiYQEmKBn6fx1oHCgiylV5qAzzL1qyrJ4YTd+if/YP3sl2qcmLWrKXcQgx z++/77wJb34M0CKcMRuPOToRHWHy4VO1xKtboOA=
Received: from lab.smi.sendmail.com (localhost [127.0.0.1]) by lab.smi.sendmail.com (8.12.11/8.12.11) with ESMTP id j1ENkOHx073188; Mon, 14 Feb 2005 15:46:24 -0800 (PST) (envelope-from guenther@lab.smi.sendmail.com)
Message-Id: <200502142346.j1ENkOHx073188@lab.smi.sendmail.com>
To: Cyrus Daboo <daboo@isamet.com>
Cc: Alexey Melnikov <Alexey.Melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
From: Philip Guenther <guenther+imap@sendmail.com>
Subject: Re: New draft: SEARCH return options
In-reply-to: <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
Date: Mon, 14 Feb 2005 15:46:24 -0800
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

[Not sent to lemonade.  Do we really need to carry on this discussion in
both places?]

Cyrus Daboo <daboo@isamet.com> writes:
...
>There is also an interesting possibility of tying the two together via the 
>ID return option I proposed. For example:
>
>C: a SEARCH RETURN (ID 1 ALL) UNSEEN
...
>C: FETCH $[1] (UID INTERNALDATE FLAGS RFC822.HEADER)
...
>The fetch commands act on the result of the different searches, referenced 
>by the ID option value. This means that a client could use multiple search 
>result sets simultaneously, as opposed to in series, as they would have to 
>right now.

The '$' token in draft-melnikov-imap-search-res-01.txt references the
last SEARCH result, so it only requires the server to remember the one
such result.  If multiple search responses need to be remembered then
some limit needs to be placed on how many a client can expect a server
to remember and perhaps the client will need some way of controlling
their lifetime.


Philip Guenther