
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 j1RKwOgI065097; Sun, 27 Feb 2005 12:58:24 -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 j1RKwOsA065096; Sun, 27 Feb 2005 12:58:24 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1RKwHlK065077 for <ietf-imapext@imc.org>; Sun, 27 Feb 2005 12:58:18 -0800 (PST) (envelope-from alexey.melnikov@isode.com)
Received: from [213.116.62.79] (1Cust79.tnt107.lnd4.gbr.da.uu.net [213.116.62.79])  by rufus.isode.com via TCP (internal) with ESMTPA; Sun, 27 Feb 2005 20:46:59 +0000
Message-ID: <422226B1.3000309@isode.com>
Date: Sun, 27 Feb 2005 19:59:45 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
CC: ietf-imapext@imc.org, Cyrus Daboo <daboo@isamet.com>
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>  <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>  <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
In-Reply-To: <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Arnt Gulbrandsen wrote:

> Cyrus Daboo writes:
>
>> OK, so are you suggesting that the tag for the SEARCH command is used 
>> as the 'ID' I was proposing, e.g.:
>>
>> a1234 SEARCH RETURN (TAG ALL) UNSEEN
>> * ESEARCH TAG a1234 ALL 1:100
>> a1234 OK
>
> I'm suggesting that IF you want to tag ESEARCH responses (whether you 
> call them "tagged searches" or "searches with ID" is no matter to me), 
> then the most honest response format is
>
> a1234 ESEARCH ALL 1:100
>
> There are alternatives, such as sneaking the tag in the back door:
>
> * ESEARCH TAG a1234 ALL 1:100

I've just updated the draft and it will look like:

* ESEARCH (TAG "a1234") ALL 1:100

tag is sent as a string, because "]" is allowed in a tag.

> Or such as using an Elvis lookalike instead of the real thing:
>
> * ESEARCH ID a1234 ALL 1:100
>
> Whether ESEARCH is tagged or not is no matter to me. I'm happy either 
> way.
>
> But if it is tagged, I'd like to see IMAP stay with just one tag 
> mechanism (unless there are pressing reasons for having multiple 
> similar mechanisms, of course).

I agree, of course.




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 j1EItvjr045426; Mon, 14 Feb 2005 10:55:57 -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 j1EItvcH045425; Mon, 14 Feb 2005 10:55:57 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EIttc9045406 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 10:55:57 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 18:55:42 +0000
Message-ID: <4210F42C.3090107@isode.com>
Date: Mon, 14 Feb 2005 18:55:40 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Mark Crispin <mrc@CAC.Washington.EDU>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <Pine.LNX.4.63.0502141007210.13442@shiva1.cac.washington.edu>
In-Reply-To: <Pine.LNX.4.63.0502141007210.13442@shiva1.cac.washington.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Mark Crispin wrote:

> I've reviewed this document and while I have document nits the 
> protocol proposed looks OK to me.
>
> Is there much feeling as to how useful it would be?  I'm not talking 
> about Dave and Alexey since I'm sure they are already convinced.  It's 
> more of a question of whether the benefit is worth the added 
> complexity (don't forget, it does represent an additional task for 
> server implementors!).

Speaking as a server implementor: I only had to modify new syntax 
parsing and the loop the calls "evaluate this message against search 
criteria" for each message, so that the server can output ESEARCH data. 
The search matching code hasn't been touched. It took me about 3 hours 
to implement the whole extension.

I think Dave has some number about how much bandwidth is saved using 
SEARCH RETURN (ALL).

Alexey




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 j1PEErqX076758; Fri, 25 Feb 2005 06:14:53 -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 j1PEEq6b076757; Fri, 25 Feb 2005 06:14:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1PEEiLx076738 for <ietf-imapext@imc.org>; Fri, 25 Feb 2005 06:14:47 -0800 (PST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Fri, 25 Feb 2005 14:13:48 +0000
Message-ID: <421F329C.8040805@isode.com>
Date: Fri, 25 Feb 2005 14:13:48 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>
CC: Lisa Dusseault <lisa@osafoundation.org>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Nit-checking 2086upd
References: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org> <20050225100808.7478.13529.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050225100808.7478.13529.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

>
> On Thu Feb 24 21:03:27 2005, Lisa Dusseault wrote:
>
>> "If rights are tied in an implementation, the conservative approach 
>> would be to grant few of them in response to SETACL commands.  Thus, 
>> unless all rights in a tied set are specified, a server MUST NOT 
>> include any of that set in the ACL entry for that identifier.  A 
>> client can discover the set of rights granted to a given identifier 
>> in the ACL for a given mailbox name by using the LISTRIGHTS command."
>>
>> Note that I also removed "which may be" -- I think it changes the 
>> sense of the sentence from "finding out what's possible to grant", to 
>> "finding out what is granted", which I believe to be correct.  If I'm 
>> wrong then a different change should be made.
>
>
> That's incorrect - LISTRIGHTS lists sets of tied rights possible to 
> grant to the identifier [of which some or all sets may have only one 
> member], and a set of rights which is always granted, not what's 
> actually granted at the time. There is no MYRIGHTS equivalent for 
> other users, which is I think what you're thinking.

And the lack of such command might be addressed in ACL2, but 2086upd is 
not the proper place to do this change.

> What about:
>
> "If rights are tied in an implementation, the implementation MUST be 
> conservative in granting rights in response to SETACL commands--unless 
> all rights in a tied set are specified, an implementation MUST NOT 
> include any of that set in the ACL entry for the given identifier. A 
> client SHOULD discover the set of rights which may be granted to a 
> given identifier in the ACL for a given mailbox name by using the 
> LISTRIGHTS command."
>
> It's a less drastic rephrase. I'm not sure about the first MUST,

I am not sure either, the original text sounds like "SHOULD" (and the 
following "MUST NOT" should be changed to "SHOULD NOT" as well).
Comments?

> and note I've added a SHOULD for clients to use LISTRIGHTS. Many 
> implementations don't, currently.

That is fine with me.

Alexey



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 j1PA8QSl096962; Fri, 25 Feb 2005 02:08:26 -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 j1PA8QW1096961; Fri, 25 Feb 2005 02:08:26 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1PA8LD9096882 for <ietf-imapext@imc.org>; Fri, 25 Feb 2005 02:08:25 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id C460D154009; Fri, 25 Feb 2005 10:08:08 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Lisa Dusseault <lisa@osafoundation.org>
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Nit-checking 2086upd
References: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org>
In-Reply-To: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org>
Message-ID: <20050225100808.7478.13529.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Fri, 25 Feb 2005 10:08:08 +0000
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>

On Thu Feb 24 21:03:27 2005, Lisa Dusseault wrote:
> "If rights are tied in an implementation, the conservative approach would be to grant few of them in response to SETACL commands.  Thus, unless all rights in a tied set are specified, a server MUST NOT include any of that set in the ACL entry for that identifier.  A client can discover the set of rights granted to a given identifier in the ACL for a given mailbox name by using the LISTRIGHTS command."
> 
> Note that I also removed "which may be" -- I think it changes the sense of the sentence from "finding out what's possible to grant", to "finding out what is granted", which I believe to be correct.  If I'm wrong then a different change should be made.

That's incorrect - LISTRIGHTS lists sets of tied rights possible to grant to the identifier [of which some or all sets may have only one member], and a set of rights which is always granted, not what's actually granted at the time. There is no MYRIGHTS equivalent for other users, which is I think what you're thinking.

What about:

"If rights are tied in an implementation, the implementation MUST be conservative in granting rights in response to SETACL commands--unless all rights in a tied set are specified, an implementation MUST NOT include any of that set in the ACL entry for the given identifier. A client SHOULD discover the set of rights which may be granted to a given identifier in the ACL for a given mailbox name by using the LISTRIGHTS command."

It's a less drastic rephrase. I'm not sure about the first MUST, and note I've added a SHOULD for clients to use LISTRIGHTS. Many implementations don't, currently.

Dave.



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 j1OL3fW5068411; Thu, 24 Feb 2005 13:03:41 -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 j1OL3fxf068410; Thu, 24 Feb 2005 13:03:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1OL3e24068402 for <ietf-imapext@imc.org>; Thu, 24 Feb 2005 13:03:40 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
X-Envelope-To: <ietf-imapext@imc.org>
Received: from [192.168.101.178] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1OL3aaa023343 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for <ietf-imapext@imc.org>; Thu, 24 Feb 2005 13:03:36 -0800
Mime-Version: 1.0 (Apple Message framework v619.2)
To: IMAP Extensions WG <ietf-imapext@imc.org>
Message-Id: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org>
Content-Type: multipart/alternative; boundary=Apple-Mail-4--24694467
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Nit-checking 2086upd
Date: Thu, 24 Feb 2005 13:03:27 -0800
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

--Apple-Mail-4--24694467
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

In nit-checking 2086upd, I noticed some text where the use of must/MUST 
and may/MAY could be clarified.

  "If rights are tied in an
    implementation, the implementation must be conservative in granting
    rights in response to SETACL commands--unless all rights in a tied
    set are specified, none of that set should be included in the ACL
    entry for that identifier. A client may discover the set of rights
    which may be granted to a given identifier in the ACL for a given
    mailbox name by using the LISTRIGHTS command."

This seems like it might be partly normative but part is definitely 
descriptive. Can we write this to be clearer about what the server MUST 
do?  How about:

"If rights are tied in an implementation, the conservative approach 
would be to grant few of them in response to SETACL commands.  Thus, 
unless all rights in a tied set are specified, a server MUST NOT 
include any of that set in the ACL entry for that identifier.  A client 
can discover the set of rights granted to a given identifier in the ACL 
for a given mailbox name by using the LISTRIGHTS command."

Note that I also removed "which may be" -- I think it changes the sense 
of the sentence from "finding out what's possible to grant", to 
"finding out what is granted", which I believe to be correct.  If I'm 
wrong then a different change should be made.

Lisa
--Apple-Mail-4--24694467
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

In nit-checking 2086upd, I noticed some text where the use of
must/MUST and may/MAY could be clarified.


<color><param>0000,0000,DDDD</param> "If rights are tied in an

   implementation, the implementation must be conservative in granting

   rights in response to SETACL commands--unless all rights in a tied

   set are specified, none of that set should be included in the ACL

   entry for that identifier. A client may discover the set of rights

   which may be granted to a given identifier in the ACL for a given

   mailbox name by using the LISTRIGHTS command."


This seems like it might be partly normative but part is definitely
descriptive. Can we write this to be clearer about what the server
MUST do?  How about:


"If rights are tied in an implementation, the conservative approach
would be to grant few of them in response to SETACL commands.  Thus,
unless all rights in a tied set are specified, a server MUST NOT
include any of that set in the ACL entry for that identifier.  A
client can discover the set of rights granted
</color><color><param>0000,0000,DDDC</param>to a given identifier in
the ACL for a given mailbox name by using the LISTRIGHTS command."


Note that I also removed "which may be" -- I think it changes the
sense of the sentence from "finding out what's possible to grant", to
"finding out what is granted", which I believe to be correct.  If I'm
wrong then a different change should be made.


Lisa</color>
--Apple-Mail-4--24694467--



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 j1MJOV6F083728; Tue, 22 Feb 2005 11:24: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 j1MJOVaW083727; Tue, 22 Feb 2005 11:24:31 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1MJOVUO083718 for <ietf-imapext@imc.org>; Tue, 22 Feb 2005 11:24:31 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
Received: from [192.168.101.178] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1MJNcab004210 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 22 Feb 2005 11:24:26 -0800
In-Reply-To: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
References: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <b5919fe325b5a89dd00d3877b29f8fe1@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Re: WG last call for ANNOTATE Feb 4-18
Date: Tue, 22 Feb 2005 11:24:23 -0800
To: Lisa Dusseault <lisa@osafoundation.org>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

BTW, this last call period has now completed... the next step is for 
the authors to give us some idea of what issues still need to be 
discussed, what changes are made to the draft as a result of the last 
call reviews, etc.

Lisa

On Feb 4, 2005, at 1:32 PM, Lisa Dusseault wrote:

>
> This is a notification of the beginning of last-call for the -12 draft 
> of ANNOTATE:
>
> http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt
>
> If you review this draft, let the WG know even if you have no issues 
> or comments.  Also, we'd like to know who plans to implement this or 
> may have already begun (you can let me know privately or mail the WG). 
>  Last call will go until and including February 18 2005.
>
> Lisa Dusseault
>



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 j1J2JX7p081809; Fri, 18 Feb 2005 18:19:33 -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 j1J2JXk6081808; Fri, 18 Feb 2005 18:19:33 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1J2JOqu081781 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 18:19:24 -0800 (PST) (envelope-from grant@osafoundation.org)
X-Envelope-From: grant@osafoundation.org
X-Envelope-To: ietf-imapext@imc.org
Received: from [192.168.101.230] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1J2JEaZ030936 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Fri, 18 Feb 2005 18:19:14 -0800
In-Reply-To: <368DDF10E1DB64DD539D7BC7@ninevah.cyrusoft.com>
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org> <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net> <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org> <368DDF10E1DB64DD539D7BC7@ninevah.cyrusoft.com>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <bea30d47659b13e10633c60a1bd1cb10@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: ietf-imapext@imc.org, Dave Cridland <dave@cridland.net>
From: Grant Baillie <grant@osafoundation.org>
Subject: Re: ANNOTATE comments
Date: Fri, 18 Feb 2005 18:18:20 -0800
To: Cyrus Daboo <daboo@isamet.com>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

Hello, Cyrus

On Feb 18, 2005, at 9:21 AM, Cyrus Daboo wrote:

>
> Hi Grant,
>
> --On February 18, 2005 8:48:35 AM -0800 Grant Baillie 
> <grant@osafoundation.org> wrote:
>
>>> You could argue that it's easy to detect the ascii and utf-8 cases,
>>> and therefore these could be recorded - but in practise, since these
>>> are easy to detect, it's better to let clients detect them.
>>
>> The use case I had in mind is when users have to pick a charset 
>> manually,
>> in which case it would be nice to propagate across clients. But I 
>> agree
>> that incorrect setting of the charset, especially automatically, is a
>> concern.
>>
>
> I would like to keep the entries defined in the base document to a 
> minimum if possible.

Eminently reasonable and understandable.

> There is of course nothing to stop you from writing this up as a 
> separate draft and registering an entry for it yourself. If you do 
> that, then I would also suggest having a way to override the 
> content-type too. Often messages get sent with the wrong content-type 
> (e.g. text/plain for an HTML message, application/octet-stream for 
> Word document etc). In those cases it would also be nice to have the 
> first client to spot the problem set an annotation to provide a hint 
> to others. If you do that you can actually combine this with charset, 
> since charset is a parameter on the Content-Type header. So my 
> suggestion would be an 'altcontenttype' entry whose value was a 
> properly formed MIME Content-Type header field that could override 
> content type, name, charset etc.

Indeed. (Next, altcontentdisposition for fixing bogus 
Content-Disposition headers, too :-).

At the moment, I'm not working on an IMAP client, so I'm not inclined 
to write up a draft that I wouldn't actually be implementing in the 
near future. But I might be inclined to pursue this sometime down the 
road. Thanks for your observations/comments.

--Grant



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 j1IKNwdY057797; Fri, 18 Feb 2005 12:23:58 -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 j1IKNwgK057796; Fri, 18 Feb 2005 12:23:58 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IKNrgd057779 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 12:23:57 -0800 (PST) (envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA08648; Fri, 18 Feb 2005 15:23:51 -0500 (EST)
Message-Id: <200502182023.PAA08648@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-2086upd-03.txt
Date: Fri, 18 Feb 2005 15:23:51 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.

	Title		: IMAP4 ACL extension
	Author(s)	: A. Melnikov
	Filename	: draft-ietf-imapext-2086upd-03.txt
	Pages		: 0
	Date		: 2005-2-18
	
The ACL (Access Control List) extension (RFC 2086) of the Internet
   Message Access Protocol (IMAP4rev1) permits mailbox access control
   lists to be manipulated through the IMAP protocol.

   This document is a revision of the RFC 2086. It defines several new
   access control rights and clarifies which rights are required for
   different IMAP commands.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-2086upd-03.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-imapext-2086upd-03.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-imapext-2086upd-03.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2005-2-18144419.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-2086upd-03.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-imapext-2086upd-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2005-2-18144419.I-D@ietf.org>

--OtherAccess--

--NextPart--




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 j1IHs4fR045066; Fri, 18 Feb 2005 09:54:04 -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 j1IHs4dt045065; Fri, 18 Feb 2005 09:54:04 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IHs32C045058 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 09:54:03 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 18 Feb 2005 17:54:02 +0000
Message-ID: <42162BB5.6060601@isode.com>
Date: Fri, 18 Feb 2005 17:53:57 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: List of WGLC changes to 2086upd-02
References: <41F97066.1040108@isode.com>
In-Reply-To: <41F97066.1040108@isode.com>
MIME-version: 1.0
Content-type: text/plain; charset="KOI8-R"; format="flowed"
Content-transfer-encoding: 7bit
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>

I've just submitted -03 of 2086upd.

In addition to changed mentioned earlier (see 
http://www.imc.org/ietf-imapext/mail-archive/msg02389.html), I've 
updated section talking about virtual "c" and "d" rights, as per private 
discussion with Dave and Ken. The new text is as follows:

3.1.1.   Obsolete rights

   Due to ambiguity in RFC 2086 some existing RFC 2086 server 
implementations
   use the "c" right to control the DELETE command. Others chose to use the
   "d" right to control the DELETE command.
   For the former group, let's define the "create" right as union of the "k"
   and "x" rights, and the "delete" right as union of the "e" and "t" 
rights.
   For the latter group, let's define the "create" rights as a synonym 
to the
   "k" right, and the "delete" right as union of the "e", "t" and "x" 
rights.

   For compatibility with RFC 2086 this section defines two virtual rights
   "d" and "c".

   If a client includes the "d" right in a rights list, then it MUST be
   treated as if the client had included every member of the "delete" right.
   (It is not an error for a client to specify both the "d" right and
   one or more members of the "delete" right, but the effect is no different
   than if just the "d" right or all members of the "delete" right had been
   specified).

   When any of the "delete" member rights is set in a list of
   rights, the server MUST also include the "d" right when returning
   the list in a MYRIGHTS or ACL response. This is so to enable older 
clients
   conforming to RFC 2086 to work with newer servers. (*)

   Example:    C: A001 SETACL INBOX.Drafts David lrswida
               S: A001 OK Setacl complete

    The client has specified the "d" right in the SETACL command above 
and it
    expands to "et" on the server:

               C: A002 GETACL INBOX.Drafts
               S: * ACL INBOX Fred rwipslxetda David lrswideta
               S: A002 OK Getacl complete

   If the authentication identifier specified in the LISTRIGHTS command 
can be
   granted any of the "delete" member rights to access a mailbox, then 
the server
   MUST include the "d" right in the corresponding LISTRIGHTS response. (*)
   If the member rights aren't tied to non-member rights, then the "d" right
   is returned by itself in the LISTRIGHTS response.  If any of the 
member rights
   needs to be tied to one (or more) non-member right, then the "d" 
right and all
   of the member rights need to be tied to the same non-member right(s) 
(**).

   If a client includes the "c" right in a rights list, then it MUST be
   treated as if the client had included every member of the "create" right.
   (It is not an error for a client to specify both the "c" right and
   one or more members of the "create" right, but the effect is no different
   than if just the "c" right or all members of the "create" right had been
   specified).

   When any of the "create" member rights is set in a list of
   rights, the server MUST also include the "c" right when returning
   the list in a MYRIGHTS or ACL response. This is so to enable older 
clients
   conforming to RFC 2086 to work with newer servers. (*)

   Example:    C: A003 SETACL INBOX.Drafts Byron lrswikda
               S: A001 OK Setacl complete
               C: A002 GETACL INBOX.Drafts
               S: * ACL INBOX Fred rwipslxeta Byron lrswikcdeta
               S: A002 OK Getacl complete

    The client has specified the "d" right in the SETACL command above 
and it
    expands to "et" on the server:  As the client has specified the "k" 
right
    (which is a member of the "c" right), the server also returns the 
"c" right.


   If the authentication identifier specified in the LISTRIGHTS command 
can be
   granted any of the "create" member rights to access a mailbox, then 
the server
   MUST include the "c" right in the corresponding LISTRIGHTS response. (*)
   If the member rights aren't tied to non-member rights, then the "c" right
   is returned by itself in the LISTRIGHTS response.  If any of the 
member rights
   needs to be tied to one (or more) non-member right, then the "c" 
right and all
   of the member rights need to be tied to the same non-member right(s) 
(**).

   Example: The server that ties the rights as follows

               lr s w i p k x t

            and c=k

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr s w i p k x t c d


   Example: The server that ties the rights as follows

               lr s w i p k xte

            and c=k

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr s w i p k xte c d

   Example: The server that ties the rights as follows

               lr s w i p k x te

            and c=k

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr s w i p k c x te d

   Example: The server that ties the rights as follows

               lr swte i p k x

            and c=kx

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr swted i p k x c


   (*) Clients conforming to this document MUST ignore the virtual "d" 
and "c"
   rights in MYRIGHTS, ACL and LISTRIGHTS responses.

   (**) The IMAPEXT Working Group has debated this issue in great length
   and after reviewing existing ACL implementations concluded that this is
   a reasonable restriction.



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 j1IHLd3F042013; Fri, 18 Feb 2005 09:21:39 -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 j1IHLd5N042012; Fri, 18 Feb 2005 09:21:39 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IHLYd3041974 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 09:21:38 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1IHBf6g031241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Feb 2005 12:11:41 -0500
Date: Fri, 18 Feb 2005 12:21:13 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Grant Baillie <grant@osafoundation.org>, Dave Cridland <dave@cridland.net>
cc: ietf-imapext@imc.org
Subject: Re: ANNOTATE comments
Message-ID: <368DDF10E1DB64DD539D7BC7@ninevah.cyrusoft.com>
In-Reply-To: <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org>
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org> <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net> <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Grant,

--On February 18, 2005 8:48:35 AM -0800 Grant Baillie 
<grant@osafoundation.org> wrote:

>> You could argue that it's easy to detect the ascii and utf-8 cases,
>> and therefore these could be recorded - but in practise, since these
>> are easy to detect, it's better to let clients detect them.
>
> The use case I had in mind is when users have to pick a charset manually,
> in which case it would be nice to propagate across clients. But I agree
> that incorrect setting of the charset, especially automatically, is a
> concern.
>

I would like to keep the entries defined in the base document to a minimum 
if possible.

There is of course nothing to stop you from writing this up as a separate 
draft and registering an entry for it yourself. If you do that, then I 
would also suggest having a way to override the content-type too. Often 
messages get sent with the wrong content-type (e.g. text/plain for an HTML 
message, application/octet-stream for Word document etc). In those cases it 
would also be nice to have the first client to spot the problem set an 
annotation to provide a hint to others. If you do that you can actually 
combine this with charset, since charset is a parameter on the Content-Type 
header. So my suggestion would be an 'altcontenttype' entry whose value was 
a properly formed MIME Content-Type header field that could override 
content type, name, charset etc.

-- 
Cyrus Daboo



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 j1IGnqNM039590; Fri, 18 Feb 2005 08:49:52 -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 j1IGnp3u039589; Fri, 18 Feb 2005 08:49:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IGnlBr039574 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 08:49:47 -0800 (PST) (envelope-from grant@osafoundation.org)
X-Envelope-From: grant@osafoundation.org
X-Envelope-To: ietf-imapext@imc.org
Received: from [192.168.101.230] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1IGnVaZ013223 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Fri, 18 Feb 2005 08:49:31 -0800
In-Reply-To: <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net>
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org> <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: <ietf-imapext@imc.org>
From: Grant Baillie <grant@osafoundation.org>
Subject: Re: ANNOTATE comments
Date: Fri, 18 Feb 2005 08:48:35 -0800
To: Dave Cridland <dave@cridland.net>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

On Feb 18, 2005, at 6:18 AM, Dave Cridland wrote:

> On Thu Feb 17 21:22:07 2005, Grant Baillie wrote:
>> - A potential use of ANNOTATE would be to allow users/clients to 
>> re-label the charset of a message part. (Sadly, there are still many 
>> clients out there that produce text parts with missing or incorrect 
>> charset parameters). Is it worth defining, say, 
>> /<section-part>/altcharset and /altcharset for this?
>
> I agree that there are some dumb clients out there, and I also agree 
> that it's possible for a user or a client to detirmine the correct 
> character set in some cases.
>
> However, not all cases, and some existant examples of heuristically 
> discovering character sets fail horribly - I think this is one of 
> those things that a client has to deal with, rather than rely on 
> potentially another client getting right.
>
> To give some idea, I live in an area where at least five character 
> sets are in common usage - ascii, latin1,14, and 15, and utf-8 - and 
> two langauges. These are all quite difficult to detect heuristically, 
> with the exception of ascii and utf-8. I can live with the client I'm 
> using getting it wrong, but not if it then influenced other clients I 
> used.
>
> You could argue that it's easy to detect the ascii and utf-8 cases, 
> and therefore these could be recorded - but in practise, since these 
> are easy to detect, it's better to let clients detect them.

The use case I had in mind is when users have to pick a charset 
manually, in which case it would be nice to propagate across clients. 
But I agree that incorrect setting of the charset, especially 
automatically, is a concern.

--Grant



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 j1IEIkFq026176; Fri, 18 Feb 2005 06:18:46 -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 j1IEIkIY026175; Fri, 18 Feb 2005 06:18:46 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IEIg3x026148 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 06:18:45 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 63125154009; Fri, 18 Feb 2005 14:18:23 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Grant Baillie <grant@osafoundation.org>
Cc: <ietf-imapext@imc.org>
Subject: Re: ANNOTATE comments
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org>
In-Reply-To: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org>
Message-ID: <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Fri, 18 Feb 2005 14:18:22 +0000
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>

On Thu Feb 17 21:22:07 2005, Grant Baillie wrote:
> - A potential use of ANNOTATE would be to allow users/clients to re-label the charset of a message part. (Sadly, there are still many clients out there that produce text parts with missing or incorrect charset parameters). Is it worth defining, say, /<section-part>/altcharset and /altcharset for this?

I agree that there are some dumb clients out there, and I also agree that it's possible for a user or a client to detirmine the correct character set in some cases.

However, not all cases, and some existant examples of heuristically discovering character sets fail horribly - I think this is one of those things that a client has to deal with, rather than rely on potentially another client getting right.

To give some idea, I live in an area where at least five character sets are in common usage - ascii, latin1,14, and 15, and utf-8 - and two langauges. These are all quite difficult to detect heuristically, with the exception of ascii and utf-8. I can live with the client I'm using getting it wrong, but not if it then influenced other clients I used.

You could argue that it's easy to detect the ascii and utf-8 cases, and therefore these could be recorded - but in practise, since these are easy to detect, it's better to let clients detect them.

Dave.



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 j1HLN65R095239; Thu, 17 Feb 2005 13:23:06 -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 j1HLN6Au095238; Thu, 17 Feb 2005 13:23:06 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1HLN5nP095223 for <ietf-imapext@imc.org>; Thu, 17 Feb 2005 13:23:06 -0800 (PST) (envelope-from grant@osafoundation.org)
X-Envelope-From: grant@osafoundation.org
X-Envelope-To: <ietf-imapext@imc.org>
Received: from [192.168.101.230] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1HLN1aZ006731 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for <ietf-imapext@imc.org>; Thu, 17 Feb 2005 13:23:01 -0800
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Transfer-Encoding: 7bit
Message-Id: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: ietf-imapext@imc.org
From: Grant Baillie <grant@osafoundation.org>
Subject: ANNOTATE comments
Date: Thu, 17 Feb 2005 13:22:07 -0800
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

Here are some comments I have on annotate-12 (apologies for the 
closeness to last call):

- From a readability point of view, I think it would be nice to have a 
somewhat less terse Abstract.  At least, I think it should mention that 
you can associate metadata with MIME parts (not just entire messages).

- A potential use of ANNOTATE would be to allow users/clients to 
re-label the charset of a message part. (Sadly, there are still many 
clients out there that produce text parts with missing or incorrect 
charset parameters). Is it worth defining, say, 
/<section-part>/altcharset and /altcharset for this?

- Section 2.2.1, /flags entry name: Is there difference between "0" and 
NIL for a flag's value? If so, that should be spelled out.

- In the examples, it would be good to use literals as well as 
quoted-strings in a couple of cases. This might help to remind 
implementers not to assume they should only accept quoted-strings.

- The resp-text-code grammar rule should use nil, not "NIL".

- The use of double-quotes is often contradictory or confusing. Eg. in 
the following:

      The server SHOULD indicate the maximum size for an annotation value
      by sending an untagged "ANNOTATESIZE" response during a SELECT or
      EXAMINE command

   why "ANNOTATESIZE" and not "SELECT"? In general, the IMAP spec itself 
is pretty consistent
   about referring to response codes, etc, without double quotes, and it 
would be nice to

--Grant



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 j1HL1HSc093433; Thu, 17 Feb 2005 13:01:17 -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 j1HL1HHG093432; Thu, 17 Feb 2005 13:01:17 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from eagle.oceana.com (eagle.oceana.com [208.17.123.12]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1HL1C4a093401 for <ietf-imapext@imc.org>; Thu, 17 Feb 2005 13:01:12 -0800 (PST) (envelope-from ken@oceana.com)
Received: from [192.168.10.26] (KEN.oceana.com [192.168.10.26]) by eagle.oceana.com (8.13.2/8.13.2) with ESMTP id j1HL103K029498; Thu, 17 Feb 2005 16:01:00 -0500 (EST)
Message-ID: <421506B0.2060502@oceana.com>
Date: Thu, 17 Feb 2005 16:03:44 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Cyrus Daboo <daboo@isamet.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Informal list last call for ANNOTATEMORE
References: <170F8A355A7CA67DD4064D5F@ninevah.cyrusoft.com>
In-Reply-To: <170F8A355A7CA67DD4064D5F@ninevah.cyrusoft.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0 ()
X-Scanned-By: MIMEDefang 2.39
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>

Cyrus Daboo wrote:

> 
> Hi folks,
> I would like to submit the ANNOTATEMORE document to the IESG at the same 
> time as the ANNOTE document (once that has gone through WGLC and all 
> seems OK). However, since ANNOTATEMORE is an individual submission it is 
> not subject to a WGLC, but I would appreciate it if people looking at 
> ANNOTATE would also look at ANNOTATEMORE in the same vein and pass 
> comments back, thanks.
> 
> <http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-07.txt>

This looks good to me, and seems to jive with what we've already 
implemented in Cyrus.

I did find one in the examples in section 3.3.  The third example shows 
setting a single entry on multiple mailboxes, but the text immediately 
above states that multiple entries can be set in a single SETANNOTATION. 
  I think we need to add an example of setting multiple entries in one 
command.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp



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 j1GHRCUJ028018; Wed, 16 Feb 2005 09:27:12 -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 j1GHRCe2028017; Wed, 16 Feb 2005 09:27:12 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from terni.lunarpages.com (terni.lunarpages.com [216.193.202.184]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1GHRCCQ028007 for <ietf-imapext@imc.org>; Wed, 16 Feb 2005 09:27:12 -0800 (PST) (envelope-from aaddict@maclean.com)
Received: from [216.207.178.10] (helo=beverly.maclean.com) by terni.lunarpages.com with esmtp (Exim 4.43) id 1D1SxB-0007Fn-Du; Wed, 16 Feb 2005 09:27:10 -0800
Message-Id: <6.1.2.0.2.20050216121258.12aa4008@maclean.com>
X-Sender: aaddict+maclean.com@maclean.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 16 Feb 2005 12:27:08 -0500
To: Alexey Melnikov <alexey.melnikov@isode.com>
From: Pete Maclean <aaddict@maclean.com>
Subject: Re: New draft: SEARCH return options
Cc: IMAP Extensions WG <ietf-imapext@imc.org>, Lemonade WG <lemonade@ietf.org>
In-Reply-To: <42137D3B.4050204@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <6.1.2.0.2.20050216105551.121a5008@maclean.com> <42137D3B.4050204@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-MimeHeaders-Plugin-Info: v2.03.00
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - terni.lunarpages.com
X-AntiAbuse: Original Domain - imc.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - maclean.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
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>

At 12:04 PM 2/16/2005, Alexey Melnikov wrote:
>Pete Maclean wrote:
>
>>I am wondering why you are not tempted to generalize the options a bit 
>>more.  I am thinking along the lines of:
>>
>>     DIRECTION UP or DOWN (meaning search up/down with respect to message 
>> numbers/UIDs)
>
>Isn't this part of the SORT extension?

Ah well, it may be so.  I must acknowledge that I have not acquainted 
myself with that extension.  But perhaps if a server chooses to implement 
the ESEARCH extension and not the SORT extension then it is relevant.

>  IMHO, the search order is an internal server business. Some servers can 
> optimize if the client specified something like "RETURN (MIN)".

I totally agree that the search order should be an internal server business 
by default.  However, for the type of situation I described, it does seem 
valuable for the client to be able override that.  Incidentally, I do not 
mean that to imply that the results should necessarily be returned in the 
specified order.  Furthermore, by "order", I guess I mean "effective order" 
such that the results returned would be the first N matches in the 
specified ordering.  Whether or not the server internally actually searches 
messages in that order is irrelevant.


>>     MATCHES n (meaning return a maximum of n matches)
>
>Yes, we've just discussed this with Dave :-).

Good show!

Pete 



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 j1GH5dno026223; Wed, 16 Feb 2005 09:05:40 -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 j1GH5dU1026222; Wed, 16 Feb 2005 09:05:39 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1GH5YEA026191 for <ietf-imapext@imc.org>; Wed, 16 Feb 2005 09:05:35 -0800 (PST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 16 Feb 2005 17:05:14 +0000
Message-ID: <42137D3B.4050204@isode.com>
Date: Wed, 16 Feb 2005 17:04:59 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Pete Maclean <aaddict@maclean.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>, Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <6.1.2.0.2.20050216105551.121a5008@maclean.com>
In-Reply-To: <6.1.2.0.2.20050216105551.121a5008@maclean.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Pete Maclean wrote:

> I am wondering why you are not tempted to generalize the options a bit 
> more.  I am thinking along the lines of:
>
>     DIRECTION UP or DOWN (meaning search up/down with respect to 
> message numbers/UIDs)

Isn't this part of the SORT extension? IMHO, the search order is an 
internal server business. Some servers can optimize if the client 
specified something like "RETURN (MIN)".

>     MATCHES n (meaning return a maximum of n matches)

Yes, we've just discussed this with Dave :-).

> This would allow a client that wanted to find at most a fixed number 
> of matches to fill a window, form or Web page to do so more 
> efficiently.  For example,
>
>     <tag> SEARCH RETURN (DIRECTION DOWN MATCHES 20) <criteria>
>
> These could even be combined by having MATCHES +n and MATCHES -n.
>
> Then MIN would be replaced by (DIRECTION UP MATCHES 1) and so on.





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 j1GGC8Cb022376; Wed, 16 Feb 2005 08:12:08 -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 j1GGC8mn022374; Wed, 16 Feb 2005 08:12:08 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from terni.lunarpages.com (terni.lunarpages.com [216.193.202.184]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1GGC1uE022341 for <ietf-imapext@imc.org>; Wed, 16 Feb 2005 08:12:04 -0800 (PST) (envelope-from aaddict@maclean.com)
Received: from [216.207.178.10] (helo=beverly.maclean.com) by terni.lunarpages.com with esmtp (Exim 4.43) id 1D1RmQ-0007OG-Hc; Wed, 16 Feb 2005 08:11:59 -0800
Message-Id: <6.1.2.0.2.20050216105551.121a5008@maclean.com>
X-Sender: aaddict+maclean.com@maclean.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 16 Feb 2005 11:10:53 -0500
To: Alexey Melnikov <Alexey.Melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
From: Pete Maclean <aaddict@maclean.com>
Subject: Re: New draft: SEARCH return options
Cc: Lemonade WG <lemonade@ietf.org>
In-Reply-To: <4210BC19.4070207@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-MimeHeaders-Plugin-Info: v2.03.00
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - terni.lunarpages.com
X-AntiAbuse: Original Domain - imc.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - maclean.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
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>

I am wondering why you are not tempted to generalize the options a bit 
more.  I am thinking along the lines of:

	DIRECTION UP or DOWN (meaning search up/down with respect to message 
numbers/UIDs)

	MATCHES n (meaning return a maximum of n matches)

This would allow a client that wanted to find at most a fixed number of 
matches to fill a window, form or Web page to do so more efficiently.  For 
example,

	<tag> SEARCH RETURN (DIRECTION DOWN MATCHES 20) <criteria>

These could even be combined by having MATCHES +n and MATCHES -n.

Then MIN would be replaced by (DIRECTION UP MATCHES 1) and so on.

Pete Maclean



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 j1FJYfAD085469; Tue, 15 Feb 2005 11:34:41 -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 j1FJYfeg085468; Tue, 15 Feb 2005 11:34:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FJYdBo085457 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 11:34:40 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1FJYMc01356; Tue, 15 Feb 2005 21:34:23 +0200 (EET)
X-Scanned: Tue, 15 Feb 2005 21:44:21 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j1FJiLoA027052; Tue, 15 Feb 2005 21:44:21 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks001.ntc.nokia.com 00v1hpM7; Tue, 15 Feb 2005 21:44:20 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1FJW2J09078; Tue, 15 Feb 2005 21:32:02 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Tue, 15 Feb 2005 13:31:17 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Tue, 15 Feb 2005 13:31:15 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60CC@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUTlOk57gAQqWhlQV6P/uN/E7nq8w==
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>, <daboo@isamet.com>
Cc: <MRC@cac.washington.edu>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 15 Feb 2005 19:31:17.0286 (UTC) FILETIME=[EB401460:01C51394]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1FJYeBo085463
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>

> > What need is there for unsolicited ESEARCH?
> 
> Maybe there is none, but I didn't want to disallow this in 
> the future. 
> And the recent discussion about EXPUNGED made me think that a SEARCH 
> result might be caused by commands other than SEARCH.

I agree with Alexey.

To purposely design with the intent to not allow a particular 
response to be unsolicited is an unwise restriction.

We should intentionally design to make responses as command 
independent as possible. They should be viewed as packets of 
information a client can use independent of the command that was
used to elicit them.

I would like to see this response tagging referral idea become a 
general mechanism and not bound to ESEARCH.

Mike




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 j1FIvj3x082957; Tue, 15 Feb 2005 10:57:45 -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 j1FIvjw7082956; Tue, 15 Feb 2005 10:57:45 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FIve04082941 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 10:57:40 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 18:55:09 +0000
Message-ID: <4212458B.2050205@isode.com>
Date: Tue, 15 Feb 2005 18:55:07 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <daboo@isamet.com>
CC: Mark Crispin <MRC@cac.washington.edu>, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com> <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com> <4211EA87.5080104@isode.com> <A48A3A171D9AC647A755F039@ninevah.cyrusoft.com>
In-Reply-To: <A48A3A171D9AC647A755F039@ninevah.cyrusoft.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Cyrus Daboo wrote:

> Hi Alexey,
>
> --On February 15, 2005 12:26:47 PM +0000 Alexey Melnikov 
> <Alexey.Melnikov@isode.com> wrote:
>
>>> Right now I don't see why we need the new ESEARCH response at all, as
>>> opposed to just redefining the SEARCH response (which is fine because
>>> the client knows what it is going to get having used the extended
>>> SEARCH command). Perhaps Alexey can explain why we have to have a new
>>> response?
>>
>> ESEARCH response can be unsolicited, SEARCH response can't - the client
>> really doesn't know what has caused it and whether it contains UIDs or
>> message numbers.
>
> What need is there for unsolicited ESEARCH?

Maybe there is none, but I didn't want to disallow this in the future. 
And the recent discussion about EXPUNGED made me think that a SEARCH 
result might be caused by commands other than SEARCH.

I was also thinking that with ESEARCH (if extended to include ID/tag, as 
discussed recently), the server can send SEARCH results in chunks. But 
maybe the draft should be extended to list that this behavior is allowed 
and how the client should handle it.



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 j1FFQ0Ox064472; Tue, 15 Feb 2005 07:26:00 -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 j1FFQ0wN064471; Tue, 15 Feb 2005 07:26:00 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FFPxtV064463 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 07:26:00 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1FFGq6g017686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Feb 2005 10:16:53 -0500
Date: Tue, 15 Feb 2005 10:25:57 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
Message-ID: <4B7247D056BE7065343A9A25@ninevah.cyrusoft.com>
In-Reply-To: <4211DEA9.2090303@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com> <4211DEA9.2090303@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Alexey,

--On February 15, 2005 11:36:09 AM +0000 Alexey Melnikov 
<Alexey.Melnikov@isode.com> wrote:

>> This could prove very powerful for clients that want to present
>> multiple simultaneous 'views' on the same mailbox.
>
> Cyrus, what do you think is a practical limit on the number of search
> results a server should remember?

Of course there should be limit, with a recommended minimum (e.g. 10). Plus 
this feature must be explicitly turned on by the client. i.e. a regular 
search will always be remembered as the 'anonymous' search set $ (which 
gets replaced with each search), but the client has to explicitly 'name' a 
search to have its results saved for the session. That way servers are not 
required to remember multiple sets unless the client specifically asks for 
it. It would also be handy if the client can 'refresh' the results of a 
'named' search in a quick way, e.g.:

a1 SEARCH RETURN (ID 1) UNSEEN

a2 FETCH $[1] (ENVELOPE)

a3 SEARCH $[1]

The last search is a repeat of the first one with the $[1] set being 
updated with the new results.

Of course we could go further over the top here and reinvent ACAP contexts 
by allowing the search results to be dynamic (i.e. the $[1] set changes as 
message unseen state changes and there are appropriate unsolicited 
responses to indicate that). Maybe that is going too far, but Mark did 
bring that up...

-- 
Cyrus Daboo



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 j1FFFwsB063648; Tue, 15 Feb 2005 07:15:58 -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 j1FFFwUg063646; Tue, 15 Feb 2005 07:15:58 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FFFmEG063622 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 07:15:53 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1FF6W6g017520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Feb 2005 10:06:32 -0500
Date: Tue, 15 Feb 2005 10:15:37 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: Mark Crispin <MRC@cac.washington.edu>, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <A48A3A171D9AC647A755F039@ninevah.cyrusoft.com>
In-Reply-To: <4211EA87.5080104@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com> <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com> <4211EA87.5080104@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Alexey,

--On February 15, 2005 12:26:47 PM +0000 Alexey Melnikov 
<Alexey.Melnikov@isode.com> wrote:

>> Right now I don't see why we need the new ESEARCH response at all, as
>> opposed to just redefining the SEARCH response (which is fine because
>> the client knows what it is going to get having used the extended
>> SEARCH command). Perhaps Alexey can explain why we have to have a new
>> response?
>
> ESEARCH response can be unsolicited, SEARCH response can't - the client
> really doesn't know what has caused it and whether it contains UIDs or
> message numbers.
>

What need is there for unsolicited ESEARCH?

-- 
Cyrus Daboo



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 j1FCRDI4019400; Tue, 15 Feb 2005 04:27:13 -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 j1FCRDxK019399; Tue, 15 Feb 2005 04:27:13 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FCR7EM019275 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 04:27:08 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 12:26:50 +0000
Message-ID: <4211EA87.5080104@isode.com>
Date: Tue, 15 Feb 2005 12:26:47 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Cyrus Daboo <daboo@isamet.com>
CC: Mark Crispin <MRC@CAC.Washington.EDU>, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com> <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com>
In-Reply-To: <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Cyrus Daboo wrote:

> Hi Mark,
>
> --On February 14, 2005 12:51:02 PM -0800 Mark Crispin 
> <MRC@CAC.Washington.EDU> wrote:
>
>> tag SEARCH extended-poop
>> tag OK [SEARCH extended-poop-response] extended SEARCH OK
>>
>> as opposed to
>>
>> tag SEARCH extended-poop
>> * ESEARCH extended-poop-response
>> tag OK SEARCH completed
>>
>> Note that this precludes any sort of "watching" SEARCH extension, in
>> which you have a standing SEARCH and get unsolicited responses.  It has
>> been nearly 20 years and we have done no such thing, so maybe we don't
>> care.
>
> I guess I dislike the idea of having actual results come back in the 
> extended response code.

Me too.

> Right now I don't see why we need the new ESEARCH response at all, as 
> opposed to just redefining the SEARCH response (which is fine because 
> the client knows what it is going to get having used the extended 
> SEARCH command). Perhaps Alexey can explain why we have to have a new 
> response?

ESEARCH response can be unsolicited, SEARCH response can't - the client 
really doesn't know what has caused it and whether it contains UIDs or 
message numbers.



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 j1FBaUk5002884; Tue, 15 Feb 2005 03:36:30 -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 j1FBaUKq002882; Tue, 15 Feb 2005 03:36:30 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FBaQdv002852 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 03:36:28 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 11:36:12 +0000
Message-ID: <4211DEA9.2090303@isode.com>
Date: Tue, 15 Feb 2005 11:36:09 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <daboo@isamet.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
In-Reply-To: <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

> 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.
>
> This could prove very powerful for clients that want to present 
> multiple simultaneous 'views' on the same mailbox.

Cyrus, what do you think is a practical limit on the number of search 
results a server should remember?

Alexey



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 j1FBYWSq002214; Tue, 15 Feb 2005 03:34:32 -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 j1FBYWPd002213; Tue, 15 Feb 2005 03:34:32 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FBYVnW002197 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 03:34:31 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 11:33:59 +0000
Message-ID: <4211DE24.9000406@isode.com>
Date: Tue, 15 Feb 2005 11:33:56 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Philip Guenther <guenther+imap@sendmail.com>
CC: Cyrus Daboo <daboo@isamet.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> 	<81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com> <200502142346.j1ENkOHx073188@lab.smi.sendmail.com>
In-Reply-To: <200502142346.j1ENkOHx073188@lab.smi.sendmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Philip Guenther wrote:

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

>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.
>
Yes, that was the original intent. Even if the client has specified 
"RETURN (COUNT)", the "$" construct still references the set of found 
messages.

>  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.
>  
>
Yes.
I was thinking about remembering multiple SEARCH results, but this might 
overcomplicate the extension without much benefit.
What people think about this?

Alexey



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 j1FB8lQI093098; Tue, 15 Feb 2005 03:08:47 -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 j1FB8lYA093097; Tue, 15 Feb 2005 03:08:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FB8flW093006 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 03:08:42 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 11:08:26 +0000
Message-ID: <4211D821.7090909@isode.com>
Date: Tue, 15 Feb 2005 11:08:17 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
CC: ietf-imapext@imc.org, Cyrus Daboo <daboo@isamet.com>
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>	<38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
In-Reply-To: <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Arnt Gulbrandsen wrote:

>Cyrus Daboo writes:
>  
>
>>The IDs make it clear which response corresponds to each search.
>>    
>>
>IMAP already has a mechanism to handle that: tagged responses.
>  
>
And I was thinking about returning the corresponding tag in ESEARCH.



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 j1FAGgq8076024; Tue, 15 Feb 2005 02:16:42 -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 j1FAGgtY076023; Tue, 15 Feb 2005 02:16:42 -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 j1FAGbfA075972 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 02:16:37 -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 j1FAGP3X008198 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 15 Feb 2005 02:16:25 -0800
X-DomainKeys: Sendmail DomainKeys Filter v0.2.2 foon.sendmail.com j1FAGP3X008198
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; b=QzfwMGnqHx/aRjx22ZX+uY2rarhgiphLHYaoSLVCZOgporQr4H9OsHYdxQkCjkA0G Uq0SyZ//kfyoyIf53ezwqO16SUQUqegO2G02oHp14tAGLdRoMoZcTa7TI3Z94CjbZHp oSbw4E4gXtgheZkOJ7VxlbLRxuGE5w9AIm/eEAU=
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 j1FAGOQe035427; Tue, 15 Feb 2005 02:16:25 -0800 (PST) (envelope-from guenther@lab.smi.sendmail.com)
Message-Id: <200502151016.j1FAGOQe035427@lab.smi.sendmail.com>
To: Weingarten Jerry <Jerry.Weingarten@comverse.com>
Cc: ietf-imapext@imc.org
From: Philip Guenther <guenther+imap@sendmail.com>
Subject: Re: Other ANNOTATEMORE Comments 
In-reply-to: <045FA14A4C4F904BA2D5BEDC37E16AF802126CCB@il-tlv-mail01.comverse.com> 
References: <045FA14A4C4F904BA2D5BEDC37E16AF802126CCB@il-tlv-mail01.comverse.com> 
Date: Tue, 15 Feb 2005 02:16: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>

Weingarten Jerry <Jerry.Weingarten@comverse.com> writes:
>Is there any particular reason why there is no mention of a way to
>delete these annotations?

Looking at annotatemore-06, section 3.3, top of page 11:
...
   Sets the specified list of entries by adding or replacing the
   specified attributes with the values provided.  Clients can use NIL
   for values of attributes it wants to remove from entries.

So, you can remove attributes from an entry by setting them to NIL.
That leaves the question of what attributes you need to remove to make
an entry completely disappear.

The ANNOTATE draft is specific on that point for its entries:
annotate-12, section 2.2.2:
...
   value
      A UTF8 string representing the data value of the attribute.  To
      delete an annotation, the client can store NIL into the value.

I.e., setting the 'value' attribute to NIL removes the entire entry,
including any vendor attributes.  This seems like the right thing to me:
vendor attributes should only be used to further describe or supplement
an entry's value attribute and not have meaning independent of it; if
they have independent meaning they should be in their own entries.


Philip Guenther



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 j1F9UMEA059833; Tue, 15 Feb 2005 01:30:22 -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 j1F9UMvL059832; Tue, 15 Feb 2005 01:30:22 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from il-tlv-smtpout1.icomverse.com (comversegw.icomverse.com [192.118.48.248]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1F9UIZm059690 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 01:30:21 -0800 (PST) (envelope-from Jerry.Weingarten@comverse.com)
Received: from il-tlv-bridge01.comverse.com (il-tlv-bridge01.comverse.com [10.115.242.136]) by il-tlv-smtpout1.icomverse.com (8.13.1/8.11.6) with ESMTP id j1F95vkN015336 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 11:05:57 +0200
Received: from il-tlv-mail01.comverse.com ([10.115.242.87]) by il-tlv-bridge01.comverse.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 15 Feb 2005 11:30:04 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Subject: Other  ANNOTATEMORE Comments
Date: Tue, 15 Feb 2005 11:30:00 +0200
Message-ID: <045FA14A4C4F904BA2D5BEDC37E16AF802126CCB@il-tlv-mail01.comverse.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Other  ANNOTATEMORE Comments
Thread-Index: AcUPqYdQ/krgHjwATBuynvqHNkrGmwDlUvJQ
From: "Weingarten Jerry" <Jerry.Weingarten@comverse.com>
To: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 15 Feb 2005 09:30:04.0520 (UTC) FILETIME=[EE34CE80:01C51340]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1F9UMZm059826
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>

 Hi, 

Is there any particular reason why there is no mention of a way to
delete these annotations?  Do these just accumulate by adding new server
annotations?

Thanx,
jerry



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



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 j1ENLJ2e062166; Mon, 14 Feb 2005 15:21:19 -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 j1ENLJWP062165; Mon, 14 Feb 2005 15:21:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ENLHnb062129 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:21:18 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 7F0F01A747; Mon, 14 Feb 2005 23:50:33 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id B7B881A6EC; Mon, 14 Feb 2005 23:49:55 +0100 (CET)
Message-Id: <ZtHtX4gBsCvIzAZ0LbbDvA.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 23:49:14 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com> <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com> <F1FD784DA828BE930C928101@ninevah.cyrusoft.com> <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com> <3823051286FE515706649375@ninevah.cyrusoft.com>
In-Reply-To: <3823051286FE515706649375@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> The formal syntax for the 'response' element. If you follow that 
> through you will see that you can only have one 'response-tagged' 
> item in 'response'.

Right. And I found another bit near the bottom of page 62.

I have no opinion, then. All the alternatives are fine with me.

Arnt



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 j1ENFYcC061692; Mon, 14 Feb 2005 15:15:34 -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 j1ENFYrn061691; Mon, 14 Feb 2005 15:15:34 -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 j1ENFXbO061682 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:15:33 -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 j1ENFTB6025766 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:15:29 -0800
X-DomainKeys: Sendmail DomainKeys Filter v0.2.2 foon.sendmail.com j1ENFTB6025766
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; b=X/NjyEr0XWUyMFPaOt19CcKUCrG2xIFw1P/4J4/aT/pH1exS91s7VHn84a2wkHw8Z oez1BB3Ib0ASe4aINEL/Cc2pPPe74cqptH5AviszFLKwJhykpIIpUKj4qwSQEcDigun HDKyCRSNiQlw7xMJC9iSTTyaescZYl2O721otI8=
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 j1ENFTfm069832 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:15:29 -0800 (PST) (envelope-from guenther@lab.smi.sendmail.com)
Message-Id: <200502142315.j1ENFTfm069832@lab.smi.sendmail.com>
To: ietf-imapext@imc.org
From: Philip Guenther <guenther+imap@sendmail.com>
Subject: ANNOTATE (-12) comments
In-reply-to: <566a0e83b7a40f8a56093501fd79b06f@osafoundation.org> 
References: <566a0e83b7a40f8a56093501fd79b06f@osafoundation.org> 
Date: Mon, 14 Feb 2005 15:15:29 -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>

My abject apology to all for not doing this review sooner.

Typos:
  tyhe -> the
  UTF8 -> UTF-8
  utf8 -> utf-8		(in the default charset)

The second paragraph of the introduction seems redundant and/or
incomplete given the list in the succeeding paragraph.

I believe "i.e." should have a comma after it.  That should also fix the
extra space being inserted there.

Line-breaking should be suppressed in the middle of entry and attribute
names.  For example, "/comment" shouldn't be split across the first two
lines of the second paragraph of 2.1.  There should also be a statement
somewhere that in examples, lines not starting with "C: " or "S: " are
continuations of the previous lines.  The extra leading white-space on
such lines should either be removed or somehow described as really being
just a single space.

Since an attribute can only have one value, I don't think 'values'
should be plural in the last paragraph of 2.1.  Hmm, and since a single
STORE or FETCH can operate across multiple messages, it should arguably
say "...and any entries in message annotations, ..."  <shrug>


In 2.4, after citing ACLUPD (2086upd), it then only refers to the ACL
extension and not the RIGHTS capability.  Is it intended that a server
that supports ANNOTATE and ACL but not RIGHTS must still support the 'm'
and 'n' rights?  I think so, but given the reference to 2086upd, perhaps
the third paragraph of 2.4 should start "When the ACL extension is
present, whether or not the RIGHTS capability is advertised, the server
MUST..."

Not to cause any hair-removal, but since entry and attribute names are
in UTF-8 and are both stored and searched, doesn't a stringprep profile
need to be specified for them?  Can I put U+FF0F (FULLWIDTH SLASH) in
the name of an entry?  How about unassigned codepoints?

Since <section-part> has to be non-zero, an entry starting with "0"
can't refer to a body part annotation.


The entry names MUST NOT contain consecutive or trailing slashes.
The attribute names MUST NOT contain consecutive or trailing periods.


To avoid ambiguity, attribute names should not be allowed to contain
'priv' or 'shared' as their final component, or perhaps as any
component.

An attribute value may be binary octets, including NUL, particularly
when its content-type is something other than text (image/jpeg?).
Should the FETCH response for such a value use the literal8 syntax from
the BINARY extension?  That would seem to be preferable to introducing
content-transfer-encodings to the mess.

May servers check the value of an entry against its content-type?
Off-hand, I would say they MUST NOT do so if the content-type isn't
text/*, but MAY for content-type text/*.  However, if checking is
permitted at all then a response-code should be added for failure to
validate.

If the content-type is just "text/plain", the charset would default to
us-ascii instead of utf-8.  If that's not intended, the wording there
needs to be tweaked.

Should the server be required to validate the syntax of a content-type
being stored?  (E.g., can I store a content-type of "/" ?)

It should probably be strongly recommended that UTF-8 be used for all
textual values.  I'd hate to see "text/plain; charset=iso-2022-jp" all
over the place, though we can't exactly ban it.

Should the registration for a new attribute specify what it may contain
(utf-8, binary, etc)?

According to the syntax, ANNOTATESIZE is a response-code, but the text
of section 3.1 calls it a response.  One or the other should be changed
and at least one example of it should be added.

If the server doesn't an untagged ANNOTATESIZE response-code, is the
client allowed to store annotations?

Would lack of the correct ACL rights be a reason for returning
"ANNOTATESIZE 0"?

Just for the fun of it, I suggest adding some other fetch attribute to
one of the examples or changing one to be a UID FETCH.


In 3.6, it should simply say that any annotation entry whose size is
larger than the destination mailbox's ANNOTATESIZE is silently dropped
during the copy.  The ANNOTATESIZE zero or NIL cases are just specific
examples of that which happen to include _all_ annotations.  Hmm, if
only one of the .priv or .shared values exceeds the size, should both be
dropped or only the one that exceeds the size?

The syntax for select-param can be simplified slightly to:
      select-param      = astring / "(" astring 1*(SP astring) ")"

If the literal8 syntax is pulled in from BINARY, then the syntax for
value would change to
      value             = nstring / literal8


Why is RFC1891 a normative reference?


Philip Guenther



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 j1ELorkw057430; Mon, 14 Feb 2005 13:50:53 -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 j1ELorHj057429; Mon, 14 Feb 2005 13:50:53 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELorpm057422 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:50:53 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKpD0m014461; Mon, 14 Feb 2005 12:51:13 -0800
Received: from Shimo-Tomobiki.panda.com ([70.58.77.1]) (authenticated bits=0) by smtp.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKp5cr015117 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 14 Feb 2005 12:51:08 -0800
Date: Mon, 14 Feb 2005 12:51:02 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Cyrus Daboo <daboo@isamet.com>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
In-Reply-To: <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com>
Message-ID: <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

On Mon, 14 Feb 2005, Cyrus Daboo wrote:
> Can you explain with some examples...

tag SEARCH extended-poop
tag OK [SEARCH extended-poop-response] extended SEARCH OK

as opposed to

tag SEARCH extended-poop
* ESEARCH extended-poop-response
tag OK SEARCH completed

Note that this precludes any sort of "watching" SEARCH extension, in which 
you have a standing SEARCH and get unsolicited responses.  It has been 
nearly 20 years and we have done no such thing, so maybe we don't care.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j1ELnhdR057293; Mon, 14 Feb 2005 13:49:43 -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 j1ELnhWT057292; Mon, 14 Feb 2005 13:49:43 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELnfVJ057285 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:49:42 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELnYI24289; Mon, 14 Feb 2005 23:49:35 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 23:59:27 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j1ELxRRC011001; Mon, 14 Feb 2005 23:59:27 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks001.ntc.nokia.com 00plNnct; Mon, 14 Feb 2005 23:59:24 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELlDJ20480; Mon, 14 Feb 2005 23:47:13 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 15:45:53 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 15:45:51 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60B3@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUS3ozIDS+++nJ2QWqcvpwj4RigKw==
From: <Michael.Wener@nokia.com>
To: <arnt@gulbrandsen.priv.no>, <lemonade@ietf.org>, <ietf-imapext@imc.org>
Cc: <daboo@isamet.com>
X-OriginalArrivalTime: 14 Feb 2005 21:45:54.0103 (UTC) FILETIME=[8EFECC70:01C512DE]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1ELnhVJ057287
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>

> then the most honest response format is
> 
> a1234 ESEARCH ALL 1:100

I disagree. 

The notion of having multiple responses with tag affinity 
is perfectly valid in my mind. Given that, a logical progression 
from what you are proposing is ...

1 SEARCH ...
1 ESEARCH ...
1 SOME FUTURE RESPONSE ....
1 OK ...

In my mind this is a much more ungainly solution then to just reuse
the already existing notion of untagged solicited responses. Just
add tag affinity with a data item in the response is much simpler
and elegant.

Mike




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 j1ELibgE056977; Mon, 14 Feb 2005 13:44:37 -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 j1ELibR7056976; Mon, 14 Feb 2005 13:44:37 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELiZVW056968 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:44:35 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELiAI13252; Mon, 14 Feb 2005 23:44:11 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 23:55:58 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j1ELtwpA025279; Mon, 14 Feb 2005 23:55:58 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks001.ntc.nokia.com 003cKp0d; Mon, 14 Feb 2005 23:55:37 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELCPJ08293; Mon, 14 Feb 2005 23:12:25 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 15:12:24 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 15:12:22 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D23@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUS19Z+bIIoA3zGQlCCp41royeI5gAAKk7g
From: <Michael.Wener@nokia.com>
To: <MRC@CAC.Washington.EDU>, <daboo@isamet.com>
Cc: <lemonade@ietf.org>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 21:12:24.0737 (UTC) FILETIME=[E151E110:01C512D9]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1ELiaVW056970
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>

> On Mon, 14 Feb 2005, Cyrus Daboo wrote:
> > Can you explain with some examples...
> 
> tag SEARCH extended-poop
> tag OK [SEARCH extended-poop-response] extended SEARCH OK
> 
> as opposed to
> 
> tag SEARCH extended-poop
> * ESEARCH extended-poop-response
> tag OK SEARCH completed

Would there be any other reason then the pipelining id problem 
to do it this way?

Mike



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 j1ELf7XO056657; Mon, 14 Feb 2005 13:41:07 -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 j1ELf75j056656; Mon, 14 Feb 2005 13:41:07 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ELf59X056608 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:41:06 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 9A6D41A727; Mon, 14 Feb 2005 21:20:13 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id 42FC81A6E7; Mon, 14 Feb 2005 21:19:56 +0100 (CET)
Message-Id: <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 21:19:16 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>
In-Reply-To: <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>
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>

Cyrus Daboo writes:
> The IDs make it clear which response corresponds to each search.

IMAP already has a mechanism to handle that: tagged responses.

Arnt



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 j1ELetYI056461; Mon, 14 Feb 2005 13:40:55 -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 j1ELeqEu056457; Mon, 14 Feb 2005 13:40:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELenSw056391 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:40:49 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EJqX6g024090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 14:52:34 -0500
Date: Mon, 14 Feb 2005 15:01:30 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
cc: Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
Message-ID: <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>
In-Reply-To: <4210BC19.4070207@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Alexey,

--On February 14, 2005 2:56:25 PM +0000 Alexey Melnikov 
<Alexey.Melnikov@isode.com> wrote:

> Based on the recent discussion of the
> draft-melnikov-imap-expunged-00.txt, Dave and I wrote a draft that adds
> return options to the SEARCH command. Currently defined return options
> are: COUNT (number of found messages), MIN (the lowest message number/UID
> found), MAX (the highest message number/UID found) and ALL (return all
> found messages as a message/UID set).
>
> Dave has implemented the extension in his Polymer email client.
>
> I am also proud to announce the support for this extension in Isode IMAP
> server.
>
> Alexey
>
> P.S. If you are interested to test this extension against Isode server,
> please contact me directly.

One thing you might want to consider adding to this is a 'ID' return option 
that takes an atom as an argument. The server would be required to return 
that ID and atom in the ESEARCH response for the corresponding command. 
This will solve the problem of multiple pipelined search commands and 
figuring out which search response corresponds to which command.

e.g.

C: a SEARCH RETURN (ID 1 ALL) UNSEEN
C: b SEARCH RETURN (ID 2 ALL) DELETED
S: * ESEARCH ID 1 ALL 1:100
S: * ESEARCH ID 1 ALL 200:1000
S: * ESEARCH ID 2 ALL 150
S: a OK
S: b OK

The IDs make it clear which response corresponds to each search.

-- 
Cyrus Daboo



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 j1ELetCa056483; Mon, 14 Feb 2005 13:40:55 -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 j1ELeq6u056462; Mon, 14 Feb 2005 13:40:53 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELenT0056391 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:40:49 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EK0V6g024312 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:00:31 -0500
Date: Mon, 14 Feb 2005 15:09:28 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
cc: Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
Message-ID: <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
In-Reply-To: <4210BC19.4070207@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.1 tests=LINES_OF_YELLING,LINES_OF_YELLING_2
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>

Hi Alexey,
I think you need to have some mention of how this interacts with 
draft-melnikov-imap-search-res-01.txt. Or that document should mention how 
it interacts with draft-melnikov-imap-search-ret-00.txt. One issue is:

a SEARCH RETURN (COUNT) UNSEEN

Strictly speaking the above command does not generate a message sequence 
set, so is the last search result $ item set or not?

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: a SEARCH RETURN (ID 2 ALL) DELETED
...

C: FETCH $[1] (UID INTERNALDATE FLAGS RFC822.HEADER)

C: FETCH $[2] (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.

This could prove very powerful for clients that want to present multiple 
simultaneous 'views' on the same mailbox.

-- 
Cyrus Daboo



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 j1ELbShO056165; Mon, 14 Feb 2005 13:37:28 -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 j1ELbSJn056164; Mon, 14 Feb 2005 13:37:28 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELbRgg056149 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:37:27 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1ELSL6g026940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 16:28:21 -0500
Date: Mon, 14 Feb 2005 16:37:18 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <3823051286FE515706649375@ninevah.cyrusoft.com>
In-Reply-To: <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>  <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>  <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>  <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>  <F1FD784DA828BE930C928101@ninevah.cyrusoft.com> <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 10:33:49 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> As far as I recall the IMAP base-spec only allows one tagged response
>> to any command, so the above would not work without redefining IMAP's
>> entire response behaviour...
>
> That's an excellent argument, but where in the RFC does it say so?
>

The formal syntax for the 'response' element. If you follow that through 
you will see that you can only have one 'response-tagged' item in 
'response'.

-- 
Cyrus Daboo



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 j1ELYiEI055935; Mon, 14 Feb 2005 13:34:44 -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 j1ELYi3a055934; Mon, 14 Feb 2005 13:34:44 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ELYhNg055928 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:34:44 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 1B95F1A733; Mon, 14 Feb 2005 22:34:49 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id D593D1A6C1; Mon, 14 Feb 2005 22:34:29 +0100 (CET)
Message-Id: <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 22:33:49 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com> <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com> <F1FD784DA828BE930C928101@ninevah.cyrusoft.com>
In-Reply-To: <F1FD784DA828BE930C928101@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> As far as I recall the IMAP base-spec only allows one tagged response 
> to any command, so the above would not work without redefining IMAP's 
> entire response behaviour...

That's an excellent argument, but where in the RFC does it say so?

Arnt



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 j1ELVPlu055701; Mon, 14 Feb 2005 13:31:25 -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 j1ELVP4s055698; Mon, 14 Feb 2005 13:31:25 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELVJCq055675 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:31:20 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKM06g025091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:22:00 -0500
Date: Mon, 14 Feb 2005 15:30:57 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
In-Reply-To: <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 9:19:16 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> The IDs make it clear which response corresponds to each search.
>
> IMAP already has a mechanism to handle that: tagged responses.
>

Search results are always untagged.

-- 
Cyrus Daboo



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 j1ELVPmJ055700; Mon, 14 Feb 2005 13:31:25 -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 j1ELVPpg055699; Mon, 14 Feb 2005 13:31:25 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELVJCs055675 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:31:21 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKaQ6g025388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:36:27 -0500
Date: Mon, 14 Feb 2005 15:45:24 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Mark Crispin <MRC@CAC.Washington.EDU>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com>
In-Reply-To: <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Mark,

--On February 14, 2005 12:43:34 PM -0800 Mark Crispin 
<MRC@CAC.Washington.EDU> wrote:

>>>> The IDs make it clear which response corresponds to each search.
>>> IMAP already has a mechanism to handle that: tagged responses.
>> Search results are always untagged.
>
> Yes, but instead of an ESEARCH untagged response this could be a status
> response in the tagged OK.  I think that this is the way to go.
>

Can you explain with some examples...

-- 
Cyrus Daboo



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 j1ELSgCX055561; Mon, 14 Feb 2005 13:28:42 -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 j1ELSgJe055560; Mon, 14 Feb 2005 13:28:42 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELSegD055554 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:28:41 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1ELJZ6g026608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 16:19:35 -0500
Date: Mon, 14 Feb 2005 16:28:32 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <F1FD784DA828BE930C928101@ninevah.cyrusoft.com>
In-Reply-To: <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>  <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>  <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 10:22:58 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

> I'm suggesting that IF you want to tag ESEARCH responses (whether you
> call them "tagged searches" or "searches with ID" is no matter to me),
> then the most honest response format is
>
> a1234 ESEARCH ALL 1:100

As far as I recall the IMAP base-spec only allows one tagged response to 
any command, so the above would not work without redefining IMAP's entire 
response behaviour...

> There are alternatives, such as sneaking the tag in the back door:
>
> * ESEARCH TAG a1234 ALL 1:100
>
> Or such as using an Elvis lookalike instead of the real thing:
>
> * ESEARCH ID a1234 ALL 1:100
>
> Whether ESEARCH is tagged or not is no matter to me. I'm happy either way.
>
> But if it is tagged, I'd like to see IMAP stay with just one tag
> mechanism (unless there are pressing reasons for having multiple similar
> mechanisms, of course).

Ok - command tags would be sufficient.

-- 
Cyrus Daboo



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 j1ELPt8V055379; Mon, 14 Feb 2005 13:25:55 -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 j1ELPtQo055378; Mon, 14 Feb 2005 13:25:55 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELPsEP055368 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:25:54 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKhnvg008841; Mon, 14 Feb 2005 12:43:49 -0800
Received: from Shimo-Tomobiki.panda.com ([70.58.77.1]) (authenticated bits=0) by smtp.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKhb4o013663 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 14 Feb 2005 12:43:40 -0800
Date: Mon, 14 Feb 2005 12:43:34 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Cyrus Daboo <daboo@isamet.com>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
In-Reply-To: <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
Message-ID: <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

On Mon, 14 Feb 2005, Cyrus Daboo wrote:
>>> The IDs make it clear which response corresponds to each search.
>> IMAP already has a mechanism to handle that: tagged responses.
> Search results are always untagged.

Yes, but instead of an ESEARCH untagged response this could be a status 
response in the tagged OK.  I think that this is the way to go.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j1ELNrJT054967; Mon, 14 Feb 2005 13:23:53 -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 j1ELNrxg054966; Mon, 14 Feb 2005 13:23:53 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ELNpXx054960 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:23:52 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 615A81A72E; Mon, 14 Feb 2005 22:23:57 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id 7D7C01A6EC; Mon, 14 Feb 2005 22:23:39 +0100 (CET)
Message-Id: <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 22:22:58 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com> <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>
In-Reply-To: <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> OK, so are you suggesting that the tag for the SEARCH command is used 
> as the 'ID' I was proposing, e.g.:
>
> a1234 SEARCH RETURN (TAG ALL) UNSEEN
> * ESEARCH TAG a1234 ALL 1:100
> a1234 OK

I'm suggesting that IF you want to tag ESEARCH responses (whether you 
call them "tagged searches" or "searches with ID" is no matter to me), 
then the most honest response format is

a1234 ESEARCH ALL 1:100

There are alternatives, such as sneaking the tag in the back door:

* ESEARCH TAG a1234 ALL 1:100

Or such as using an Elvis lookalike instead of the real thing:

* ESEARCH ID a1234 ALL 1:100

Whether ESEARCH is tagged or not is no matter to me. I'm happy either way.

But if it is tagged, I'd like to see IMAP stay with just one tag 
mechanism (unless there are pressing reasons for having multiple 
similar mechanisms, of course).

Arnt



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 j1ELMwNm054727; Mon, 14 Feb 2005 13:22:58 -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 j1ELMw20054726; Mon, 14 Feb 2005 13:22:58 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELMvgN054716 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:22:57 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELMn907739; Mon, 14 Feb 2005 23:22:49 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 23:21:25 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j1ELLPNF005190; Mon, 14 Feb 2005 23:21:25 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 007MMFJu; Mon, 14 Feb 2005 23:21:23 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELJeM09744; Mon, 14 Feb 2005 23:19:40 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 15:19:11 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 15:19:10 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60B1@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUS2ZGpkiVvOxbuQQ6QN5oLVxQQ6QAALmCQ
From: <Michael.Wener@nokia.com>
To: <arnt@gulbrandsen.priv.no>, <lemonade@ietf.org>, <ietf-imapext@imc.org>
Cc: <daboo@isamet.com>
X-OriginalArrivalTime: 14 Feb 2005 21:19:11.0805 (UTC) FILETIME=[D3F386D0:01C512DA]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1ELMwgN054721
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>

> If you want ESEARCH to be bound to the command, you can 
> either use the 
> IMAP tag mechanism or reinvent it.
> 

Maybe not reinvent, but rather exploit.

To reuse Cyrus's example ...

C: a SEARCH RETURN (ALL) UNSEEN
C: b SEARCH RETURN (ALL) DELETED
S: * ESEARCH TAG a ALL 1:100,200:1000
S: * ESEARCH TAG b ALL 150
S: a OK
S: b OK



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 j1EL81vX053419; Mon, 14 Feb 2005 13:08:01 -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 j1EL81vh053418; Mon, 14 Feb 2005 13:08:01 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EL7xiA053410 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:07:59 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EKAq925998; Mon, 14 Feb 2005 22:10:52 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 22:10:22 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j1EKAMI1002263; Mon, 14 Feb 2005 22:10:22 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 00i4W8W0; Mon, 14 Feb 2005 22:10:21 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EK02M11357; Mon, 14 Feb 2005 22:00:02 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 13:59:52 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] New draft: SEARCH return options
Date: Mon, 14 Feb 2005 13:59:50 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60AD@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lemonade] New draft: SEARCH return options
thread-index: AcUSzcCk0Nr8eSqyRFCe4Q+yOMd63AAAdlIQ
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 19:59:52.0356 (UTC) FILETIME=[BF193E40:01C512CF]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1EL80iA053412
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>

> >There should be some Normative text stipulating that SEARCH and 
> >ESEARCH are mutually exclusive responses.
> >  
> >
> The document already says "MUST send  ESEARCH when a return option is 
> specified". Do you think this is not sufficient?

Yes, if your intent is to make the responses mutually exclusive.

Mike



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 j1EL7HGA053387; Mon, 14 Feb 2005 13:07:17 -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 j1EL7HFR053386; Mon, 14 Feb 2005 13:07:17 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EL7GkV053379 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:07:16 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKw76g025811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:58:08 -0500
Date: Mon, 14 Feb 2005 16:07:05 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>
In-Reply-To: <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 9:58:42 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> Search results are always untagged.
>
> Why?
>
> If you want ESEARCH to be bound to the command, you can either use the
> IMAP tag mechanism or reinvent it.
>

OK, so are you suggesting that the tag for the SEARCH command is used as 
the 'ID' I was proposing, e.g.:

a1234 SEARCH RETURN (TAG ALL) UNSEEN
* ESEARCH TAG a1234 ALL 1:100
a1234 OK

-- 
Cyrus Daboo



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 j1EL4Nt9053192; Mon, 14 Feb 2005 13:04:23 -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 j1EL4N9m053191; Mon, 14 Feb 2005 13:04:23 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EL4MKu053185 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:04:23 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKtD6g025765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:55:14 -0500
Date: Mon, 14 Feb 2005 16:04:10 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Mark Crispin <MRC@CAC.Washington.EDU>, Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com>
In-Reply-To: <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Mark,

--On February 14, 2005 12:51:02 PM -0800 Mark Crispin 
<MRC@CAC.Washington.EDU> wrote:

> tag SEARCH extended-poop
> tag OK [SEARCH extended-poop-response] extended SEARCH OK
>
> as opposed to
>
> tag SEARCH extended-poop
> * ESEARCH extended-poop-response
> tag OK SEARCH completed
>
> Note that this precludes any sort of "watching" SEARCH extension, in
> which you have a standing SEARCH and get unsolicited responses.  It has
> been nearly 20 years and we have done no such thing, so maybe we don't
> care.
>

I guess I dislike the idea of having actual results come back in the 
extended response code.

Right now I don't see why we need the new ESEARCH response at all, as 
opposed to just redefining the SEARCH response (which is fine because the 
client knows what it is going to get having used the extended SEARCH 
command). Perhaps Alexey can explain why we have to have a new response?

-- 
Cyrus Daboo



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 j1EKxxc5052888; Mon, 14 Feb 2005 12:59:59 -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 j1EKxxGg052887; Mon, 14 Feb 2005 12:59:59 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1EKxlX4052852 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 12:59:54 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 7C1841A72A; Mon, 14 Feb 2005 21:59:40 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id 0AA4C1A6B8; Mon, 14 Feb 2005 21:59:23 +0100 (CET)
Message-Id: <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 21:58:42 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
In-Reply-To: <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> Hi Arnt,
>
> --On February 14, 2005 9:19:16 PM +0100 Arnt Gulbrandsen 
> <arnt@gulbrandsen.priv.no> wrote:
>
>>> The IDs make it clear which response corresponds to each search.
>>
>> IMAP already has a mechanism to handle that: tagged responses.
>
> Search results are always untagged.

Why?

If you want ESEARCH to be bound to the command, you can either use the 
IMAP tag mechanism or reinvent it.

Arnt



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 j1EJil9R049164; Mon, 14 Feb 2005 11:44:47 -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 j1EJilJx049163; Mon, 14 Feb 2005 11:44:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EJifVT049144 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 11:44:44 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 19:44:15 +0000
Message-ID: <4210FF8E.8000302@isode.com>
Date: Mon, 14 Feb 2005 19:44:14 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: [lemonade] New draft: SEARCH return options
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D21@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D21@daebe005.americas.nokia.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>Comments:
>I don't understand what the anticipated use of RETURN () would be?
>  
>
This is a hook for the SEARCHRES extension 
(draft-melnikov-imap-search-res-01.txt).

>There should be some Normative text stipulating that SEARCH and 
>ESEARCH are mutually exclusive responses.
>  
>
The document already says "MUST send  ESEARCH when a return option is 
specified". Do you think this is not sufficient?




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 j1EJaR2i048454; Mon, 14 Feb 2005 11:36:27 -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 j1EJaRqH048453; Mon, 14 Feb 2005 11:36:27 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EJaPw9048446 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 11:36:26 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJaMc06986; Mon, 14 Feb 2005 21:36:22 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 21:35:31 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j1EJZVP1008321; Mon, 14 Feb 2005 21:35:31 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks004.ntc.nokia.com 00TDkpnL; Mon, 14 Feb 2005 21:35:29 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJZSJ12383; Mon, 14 Feb 2005 21:35:28 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 13:35:02 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] New draft: SEARCH return options
Date: Mon, 14 Feb 2005 13:35:01 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D21@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [lemonade] New draft: SEARCH return options
thread-index: AcUSzEWp8u0h0oiwQZKc/yvzqhmx/A==
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 19:35:02.0534 (UTC) FILETIME=[47187260:01C512CC]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1EJaRw9048448
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>

I like it. I think it is done very smoothly.

Comments:
I don't understand what the anticipated use of RETURN () would be?

There should be some Normative text stipulating that SEARCH and 
ESEARCH are mutually exclusive responses.

Mike





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 j1EJYM3w048324; Mon, 14 Feb 2005 11:34:22 -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 j1EJYMVJ048323; Mon, 14 Feb 2005 11:34:22 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EJYKpL048311 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 11:34:21 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJYAB06615; Mon, 14 Feb 2005 21:34:11 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 21:32:40 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j1EJWeqi029342; Mon, 14 Feb 2005 21:32:40 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks004.ntc.nokia.com 00vcnzO1; Mon, 14 Feb 2005 21:32:39 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJWcJ08873; Mon, 14 Feb 2005 21:32:38 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 13:25:09 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 13:25:07 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D20@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: New draft: SEARCH return options
thread-index: AcUSyuQEnbtqDWMnSJCx+yiovatQIQ==
From: <Michael.Wener@nokia.com>
To: <mrc@CAC.Washington.EDU>, <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 19:25:09.0823 (UTC) FILETIME=[E5CFECF0:01C512CA]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1EJYMpL048318
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>

> Is there much feeling as to how useful it would be?  

I think the RETURN (ALL) semantics will be useful.

Mike



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 j1EICBdh042572; Mon, 14 Feb 2005 10:12:11 -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 j1EICB6i042571; Mon, 14 Feb 2005 10:12:11 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EIC55M042552 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 10:12:06 -0800 (PST) (envelope-from mrc@CAC.Washington.EDU)
Received: from shiva1.cac.washington.edu (shiva1.cac.washington.edu [140.142.37.171]) by mxout5.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EIC0Go025725; Mon, 14 Feb 2005 10:12:00 -0800
Received: from localhost (mrc@localhost) by shiva1.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EIC03p013837; Mon, 14 Feb 2005 10:12:00 -0800
Date: Mon, 14 Feb 2005 10:12:00 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
In-Reply-To: <4210BC19.4070207@isode.com>
Message-ID: <Pine.LNX.4.63.0502141007210.13442@shiva1.cac.washington.edu>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

I've reviewed this document and while I have document nits the protocol 
proposed looks OK to me.

Is there much feeling as to how useful it would be?  I'm not talking about 
Dave and Alexey since I'm sure they are already convinced.  It's more of a 
question of whether the benefit is worth the added complexity (don't 
forget, it does represent an additional task for server implementors!).

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j1EEuhRJ029598; Mon, 14 Feb 2005 06:56:43 -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 j1EEuh5j029597; Mon, 14 Feb 2005 06:56:43 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EEuelR029562 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 06:56:42 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 14:56:27 +0000
Message-ID: <4210BC19.4070207@isode.com>
Date: Mon, 14 Feb 2005 14:56:25 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
CC: Lemonade WG <lemonade@ietf.org>
Subject: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org>
In-Reply-To: <200502112027.PAA05610@ietf.org>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Internet-Drafts@ietf.org wrote:

>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>
>
>	Title		: IMAP4 extension to SEARCH command for controlling what 
>			  kind of information is returned
>	Author(s)	: A. Melnikov, D. Cridland
>	Filename	: draft-melnikov-imap-search-ret-00.txt
>	Pages		: 0
>	Date		: 2005-2-11
>	
>This document extends SEARCH and UID SEARCH commands with result
>   specifier, which can control what kind of information is returned.
>   Several result specifiers are defined: minimal value, maximal
>   value, all found messages and number of found messages. A new
>   response ESEARCH is also specified.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-melnikov-imap-search-ret-00.txt
>
Based on the recent discussion of the 
draft-melnikov-imap-expunged-00.txt, Dave and I wrote a draft that adds 
return options to the SEARCH command. Currently defined return options 
are: COUNT (number of found messages), MIN (the lowest message 
number/UID found), MAX (the highest message number/UID found) and ALL 
(return all found messages as a message/UID set).

Dave has implemented the extension in his Polymer email client.

I am also proud to announce the support for this extension in Isode IMAP 
server.

Alexey

P.S. If you are interested to test this extension against Isode server, please contact me directly.

 __________________________________________
IETF standard related pages:
http://www.melnikov.ca/mel/devel/Links.html
__________________________________________
 



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 j1ED30qs020845; Mon, 14 Feb 2005 05:03:00 -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 j1ED30wg020844; Mon, 14 Feb 2005 05:03:00 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ED2xMd020829 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 05:03:00 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 13:02:54 +0000
Message-ID: <4210A17C.3090008@isode.com>
Date: Mon, 14 Feb 2005 13:02:52 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: I-D ACTION:draft-ietf-imapext-list-extensions-11.txt
References: <200502102051.PAA06190@ietf.org>
In-Reply-To: <200502102051.PAA06190@ietf.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Internet-Drafts@ietf.org wrote:

>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.
>
>	Title		: IMAP4 LIST Command Extensions
>	Author(s)	: B. Leiba, A. Melnikov
>	Filename	: draft-ietf-imapext-list-extensions-11.txt
>	Pages		: 10
>	Date		: 2005-2-10
>	
>IMAP4 has two commands for listing mailboxes: LIST and LSUB.  As we
>have added extensions that have required specialized lists (see
>[MboxRefer] for an example) we have had to expand the number of list
>commands, since each extension must add its function to both LIST and
>LSUB, and these commands are not, as they are defined, extensible.
>If we've needed the extensions to work together, we've had to add a
>set of commands to mix the different options, the set increasing in
>size with each new extension.  This document describes an extension
>to the base LIST command that will allow these additions to be done
>with mutually compatible options to the LIST command, avoiding the
>exponential increase in specialized list commands.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-imapext-list-extensions-11.txt
>  
>
After reviewing the mailing list archive I've decided that CHILDINFO is the way to go, because we want to allow for multiple LIST and unsolicited responses. This indeed made explanation much easier. Of course CHILDINFO is a bit verbose, so I would welcome suggestions.

I've also renamed MATCHPARENT to RECURSIVEMATH and made rules about CHILDREN extension more strict (as discussed during the last interim meeting). I've also tried to address some minor editorial issues raised by Philip previously.

Alexey





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 j1AKpI5n077264; Thu, 10 Feb 2005 12:51:18 -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 j1AKpIB6077263; Thu, 10 Feb 2005 12:51:18 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AKpHQM077257 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 12:51:17 -0800 (PST) (envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA06190; Thu, 10 Feb 2005 15:51:14 -0500 (EST)
Message-Id: <200502102051.PAA06190@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-list-extensions-11.txt
Date: Thu, 10 Feb 2005 15:51:14 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.

	Title		: IMAP4 LIST Command Extensions
	Author(s)	: B. Leiba, A. Melnikov
	Filename	: draft-ietf-imapext-list-extensions-11.txt
	Pages		: 10
	Date		: 2005-2-10
	
IMAP4 has two commands for listing mailboxes: LIST and LSUB.  As we
have added extensions that have required specialized lists (see
[MboxRefer] for an example) we have had to expand the number of list
commands, since each extension must add its function to both LIST and
LSUB, and these commands are not, as they are defined, extensible.
If we've needed the extensions to work together, we've had to add a
set of commands to mix the different options, the set increasing in
size with each new extension.  This document describes an extension
to the base LIST command that will allow these additions to be done
with mutually compatible options to the LIST command, avoiding the
exponential increase in specialized list commands.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-list-extensions-11.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-imapext-list-extensions-11.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-imapext-list-extensions-11.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2005-2-10155903.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-list-extensions-11.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-imapext-list-extensions-11.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2005-2-10155903.I-D@ietf.org>

--OtherAccess--

--NextPart--




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 j1AJfKgf072590; Thu, 10 Feb 2005 11:41:20 -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 j1AJfKQu072589; Thu, 10 Feb 2005 11:41:20 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AJfEwL072571 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 11:41:19 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 16F88154009; Thu, 10 Feb 2005 19:40:55 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
Cc: <ietf-imapext@imc.org>
Subject: Re: ANNOTATEMORE Comments
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6084@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6084@daebe005.americas.nokia.com>
Message-ID: <20050210194054.17230.23121.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Thu, 10 Feb 2005 19:40:54 +0000
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>

On Thu Feb 10 14:34:22 2005, Michael.Wener@nokia.com wrote:
> Would it be worth while adding an entry for declaring capabilities?
> IMAP obviously has a way to declare an extension via the 
> CAPABILITY command, but it would seem that an optional declaration 
> via an annotation could easily provide for a richer declaration. 
> 
> For example a new server entry like:
> 
> /capabilities/<capability>
> 
> Attributes could then be defined that may describe or modify the 
> capability further. 

This is very like the capability dataset class in ACAP, which allows for active clients to provide services via the ACAP server, like addressbook expansion.

It sounds like a great idea in principle, and could provide the same capability - that is, per-user capabilities provided in some cases by external modules, sometimes specific to the user.

The problems are quite similar, too, though - with ACAP, it wasn't ever fully defined precisely how a client detirmines that the agent providing the capability is really present and working. In my ACAP work, I've always avoided the dataset class as a whole - it's simply unreliable, great idea or not. Either that, or I just can't see how it ought to work, which is equally likely.

This needn't be the case with IMAP/ANNOTATEMORE, of course, but it needs thinking about carefully, I think.

Dave.



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 j1AEcl0o054503; Thu, 10 Feb 2005 06:38:47 -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 j1AEclxc054502; Thu, 10 Feb 2005 06:38:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AEcjHl054496 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 06:38:46 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AEcgc29156 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 16:38:43 +0200 (EET)
X-Scanned: Thu, 10 Feb 2005 16:37:54 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j1AEbs17006755 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 16:37:54 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks004.ntc.nokia.com 0090XZsq; Thu, 10 Feb 2005 16:37:54 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AEblM10280 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 16:37:48 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 10 Feb 2005 08:34:23 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: ANNOTATEMORE Comments
Date: Thu, 10 Feb 2005 08:34:22 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6084@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ANNOTATEMORE Comments
thread-index: AcUPfZzJroeEI+Z+TsitxK35/JTNfg==
From: <Michael.Wener@nokia.com>
To: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 10 Feb 2005 14:34:23.0682 (UTC) FILETIME=[9D731220:01C50F7D]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1AEckHl054497
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>

I like it.

Would it be worth while adding an entry for declaring capabilities?
IMAP obviously has a way to declare an extension via the 
CAPABILITY command, but it would seem that an optional declaration 
via an annotation could easily provide for a richer declaration. 

For example a new server entry like:

/capabilities/<capability>

Attributes could then be defined that may describe or modify the 
capability further. 

Mike



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 j1AEUFdY054035; Thu, 10 Feb 2005 06:30:15 -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 j1AEUFBB054034; Thu, 10 Feb 2005 06:30:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AEUDPs054028 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 06:30:14 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AEU8c15299; Thu, 10 Feb 2005 16:30:08 +0200 (EET)
X-Scanned: Thu, 10 Feb 2005 16:29:27 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j1AETRD0022021; Thu, 10 Feb 2005 16:29:27 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 005iF11i; Thu, 10 Feb 2005 16:29:25 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AETOJ16926; Thu, 10 Feb 2005 16:29:24 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 10 Feb 2005 08:27:34 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: Body Part Content Conversion using ANNOTATEMORE
Date: Thu, 10 Feb 2005 08:27:32 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D16@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Body Part Content Conversion using ANNOTATEMORE
thread-index: AcUPfKiW/uuoQW1KSQ+ZD+9Dh+t4sg==
From: <Michael.Wener@nokia.com>
To: <lemonade@ietf.org>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 10 Feb 2005 14:27:34.0325 (UTC) FILETIME=[A9742650:01C50F7C]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1AEUEPs054029
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>

I've put together a draft describing a proposal that uses ANNOTATEMORE
as the vehicle for discovery. Please provide comments.

I've copied both imapext and lemonade because it is relevant to both.
I would suggest any discussion be confined to the lemonade list.

I've submitted the draft, but until then you can find it at the link 
below.

http://ietf.webdav.org/imapext/draft-wener-lemonade-conversion-00.txt

Mike



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 j190vfg6050707; Tue, 8 Feb 2005 16:57:41 -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 j190vfco050706; Tue, 8 Feb 2005 16:57:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j190vdcl050700 for <ietf-imapext@imc.org>; Tue, 8 Feb 2005 16:57:40 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j190vS818201; Wed, 9 Feb 2005 02:57:31 +0200 (EET)
X-Scanned: Wed, 9 Feb 2005 02:56:17 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j190uHGs022593; Wed, 9 Feb 2005 02:56:17 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks004.ntc.nokia.com 00Fawpn2; Wed, 09 Feb 2005 02:56:16 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j190u9U13208; Wed, 9 Feb 2005 02:56:09 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Tue, 8 Feb 2005 18:56:09 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Tue, 8 Feb 2005 18:56:08 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6067@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUOQiOz9OgrGMffTbCc7YL5WHzvJw==
From: <Michael.Wener@nokia.com>
To: <dave@cridland.net>
Cc: <ietf-imapext@imc.org>, <Alexey.Melnikov@isode.com>
X-OriginalArrivalTime: 09 Feb 2005 00:56:09.0226 (UTC) FILETIME=[2475D6A0:01C50E42]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j190vecl050701
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>

> -----Original Message-----
> From: ext Dave Cridland [mailto:dave@cridland.net]
> Sent: Tuesday, February 08, 2005 5:45 PM
...
> > Maybe a better solution is ...
> > 
> > C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTUIDS)
> > S: * SEARCH etc ...
> > S: 1 OK FETCH Complete
> > 
> > In this case you completely remove the problem of having
> > any EXPUNGE memory, and it alleviates the server from having
> > to even worry about MODSEQ for expunges.
> > 
> 
> Is having an EXPUNGE memory that difficult?

No, but that is not the point. The point is that we are looking
for an optimal way for a client to synchronize server mailbox 
state. If it can be equivalently done with out requiring the 
server to maintain additional state I see this as an upside. 
After all what got us to this point in the discussion was the 
possibility of a server forgetting expunges.

> In short, I don't actually think that an extension as you 
> propose here - that simply sends out an unsolicited UID 
> SEARCH - is actually telling the client what it wants to know.

In this case it was solicited.

We did conclude, a message or two ago, that this was equivalent 
to the UIDEXPUNGE. 

Universe = ExpungedSet U UidSearchSet

We know the universe. So we can send one of the other two and 
deduce the third. Also, what the client ultimately wants is 
UidSearchSet.  

> 
> The rest of this email is, I hope, teaching any watching 
> grandmothers to suck eggs. (Not my grandmother, though, as 
> she was the only person I ever met who liked CPM.) Feel free 
> to tune out.

I have no idea what you are talking about, here.

Mike




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 j18MieJQ045047; Tue, 8 Feb 2005 14:44:40 -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 j18MiepX045046; Tue, 8 Feb 2005 14:44:40 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j18MidQm045033 for <ietf-imapext@imc.org>; Tue, 8 Feb 2005 14:44:39 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id B9521154009; Tue,  8 Feb 2005 22:44:31 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
Cc: <ietf-imapext@imc.org>, Alexey Melnikov <Alexey.Melnikov@isode.com>
Subject: RE: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D04@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D04@daebe005.americas.nokia.com>
Message-ID: <20050208224431.17230.40712.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Tue, 08 Feb 2005 22:44:31 +0000
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>

On Tue Feb  8 19:27:23 2005, Michael.Wener@nokia.com wrote:
> I understand the appeal of having the same response, but I think 
> you overstate the issue of returning the SEARCH response. Clients 
> will have code to deal with the SEARCH response.
> 

But, quite possibly, only in the context of a sent SEARCH/UID SEARCH command.

> 
> Maybe a better solution is ...
> 
> C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTUIDS)
> S: * SEARCH etc ...
> S: 1 OK FETCH Complete
> 
> In this case you completely remove the problem of having
> any EXPUNGE memory, and it alleviates the server from having
> to even worry about MODSEQ for expunges.
> 

Is having an EXPUNGE memory that difficult?

> 
> A couple of interesting notes regarding the above solution ...
> 1) It is just a shorthand way of doing both a FETCH and UID 
> SEARCH in the same command.

With extra processing above and beyond the pipelined UID SEARCH/UID FETCH that is otherwise identical to it other than a handful of octets - if the packet size were so small that this made any practical difference, I'd be shocked.

Besides which, a client can always be in posession of the knowledge of whether it knows about all the expunges, or whether some may remain undetected, simply by examining UIDNEXT/EXISTS.

In short, I don't actually think that an extension as you propose here - that simply sends out an unsolicited UID SEARCH - is actually telling the client what it wants to know.

The rest of this email is, I hope, teaching any watching grandmothers to suck eggs. (Not my grandmother, though, as she was the only person I ever met who liked CPM.) Feel free to tune out.


I assume this algorithm is reasonably well known, I've been using various stages of refinement of it for around a year, with pleasant success, but I'll hold it up for people to shoot it down:

1) Let the values of UIDNEXT and EXISTS as reported in the previous SELECT be LAST_UIDNEXT and LAST_EXISTS respectively.

2) Let the tracked value of EXISTS, as detirmined by EXPUNGE and EXISTS responses received by the client during the previous mailbox session be CURRENT_EXISTS.

3) Let the count of EXPUNGE responses received by the client during the previous mailbox session be SEEN_EXPUNGES

4) Let the values of UIDNEXT and EXISTS reported during the new select be NEW_UIDNEXT and NEW_EXISTS, respectively.

Now:

A) If LAST_UIDNEXT==NEW_UIDNEXT and CURRENT_EXISTS==NEW_EXISTS, then there have been no expunges between sessions. (And no appends, of course, this being trivial.)

B) If ( NEW_UIDNEXT - LAST_UIDNEXT ) == ( NEW_EXISTS - LAST_EXISTS + SEEN_EXPUNGES ), then there have been no expunges between sessions. (And some appends)

In any other case, there may have been expunges.

Since servers can, I believe, issue UIDs non-monotonically, this algorithm can fail, but does so safely (ie, the client believes there may have been EXPUNGEs when in fact there weren't).

On the other hand, if some mechanism were available that allowed the server to report a collection of UIDs which had recently been EXPUNGEd, the client could issue this instead, add the number found to SEEN_EXPUNGES above, and check case B to see if it had them all. (Again, this fails where UIDNEXT does not increase monotonically). Some information, here, is more use than none.

If the client believes there to have been EXPUNGEs, then it can simply perform a UID SEARCH across, for instance, CURRENT_EXISTS-100 to NEW_EXISTS, and simply replace the end of the known UID list if the first UID in the new list matches. (This is relatively common, since EXPUNGEs do appear to typically happen at the end of the mailbox.) Therefore, no need to UID SEARCH 1:* at all in most cases. Given the potential size of SEARCH results, it may be best to scan backwards at intervals in order to find the matching point which indicates that no EXPUNGEs affected anything before.

Of course, I do all this already, but then, my client is a caching online client, and I imagine most of the client authors here are more interested in the disconnected mode case. For my client, it enables me to resync as much as I need to in two round trips, usually one, and often zero, for mailboxes under 75,000 messages. This is as much scalability as I can reasonably hope for, especially as huge mailboxes tend to be mailing list archives, and thus are caught by rule (B) every time.

Dave.



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 j18JTfpj031458; Tue, 8 Feb 2005 11:29:41 -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 j18JTf1d031457; Tue, 8 Feb 2005 11:29:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j18JTZ8Y031435 for <ietf-imapext@imc.org>; Tue, 8 Feb 2005 11:29:36 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j18JTRc16752; Tue, 8 Feb 2005 21:29:27 +0200 (EET)
X-Scanned: Tue, 8 Feb 2005 21:28:54 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j18JSsTB003689; Tue, 8 Feb 2005 21:28:54 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 007p0KLI; Tue, 08 Feb 2005 21:28:54 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j18JSGU15986; Tue, 8 Feb 2005 21:28:17 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Tue, 8 Feb 2005 13:27:24 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Tue, 8 Feb 2005 13:27:23 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D04@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKvY7Wk/d/rp5iRdSC9FXqBc6SJADUzvBQ
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 08 Feb 2005 19:27:24.0064 (UTC) FILETIME=[3758FA00:01C50E14]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j18JTa8Y031449
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext 
> Alexey Melnikov
> Sent: Friday, February 04, 2005 8:05 AM
...
> >Don't force a round trip.
> >
> >C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> >S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> >S: * SEARCH etc ...
> >S: 1 OK FETCH Complete
> >
> >Though, I'm not sure a round trip in this case would be bad.
> >
> >What worries me is the pathological case. It strikes me as 
> >wrong to send a list of an unbounded set, when what the client 
> >really wants is the compliment of that.
> >  
> >
> I frankly don't like that the server sends two different 
> responses that 
> mean pretty much the same thing. This definitely makes client 
> implementations more difficult.

I understand the appeal of having the same response, but I think 
you overstate the issue of returning the SEARCH response. Clients 
will have code to deal with the SEARCH response.

Maybe a better solution is ...

C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTUIDS)
S: * SEARCH etc ...
S: 1 OK FETCH Complete

In this case you completely remove the problem of having
any EXPUNGE memory, and it alleviates the server from having
to even worry about MODSEQ for expunges.

A couple of interesting notes regarding the above solution ...
1) It is just a shorthand way of doing both a FETCH and UID 
SEARCH in the same command.
2) It points out how adding EXPUNGE to CONDSTORE is a bit of a 
force fit.

Mike



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 j17MtYRT078749; Mon, 7 Feb 2005 14:55:34 -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 j17MtY7Z078748; Mon, 7 Feb 2005 14:55:34 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17MtX8c078725 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 14:55:33 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 4E672154009; Mon,  7 Feb 2005 22:55:15 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Mark Crispin <MRC@cac.washington.edu>
Cc: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>, Alexey Melnikov <Alexey.Melnikov@isode.com>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com> <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
In-Reply-To: <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
Message-ID: <20050207225514.14903.17980.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Mon, 07 Feb 2005 22:55:14 +0000
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>

On Mon Feb  7 20:40:09 2005, Mark Crispin wrote:
> 
> Do we really need "has" in front of all these flags?
> 
> Why not \Children, \NoChildren, etc.?
> 

As Alexey says, these are widely deployed - existing client code that I've had a chance to examine appears to rank CHILDREN as one of the most widely deployed extensions.

My suspicion is that many clients will start using LISTEXT merely by requesting CHILDREN formally. Some may well not notice if we subtlely rename the flags. (Although no doubt some server writers never bothered to spell them right to begin with).

> 
> Another point: using binary flags for a tri-state condition is troublesome, since it creates silly states.  \Marked and \UnMarked created the problem -- a mistake that I still deeply regret -- and it would be a shame if it gets worse.
> 
> Since we have binary flags as a given, can we think of a methodology that avoids tri-state conditions?
> 

Barry Leiba commented that \HasNoChildren is required to handle unsolicited LIST responses.

However, the same argument can be made of \Subscribed, and presumably other flags - does an unsolicited LIST without \Subscribed indicate that the mailbox is not subscribed, or merely that subscription information isn't included?

It strikes me that unsolicited LIST responses, currently barred by 3501 [I think: It's 11pm here, and I can't find the text], either need to be barred by LISTEXT explicitly pending a future standard, or we should actually solve the issue.

Dave.



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 j17LlJqq070972; Mon, 7 Feb 2005 13:47:19 -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 j17LlJPS070971; Mon, 7 Feb 2005 13:47:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17LlIex070965 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 13:47:19 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.183] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 7 Feb 2005 21:47:13 +0000
Message-ID: <4207E1E0.9000005@isode.com>
Date: Mon, 07 Feb 2005 21:47:12 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Lisa Dusseault <lisa@osafoundation.org>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: WG last call for ANNOTATE Feb 4-18
References: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
In-Reply-To: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Lisa Dusseault wrote:

>
> This is a notification of the beginning of last-call for the -12 draft 
> of ANNOTATE:
>
> http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt
>
> If you review this draft, let the WG know even if you have no issues 
> or comments.  Also, we'd like to know who plans to implement this or 
> may have already begun (you can let me know privately or mail the 
> WG).  Last call will go until and including February 18 2005.

Minor comment:
 The description of "/<section-part>/flags" only allows for "1" or "0". 
However, the description of "/flags" still allows for NIL.

Alexey



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 j17LIuhb067320; Mon, 7 Feb 2005 13:18:56 -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 j17LIukH067319; Mon, 7 Feb 2005 13:18:56 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17LIuhF067313 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 13:18:56 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout4.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j17LItQd014256; Mon, 7 Feb 2005 13:18:55 -0800
Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated bits=0) by smtp.washington.edu (8.13.1+UW04.08/8.13.3+UW05.01) with ESMTP id j17LIs4w021657 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 7 Feb 2005 13:18:55 -0800
Date: Mon, 7 Feb 2005 13:18:57 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
In-Reply-To: <4207D5AA.2030302@isode.com>
Message-ID: <Pine.WNT.4.62.0502071316300.2412@Tomobiki-Cho.CAC.Washington.EDU>
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com> <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com> <4207D5AA.2030302@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

On Mon, 7 Feb 2005, Alexey Melnikov wrote:
>> Do we really need "has" in front of all these flags?
>> Why not \Children, \NoChildren, etc.?
> Because they are already widely deployed.

The CHILDREN extension may be widely-deployed, but this is LISTEXT, not 
CHILDREN.

We have a chance to review the lessons of RFC 3348 (which I'll remind you 
is *NOT* standards-track!!) and maybe do something better.

I didn't say "break RFC 3348", but I am implying "replace RFC 3348".

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j17KtPKv064728; Mon, 7 Feb 2005 12:55:25 -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 j17KtPm5064727; Mon, 7 Feb 2005 12:55:25 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17KtOll064719 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 12:55:24 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.183] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 7 Feb 2005 20:55:07 +0000
Message-ID: <4207D5AA.2030302@isode.com>
Date: Mon, 07 Feb 2005 20:55:06 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Mark Crispin <MRC@CAC.Washington.EDU>
CC: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com> <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
In-Reply-To: <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Mark Crispin wrote:

> Do we really need "has" in front of all these flags?
>
> Why not \Children, \NoChildren, etc.?

Because they are already widely deployed.

> Another point: using binary flags for a tri-state condition is 
> troublesome, since it creates silly states.  \Marked and \UnMarked 
> created the problem -- a mistake that I still deeply regret -- and it 
> would be a shame if it gets worse.
>
> Since we have binary flags as a given, can we think of a methodology 
> that avoids tri-state conditions?




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 j17KeOJU063187; Mon, 7 Feb 2005 12:40:24 -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 j17KeOtS063186; Mon, 7 Feb 2005 12:40:24 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout6.cac.washington.edu (mxout6.cac.washington.edu [140.142.33.20]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17KeNVp063178 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 12:40:24 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout6.cac.washington.edu (8.13.1+UW04.08/8.13.3+UW05.01) with ESMTP id j17KeKj3008601; Mon, 7 Feb 2005 12:40:21 -0800
Received: from Shimo-Tomobiki.panda.com ([70.58.77.1]) (authenticated bits=0) by smtp.washington.edu (8.13.1+UW04.08/8.13.3+UW05.01) with ESMTP id j17KeF5i011008 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 7 Feb 2005 12:40:18 -0800
Date: Mon, 7 Feb 2005 12:40:09 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
In-Reply-To: <4207C7A0.5060903@isode.com>
Message-ID: <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

Do we really need "has" in front of all these flags?

Why not \Children, \NoChildren, etc.?

Another point: using binary flags for a tri-state condition is 
troublesome, since it creates silly states.  \Marked and \UnMarked created 
the problem -- a mistake that I still deeply regret -- and it would be a 
shame if it gets worse.

Since we have binary flags as a given, can we think of a methodology that 
avoids tri-state conditions?

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j17JtToU057354; Mon, 7 Feb 2005 11:55:29 -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 j17JtTeK057353; Mon, 7 Feb 2005 11:55:29 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17JtSBI057329 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 11:55:28 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.163] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 7 Feb 2005 19:55:13 +0000
Message-ID: <4207C7A0.5060903@isode.com>
Date: Mon, 07 Feb 2005 19:55:12 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Barry Leiba <leiba@watson.ibm.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com>
In-Reply-To: <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Barry Leiba wrote:

>>These were discussed fairly completely during the meeting and we came
>>to consensus that
>>-) MATCHPARENT would stay; not much point in making LIST extendable if
>>   things that can reasonably be options are instead implicitly
>>   triggered
>>    
>>
>Yes, but we decided to call it "recursivematch".
>  
>
Done.

>>-) \placeholder and \hassubmailboxes will be replaced by a single flag
>>   named something like \hasmatchingchild.  Whether the returned name
>>   itself matches can be trivially deduced from the other returned
>>   flags.
>>    
>>
>
>Correct, and "\hasmatchingchildren" was what we were calling it.  I'm
>open to other names, but I think this name makes its purpose clear
>(where "hassubmailboxes" did not).
>
I've renamed the flag as well.

>>If the client pipelines requests that result in ambiguous
>>responses, well, "Doctor it hurts when I do _this_...".
>>    
>>
>
>Or put more IETF-ly, clients MUST NOT send simultaneous LIST commands,
>the responses from which they would not be able to sort out
>unambiguously.
>
It sounds there is a strong desire to allow for multiple extended LISTs 
and unsolicited LIST responses.

>>-) keeping the CHILDREN option and its behavior separate from
>>   MATCHPARENT was deemed to be clearer than merging them.  CHILDREN
>>   would be changed to require exact responses:
>>    
>>
>
>In other words, correct implementation of CHILDREN *will* be required
>by the LISTEXT spec, but the "\haschildren" and "\hasnochildren" flags
>will only be returned if they're asked for.  We DO need the
>"\hasnochildren" flag to distinguish the absence of children from the
>case where the server decides to send an unsolicited LIST response at
>the same time as it's responding to a LIST command.
>
>We've gone back and forth on this one, and I hope we have now decided
>it firmly.  The reasoning is that clients that want the has<no>children
>help will do the work with a series of commands anyway, and even if
>it's not convenient for some server implementations to provide it, it's
>still a LOT cheaper for them to do it in the server than for the client
>to have to request them separately.
>
Is the existing text Ok:

   In some instances a server that supports the LISTEXT extension
   might not be able to determine whether a mailbox has children.  For
   example it may have difficulty determining whether there are child
   mailboxes when LISTing mailboxes while operating in a particular
   namespace.
   In these cases, a server MAY exclude both the \HasChildren and
   \HasNoChildren attributes in the LIST response.  As such, a client
   can not make any assumptions about whether a mailbox has children
   based upon the absence of a single attribute. In particular, some
   servers may not be able to combine the SUBSCRIBED selection option
   and CHILDREN return option.  Such servers MUST honor the SUBSCRIBED
   selection option, and they will simply ignore the CHILDREN return option
   if both are requested. It is an error for the server to return both a
   \HasChildren and a \HasNoChildren attribute in a LIST response.
?
Or should I make it stricter?

>>There was some discussion of requiring LIST to return BAD if
>>MATCHPARENT was used with a pattern containing '*', but I'm not sure
>>that was dropped later as being too restrictive.
>>    
>>
>
>It was dropped.  We decided, after thinking about it, that it's not
>*really* a problem.  The consensus at the end was that there need be no
>restrictions on when "recursivematch" can be used.
>
>There was the issue of recursion loops, and we decided to allow a
>server, probably with a MAY clause, to limit the depth.  We did not
>pick a minimum depth that MUST be implemented, so we should pick one
>here.
>
I frankly don't recall any such discussion.
But any suggested text will be welcomed.

>
>We should have examples in the jabber log, assuming that Rob was able
>accurately to enter my scratchings on the white-boards, since I
>annoyingly refused to write from left to right.  Should we copy those
>examples here, or just point to the jabber logs?
>
>  
>



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 j14N0Y0Q004677; Fri, 4 Feb 2005 15:00:34 -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 j14N0Ysu004676; Fri, 4 Feb 2005 15:00:34 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14N0Xow004631 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 15:00:33 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 224CA154009; Fri,  4 Feb 2005 23:00:19 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Lisa Dusseault <lisa@osafoundation.org>
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: WG last call for ANNOTATE Feb 4-18
References: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
In-Reply-To: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
Message-ID: <20050204230018.707.68324.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Fri, 04 Feb 2005 23:00:18 +0000
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>

On Fri Feb  4 21:32:16 2005, Lisa Dusseault wrote:
> If you review this draft, let the WG know even if you have no issues or comments.  Also, we'd like to know who plans to implement this or may have already begun (you can let me know privately or mail the WG).  Last call will go until and including February 18 2005.

I'm certainly planning to implement this my client, and with any luck I'll manage it quite soon. I do need to rework aspects of my CONDSTORE implementation to properly support it, though.

Given this is entirely new functionality, I personally believe it's vital to obtain real experience of interoperable implementation before we can safely put it through to RFC status.

As such, if anyone is implementing this on the server, I would be very grateful for a test account, whether or not it's under NDA. (Or just an agreement not to say anything publically.)

Dave.



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 j14MH0A1002217; Fri, 4 Feb 2005 14:17:00 -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 j14MGxhb002216; Fri, 4 Feb 2005 14:16:59 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14MGsEg002203 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 14:16:59 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j14M9P6E000343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 17:09:26 -0500
Date: Fri, 04 Feb 2005 17:16:52 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Informal list last call for ANNOTATEMORE
Message-ID: <170F8A355A7CA67DD4064D5F@ninevah.cyrusoft.com>
X-Mailer: Mulberry/4.0.0a4 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi folks,
I would like to submit the ANNOTATEMORE document to the IESG at the same 
time as the ANNOTE document (once that has gone through WGLC and all seems 
OK). However, since ANNOTATEMORE is an individual submission it is not 
subject to a WGLC, but I would appreciate it if people looking at ANNOTATE 
would also look at ANNOTATEMORE in the same vein and pass comments back, 
thanks.

<http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-07.txt>



-- 
Cyrus Daboo



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 j14LWWsH099116; Fri, 4 Feb 2005 13:32:32 -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 j14LWW0A099115; Fri, 4 Feb 2005 13:32:32 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14LWVsU099099 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 13:32:31 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
X-Envelope-To: <ietf-imapext@imc.org>
Received: from [192.168.1.100] ([198.144.201.116]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j14LWMaa028024 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 13:32:26 -0800
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Transfer-Encoding: 7bit
Message-Id: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: IMAP Extensions WG <ietf-imapext@imc.org>
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: WG last call for ANNOTATE Feb 4-18
Date: Fri, 4 Feb 2005 13:32:16 -0800
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

This is a notification of the beginning of last-call for the -12 draft 
of ANNOTATE:

http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt

If you review this draft, let the WG know even if you have no issues or 
comments.  Also, we'd like to know who plans to implement this or may 
have already begun (you can let me know privately or mail the WG).  
Last call will go until and including February 18 2005.

Lisa Dusseault



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 j14D7GbQ043846; Fri, 4 Feb 2005 05:07:16 -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 j14D7Grd043840; Fri, 4 Feb 2005 05:07:16 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D7ARa043760 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:07:14 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 4 Feb 2005 13:05:14 +0000
Message-ID: <420372FC.6090008@isode.com>
Date: Fri, 04 Feb 2005 13:05:00 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>>>>>> <><><> <<What if the server can?t remember some expunged UIDs, for
>>>>>>
>...
>  
>
>>>I think a better choice would be:
>>>C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
>>>S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
>>>S: 1 OK FETCH Complete
>>>
>>>The NO response with a UIDEXPUNGE response code would then 
>>>communicate to the client to resort to SEARCH.
>>>      
>>>
>>And the client will perform "UID SEARCH 1:*"? 
>>    
>>
>
>Yes.
>  
>
>>But this would give the 
>>same result as the server returning all expunges. Actually, 
>>    
>>
>
>Same end result, sure, but the set of UIDs returned is the 
>compliment of the set returned from UIDEXPUNGE. In the limit
>this is gauranteed to be smaller. :)
>  
>
Unless we have an archive folder, where nothing gets deleted. But for an 
average INBOX, you are right.

>>it would be 
>>worse, because SEARCH can't use ranges.
>>    
>>
>The lack of a range expression in the SEARCH response is 
>unfortunate. Isn't there a need to fix this independent 
>of this discussion? 
>  
>
>>In many cases just sending all expunged messages would be faster than 
>>forcing a round trip on the client.
>>    
>>
>
>Don't force a round trip.
>
>C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
>S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
>S: * SEARCH etc ...
>S: 1 OK FETCH Complete
>
>Though, I'm not sure a round trip in this case would be bad.
>
>What worries me is the pathological case. It strikes me as 
>wrong to send a list of an unbounded set, when what the client 
>really wants is the compliment of that.
>  
>
I frankly don't like that the server sends two different responses that 
mean pretty much the same thing. This definitely makes client 
implementations more difficult.

>>I also suspect that the list of expunges messages will 
>>compress nicely using ranges.
>>    
>>
>
>Over time what will happen is there will be a large range at the 
>beginning and then some amount of fragmentation that completely 
>depends on the mailbox maintenance habits of the user.
>  
>
I agree.



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 j14D7FiR043829; Fri, 4 Feb 2005 05:07:15 -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 j14D7Et8043820; Fri, 4 Feb 2005 05:07:14 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D7ARY043760 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:07:11 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 4 Feb 2005 12:13:19 +0000
Message-ID: <42029F85.5020103@isode.com>
Date: Thu, 03 Feb 2005 22:02:45 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>>Sec 3.3
>>>  <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
>>>  modifier.
>>>
>>>Why even have the keyword REPORTEXPUNGES? Why not just overload
>>>CHANGEDSINCE to imply expunges? 
>>>      
>>>
>>Sending expunge information to the client who hasn't asked for it 
>>doesn't sound right, even though any client should be able to ignore 
>>such information.
>>
>>If we choose to replace CONDSTORE, there would be no REPORTEXPUNGES.
>>    
>>
>If it does not sound right in draft-melnikov-imap-expunged-00 why
>would it be okay in CONDSTORE?
>  
>
What I really meant was "if EXPUNGED were a part of CONDSTORE, we 
wouldn't have to have REPORTEXPUNGES".

Anyway, Dave Cridland has told me that sometimes a client might only 
want to know about expunged messages and not about flag changes. This 
suggests that we should keep REPORTEXPUNGES.

Alexey





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 j14D7Fll043830; Fri, 4 Feb 2005 05:07:15 -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 j14D7Enj043827; Fri, 4 Feb 2005 05:07:14 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D7ARZ043760 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:07:13 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 4 Feb 2005 12:23:29 +0000
Message-ID: <42036938.8050902@isode.com>
Date: Fri, 04 Feb 2005 12:23:20 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Compact SEARCH results
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>The lack of a range expression in the SEARCH response is 
>unfortunate. Isn't there a need to fix this independent 
>of this discussion? 
>  
>
Yes.



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 j14D3T1Q042337; Fri, 4 Feb 2005 05:03:29 -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 j14D3TdS042336; Fri, 4 Feb 2005 05:03:29 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D3MC7042228 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:03:22 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j14CSCc20262; Fri, 4 Feb 2005 14:28:12 +0200 (EET)
X-Scanned: Fri, 4 Feb 2005 14:27:26 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j14CRQsw026246; Fri, 4 Feb 2005 14:27:26 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 00BV3i6G; Fri, 04 Feb 2005 14:24:51 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j14COlU17736; Fri, 4 Feb 2005 14:24:47 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Fri, 4 Feb 2005 06:23:27 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Fri, 4 Feb 2005 06:23:24 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6028@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKs7h2rKcqsQSPQCSR/N8dcvbw3AAAFJXA
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 04 Feb 2005 12:23:27.0225 (UTC) FILETIME=[54285E90:01C50AB4]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j14D3NC7042291
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>

> -----Original Message-----
> From: ext Alexey Melnikov [mailto:Alexey.Melnikov@isode.com]
> Sent: Thursday, February 03, 2005 5:03 PM
...
> Anyway, Dave Cridland has told me that sometimes a client might only 
> want to know about expunged messages and not about flag changes. This 
> suggests that we should keep REPORTEXPUNGES.

Okay. More flexible does not hurt.

Mike



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 j13MZarH059521; Thu, 3 Feb 2005 14:35:36 -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 j13MZaG2059520; Thu, 3 Feb 2005 14:35:36 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13MZYIO059512 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 14:35:35 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13MZWJ21359; Fri, 4 Feb 2005 00:35:33 +0200 (EET)
X-Scanned: Fri, 4 Feb 2005 00:34:25 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j13MYPFe012323; Fri, 4 Feb 2005 00:34:25 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks004.ntc.nokia.com 00T9ORz7; Fri, 04 Feb 2005 00:34:23 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13MYMx08650; Fri, 4 Feb 2005 00:34:22 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 16:32:56 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 16:32:55 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6023@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKQE3v4nHaKC+CTD2gF4eMujbOgw==
From: <Michael.Wener@nokia.com>
To: <tss@iki.fi>
Cc: <Alexey.Melnikov@isode.com>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 03 Feb 2005 22:32:56.0859 (UTC) FILETIME=[4EF1EEB0:01C50A40]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13MZaIO059514
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext Timo Sirainen
> Sent: Thursday, February 03, 2005 3:22 PM
...
> > I think a better choice would be:
> > C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> > S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> > S: 1 OK FETCH Complete
> > 
> > The NO response with a UIDEXPUNGE response code would then 
> > communicate to the client to resort to SEARCH.
> 
> Bad idea. This is a rare exceptional case which would rarely 
> get tested
> for clients, if the client writer had even bothered to write code for
> handling it.

I don't believe your reasoning is valid.

1) At this point in time I would not assume it was rare. We don't 
know the likelihood of this event. It depends on how the server
implements "EXPUNGE Memory" and the clients usage patterns.

2) To not do something because it is rare would be to write 
incomplete and broken specifications. There are always rare
events in all software, including protocol software.

3) The problem you bring up is a software engineering problem
not a protocol problem. If an implementer is concerned about 
clients not handling rare events they should create a test 
vehicle that artificially increases the likelihood of rare
events.

4) Obviously clients have handled NO responses. They also
have obviously used SEARCH responses. The only thing new 
is the response code. Are there no other rare response codes?

Mike




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 j13LwGfv056430; Thu, 3 Feb 2005 13:58:16 -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 j13LwGSA056429; Thu, 3 Feb 2005 13:58:16 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13LwFLA056420 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 13:58:15 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13LwEc04288; Thu, 3 Feb 2005 23:58:14 +0200 (EET)
X-Scanned: Fri, 4 Feb 2005 00:08:00 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j13M80rw032178; Fri, 4 Feb 2005 00:08:00 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks001.ntc.nokia.com 00fVeLIX; Fri, 04 Feb 2005 00:07:58 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13LhSU10596; Thu, 3 Feb 2005 23:43:28 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 15:33:37 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 15:33:36 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKJol3FpcB/+X6Q76zCjTl2GTA9gACX9tg
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 03 Feb 2005 21:33:37.0870 (UTC) FILETIME=[059F4EE0:01C50A38]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13LwGLA056423
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>

> -----Original Message-----
> From: ext Alexey Melnikov [mailto:Alexey.Melnikov@isode.com]
> Sent: Thursday, February 03, 2005 2:27 PM
...
> >>>>> <><> <<What if the server can?t remember some expunged 
> UIDs, for 
...
> >I think a better choice would be:
> >C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> >S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> >S: 1 OK FETCH Complete
> >
> >The NO response with a UIDEXPUNGE response code would then 
> >communicate to the client to resort to SEARCH.
> >
> And the client will perform "UID SEARCH 1:*"? 

Yes.

> But this would give the 
> same result as the server returning all expunges. Actually, 

Same end result, sure, but the set of UIDs returned is the 
compliment of the set returned from UIDEXPUNGE. In the limit
this is gauranteed to be smaller. :)

> it would be 
> worse, because SEARCH can't use ranges.

The lack of a range expression in the SEARCH response is 
unfortunate. Isn't there a need to fix this independent 
of this discussion? 

> 
> In many cases just sending all expunged messages would be faster than 
> forcing a round trip on the client.

Don't force a round trip.

C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
S: * SEARCH etc ...
S: 1 OK FETCH Complete

Though, I'm not sure a round trip in this case would be bad.

What worries me is the pathological case. It strikes me as 
wrong to send a list of an unbounded set, when what the client 
really wants is the compliment of that.

> I also suspect that the list of expunges messages will 
> compress nicely 
> using ranges.

Over time what will happen is there will be a large range at the 
beginning and then some amount of fragmentation that completely 
depends on the mailbox maintenance habits of the user.

Mike 




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 j13KuTJn050106; Thu, 3 Feb 2005 12:56:29 -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 j13KuTkr050105; Thu, 3 Feb 2005 12:56:29 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13KuSuZ050098 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 12:56:28 -0800 (PST) (envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07918; Thu, 3 Feb 2005 15:56:25 -0500 (EST)
Message-Id: <200502032056.PAA07918@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-annotate-12.txt
Date: Thu, 03 Feb 2005 15:56:25 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.

	Title		: IMAP ANNOTATE Extension
	Author(s)	: R. Gellens, C. Daboo
	Filename	: draft-ietf-imapext-annotate-12.txt
	Pages		: 40
	Date		: 2005-2-3
	
The ANNOTATE extension to the Internet Message Access Protocol
   permits clients and servers to maintain "metadata" for messages
   stored in an IMAP mailbox.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-imapext-annotate-12.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-imapext-annotate-12.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2005-2-3154659.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-annotate-12.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-imapext-annotate-12.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2005-2-3154659.I-D@ietf.org>

--OtherAccess--

--NextPart--




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 j13KM3TX047433; Thu, 3 Feb 2005 12:22:03 -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 j13KM3ue047432; Thu, 3 Feb 2005 12:22:03 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from danu.procontrol.fi (kone17.procontrol.vip.fi [212.149.71.178]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13KM2Nj047408 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 12:22:02 -0800 (PST) (envelope-from tss@iki.fi)
Received: by danu.procontrol.fi (Postfix, from userid 106) id 08F591C350E3; Thu,  3 Feb 2005 22:21:48 +0200 (EET)
Received: from hurina (ip213-185-36-189.laajakaista.mtv3.fi [213.185.36.189]) by danu.procontrol.fi (Postfix) with ESMTP id 80F121C13485; Thu,  3 Feb 2005 22:21:43 +0200 (EET)
Subject: RE: Comments on draft-melnikov-imap-expunged-00
From: Timo Sirainen <tss@iki.fi>
To: Michael.Wener@nokia.com
Cc: Alexey.Melnikov@isode.com, ietf-imapext@imc.org
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
References:  <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WkoxeaaPtvSa8jKekaBn"
Date: Thu, 03 Feb 2005 22:21:42 +0200
Message-Id: <1107462102.12365.287.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3 
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on danu.procontrol.fi
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham  version=3.0.0
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>

--=-WkoxeaaPtvSa8jKekaBn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2005-02-03 at 12:58 -0600, Michael.Wener@nokia.com wrote:
> I think a better choice would be:
> C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> S: 1 OK FETCH Complete
>=20
> The NO response with a UIDEXPUNGE response code would then=20
> communicate to the client to resort to SEARCH.

Bad idea. This is a rare exceptional case which would rarely get tested
for clients, if the client writer had even bothered to write code for
handling it.


--=-WkoxeaaPtvSa8jKekaBn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCAofWyUhSUUBViskRAmFKAJ9Og/NYMa/+TExFxV+bmpTfTfE7ZQCgkvda
SMCFeeaQGOOEGio46IO+juo=
=16iR
-----END PGP SIGNATURE-----

--=-WkoxeaaPtvSa8jKekaBn--



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 j13JR575042223; Thu, 3 Feb 2005 11:27:05 -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 j13JR5m0042222; Thu, 3 Feb 2005 11:27:05 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13JR4KF042215 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 11:27:05 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.163] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Thu, 3 Feb 2005 19:27:02 +0000
Message-ID: <42027B05.1060402@isode.com>
Date: Thu, 03 Feb 2005 19:27:01 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>>>> <><> <<What if the server can?t remember some expunged UIDs, for 
>>>>> example
>>>>
>>>>> <> the provided mod-sequence is too old? Can the server just return
>>>>> all UIDs not in the UID set? This can generate additional traffic,
>>>>
>>>>> but should be Ok otherwise.>>
>>>>>          
>>>>>
>...
>  
>
>>>I see two options ...
>>>1) An unsolicited * SEARCH 
>>>2) A response code that tells the client to use UID SEARCH 1:*
>>>
>>>In either case the client knows.
>>>      
>>>
>>My comment is trying to say that the server MUST always 
>>return expunged 
>>messages, if it doesn't remember which messages got expunged 
>>since the 
>>specified modification sequence, it should return ALL 
>>messages expunged 
>>(but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).
>>    
>>
>
>The most common use case will be 1:*. In this case you will send 
>back a response with every UID expunged since the UIDVALIDITY value was 
>created (I understand you have range syntax). This makes no sense to
>me.
>
>I think a better choice would be:
>C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
>S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
>S: 1 OK FETCH Complete
>
>The NO response with a UIDEXPUNGE response code would then 
>communicate to the client to resort to SEARCH.
>
And the client will perform "UID SEARCH 1:*"? But this would give the 
same result as the server returning all expunges. Actually, it would be 
worse, because SEARCH can't use ranges.

In many cases just sending all expunged messages would be faster than 
forcing a round trip on the client.
I also suspect that the list of expunges messages will compress nicely 
using ranges.



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 j13JJVAa041795; Thu, 3 Feb 2005 11:19: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 j13JJVZB041794; Thu, 3 Feb 2005 11:19:31 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13JJUjk041788 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 11:19:31 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.163] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Thu, 3 Feb 2005 19:19:28 +0000
Message-ID: <4202793E.60206@isode.com>
Date: Thu, 03 Feb 2005 19:19:26 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>, "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>	<42023FAD.106@isode.com> <20050203154248.707.17684.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050203154248.707.17684.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

>> I see no point for the client to violate the MUST, that is why I've 
>> used upper case MUST. (please, prove me wrong with an example).
>> The client can do many other stupid things and I don't want to 
>> encourage them.
>
>
> Well... I can't think of an example. But I can't think of a case where 
> it would hurt, either.
>
> I think I'd write SHOULD NOT here, because even if a client does, it's 
> certainly not harming interoperability by doing so, it's just being 
> dumb. Clients SHOULD NOT be badly written, certainly, but to state 
> that IMAP clients MUST NOT be badly written would mean that many 
> existing clients would be technically broken... 

and
Michael.Wener@nokia.com wrote:

>>I see no point for the client to violate the MUST, that is 
>>why I've used upper case MUST. (please, prove me wrong with an example).
>>    
>>
>
>Prove what? This is not a case for proof. The client does not 
>have to perform the operation you just mentioned and it can 
>still be a compliant client. It would be less efficient, hence
>it should.
>  
>
Fine, I will change MUST NOT to SHOULD NOT.

The whole section is informative. Except for "MUST clear cache if 
UIDVALIDITY changes" everything else is not required for compliance. So 
maybe I shouldn't use uppercase words in this section.

Alexey



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 j13J6xw1041104; Thu, 3 Feb 2005 11:06:59 -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 j13J6xKg041103; Thu, 3 Feb 2005 11:06:59 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13J6vgR041096 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 11:06:58 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13J6tJ08985; Thu, 3 Feb 2005 21:06:55 +0200 (EET)
X-Scanned: Thu, 3 Feb 2005 21:06:01 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j13J612s014328; Thu, 3 Feb 2005 21:06:01 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks002.ntc.nokia.com 00NBznzh; Thu, 03 Feb 2005 21:05:17 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13J3MU06300; Thu, 3 Feb 2005 21:03:22 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 12:58:08 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 12:58:06 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKBPgH6l/jfEkgQSKAtryouxWqcQAGH7RQ
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 03 Feb 2005 18:58:08.0194 (UTC) FILETIME=[4CB3BA20:01C50A22]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13J6wgR041097
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>

> -----Original Message-----
> From: ext Alexey Melnikov [mailto:Alexey.Melnikov@isode.com]
> Sent: Thursday, February 03, 2005 10:14 AM
...
> >>> <> <<What if the server can?t remember some expunged 
> UIDs, for example
> >>
> >>>  the provided mod-sequence is too old? Can the server just return
> >>>  all UIDs not in the UID set? This can generate 
> additional traffic,
> >>>  but should be Ok otherwise.>>
...
> >I see two options ...
> >1) An unsolicited * SEARCH 
> >2) A response code that tells the client to use UID SEARCH 1:*
> >
> >In either case the client knows.
> >
> My comment is trying to say that the server MUST always 
> return expunged 
> messages, if it doesn't remember which messages got expunged 
> since the 
> specified modification sequence, it should return ALL 
> messages expunged 
> (but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).

The most common use case will be 1:*. In this case you will send 
back a response with every UID expunged since the UIDVALIDITY value was 
created (I understand you have range syntax). This makes no sense to
me.

I think a better choice would be:
C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
S: 1 OK FETCH Complete

The NO response with a UIDEXPUNGE response code would then 
communicate to the client to resort to SEARCH.

> 
> >>> <> " ... HIGHESTMODSEQ with the one returned by the 
> server. If the 
> >>> cached
> >>
> >>>  HIGHESTMODSEQ value also matches the one returned by the server,
> >>>  then the client MUST NOT fetch flags for cached messages, as they
> >>>  hasn't changed. "
> >>>
> >>>Shouldn't this be "SHOULD NOT".
> >>>      
> >>>
> >>This is an informative section, so I should probably 
> >>lowercase the term.    
> >>
> >
> >Informative or not the client does not have to perform this 
> >behavior hence it seems it should be "should".
> >  
> >
> I see no point for the client to violate the MUST, that is 
> why I've used 
> upper case MUST. (please, prove me wrong with an example).

Prove what? This is not a case for proof. The client does not 
have to perform the operation you just mentioned and it can 
still be a compliant client. It would be less efficient, hence
it should.

> The client can do many other stupid things and I don't want 
> to encourage 
> them.

Except for anarchists and teenagers, I know of no one that 
would claim that the statement, "You should not do X", encourages 
them to do X.

Mike




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 j13Fgvlw014047; Thu, 3 Feb 2005 07:42:57 -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 j13Fgv71014046; Thu, 3 Feb 2005 07:42:57 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13FguGx014039 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 07:42:56 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 884D4154009; Thu,  3 Feb 2005 15:42:48 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com> <42023FAD.106@isode.com>
In-Reply-To: <42023FAD.106@isode.com>
Message-ID: <20050203154248.707.17684.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Thu, 03 Feb 2005 15:42:48 +0000
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>

On Thu Feb  3 15:13:49 2005, Alexey Melnikov wrote:
> 
> [Let's have this discussion on IMAPEXT only].
> 

Reply-list curtailed...

> Michael.Wener@nokia.com wrote:
> 
>>>> <> <<What if the server can?t remember some expunged UIDs, for example
>>> 
>>>>  the provided mod-sequence is too old? Can the server just return
>>>>  all UIDs not in the UID set? This can generate additional traffic,
>>>>  but should be Ok otherwise.>>
>>>>      
>> ...
>>  
>>> Client doesn't know and need not know. I think this is a server only issue.    
>> 
>> I guess I need to see what you mean by "Can the server just return
>> all UIDs not in the UID set?"
>> 
>> The client has to know that something is amiss on the server. It is not getting an expunge. A fetch response is only supposed to be returned subject to the CHANGEDSINCE modifier.
>> 
>> I see two options ...
>> 1) An unsolicited * SEARCH 2) A response code that tells the client to use UID SEARCH 1:*
>> 
>> In either case the client knows.
>> 
> My comment is trying to say that the server MUST always return expunged messages, if it doesn't remember which messages got expunged since the specified modification sequence, it should return ALL messages expunged (but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).
> 
> So, the client doesn't really need to know whether the server remembers or not. The client should be able to handle duplicate expunge notifications anyway.
> 

The client can always tell if the server doesn't remember. It's a simple case of using UIDNEXT and EXISTS responses during the SELECT, and rechecking after expunges have been requested off the server.

I'd rather have the client fallback to older methods itself if it detirmines that it still doesn't have the list of all EXPUNGEs, and the client, in general, has more information than the server on this matter.

> 
>>>> <> " ... HIGHESTMODSEQ with the one returned by the server. If the cached
>>> 
>>>>  HIGHESTMODSEQ value also matches the one returned by the server,
>>>>  then the client MUST NOT fetch flags for cached messages, as they
>>>>  hasn't changed. "
>>>> 
>>>> Shouldn't this be "SHOULD NOT".
>>>>      
>>> This is an informative section, so I should probably lowercase the term.    
>> 
>> Informative or not the client does not have to perform this behavior hence it seems it should be "should".
>>  
> I see no point for the client to violate the MUST, that is why I've used upper case MUST. (please, prove me wrong with an example).
> The client can do many other stupid things and I don't want to encourage them.
> 

Well... I can't think of an example. But I can't think of a case where it would hurt, either.

I think I'd write SHOULD NOT here, because even if a client does, it's certainly not harming interoperability by doing so, it's just being dumb. Clients SHOULD NOT be badly written, certainly, but to state that IMAP clients MUST NOT be badly written would mean that many existing clients would be technically broken...

Dave.



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 j13FEApR012357; Thu, 3 Feb 2005 07:14:10 -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 j13FEAhL012356; Thu, 3 Feb 2005 07:14:10 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13FE8tZ012349 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 07:14:09 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Thu, 3 Feb 2005 15:13:55 +0000
Message-ID: <42023FAD.106@isode.com>
Date: Thu, 03 Feb 2005 15:13:49 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

[Let's have this discussion on IMAPEXT only].

Answering the second part of your message.

Michael.Wener@nokia.com wrote:

>>> <> <<What if the server can?t remember some expunged UIDs, for example
>>
>>>  the provided mod-sequence is too old? Can the server just return
>>>  all UIDs not in the UID set? This can generate additional traffic,
>>>  but should be Ok otherwise.>>
>>>      
>>>
>...
>  
>
>>Client doesn't know and need not know. I think this is a 
>>server only issue.    
>>
>
>I guess I need to see what you mean by "Can the server just return
>all UIDs not in the UID set?"
>
>The client has to know that something is amiss on the server. It is 
>not getting an expunge. A fetch response is only supposed to be 
>returned subject to the CHANGEDSINCE modifier.
>
>I see two options ...
>1) An unsolicited * SEARCH 
>2) A response code that tells the client to use UID SEARCH 1:*
>
>In either case the client knows.
>
My comment is trying to say that the server MUST always return expunged 
messages, if it doesn't remember which messages got expunged since the 
specified modification sequence, it should return ALL messages expunged 
(but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).

So, the client doesn't really need to know whether the server remembers 
or not. The client should be able to handle duplicate expunge 
notifications anyway.

>>> <> " ... HIGHESTMODSEQ with the one returned by the server. If the 
>>> cached
>>
>>>  HIGHESTMODSEQ value also matches the one returned by the server,
>>>  then the client MUST NOT fetch flags for cached messages, as they
>>>  hasn't changed. "
>>>
>>>Shouldn't this be "SHOULD NOT".
>>>      
>>>
>>This is an informative section, so I should probably 
>>lowercase the term.    
>>
>
>Informative or not the client does not have to perform this 
>behavior hence it seems it should be "should".
>  
>
I see no point for the client to violate the MUST, that is why I've used 
upper case MUST. (please, prove me wrong with an example).
The client can do many other stupid things and I don't want to encourage 
them.



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 j13DCJEO096056; Thu, 3 Feb 2005 05:12:19 -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 j13DCJml096055; Thu, 3 Feb 2005 05:12:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13DCHUf096037 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 05:12:18 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13DC9O17688; Thu, 3 Feb 2005 15:12:10 +0200 (EET)
X-Scanned: Thu, 3 Feb 2005 15:10:42 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j13DAgnG029691; Thu, 3 Feb 2005 15:10:42 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00DQ2h54; Thu, 03 Feb 2005 15:08:26 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13D8Qx28683; Thu, 3 Feb 2005 15:08:26 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 06:59:46 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 06:59:44 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUJd8KqTmiqUOiuT+aSNU4O+IrDJgAdW4Ig
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 03 Feb 2005 12:59:46.0222 (UTC) FILETIME=[3C872CE0:01C509F0]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13DCJUf096047
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext 
> Alexey Melnikov
> Sent: Wednesday, February 02, 2005 5:18 PM
...
> >Sec 3.3
> >   <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
> >   modifier.
> >
> >Why even have the keyword REPORTEXPUNGES? Why not just overload
> >CHANGEDSINCE to imply expunges? 
> >  
> >
> Sending expunge information to the client who hasn't asked for it 
> doesn't sound right, even though any client should be able to ignore 
> such information.
> 
> If we choose to replace CONDSTORE, there would be no REPORTEXPUNGES.

If it does not sound right in draft-melnikov-imap-expunged-00 why
would it be okay in CONDSTORE?

> 
> >   <<What if the server can?t remember some expunged UIDs, 
> for example
> >   the provided mod-sequence is too old? Can the server just return
> >   all UIDs not in the UID set? This can generate additional traffic,
> >   but should be Ok otherwise.>>
> >
...
> Client doesn't know and need not know. I think this is a 
> server only issue.

I guess I need to see what you mean by "Can the server just return
all UIDs not in the UID set?"

The client has to know that something is amiss on the server. It is 
not getting an expunge. A fetch response is only supposed to be 
returned subject to the CHANGEDSINCE modifier.

I see two options ...
1) An unsolicited * SEARCH 
2) A response code that tells the client to use UID SEARCH 1:*

In either case the client knows.

> >
> >   " ... HIGHESTMODSEQ with the one returned by the server. 
> If the cached
> >   HIGHESTMODSEQ value also matches the one returned by the server,
> >   then the client MUST NOT fetch flags for cached messages, as they
> >   hasn't changed. "
> >
> >Shouldn't this be "SHOULD NOT".
> >
> This is an informative section, so I should probably 
> lowercase the term.

Informative or not the client does not have to perform this 
behavior hence it seems it should be "should".

Mike



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 j12MI83j011532; Wed, 2 Feb 2005 14:18:08 -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 j12MI8Pa011531; Wed, 2 Feb 2005 14:18:08 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12MI25W011521 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 14:18:07 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.181] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 2 Feb 2005 22:18:00 +0000
Message-ID: <42015197.9000901@isode.com>
Date: Wed, 02 Feb 2005 22:17:59 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE5@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE5@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>Sec 3.3
>   <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
>   modifier.
>
>Why even have the keyword REPORTEXPUNGES? Why not just overload
>CHANGEDSINCE to imply expunges? 
>  
>
Sending expunge information to the client who hasn't asked for it 
doesn't sound right, even though any client should be able to ignore 
such information.

If we choose to replace CONDSTORE, there would be no REPORTEXPUNGES.

>   <<What if the server can?t remember some expunged UIDs, for example
>   the provided mod-sequence is too old? Can the server just return
>   all UIDs not in the UID set? This can generate additional traffic,
>   but should be Ok otherwise.>>
>
>How does the client know when there are forgotten expunges? In this case
>the client must use the conventional approach to determining expunged 
>mail, which is okay, it just needs to know when to do it.
>  
>
Client doesn't know and need not know. I think this is a server only issue.

>Sec 3.5
>
>   <<Add CHANGEDSINCE SELECT/EXAMINE parameter?>>
>
>I assume this is an orthogonal item that was just missed in the original
>CONDSTORE?
>
Yes, you are right.

> What is it? It is kind of weird to include this in an Expunge 
>doc. Maybe this doc should be CONDSTOREPLUS. ;-)
>
>Sec 4
>
>   " ... HIGHESTMODSEQ with the one returned by the server. If the cached
>   HIGHESTMODSEQ value also matches the one returned by the server,
>   then the client MUST NOT fetch flags for cached messages, as they
>   hasn't changed. "
>
>Shouldn't this be "SHOULD NOT".
>
This is an informative section, so I should probably lowercase the term.

>Also, "hasn't" should be "haven't"
>  
>
Thank you for the comments!

Alexey



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 j12KSKqU003143; Wed, 2 Feb 2005 12:28:20 -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 j12KSKwG003142; Wed, 2 Feb 2005 12:28:20 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12KSJoU003136 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 12:28:19 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.181] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 2 Feb 2005 20:28:11 +0000
Message-ID: <420137DA.4060605@isode.com>
Date: Wed, 02 Feb 2005 20:28:10 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: tss@iki.fi, ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: expunged draft
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE3@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE3@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>-----Original Message-----
>>From: owner-ietf-imapext@mail.imc.org 
>>[mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext Timo Sirainen
>>Sent: Monday, January 31, 2005 3:52 PM
>>    
>>
>...
>  
>
>>It shows that HIGHESTMODSEQ update is sent after EXPUNGE command. What
>>about when other session did the EXPUNGE and we're seeing untagged
>>EXPUNGEs? Maybe always send it after untagged expunges (and don't
>>mention EXPUNGE command at all)?
>>    
>>
>...
>  
>
>>Maybe rename the EXPUNGED to UIDEXPUNGE or similar to make it 
>>more clear
>>that it's sending UIDs and not sequences?
>>    
>>
>
>What about something like ...
>
>* EXPUNGE (UID N MODSEQ (MMMM))
>  
>
Dave Cridland has suggested something similar during a private conversation.

>This would disambiguate nicely ...
>1) Covers unsolicited as well as untagged solicited EXPUNGE responses.
>2) The parenthetical element is just a subset of a FETCH response, meaning I
>see some nice code reuse potential.
>  
>
I am not sure the parsing code is going to be as big so it can benefit 
from code reuse.

I will change the draft to have something like:

* UIDEXPUNGE 1:5,7,505 (MODSEQ MMMM)

I.e., it will contain UID set and modification sequence at the end.



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 j12KNdW8002781; Wed, 2 Feb 2005 12:23:39 -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 j12KNdbD002780; Wed, 2 Feb 2005 12:23:39 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12KNcLJ002750 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 12:23:38 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.181] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 2 Feb 2005 20:23:15 +0000
Message-ID: <420136B2.5060701@isode.com>
Date: Wed, 02 Feb 2005 20:23:14 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: tss@iki.fi, ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: expunged draft
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE4@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE4@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>> <>Servers supporting UNSELECT should most likely also send HIGHESTMODSEQ
>>
>>>just as with CLOSE, but this isn't mentioned.
>>>      
>>>
>>UNSELECT doesn't cause any message to be expunged.
>>    
>>
>>>And what about with
>>>SELECT?
>>>      
>>>
>>Same as above.
>>    
>>
>
>SELECT will generate a HIGHESTMODSEQ as per CONDSTORE
>even if the SELECT is from the selected state. No?
>  
>
Yes, it will.
SELECT from a selected state doesn't cause expunge, so nothing should be 
sent for the mailbox that is being closed.

>A CLOSE is generating a HIGHESTMODSEQ response code relative
>to the *closed* mailbox, whereas the SELECT is generating a 
>HIGHESTMODSEQ response code relative to the opened mailbox.
>This is an important, albeit subtle, distinction. Correct?
>  
>
Yes.



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 j12K86S9001404; Wed, 2 Feb 2005 12:08:06 -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 j12K86sB001403; Wed, 2 Feb 2005 12:08:06 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12K84TK001396 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 12:08:05 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12K82O13994; Wed, 2 Feb 2005 22:08:02 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 22:07:44 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j12K7iLj007145; Wed, 2 Feb 2005 22:07:44 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks004.ntc.nokia.com 00ZRLGT9; Wed, 02 Feb 2005 22:06:34 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12K68U19710; Wed, 2 Feb 2005 22:06:08 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 14:03:36 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: ANNOTATEMORE
Date: Wed, 2 Feb 2005 14:01:30 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE6@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ANNOTATEMORE
thread-index: AcUJYB6U8iWDAm0nT4e7tlxZqjnNggAAMh9g
From: <Michael.Wener@nokia.com>
To: <lisa@osafoundation.org>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 02 Feb 2005 20:03:36.0154 (UTC) FILETIME=[47891BA0:01C50962]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12K85TK001397
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>

> -----Original Message-----
> From: ext Lisa Dusseault [mailto:lisa@osafoundation.org]
> Sent: Wednesday, February 02, 2005 2:45 PM
...
>   2.  The ANNOTATE draft currently has at least one open issue, 
> described in the notes from the interim meeting as needing "Text to 
> describe behavior of unsolicited responses -- that you only get the 
> annotation names and not the values back (unless the client goes to 
> actually get the values)"
>    --> can you give us your opinion, does this resolve the 
> open issues 
> currently in ANNOTATE?

If I'm not mistaken this was instigated by my comments on 
ANNOTATEMORE. I'll review the next draft version.

>   3.  Let the WG know that you've reviewed ANNOTATEMORE and 
> what issues 
> were found

I did see ...

http://www.imc.org/ietf-imapext/mail-archive/msg02264.html

... And of course the exchange with Cyrus.

Thanks,
Mike



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 j12JoM1l099895; Wed, 2 Feb 2005 11:50:22 -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 j12JoM1h099894; Wed, 2 Feb 2005 11:50:22 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12JoGZN099881 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:50:21 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from plato.cyrusoft.com (plato.cyrusoft.com [63.163.82.23]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j12Jh76E030265 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Feb 2005 14:43:07 -0500
Date: Wed, 02 Feb 2005 14:51:31 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Lisa Dusseault <lisa@osafoundation.org>, Michael.Wener@nokia.com
cc: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE
Message-ID: <A640D13BCF7B26DB80DA5725@plato.cyrusoft.com>
In-Reply-To: <1d05ac0646919ad5b486bb1cc1f9414a@osafoundation.org>
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia .com> <1d05ac0646919ad5b486bb1cc1f9414a@osafoundation.org>
X-Mailer: Mulberry/4.0.0a4 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Lisa,

--On Wednesday, February 02, 2005 11:44 -0800 Lisa Dusseault 
<lisa@osafoundation.org> wrote:

> Randy and Cyrus owe us a new draft of ANNOTATE (which is the one you
> should review) -- it was promised Monday.  Randy, Cyrus, you're now
> behind!

Its in my queue and being worked on...

-- 
Cyrus Daboo



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 j12Jk1HG099442; Wed, 2 Feb 2005 11:46:01 -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 j12Jk1PI099441; Wed, 2 Feb 2005 11:46:01 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12Jjxor099435 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:46:00 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
X-Envelope-To: ietf-imapext@imc.org
Received: from [192.168.1.100] ([198.144.201.116]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j12Jjpaa029379 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Wed, 2 Feb 2005 11:45:53 -0800
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia.com>
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia.com>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <1d05ac0646919ad5b486bb1cc1f9414a@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: <ietf-imapext@imc.org>
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Re: ANNOTATEMORE
Date: Wed, 2 Feb 2005 11:44:52 -0800
To: <Michael.Wener@nokia.com>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

Hi Michael,

There are a couple places where your help would be very welcome in 
moving this draft forward.
  1.  This draft relies on the ANNOTATE draft. Can you review that in 
last call and notify the group that you've done a review (and what 
issues found)
  2.  The ANNOTATE draft currently has at least one open issue, 
described in the notes from the interim meeting as needing "Text to 
describe behavior of unsolicited responses -- that you only get the 
annotation names and not the values back (unless the client goes to 
actually get the values)"
   --> can you give us your opinion, does this resolve the open issues 
currently in ANNOTATE?
  3.  Let the WG know that you've reviewed ANNOTATEMORE and what issues 
were found

Randy and Cyrus owe us a new draft of ANNOTATE (which is the one you 
should review) -- it was promised Monday.  Randy, Cyrus, you're now 
behind!

Lisa

On Feb 2, 2005, at 10:44 AM, <Michael.Wener@nokia.com> wrote:

>
> I would like to see this draft move forward.
>
> Mike
>



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 j12JKo57097328; Wed, 2 Feb 2005 11:20:50 -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 j12JKoep097327; Wed, 2 Feb 2005 11:20:50 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12JKncF097319 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:20:49 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JKjc14912; Wed, 2 Feb 2005 21:20:45 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 21:20:08 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j12JK7Yx005050; Wed, 2 Feb 2005 21:20:08 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00kBQtH8; Wed, 02 Feb 2005 21:17:52 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JHpx21433; Wed, 2 Feb 2005 21:17:52 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 13:13:20 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: Comments on draft-melnikov-imap-expunged-00
Date: Wed, 2 Feb 2005 13:13:19 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE5@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUJW0Ba6FAvyUzRRbSGHiPlD3HVNQ==
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 02 Feb 2005 19:13:20.0176 (UTC) FILETIME=[41DF6300:01C5095B]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12JKocF097321
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>

Sec 3.3
   <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
   modifier.

Why even have the keyword REPORTEXPUNGES? Why not just overload
CHANGEDSINCE to imply expunges? 

   <<What if the server can?t remember some expunged UIDs, for example
   the provided mod-sequence is too old? Can the server just return
   all UIDs not in the UID set? This can generate additional traffic,
   but should be Ok otherwise.>>

How does the client know when there are forgotten expunges? In this case
the client must use the conventional approach to determining expunged 
mail, which is okay, it just needs to know when to do it.

Sec 3.5

   <<Add CHANGEDSINCE SELECT/EXAMINE parameter?>>

I assume this is an orthogonal item that was just missed in the original
CONDSTORE? What is it? It is kind of weird to include this in an Expunge 
doc. Maybe this doc should be CONDSTOREPLUS. ;-)

Sec 4

   " ... HIGHESTMODSEQ with the one returned by the server. If the cached
   HIGHESTMODSEQ value also matches the one returned by the server,
   then the client MUST NOT fetch flags for cached messages, as they
   hasn't changed. "

Shouldn't this be "SHOULD NOT". Also, "hasn't" should be "haven't"

Mike



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 j12JChl8096780; Wed, 2 Feb 2005 11:12:43 -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 j12JChMB096779; Wed, 2 Feb 2005 11:12:43 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12JCgfL096771 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:12:42 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JCaJ28455; Wed, 2 Feb 2005 21:12:36 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 21:21:29 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j12JLTEu019154; Wed, 2 Feb 2005 21:21:29 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks001.ntc.nokia.com 00xvNmyY; Wed, 02 Feb 2005 21:21:27 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JARU14575; Wed, 2 Feb 2005 21:10:27 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 13:02:02 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-7"
Subject: RE: expunged draft
Date: Wed, 2 Feb 2005 13:00:56 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE4@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: expunged draft
thread-index: AcUIUrFYrp+nreJOQsagF029KTPnRgBBfZ1Q
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>, <tss@iki.fi>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 02 Feb 2005 19:02:02.0811 (UTC) FILETIME=[AE21B0B0:01C50959]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12JChfL096774
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>

> >Servers supporting UNSELECT should most likely also send 
> HIGHESTMODSEQ
> >just as with CLOSE, but this isn't mentioned.
> >
> UNSELECT doesn't cause any message to be expunged.
> 
> > And what about with
> >SELECT?
> >
> Same as above.

SELECT will generate a HIGHESTMODSEQ as per CONDSTORE
even if the SELECT is from the selected state. No?

A CLOSE is generating a HIGHESTMODSEQ response code relative
to the *closed* mailbox, whereas the SELECT is generating a 
HIGHESTMODSEQ response code relative to the opened mailbox.
This is an important, albeit subtle, distinction. Correct?

Mike



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 j12Ioab8094834; Wed, 2 Feb 2005 10:50:36 -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 j12IoaNm094832; Wed, 2 Feb 2005 10:50:36 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12IoY8o094811 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 10:50:35 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12IoBO26849; Wed, 2 Feb 2005 20:50:17 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 20:48:41 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j12Imf1b021865; Wed, 2 Feb 2005 20:48:41 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00dv5Qsb; Wed, 02 Feb 2005 20:48:38 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12Imax04031; Wed, 2 Feb 2005 20:48:37 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 12:44:34 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-7"
Subject: RE: expunged draft
Date: Wed, 2 Feb 2005 12:44:33 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE3@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: expunged draft
thread-index: AcUH2OAT74L/RKPsRYS0W0kWKfsd8gBfUmWA
From: <Michael.Wener@nokia.com>
To: <tss@iki.fi>, <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 02 Feb 2005 18:44:34.0616 (UTC) FILETIME=[3D5BD380:01C50957]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12IoZ8o094814
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org 
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext Timo Sirainen
> Sent: Monday, January 31, 2005 3:52 PM
...
> 
> It shows that HIGHESTMODSEQ update is sent after EXPUNGE command. What
> about when other session did the EXPUNGE and we're seeing untagged
> EXPUNGEs? Maybe always send it after untagged expunges (and don't
> mention EXPUNGE command at all)?
...
> Maybe rename the EXPUNGED to UIDEXPUNGE or similar to make it 
> more clear
> that it's sending UIDs and not sequences?

What about something like ...

* EXPUNGE (UID N MODSEQ (MMMM))

This would disambiguate nicely ...
1) Covers unsolicited as well as untagged solicited EXPUNGE responses.
2) The parenthetical element is just a subset of a FETCH response, meaning I
see some nice code reuse potential.

Mike



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 j12InDHe094684; Wed, 2 Feb 2005 10:49:13 -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 j12InDov094683; Wed, 2 Feb 2005 10:49:13 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12InCAW094657 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 10:49:12 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12In4J20267 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 20:49:07 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 20:48:53 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j12Imr0K023381 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 20:48:53 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00FwOlVW; Wed, 02 Feb 2005 20:48:44 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12Imcx04088 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 20:48:38 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 12:44:40 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: ANNOTATEMORE
Date: Wed, 2 Feb 2005 12:44:40 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ANNOTATEMORE
thread-index: AcUJV0BGYukVOLq+SvmnRLBiPHv+/Q==
From: <Michael.Wener@nokia.com>
To: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 02 Feb 2005 18:44:40.0991 (UTC) FILETIME=[412892F0:01C50957]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12InDAW094678
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>

I would like to see this draft move forward.

Mike



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 j11GwoMu038761; Tue, 1 Feb 2005 08:58:50 -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 j11GwoZx038760; Tue, 1 Feb 2005 08:58:50 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11Gwn1N038753 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 08:58:49 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.185] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 16:58:48 +0000
Message-ID: <41FFB547.8080308@isode.com>
Date: Tue, 01 Feb 2005 16:58:47 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: RIGHTS=kxet, CONDSTORE, implementation
References: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net>	<41FF7DF6.5010501@isode.com> <20050201164942.707.79586.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050201164942.707.79586.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

>>> Finally, I'm not sure how good 64-bit arithmetic is under some 
>>> environments - I'm actually developing under Python on a 64-bit 
>>> system, which is probably a recipe for non-portability when I forget 
>>> to use long() rather than int(), but it has the 64-bit support, at 
>>> least, and most C and C++ compilers support some 64-bit unsigned 
>>> integer, but I'm not so sure about Perl, Java, etc. I'd not object 
>>> to the MODSEQ being a string, since this is easily compared, and has 
>>> precedence in ACAP (with the "modtime" attribute).
>>
>> This is a reasonable way to implement this, this doesn't change the 
>> CONDSTORE document. If one client can't operate on 64bit integer, it 
>> can treat modification sequences as strings instead.
>
> No, because "3" is greater than "20050201163759003", treated as strings.

I didn't say that one need to use lexicographical comparison ;-).

> I'm not calling this a showstopper, by any stretch. I just don't know 
> what the state of 64-bit support *is* in all languages.

IMHO, having a pair of 32bit integers is no brainer.

> I've got it in all languages I develop in, though.
>
>>> 3) LISTEXT
>>>
>>> I've not yet implemented this, however, I was thinking of 
>>> implementing this, ACL2, and MAILBOX-REFERRALS at the same time. In 
>>> particular, I have noticed that LIST (REMOTE) could reasonably 
>>> provide the REFERRAL URIs in an extended LIST item, in order to save 
>>> clients from having to SELECT the mailbox to discover it. This 
>>> SELECT  generates an additional round-trip, of course, and I feel 
>>> overloads SELECT's meaning as well.
>>>
>>> In addition, this renders the \Remote mailbox flag redundant, of 
>>> course.
>>
>> I agree with your LISTEXT comments.
>
> Well, Rob suggested that there'd been a discussed decision the other 
> way on that,

I don't remember any consensus, but I don't remember consensus not to do 
what you've suggested either.

> and I'm happy enough to go with any considered opinion of the group, 
> so I've implemented things that way. (Actually using SELECT to 
> generate the referral, too).




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 j11Gnq8k038148; Tue, 1 Feb 2005 08:49:52 -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 j11Gnqmu038147; Tue, 1 Feb 2005 08:49:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11Gnodq038134 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 08:49:50 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 2A48F154009; Tue,  1 Feb 2005 16:49:42 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: RIGHTS=kxet, CONDSTORE, implementation
References: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net> <41FF7DF6.5010501@isode.com>
In-Reply-To: <41FF7DF6.5010501@isode.com>
Message-ID: <20050201164942.707.79586.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Tue, 01 Feb 2005 16:49:42 +0000
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>

On Tue Feb  1 13:02:46 2005, Alexey Melnikov wrote:
> Dave Cridland wrote:
>> Given that, in the case where we simply don't know whether a right is supported or not, we want to assume it's granted, is this a reasonable assumption, or should I assume the 'x' right is *always* granted (which is effectively what existing clients do anyway)?
> 
> I think doing this either way is fine.
> 

It now assumes it's always granted, unless \NoSelect is also present, or if it appears to be a namespace prefix. Looking at server implementations, this appears reasonably safe.

> 
>> Incidentally, I've not yet thought of any other problems with a RIGHTS aware client talking to a plain ACL server, but I've not yet done ACL editing, where I suspect that the 'x' right will rear its ugly head again.
>> 
>> Nothing I've found so far appears to be a showstopper, but it might be beneficial to client authors to have some idea of handling legacy support for older servers (ie, all current ones) covered in the RFC.
> 
> Do you have any suggestions?
> 

Other than stating that the missing 'x' right on an RFC2086 server should always be considered granted, not really. I'm not intending ACL manipulation any time soon - unfortunately I just don't have the time - but as I say, I think that might shake out a few cross-compatibility issues.

In any case, given the level of ACL support in clients currently, I strongly suspect that giving any advice would be largely wasted ink.

> 
>> 2) CONDSTORE
>> 
>> This seems remarkably straightforward to implement, although again I've no real implementation to test against. I do, however, forsee some problems when dealing with ANNOTATE in addition, since I'm a little unclear on whether the sequence:
>> 
>> C1: a01 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv"))
>> S1: * 1 FETCH (MODSEQ (1) FLAGS (\Seen) ANNOTATION ("/comment" ("value.priv" "My comment")))
>> S1: a01 OK
>> C2: a02 STORE 1 +FLAGS (\Answered)
>> S2: * 1 FETCH (MODSEQ (2) FLAGS (\Seen \Answered))
>> S2: a02 OK
>> C1: a03 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv")) (CHANGEDSINCE 1)
>> S1: * FETCH ...
>> S1: a03 OK
>> 
>> ... should return the comment (which is unchanged) or just the flags (which is changed).
>> 
>> My reading of 3.3.1 suggests that the comment will be returned as well, even though it hasn't changed, because CHANGEDSINCE affects message selection, rather than metadata items returned.
> 
> The original design was to allow the server to only return changed metadata items, if the server has this information.
> 

Ah... 3.3.1 seems to disagree with you.

> 
> I am not sure if this has to be clarified in the document (probably yes) and if this behavior breaks clients that always expect all metadata to be returned. IMHO, client should cache all data sent to it, so this shouldn't be a problem.
> 

In the original design of IMAP, a server wasn't even mandated to resend information within the same SELECT session, as I understand things. Hence I've always assumed that a client should never discard data within a single SELECT session, even though these days the server has to do what it's told.

But yes, I would assume that clients would, if they didn't have the annotation, fetch it unconditionally seperately.

> 
> On a second thought: if you omit the first FETCH (with tag a01), the client will not have this information cached and will be forced to fetch it unconditionally, if it doesn't get it in the 3rd FETCH.
> 

If you discard a01, then the client would also emit an a04, hopefully pipelined, which would be an unconditional fetch of the annotation.

>> My second issue is that an extended EXPUNGE would be useful, allowing me to "EXPUNGE (UNCHANGEDSINCE 1)" to permanently remove all messages flagged as \Deleted which haven't been altered [presumably] without my knowledge.
> 
> So if somebody has added \Seen flag to a \Deleted message (or add an annotation), that would prevent the message from being expunged?
> 

The \Seen case is a little draconian I'll admit, but the annotation case isn't - if someone has seen fit to annotate a \Deleted message, one assumes it's important enough not to expunge without knowing what the annotation was.

>> Finally, I'm not sure how good 64-bit arithmetic is under some environments - I'm actually developing under Python on a 64-bit system, which is probably a recipe for non-portability when I forget to use long() rather than int(), but it has the 64-bit support, at least, and most C and C++ compilers support some 64-bit unsigned integer, but I'm not so sure about Perl, Java, etc. I'd not object to the MODSEQ being a string, since this is easily compared, and has precedence in ACAP (with the "modtime" attribute).
> 
> This is a reasonable way to implement this, this doesn't change the CONDSTORE document. If one client can't operate on 64bit integer, it can treat modification sequences as strings instead.
> 

No, because "3" is greater than "20050201163759003", treated as strings. I'm not calling this a showstopper, by any stretch. I just don't know what the state of 64-bit support *is* in all languages. I've got it in all languages I develop in, though.

> 
>> 3) LISTEXT
>> 
>> I've not yet implemented this, however, I was thinking of implementing this, ACL2, and MAILBOX-REFERRALS at the same time. In particular, I have noticed that LIST (REMOTE) could reasonably provide the REFERRAL URIs in an extended LIST item, in order to save clients from having to SELECT the mailbox to discover it. This SELECT  generates an additional round-trip, of course, and I feel overloads SELECT's meaning as well.
>> 
>> In addition, this renders the \Remote mailbox flag redundant, of course.
> 
> I agree with your LISTEXT comments.
> 

Well, Rob suggested that there'd been a discussed decision the other way on that, and I'm happy enough to go with any considered opinion of the group, so I've implemented things that way. (Actually using SELECT to generate the referral, too).

Dave.



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 j11D2o2J013252; Tue, 1 Feb 2005 05:02:50 -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 j11D2oE9013251; Tue, 1 Feb 2005 05:02:50 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11D2nih013238 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 05:02:49 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.185] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 13:02:47 +0000
Message-ID: <41FF7DF6.5010501@isode.com>
Date: Tue, 01 Feb 2005 13:02:46 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: RIGHTS=kxet, CONDSTORE, implementation
References: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

> Hiya folks,
>
> I've been on a client-side implementation frenzy, and thought I'd 
> share my experiences. I've no access to any server implementation of 
> any of these - an account on such a server would be greatly 
> appreciated. In particular, I'd like CONDSTORE, ANNOTATE, and LISTEXT 
> - the RIGHTS stuff, while interesting, is more interesting in as much 
> as how to cope without it.
>
> My strategy, incidentally, is to emulate unsupported extensions 
> wherever possible.
>
> The client is written in Python, using the wxPython GUI toolkit, and 
> should run on Windows, UNIX, and Mac OS X. It does require an account 
> on a reasonably full ACAP server implementation, but this does give it 
> full roaming and kiosk-mode ability. I'm quite happy to provide the 
> source under GPL, and/or an ACAP account.
>
> 1) RIGHTS
>
> I've been gradually implementing ACL support, and I've attempted to do 
> so by emulating the 'kxet' rights where not supported. (This means 
> anywhere, since I don't have access to a server implementation 
> supporting RIGHTS). I'm making the rash assumption that this is a sane 
> way of writing a RFC2086upd client. (I've not yet made it emulate 
> rights based on the READ-ONLY/READ-WRITE response code where no ACL 
> support at all is available, but I will.)
>
> I've found that trying to emulate the 'x' right is particularly 
> tricky, since I can only assume:
>
> 'd' => 'et'
> 'c' => 'k'
>
> So I'm currently assuming the 'x' right is always granted where 'c' or 
> 'd' is granted. (Obviously the client copes with the case where the 
> DELETE fails anyway.)
>
> Given that, in the case where we simply don't know whether a right is 
> supported or not, we want to assume it's granted, is this a reasonable 
> assumption, or should I assume the 'x' right is *always* granted 
> (which is effectively what existing clients do anyway)?

I think doing this either way is fine.

> Incidentally, I've not yet thought of any other problems with a RIGHTS 
> aware client talking to a plain ACL server, but I've not yet done ACL 
> editing, where I suspect that the 'x' right will rear its ugly head 
> again.
>
> Nothing I've found so far appears to be a showstopper, but it might be 
> beneficial to client authors to have some idea of handling legacy 
> support for older servers (ie, all current ones) covered in the RFC.

Do you have any suggestions?

> 2) CONDSTORE
>
> This seems remarkably straightforward to implement, although again 
> I've no real implementation to test against. I do, however, forsee 
> some problems when dealing with ANNOTATE in addition, since I'm a 
> little unclear on whether the sequence:
>
> C1: a01 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv"))
> S1: * 1 FETCH (MODSEQ (1) FLAGS (\Seen) ANNOTATION ("/comment" 
> ("value.priv" "My comment")))
> S1: a01 OK
> C2: a02 STORE 1 +FLAGS (\Answered)
> S2: * 1 FETCH (MODSEQ (2) FLAGS (\Seen \Answered))
> S2: a02 OK
> C1: a03 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv")) 
> (CHANGEDSINCE 1)
> S1: * FETCH ...
> S1: a03 OK
>
> ... should return the comment (which is unchanged) or just the flags 
> (which is changed).
>
> My reading of 3.3.1 suggests that the comment will be returned as 
> well, even though it hasn't changed, because CHANGEDSINCE affects 
> message selection, rather than metadata items returned.

The original design was to allow the server to only return changed 
metadata items, if the server has this information.

I am not sure if this has to be clarified in the document (probably yes) 
and if this behavior breaks clients that always expect all metadata to 
be returned. IMHO, client should cache all data sent to it, so this 
shouldn't be a problem.

On a second thought: if you omit the first FETCH (with tag a01), the 
client will not have this information cached and will be forced to fetch 
it unconditionally, if it doesn't get it in the 3rd FETCH.

> Changing this, such that CHANGEDSINCE simply suppressed items that 
> haven't changed (excepting UID) would make more sense to me. I can of 
> course do this by issuing multiple pipelined fetches, one for every 
> item, in effect, which I have to do for items I don't have cached at 
> all. (Currently, in fact, I re-fetch the FLAGS unconditionally if I'm 
> fetching anything else, since the additional cost of the data returned 
> is less than the cost of asking for it seperately, but this changes 
> with ANNOTATE).
>
> My second issue is that an extended EXPUNGE would be useful, allowing 
> me to "EXPUNGE (UNCHANGEDSINCE 1)" to permanently remove all messages 
> flagged as \Deleted which haven't been altered [presumably] without my 
> knowledge.

So if somebody has added \Seen flag to a \Deleted message (or add an 
annotation), that would prevent the message from being expunged?

> Similarly, an extended UID EXPUNGE would be useful, too. Given that 
> EXPUNGing the wrong messages is irreparable damage, that seems a 
> sensible addition if it can be implemented, which I assume it can be 
> with the same effort as FETCH (CHANGEDSINCE ...).
>
> Finally, I'm not sure how good 64-bit arithmetic is under some 
> environments - I'm actually developing under Python on a 64-bit 
> system, which is probably a recipe for non-portability when I forget 
> to use long() rather than int(), but it has the 64-bit support, at 
> least, and most C and C++ compilers support some 64-bit unsigned 
> integer, but I'm not so sure about Perl, Java, etc. I'd not object to 
> the MODSEQ being a string, since this is easily compared, and has 
> precedence in ACAP (with the "modtime" attribute).

This is a reasonable way to implement this, this doesn't change the 
CONDSTORE document. If one client can't operate on 64bit integer, it can 
treat modification sequences as strings instead.

> 3) LISTEXT
>
> I've not yet implemented this, however, I was thinking of implementing 
> this, ACL2, and MAILBOX-REFERRALS at the same time. In particular, I 
> have noticed that LIST (REMOTE) could reasonably provide the REFERRAL 
> URIs in an extended LIST item, in order to save clients from having to 
> SELECT the mailbox to discover it. This SELECT  generates an 
> additional round-trip, of course, and I feel overloads SELECT's 
> meaning as well.
>
> In addition, this renders the \Remote mailbox flag redundant, of course.

I agree with your LISTEXT comments.

Alexey



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 j11BRUWH078964; Tue, 1 Feb 2005 03:27:30 -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 j11BRUeJ078963; Tue, 1 Feb 2005 03:27:30 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11BRTiQ078949 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 03:27:29 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 11:27:13 +0000
Message-ID: <41FF678A.1080701@isode.com>
Date: Tue, 01 Feb 2005 11:27:06 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Timo Sirainen <tss@iki.fi>
CC: IMAP Extensions WG <ietf-imapext@imc.org>, lemonade@ietf.org
Subject: Re: expunged draft
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>	 <41FE7CA0.2010003@isode.com> <1107204693.12365.238.camel@hurina>
In-Reply-To: <1107204693.12365.238.camel@hurina>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-7"; format="flowed"
Content-transfer-encoding: 8bit
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>

Timo Sirainen wrote:

>On Mon, 2005-01-31 at 18:44 +0000, Alexey Melnikov wrote:
>  
>
>>I've just submitted a new draft that describes how CONDSTORE 
>>modification sequences can be used to track expunged messages. Before it 
>>is announced, people can find it at:
>>http://ietf.webdav.org/imapext/draft-melnikov-imap-expunged-00.txt
>>
>>I will welcome all suggestions, especially on issues marked with <<>> in 
>>the document.
>>    
>>
>
>It shows that HIGHESTMODSEQ update is sent after EXPUNGE command. What
>about when other session did the EXPUNGE and we're seeing untagged
>EXPUNGEs? Maybe always send it after untagged expunges (and don't
>mention EXPUNGE command at all)?
>  
>
Yes, that was the idea.

>Servers supporting UNSELECT should most likely also send HIGHESTMODSEQ
>just as with CLOSE, but this isn't mentioned.
>
UNSELECT doesn't cause any message to be expunged.

> And what about with
>SELECT?
>
Same as above.

> Maybe just point out more generally that "when using a command
>which closes the mailbox, send HIGHESTMODSEQ". Perhaps LOGOUT should do
>that too?
>  
>
Remember, that the CONDSTORE extension requires the server to send 
mod-sequences for flag changes (using MODSEQ FETCH data items) and 
whenever a message is appended. The EXPUNGED document extends this to 
cover expunges. So there is no point to send HIGHESTMODSEQ when nothing 
has changed, this should cover LOGOUT, SELECT and UNSELECT.
Of course, if messages got expunged in another session, the server still 
needs to send HIGHESTMODSEQ.

>   <<What if the server canąt remember some expunged UIDs, for example
>   the provided mod-sequence is too old? Can the server just return
>   all UIDs not in the UID set? This can generate additional traffic,
>   but should be Ok otherwise.>>
>
>Yes, I think so.
>
>In 3.4 EXPUNGED Response it seems rather useless trying to rewrite what
>RFC3501 says about EXPUNGEs. Just point out that it works exactly as
>normal untagged EXPUNGE? It would be really bad if they accidentally got
>different rules.
>  
>
As EXPUNGED returns a list of UIDs, I was wondering if it should obey 
the same rule as EXPUNGE, i.e. whether it should be allowed during 
regular FETCH/STORE.

>Maybe rename the EXPUNGED to UIDEXPUNGE or similar to make it more clear
>that it's sending UIDs and not sequences?
>  
>
Sure.



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 j11BIvJW075861; Tue, 1 Feb 2005 03:18:57 -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 j11BIvMo075860; Tue, 1 Feb 2005 03:18:57 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11BItju075816 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 03:18:56 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 11:18:08 +0000
Message-ID: <41FF656A.3090708@isode.com>
Date: Tue, 01 Feb 2005 11:18:02 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Lisa Dusseault <lisa@osafoundation.org>
CC: lemonade@ietf.org, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org> <41FE7CA0.2010003@isode.com> <eeaa2bcf4eb45cc6558fdfea5514e52a@osafoundation.org>
In-Reply-To: <eeaa2bcf4eb45cc6558fdfea5514e52a@osafoundation.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Lisa Dusseault wrote:

> So, does this mean that we don't need to yank CondStore out of the RFC 
> queue?

The answer to your question depends on what people think about the 
document. There are several places marked with <<>> that can be made 
cleaner (e.g. REPORTEXPUNGES) if there is a single extension.
So, I would encourage people to do a review and we can discuss in a few 
weeks.

> thanks,
> Lisa
>
> On Jan 31, 2005, at 10:44 AM, Alexey Melnikov wrote:
>
>> Lisa Dusseault wrote:
>>
>>> Alexey needs to propose what changes to make to CondStore, as a 
>>> concrete written proposal to the list.
>>
>> I've just submitted a new draft that describes how CONDSTORE 
>> modification sequences can be used to track expunged messages. Before 
>> it is announced, people can find it at:
>> http://ietf.webdav.org/imapext/draft-melnikov-imap-expunged-00.txt
>>
>> I will welcome all suggestions, especially on issues marked with <<>> 
>> in the document.
>>
>> I can rework RECONNECT to reference the new document, if people feel 
>> it is a good idea.
>>
>> Alexey
>



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 j1RKwOgI065097; Sun, 27 Feb 2005 12:58:24 -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 j1RKwOsA065096; Sun, 27 Feb 2005 12:58:24 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1RKwHlK065077 for <ietf-imapext@imc.org>; Sun, 27 Feb 2005 12:58:18 -0800 (PST) (envelope-from alexey.melnikov@isode.com)
Received: from [213.116.62.79] (1Cust79.tnt107.lnd4.gbr.da.uu.net [213.116.62.79])  by rufus.isode.com via TCP (internal) with ESMTPA; Sun, 27 Feb 2005 20:46:59 +0000
Message-ID: <422226B1.3000309@isode.com>
Date: Sun, 27 Feb 2005 19:59:45 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
CC: ietf-imapext@imc.org, Cyrus Daboo <daboo@isamet.com>
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>  <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>  <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
In-Reply-To: <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Arnt Gulbrandsen wrote:

> Cyrus Daboo writes:
>
>> OK, so are you suggesting that the tag for the SEARCH command is used 
>> as the 'ID' I was proposing, e.g.:
>>
>> a1234 SEARCH RETURN (TAG ALL) UNSEEN
>> * ESEARCH TAG a1234 ALL 1:100
>> a1234 OK
>
> I'm suggesting that IF you want to tag ESEARCH responses (whether you 
> call them "tagged searches" or "searches with ID" is no matter to me), 
> then the most honest response format is
>
> a1234 ESEARCH ALL 1:100
>
> There are alternatives, such as sneaking the tag in the back door:
>
> * ESEARCH TAG a1234 ALL 1:100

I've just updated the draft and it will look like:

* ESEARCH (TAG "a1234") ALL 1:100

tag is sent as a string, because "]" is allowed in a tag.

> Or such as using an Elvis lookalike instead of the real thing:
>
> * ESEARCH ID a1234 ALL 1:100
>
> Whether ESEARCH is tagged or not is no matter to me. I'm happy either 
> way.
>
> But if it is tagged, I'd like to see IMAP stay with just one tag 
> mechanism (unless there are pressing reasons for having multiple 
> similar mechanisms, of course).

I agree, of course.




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 j1EItvjr045426; Mon, 14 Feb 2005 10:55:57 -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 j1EItvcH045425; Mon, 14 Feb 2005 10:55:57 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EIttc9045406 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 10:55:57 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 18:55:42 +0000
Message-ID: <4210F42C.3090107@isode.com>
Date: Mon, 14 Feb 2005 18:55:40 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Mark Crispin <mrc@CAC.Washington.EDU>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <Pine.LNX.4.63.0502141007210.13442@shiva1.cac.washington.edu>
In-Reply-To: <Pine.LNX.4.63.0502141007210.13442@shiva1.cac.washington.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Mark Crispin wrote:

> I've reviewed this document and while I have document nits the 
> protocol proposed looks OK to me.
>
> Is there much feeling as to how useful it would be?  I'm not talking 
> about Dave and Alexey since I'm sure they are already convinced.  It's 
> more of a question of whether the benefit is worth the added 
> complexity (don't forget, it does represent an additional task for 
> server implementors!).

Speaking as a server implementor: I only had to modify new syntax 
parsing and the loop the calls "evaluate this message against search 
criteria" for each message, so that the server can output ESEARCH data. 
The search matching code hasn't been touched. It took me about 3 hours 
to implement the whole extension.

I think Dave has some number about how much bandwidth is saved using 
SEARCH RETURN (ALL).

Alexey




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 j1PEErqX076758; Fri, 25 Feb 2005 06:14:53 -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 j1PEEq6b076757; Fri, 25 Feb 2005 06:14:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1PEEiLx076738 for <ietf-imapext@imc.org>; Fri, 25 Feb 2005 06:14:47 -0800 (PST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Fri, 25 Feb 2005 14:13:48 +0000
Message-ID: <421F329C.8040805@isode.com>
Date: Fri, 25 Feb 2005 14:13:48 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>
CC: Lisa Dusseault <lisa@osafoundation.org>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Nit-checking 2086upd
References: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org> <20050225100808.7478.13529.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050225100808.7478.13529.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

>
> On Thu Feb 24 21:03:27 2005, Lisa Dusseault wrote:
>
>> "If rights are tied in an implementation, the conservative approach 
>> would be to grant few of them in response to SETACL commands.  Thus, 
>> unless all rights in a tied set are specified, a server MUST NOT 
>> include any of that set in the ACL entry for that identifier.  A 
>> client can discover the set of rights granted to a given identifier 
>> in the ACL for a given mailbox name by using the LISTRIGHTS command."
>>
>> Note that I also removed "which may be" -- I think it changes the 
>> sense of the sentence from "finding out what's possible to grant", to 
>> "finding out what is granted", which I believe to be correct.  If I'm 
>> wrong then a different change should be made.
>
>
> That's incorrect - LISTRIGHTS lists sets of tied rights possible to 
> grant to the identifier [of which some or all sets may have only one 
> member], and a set of rights which is always granted, not what's 
> actually granted at the time. There is no MYRIGHTS equivalent for 
> other users, which is I think what you're thinking.

And the lack of such command might be addressed in ACL2, but 2086upd is 
not the proper place to do this change.

> What about:
>
> "If rights are tied in an implementation, the implementation MUST be 
> conservative in granting rights in response to SETACL commands--unless 
> all rights in a tied set are specified, an implementation MUST NOT 
> include any of that set in the ACL entry for the given identifier. A 
> client SHOULD discover the set of rights which may be granted to a 
> given identifier in the ACL for a given mailbox name by using the 
> LISTRIGHTS command."
>
> It's a less drastic rephrase. I'm not sure about the first MUST,

I am not sure either, the original text sounds like "SHOULD" (and the 
following "MUST NOT" should be changed to "SHOULD NOT" as well).
Comments?

> and note I've added a SHOULD for clients to use LISTRIGHTS. Many 
> implementations don't, currently.

That is fine with me.

Alexey



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 j1PA8QSl096962; Fri, 25 Feb 2005 02:08:26 -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 j1PA8QW1096961; Fri, 25 Feb 2005 02:08:26 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1PA8LD9096882 for <ietf-imapext@imc.org>; Fri, 25 Feb 2005 02:08:25 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id C460D154009; Fri, 25 Feb 2005 10:08:08 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Lisa Dusseault <lisa@osafoundation.org>
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Nit-checking 2086upd
References: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org>
In-Reply-To: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org>
Message-ID: <20050225100808.7478.13529.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Fri, 25 Feb 2005 10:08:08 +0000
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>

On Thu Feb 24 21:03:27 2005, Lisa Dusseault wrote:
> "If rights are tied in an implementation, the conservative approach would be to grant few of them in response to SETACL commands.  Thus, unless all rights in a tied set are specified, a server MUST NOT include any of that set in the ACL entry for that identifier.  A client can discover the set of rights granted to a given identifier in the ACL for a given mailbox name by using the LISTRIGHTS command."
> 
> Note that I also removed "which may be" -- I think it changes the sense of the sentence from "finding out what's possible to grant", to "finding out what is granted", which I believe to be correct.  If I'm wrong then a different change should be made.

That's incorrect - LISTRIGHTS lists sets of tied rights possible to grant to the identifier [of which some or all sets may have only one member], and a set of rights which is always granted, not what's actually granted at the time. There is no MYRIGHTS equivalent for other users, which is I think what you're thinking.

What about:

"If rights are tied in an implementation, the implementation MUST be conservative in granting rights in response to SETACL commands--unless all rights in a tied set are specified, an implementation MUST NOT include any of that set in the ACL entry for the given identifier. A client SHOULD discover the set of rights which may be granted to a given identifier in the ACL for a given mailbox name by using the LISTRIGHTS command."

It's a less drastic rephrase. I'm not sure about the first MUST, and note I've added a SHOULD for clients to use LISTRIGHTS. Many implementations don't, currently.

Dave.



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 j1OL3fW5068411; Thu, 24 Feb 2005 13:03:41 -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 j1OL3fxf068410; Thu, 24 Feb 2005 13:03:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1OL3e24068402 for <ietf-imapext@imc.org>; Thu, 24 Feb 2005 13:03:40 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
X-Envelope-To: <ietf-imapext@imc.org>
Received: from [192.168.101.178] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1OL3aaa023343 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for <ietf-imapext@imc.org>; Thu, 24 Feb 2005 13:03:36 -0800
Mime-Version: 1.0 (Apple Message framework v619.2)
To: IMAP Extensions WG <ietf-imapext@imc.org>
Message-Id: <c943f3a07fb3524ce91e4f7ba1d94862@osafoundation.org>
Content-Type: multipart/alternative; boundary=Apple-Mail-4--24694467
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Nit-checking 2086upd
Date: Thu, 24 Feb 2005 13:03:27 -0800
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

--Apple-Mail-4--24694467
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

In nit-checking 2086upd, I noticed some text where the use of must/MUST 
and may/MAY could be clarified.

  "If rights are tied in an
    implementation, the implementation must be conservative in granting
    rights in response to SETACL commands--unless all rights in a tied
    set are specified, none of that set should be included in the ACL
    entry for that identifier. A client may discover the set of rights
    which may be granted to a given identifier in the ACL for a given
    mailbox name by using the LISTRIGHTS command."

This seems like it might be partly normative but part is definitely 
descriptive. Can we write this to be clearer about what the server MUST 
do?  How about:

"If rights are tied in an implementation, the conservative approach 
would be to grant few of them in response to SETACL commands.  Thus, 
unless all rights in a tied set are specified, a server MUST NOT 
include any of that set in the ACL entry for that identifier.  A client 
can discover the set of rights granted to a given identifier in the ACL 
for a given mailbox name by using the LISTRIGHTS command."

Note that I also removed "which may be" -- I think it changes the sense 
of the sentence from "finding out what's possible to grant", to 
"finding out what is granted", which I believe to be correct.  If I'm 
wrong then a different change should be made.

Lisa
--Apple-Mail-4--24694467
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

In nit-checking 2086upd, I noticed some text where the use of
must/MUST and may/MAY could be clarified.


<color><param>0000,0000,DDDD</param> "If rights are tied in an

   implementation, the implementation must be conservative in granting

   rights in response to SETACL commands--unless all rights in a tied

   set are specified, none of that set should be included in the ACL

   entry for that identifier. A client may discover the set of rights

   which may be granted to a given identifier in the ACL for a given

   mailbox name by using the LISTRIGHTS command."


This seems like it might be partly normative but part is definitely
descriptive. Can we write this to be clearer about what the server
MUST do?  How about:


"If rights are tied in an implementation, the conservative approach
would be to grant few of them in response to SETACL commands.  Thus,
unless all rights in a tied set are specified, a server MUST NOT
include any of that set in the ACL entry for that identifier.  A
client can discover the set of rights granted
</color><color><param>0000,0000,DDDC</param>to a given identifier in
the ACL for a given mailbox name by using the LISTRIGHTS command."


Note that I also removed "which may be" -- I think it changes the
sense of the sentence from "finding out what's possible to grant", to
"finding out what is granted", which I believe to be correct.  If I'm
wrong then a different change should be made.


Lisa</color>
--Apple-Mail-4--24694467--



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 j1MJOV6F083728; Tue, 22 Feb 2005 11:24: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 j1MJOVaW083727; Tue, 22 Feb 2005 11:24:31 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1MJOVUO083718 for <ietf-imapext@imc.org>; Tue, 22 Feb 2005 11:24:31 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
Received: from [192.168.101.178] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1MJNcab004210 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 22 Feb 2005 11:24:26 -0800
In-Reply-To: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
References: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <b5919fe325b5a89dd00d3877b29f8fe1@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Re: WG last call for ANNOTATE Feb 4-18
Date: Tue, 22 Feb 2005 11:24:23 -0800
To: Lisa Dusseault <lisa@osafoundation.org>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

BTW, this last call period has now completed... the next step is for 
the authors to give us some idea of what issues still need to be 
discussed, what changes are made to the draft as a result of the last 
call reviews, etc.

Lisa

On Feb 4, 2005, at 1:32 PM, Lisa Dusseault wrote:

>
> This is a notification of the beginning of last-call for the -12 draft 
> of ANNOTATE:
>
> http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt
>
> If you review this draft, let the WG know even if you have no issues 
> or comments.  Also, we'd like to know who plans to implement this or 
> may have already begun (you can let me know privately or mail the WG). 
>  Last call will go until and including February 18 2005.
>
> Lisa Dusseault
>



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 j1J2JX7p081809; Fri, 18 Feb 2005 18:19:33 -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 j1J2JXk6081808; Fri, 18 Feb 2005 18:19:33 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1J2JOqu081781 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 18:19:24 -0800 (PST) (envelope-from grant@osafoundation.org)
X-Envelope-From: grant@osafoundation.org
X-Envelope-To: ietf-imapext@imc.org
Received: from [192.168.101.230] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1J2JEaZ030936 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Fri, 18 Feb 2005 18:19:14 -0800
In-Reply-To: <368DDF10E1DB64DD539D7BC7@ninevah.cyrusoft.com>
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org> <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net> <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org> <368DDF10E1DB64DD539D7BC7@ninevah.cyrusoft.com>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <bea30d47659b13e10633c60a1bd1cb10@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: ietf-imapext@imc.org, Dave Cridland <dave@cridland.net>
From: Grant Baillie <grant@osafoundation.org>
Subject: Re: ANNOTATE comments
Date: Fri, 18 Feb 2005 18:18:20 -0800
To: Cyrus Daboo <daboo@isamet.com>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

Hello, Cyrus

On Feb 18, 2005, at 9:21 AM, Cyrus Daboo wrote:

>
> Hi Grant,
>
> --On February 18, 2005 8:48:35 AM -0800 Grant Baillie 
> <grant@osafoundation.org> wrote:
>
>>> You could argue that it's easy to detect the ascii and utf-8 cases,
>>> and therefore these could be recorded - but in practise, since these
>>> are easy to detect, it's better to let clients detect them.
>>
>> The use case I had in mind is when users have to pick a charset 
>> manually,
>> in which case it would be nice to propagate across clients. But I 
>> agree
>> that incorrect setting of the charset, especially automatically, is a
>> concern.
>>
>
> I would like to keep the entries defined in the base document to a 
> minimum if possible.

Eminently reasonable and understandable.

> There is of course nothing to stop you from writing this up as a 
> separate draft and registering an entry for it yourself. If you do 
> that, then I would also suggest having a way to override the 
> content-type too. Often messages get sent with the wrong content-type 
> (e.g. text/plain for an HTML message, application/octet-stream for 
> Word document etc). In those cases it would also be nice to have the 
> first client to spot the problem set an annotation to provide a hint 
> to others. If you do that you can actually combine this with charset, 
> since charset is a parameter on the Content-Type header. So my 
> suggestion would be an 'altcontenttype' entry whose value was a 
> properly formed MIME Content-Type header field that could override 
> content type, name, charset etc.

Indeed. (Next, altcontentdisposition for fixing bogus 
Content-Disposition headers, too :-).

At the moment, I'm not working on an IMAP client, so I'm not inclined 
to write up a draft that I wouldn't actually be implementing in the 
near future. But I might be inclined to pursue this sometime down the 
road. Thanks for your observations/comments.

--Grant



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 j1IKNwdY057797; Fri, 18 Feb 2005 12:23:58 -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 j1IKNwgK057796; Fri, 18 Feb 2005 12:23:58 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IKNrgd057779 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 12:23:57 -0800 (PST) (envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA08648; Fri, 18 Feb 2005 15:23:51 -0500 (EST)
Message-Id: <200502182023.PAA08648@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-2086upd-03.txt
Date: Fri, 18 Feb 2005 15:23:51 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.

	Title		: IMAP4 ACL extension
	Author(s)	: A. Melnikov
	Filename	: draft-ietf-imapext-2086upd-03.txt
	Pages		: 0
	Date		: 2005-2-18
	
The ACL (Access Control List) extension (RFC 2086) of the Internet
   Message Access Protocol (IMAP4rev1) permits mailbox access control
   lists to be manipulated through the IMAP protocol.

   This document is a revision of the RFC 2086. It defines several new
   access control rights and clarifies which rights are required for
   different IMAP commands.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-2086upd-03.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-imapext-2086upd-03.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-imapext-2086upd-03.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2005-2-18144419.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-2086upd-03.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-imapext-2086upd-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2005-2-18144419.I-D@ietf.org>

--OtherAccess--

--NextPart--




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 j1IHs4fR045066; Fri, 18 Feb 2005 09:54:04 -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 j1IHs4dt045065; Fri, 18 Feb 2005 09:54:04 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IHs32C045058 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 09:54:03 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 18 Feb 2005 17:54:02 +0000
Message-ID: <42162BB5.6060601@isode.com>
Date: Fri, 18 Feb 2005 17:53:57 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: List of WGLC changes to 2086upd-02
References: <41F97066.1040108@isode.com>
In-Reply-To: <41F97066.1040108@isode.com>
MIME-version: 1.0
Content-type: text/plain; charset="KOI8-R"; format="flowed"
Content-transfer-encoding: 7bit
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>

I've just submitted -03 of 2086upd.

In addition to changed mentioned earlier (see 
http://www.imc.org/ietf-imapext/mail-archive/msg02389.html), I've 
updated section talking about virtual "c" and "d" rights, as per private 
discussion with Dave and Ken. The new text is as follows:

3.1.1.   Obsolete rights

   Due to ambiguity in RFC 2086 some existing RFC 2086 server 
implementations
   use the "c" right to control the DELETE command. Others chose to use the
   "d" right to control the DELETE command.
   For the former group, let's define the "create" right as union of the "k"
   and "x" rights, and the "delete" right as union of the "e" and "t" 
rights.
   For the latter group, let's define the "create" rights as a synonym 
to the
   "k" right, and the "delete" right as union of the "e", "t" and "x" 
rights.

   For compatibility with RFC 2086 this section defines two virtual rights
   "d" and "c".

   If a client includes the "d" right in a rights list, then it MUST be
   treated as if the client had included every member of the "delete" right.
   (It is not an error for a client to specify both the "d" right and
   one or more members of the "delete" right, but the effect is no different
   than if just the "d" right or all members of the "delete" right had been
   specified).

   When any of the "delete" member rights is set in a list of
   rights, the server MUST also include the "d" right when returning
   the list in a MYRIGHTS or ACL response. This is so to enable older 
clients
   conforming to RFC 2086 to work with newer servers. (*)

   Example:    C: A001 SETACL INBOX.Drafts David lrswida
               S: A001 OK Setacl complete

    The client has specified the "d" right in the SETACL command above 
and it
    expands to "et" on the server:

               C: A002 GETACL INBOX.Drafts
               S: * ACL INBOX Fred rwipslxetda David lrswideta
               S: A002 OK Getacl complete

   If the authentication identifier specified in the LISTRIGHTS command 
can be
   granted any of the "delete" member rights to access a mailbox, then 
the server
   MUST include the "d" right in the corresponding LISTRIGHTS response. (*)
   If the member rights aren't tied to non-member rights, then the "d" right
   is returned by itself in the LISTRIGHTS response.  If any of the 
member rights
   needs to be tied to one (or more) non-member right, then the "d" 
right and all
   of the member rights need to be tied to the same non-member right(s) 
(**).

   If a client includes the "c" right in a rights list, then it MUST be
   treated as if the client had included every member of the "create" right.
   (It is not an error for a client to specify both the "c" right and
   one or more members of the "create" right, but the effect is no different
   than if just the "c" right or all members of the "create" right had been
   specified).

   When any of the "create" member rights is set in a list of
   rights, the server MUST also include the "c" right when returning
   the list in a MYRIGHTS or ACL response. This is so to enable older 
clients
   conforming to RFC 2086 to work with newer servers. (*)

   Example:    C: A003 SETACL INBOX.Drafts Byron lrswikda
               S: A001 OK Setacl complete
               C: A002 GETACL INBOX.Drafts
               S: * ACL INBOX Fred rwipslxeta Byron lrswikcdeta
               S: A002 OK Getacl complete

    The client has specified the "d" right in the SETACL command above 
and it
    expands to "et" on the server:  As the client has specified the "k" 
right
    (which is a member of the "c" right), the server also returns the 
"c" right.


   If the authentication identifier specified in the LISTRIGHTS command 
can be
   granted any of the "create" member rights to access a mailbox, then 
the server
   MUST include the "c" right in the corresponding LISTRIGHTS response. (*)
   If the member rights aren't tied to non-member rights, then the "c" right
   is returned by itself in the LISTRIGHTS response.  If any of the 
member rights
   needs to be tied to one (or more) non-member right, then the "c" 
right and all
   of the member rights need to be tied to the same non-member right(s) 
(**).

   Example: The server that ties the rights as follows

               lr s w i p k x t

            and c=k

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr s w i p k x t c d


   Example: The server that ties the rights as follows

               lr s w i p k xte

            and c=k

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr s w i p k xte c d

   Example: The server that ties the rights as follows

               lr s w i p k x te

            and c=k

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr s w i p k c x te d

   Example: The server that ties the rights as follows

               lr swte i p k x

            and c=kx

            will return:

               S: * LISTRIGHTS archive.imap anyone "" lr swted i p k x c


   (*) Clients conforming to this document MUST ignore the virtual "d" 
and "c"
   rights in MYRIGHTS, ACL and LISTRIGHTS responses.

   (**) The IMAPEXT Working Group has debated this issue in great length
   and after reviewing existing ACL implementations concluded that this is
   a reasonable restriction.



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 j1IHLd3F042013; Fri, 18 Feb 2005 09:21:39 -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 j1IHLd5N042012; Fri, 18 Feb 2005 09:21:39 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IHLYd3041974 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 09:21:38 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1IHBf6g031241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Feb 2005 12:11:41 -0500
Date: Fri, 18 Feb 2005 12:21:13 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Grant Baillie <grant@osafoundation.org>, Dave Cridland <dave@cridland.net>
cc: ietf-imapext@imc.org
Subject: Re: ANNOTATE comments
Message-ID: <368DDF10E1DB64DD539D7BC7@ninevah.cyrusoft.com>
In-Reply-To: <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org>
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org> <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net> <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Grant,

--On February 18, 2005 8:48:35 AM -0800 Grant Baillie 
<grant@osafoundation.org> wrote:

>> You could argue that it's easy to detect the ascii and utf-8 cases,
>> and therefore these could be recorded - but in practise, since these
>> are easy to detect, it's better to let clients detect them.
>
> The use case I had in mind is when users have to pick a charset manually,
> in which case it would be nice to propagate across clients. But I agree
> that incorrect setting of the charset, especially automatically, is a
> concern.
>

I would like to keep the entries defined in the base document to a minimum 
if possible.

There is of course nothing to stop you from writing this up as a separate 
draft and registering an entry for it yourself. If you do that, then I 
would also suggest having a way to override the content-type too. Often 
messages get sent with the wrong content-type (e.g. text/plain for an HTML 
message, application/octet-stream for Word document etc). In those cases it 
would also be nice to have the first client to spot the problem set an 
annotation to provide a hint to others. If you do that you can actually 
combine this with charset, since charset is a parameter on the Content-Type 
header. So my suggestion would be an 'altcontenttype' entry whose value was 
a properly formed MIME Content-Type header field that could override 
content type, name, charset etc.

-- 
Cyrus Daboo



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 j1IGnqNM039590; Fri, 18 Feb 2005 08:49:52 -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 j1IGnp3u039589; Fri, 18 Feb 2005 08:49:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IGnlBr039574 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 08:49:47 -0800 (PST) (envelope-from grant@osafoundation.org)
X-Envelope-From: grant@osafoundation.org
X-Envelope-To: ietf-imapext@imc.org
Received: from [192.168.101.230] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1IGnVaZ013223 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Fri, 18 Feb 2005 08:49:31 -0800
In-Reply-To: <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net>
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org> <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <2e6a803b6e4d67d075a2ac666aeec8f9@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: <ietf-imapext@imc.org>
From: Grant Baillie <grant@osafoundation.org>
Subject: Re: ANNOTATE comments
Date: Fri, 18 Feb 2005 08:48:35 -0800
To: Dave Cridland <dave@cridland.net>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

On Feb 18, 2005, at 6:18 AM, Dave Cridland wrote:

> On Thu Feb 17 21:22:07 2005, Grant Baillie wrote:
>> - A potential use of ANNOTATE would be to allow users/clients to 
>> re-label the charset of a message part. (Sadly, there are still many 
>> clients out there that produce text parts with missing or incorrect 
>> charset parameters). Is it worth defining, say, 
>> /<section-part>/altcharset and /altcharset for this?
>
> I agree that there are some dumb clients out there, and I also agree 
> that it's possible for a user or a client to detirmine the correct 
> character set in some cases.
>
> However, not all cases, and some existant examples of heuristically 
> discovering character sets fail horribly - I think this is one of 
> those things that a client has to deal with, rather than rely on 
> potentially another client getting right.
>
> To give some idea, I live in an area where at least five character 
> sets are in common usage - ascii, latin1,14, and 15, and utf-8 - and 
> two langauges. These are all quite difficult to detect heuristically, 
> with the exception of ascii and utf-8. I can live with the client I'm 
> using getting it wrong, but not if it then influenced other clients I 
> used.
>
> You could argue that it's easy to detect the ascii and utf-8 cases, 
> and therefore these could be recorded - but in practise, since these 
> are easy to detect, it's better to let clients detect them.

The use case I had in mind is when users have to pick a charset 
manually, in which case it would be nice to propagate across clients. 
But I agree that incorrect setting of the charset, especially 
automatically, is a concern.

--Grant



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 j1IEIkFq026176; Fri, 18 Feb 2005 06:18:46 -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 j1IEIkIY026175; Fri, 18 Feb 2005 06:18:46 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1IEIg3x026148 for <ietf-imapext@imc.org>; Fri, 18 Feb 2005 06:18:45 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 63125154009; Fri, 18 Feb 2005 14:18:23 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Grant Baillie <grant@osafoundation.org>
Cc: <ietf-imapext@imc.org>
Subject: Re: ANNOTATE comments
References: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org>
In-Reply-To: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org>
Message-ID: <20050218141822.11639.92153.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Fri, 18 Feb 2005 14:18:22 +0000
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>

On Thu Feb 17 21:22:07 2005, Grant Baillie wrote:
> - A potential use of ANNOTATE would be to allow users/clients to re-label the charset of a message part. (Sadly, there are still many clients out there that produce text parts with missing or incorrect charset parameters). Is it worth defining, say, /<section-part>/altcharset and /altcharset for this?

I agree that there are some dumb clients out there, and I also agree that it's possible for a user or a client to detirmine the correct character set in some cases.

However, not all cases, and some existant examples of heuristically discovering character sets fail horribly - I think this is one of those things that a client has to deal with, rather than rely on potentially another client getting right.

To give some idea, I live in an area where at least five character sets are in common usage - ascii, latin1,14, and 15, and utf-8 - and two langauges. These are all quite difficult to detect heuristically, with the exception of ascii and utf-8. I can live with the client I'm using getting it wrong, but not if it then influenced other clients I used.

You could argue that it's easy to detect the ascii and utf-8 cases, and therefore these could be recorded - but in practise, since these are easy to detect, it's better to let clients detect them.

Dave.



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 j1HLN65R095239; Thu, 17 Feb 2005 13:23:06 -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 j1HLN6Au095238; Thu, 17 Feb 2005 13:23:06 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1HLN5nP095223 for <ietf-imapext@imc.org>; Thu, 17 Feb 2005 13:23:06 -0800 (PST) (envelope-from grant@osafoundation.org)
X-Envelope-From: grant@osafoundation.org
X-Envelope-To: <ietf-imapext@imc.org>
Received: from [192.168.101.230] (w002.z065106067.sjc-ca.dsl.cnc.net [65.106.67.2]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j1HLN1aZ006731 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for <ietf-imapext@imc.org>; Thu, 17 Feb 2005 13:23:01 -0800
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Transfer-Encoding: 7bit
Message-Id: <25e8f0f7cd91bd8b5c8a058b47904703@osafoundation.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: ietf-imapext@imc.org
From: Grant Baillie <grant@osafoundation.org>
Subject: ANNOTATE comments
Date: Thu, 17 Feb 2005 13:22:07 -0800
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

Here are some comments I have on annotate-12 (apologies for the 
closeness to last call):

- From a readability point of view, I think it would be nice to have a 
somewhat less terse Abstract.  At least, I think it should mention that 
you can associate metadata with MIME parts (not just entire messages).

- A potential use of ANNOTATE would be to allow users/clients to 
re-label the charset of a message part. (Sadly, there are still many 
clients out there that produce text parts with missing or incorrect 
charset parameters). Is it worth defining, say, 
/<section-part>/altcharset and /altcharset for this?

- Section 2.2.1, /flags entry name: Is there difference between "0" and 
NIL for a flag's value? If so, that should be spelled out.

- In the examples, it would be good to use literals as well as 
quoted-strings in a couple of cases. This might help to remind 
implementers not to assume they should only accept quoted-strings.

- The resp-text-code grammar rule should use nil, not "NIL".

- The use of double-quotes is often contradictory or confusing. Eg. in 
the following:

      The server SHOULD indicate the maximum size for an annotation value
      by sending an untagged "ANNOTATESIZE" response during a SELECT or
      EXAMINE command

   why "ANNOTATESIZE" and not "SELECT"? In general, the IMAP spec itself 
is pretty consistent
   about referring to response codes, etc, without double quotes, and it 
would be nice to

--Grant



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 j1HL1HSc093433; Thu, 17 Feb 2005 13:01:17 -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 j1HL1HHG093432; Thu, 17 Feb 2005 13:01:17 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from eagle.oceana.com (eagle.oceana.com [208.17.123.12]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1HL1C4a093401 for <ietf-imapext@imc.org>; Thu, 17 Feb 2005 13:01:12 -0800 (PST) (envelope-from ken@oceana.com)
Received: from [192.168.10.26] (KEN.oceana.com [192.168.10.26]) by eagle.oceana.com (8.13.2/8.13.2) with ESMTP id j1HL103K029498; Thu, 17 Feb 2005 16:01:00 -0500 (EST)
Message-ID: <421506B0.2060502@oceana.com>
Date: Thu, 17 Feb 2005 16:03:44 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Cyrus Daboo <daboo@isamet.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Informal list last call for ANNOTATEMORE
References: <170F8A355A7CA67DD4064D5F@ninevah.cyrusoft.com>
In-Reply-To: <170F8A355A7CA67DD4064D5F@ninevah.cyrusoft.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0 ()
X-Scanned-By: MIMEDefang 2.39
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>

Cyrus Daboo wrote:

> 
> Hi folks,
> I would like to submit the ANNOTATEMORE document to the IESG at the same 
> time as the ANNOTE document (once that has gone through WGLC and all 
> seems OK). However, since ANNOTATEMORE is an individual submission it is 
> not subject to a WGLC, but I would appreciate it if people looking at 
> ANNOTATE would also look at ANNOTATEMORE in the same vein and pass 
> comments back, thanks.
> 
> <http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-07.txt>

This looks good to me, and seems to jive with what we've already 
implemented in Cyrus.

I did find one in the examples in section 3.3.  The third example shows 
setting a single entry on multiple mailboxes, but the text immediately 
above states that multiple entries can be set in a single SETANNOTATION. 
  I think we need to add an example of setting multiple entries in one 
command.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp



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 j1GHRCUJ028018; Wed, 16 Feb 2005 09:27:12 -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 j1GHRCe2028017; Wed, 16 Feb 2005 09:27:12 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from terni.lunarpages.com (terni.lunarpages.com [216.193.202.184]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1GHRCCQ028007 for <ietf-imapext@imc.org>; Wed, 16 Feb 2005 09:27:12 -0800 (PST) (envelope-from aaddict@maclean.com)
Received: from [216.207.178.10] (helo=beverly.maclean.com) by terni.lunarpages.com with esmtp (Exim 4.43) id 1D1SxB-0007Fn-Du; Wed, 16 Feb 2005 09:27:10 -0800
Message-Id: <6.1.2.0.2.20050216121258.12aa4008@maclean.com>
X-Sender: aaddict+maclean.com@maclean.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 16 Feb 2005 12:27:08 -0500
To: Alexey Melnikov <alexey.melnikov@isode.com>
From: Pete Maclean <aaddict@maclean.com>
Subject: Re: New draft: SEARCH return options
Cc: IMAP Extensions WG <ietf-imapext@imc.org>, Lemonade WG <lemonade@ietf.org>
In-Reply-To: <42137D3B.4050204@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <6.1.2.0.2.20050216105551.121a5008@maclean.com> <42137D3B.4050204@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-MimeHeaders-Plugin-Info: v2.03.00
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - terni.lunarpages.com
X-AntiAbuse: Original Domain - imc.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - maclean.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
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>

At 12:04 PM 2/16/2005, Alexey Melnikov wrote:
>Pete Maclean wrote:
>
>>I am wondering why you are not tempted to generalize the options a bit 
>>more.  I am thinking along the lines of:
>>
>>     DIRECTION UP or DOWN (meaning search up/down with respect to message 
>> numbers/UIDs)
>
>Isn't this part of the SORT extension?

Ah well, it may be so.  I must acknowledge that I have not acquainted 
myself with that extension.  But perhaps if a server chooses to implement 
the ESEARCH extension and not the SORT extension then it is relevant.

>  IMHO, the search order is an internal server business. Some servers can 
> optimize if the client specified something like "RETURN (MIN)".

I totally agree that the search order should be an internal server business 
by default.  However, for the type of situation I described, it does seem 
valuable for the client to be able override that.  Incidentally, I do not 
mean that to imply that the results should necessarily be returned in the 
specified order.  Furthermore, by "order", I guess I mean "effective order" 
such that the results returned would be the first N matches in the 
specified ordering.  Whether or not the server internally actually searches 
messages in that order is irrelevant.


>>     MATCHES n (meaning return a maximum of n matches)
>
>Yes, we've just discussed this with Dave :-).

Good show!

Pete 



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 j1GH5dno026223; Wed, 16 Feb 2005 09:05:40 -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 j1GH5dU1026222; Wed, 16 Feb 2005 09:05:39 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1GH5YEA026191 for <ietf-imapext@imc.org>; Wed, 16 Feb 2005 09:05:35 -0800 (PST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 16 Feb 2005 17:05:14 +0000
Message-ID: <42137D3B.4050204@isode.com>
Date: Wed, 16 Feb 2005 17:04:59 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Pete Maclean <aaddict@maclean.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>, Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <6.1.2.0.2.20050216105551.121a5008@maclean.com>
In-Reply-To: <6.1.2.0.2.20050216105551.121a5008@maclean.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Pete Maclean wrote:

> I am wondering why you are not tempted to generalize the options a bit 
> more.  I am thinking along the lines of:
>
>     DIRECTION UP or DOWN (meaning search up/down with respect to 
> message numbers/UIDs)

Isn't this part of the SORT extension? IMHO, the search order is an 
internal server business. Some servers can optimize if the client 
specified something like "RETURN (MIN)".

>     MATCHES n (meaning return a maximum of n matches)

Yes, we've just discussed this with Dave :-).

> This would allow a client that wanted to find at most a fixed number 
> of matches to fill a window, form or Web page to do so more 
> efficiently.  For example,
>
>     <tag> SEARCH RETURN (DIRECTION DOWN MATCHES 20) <criteria>
>
> These could even be combined by having MATCHES +n and MATCHES -n.
>
> Then MIN would be replaced by (DIRECTION UP MATCHES 1) and so on.





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 j1GGC8Cb022376; Wed, 16 Feb 2005 08:12:08 -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 j1GGC8mn022374; Wed, 16 Feb 2005 08:12:08 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from terni.lunarpages.com (terni.lunarpages.com [216.193.202.184]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1GGC1uE022341 for <ietf-imapext@imc.org>; Wed, 16 Feb 2005 08:12:04 -0800 (PST) (envelope-from aaddict@maclean.com)
Received: from [216.207.178.10] (helo=beverly.maclean.com) by terni.lunarpages.com with esmtp (Exim 4.43) id 1D1RmQ-0007OG-Hc; Wed, 16 Feb 2005 08:11:59 -0800
Message-Id: <6.1.2.0.2.20050216105551.121a5008@maclean.com>
X-Sender: aaddict+maclean.com@maclean.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Wed, 16 Feb 2005 11:10:53 -0500
To: Alexey Melnikov <Alexey.Melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
From: Pete Maclean <aaddict@maclean.com>
Subject: Re: New draft: SEARCH return options
Cc: Lemonade WG <lemonade@ietf.org>
In-Reply-To: <4210BC19.4070207@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-MimeHeaders-Plugin-Info: v2.03.00
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - terni.lunarpages.com
X-AntiAbuse: Original Domain - imc.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - maclean.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
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>

I am wondering why you are not tempted to generalize the options a bit 
more.  I am thinking along the lines of:

	DIRECTION UP or DOWN (meaning search up/down with respect to message 
numbers/UIDs)

	MATCHES n (meaning return a maximum of n matches)

This would allow a client that wanted to find at most a fixed number of 
matches to fill a window, form or Web page to do so more efficiently.  For 
example,

	<tag> SEARCH RETURN (DIRECTION DOWN MATCHES 20) <criteria>

These could even be combined by having MATCHES +n and MATCHES -n.

Then MIN would be replaced by (DIRECTION UP MATCHES 1) and so on.

Pete Maclean



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 j1FJYfAD085469; Tue, 15 Feb 2005 11:34:41 -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 j1FJYfeg085468; Tue, 15 Feb 2005 11:34:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FJYdBo085457 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 11:34:40 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1FJYMc01356; Tue, 15 Feb 2005 21:34:23 +0200 (EET)
X-Scanned: Tue, 15 Feb 2005 21:44:21 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j1FJiLoA027052; Tue, 15 Feb 2005 21:44:21 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks001.ntc.nokia.com 00v1hpM7; Tue, 15 Feb 2005 21:44:20 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1FJW2J09078; Tue, 15 Feb 2005 21:32:02 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Tue, 15 Feb 2005 13:31:17 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Tue, 15 Feb 2005 13:31:15 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60CC@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUTlOk57gAQqWhlQV6P/uN/E7nq8w==
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>, <daboo@isamet.com>
Cc: <MRC@cac.washington.edu>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 15 Feb 2005 19:31:17.0286 (UTC) FILETIME=[EB401460:01C51394]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1FJYeBo085463
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>

> > What need is there for unsolicited ESEARCH?
> 
> Maybe there is none, but I didn't want to disallow this in 
> the future. 
> And the recent discussion about EXPUNGED made me think that a SEARCH 
> result might be caused by commands other than SEARCH.

I agree with Alexey.

To purposely design with the intent to not allow a particular 
response to be unsolicited is an unwise restriction.

We should intentionally design to make responses as command 
independent as possible. They should be viewed as packets of 
information a client can use independent of the command that was
used to elicit them.

I would like to see this response tagging referral idea become a 
general mechanism and not bound to ESEARCH.

Mike




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 j1FIvj3x082957; Tue, 15 Feb 2005 10:57:45 -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 j1FIvjw7082956; Tue, 15 Feb 2005 10:57:45 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FIve04082941 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 10:57:40 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 18:55:09 +0000
Message-ID: <4212458B.2050205@isode.com>
Date: Tue, 15 Feb 2005 18:55:07 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <daboo@isamet.com>
CC: Mark Crispin <MRC@cac.washington.edu>, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com> <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com> <4211EA87.5080104@isode.com> <A48A3A171D9AC647A755F039@ninevah.cyrusoft.com>
In-Reply-To: <A48A3A171D9AC647A755F039@ninevah.cyrusoft.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Cyrus Daboo wrote:

> Hi Alexey,
>
> --On February 15, 2005 12:26:47 PM +0000 Alexey Melnikov 
> <Alexey.Melnikov@isode.com> wrote:
>
>>> Right now I don't see why we need the new ESEARCH response at all, as
>>> opposed to just redefining the SEARCH response (which is fine because
>>> the client knows what it is going to get having used the extended
>>> SEARCH command). Perhaps Alexey can explain why we have to have a new
>>> response?
>>
>> ESEARCH response can be unsolicited, SEARCH response can't - the client
>> really doesn't know what has caused it and whether it contains UIDs or
>> message numbers.
>
> What need is there for unsolicited ESEARCH?

Maybe there is none, but I didn't want to disallow this in the future. 
And the recent discussion about EXPUNGED made me think that a SEARCH 
result might be caused by commands other than SEARCH.

I was also thinking that with ESEARCH (if extended to include ID/tag, as 
discussed recently), the server can send SEARCH results in chunks. But 
maybe the draft should be extended to list that this behavior is allowed 
and how the client should handle it.



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 j1FFQ0Ox064472; Tue, 15 Feb 2005 07:26:00 -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 j1FFQ0wN064471; Tue, 15 Feb 2005 07:26:00 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FFPxtV064463 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 07:26:00 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1FFGq6g017686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Feb 2005 10:16:53 -0500
Date: Tue, 15 Feb 2005 10:25:57 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
Message-ID: <4B7247D056BE7065343A9A25@ninevah.cyrusoft.com>
In-Reply-To: <4211DEA9.2090303@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com> <4211DEA9.2090303@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Alexey,

--On February 15, 2005 11:36:09 AM +0000 Alexey Melnikov 
<Alexey.Melnikov@isode.com> wrote:

>> This could prove very powerful for clients that want to present
>> multiple simultaneous 'views' on the same mailbox.
>
> Cyrus, what do you think is a practical limit on the number of search
> results a server should remember?

Of course there should be limit, with a recommended minimum (e.g. 10). Plus 
this feature must be explicitly turned on by the client. i.e. a regular 
search will always be remembered as the 'anonymous' search set $ (which 
gets replaced with each search), but the client has to explicitly 'name' a 
search to have its results saved for the session. That way servers are not 
required to remember multiple sets unless the client specifically asks for 
it. It would also be handy if the client can 'refresh' the results of a 
'named' search in a quick way, e.g.:

a1 SEARCH RETURN (ID 1) UNSEEN

a2 FETCH $[1] (ENVELOPE)

a3 SEARCH $[1]

The last search is a repeat of the first one with the $[1] set being 
updated with the new results.

Of course we could go further over the top here and reinvent ACAP contexts 
by allowing the search results to be dynamic (i.e. the $[1] set changes as 
message unseen state changes and there are appropriate unsolicited 
responses to indicate that). Maybe that is going too far, but Mark did 
bring that up...

-- 
Cyrus Daboo



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 j1FFFwsB063648; Tue, 15 Feb 2005 07:15:58 -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 j1FFFwUg063646; Tue, 15 Feb 2005 07:15:58 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FFFmEG063622 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 07:15:53 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1FF6W6g017520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Feb 2005 10:06:32 -0500
Date: Tue, 15 Feb 2005 10:15:37 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: Mark Crispin <MRC@cac.washington.edu>, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <A48A3A171D9AC647A755F039@ninevah.cyrusoft.com>
In-Reply-To: <4211EA87.5080104@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com> <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com> <4211EA87.5080104@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Alexey,

--On February 15, 2005 12:26:47 PM +0000 Alexey Melnikov 
<Alexey.Melnikov@isode.com> wrote:

>> Right now I don't see why we need the new ESEARCH response at all, as
>> opposed to just redefining the SEARCH response (which is fine because
>> the client knows what it is going to get having used the extended
>> SEARCH command). Perhaps Alexey can explain why we have to have a new
>> response?
>
> ESEARCH response can be unsolicited, SEARCH response can't - the client
> really doesn't know what has caused it and whether it contains UIDs or
> message numbers.
>

What need is there for unsolicited ESEARCH?

-- 
Cyrus Daboo



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 j1FCRDI4019400; Tue, 15 Feb 2005 04:27:13 -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 j1FCRDxK019399; Tue, 15 Feb 2005 04:27:13 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FCR7EM019275 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 04:27:08 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 12:26:50 +0000
Message-ID: <4211EA87.5080104@isode.com>
Date: Tue, 15 Feb 2005 12:26:47 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Cyrus Daboo <daboo@isamet.com>
CC: Mark Crispin <MRC@CAC.Washington.EDU>, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com> <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com>
In-Reply-To: <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Cyrus Daboo wrote:

> Hi Mark,
>
> --On February 14, 2005 12:51:02 PM -0800 Mark Crispin 
> <MRC@CAC.Washington.EDU> wrote:
>
>> tag SEARCH extended-poop
>> tag OK [SEARCH extended-poop-response] extended SEARCH OK
>>
>> as opposed to
>>
>> tag SEARCH extended-poop
>> * ESEARCH extended-poop-response
>> tag OK SEARCH completed
>>
>> Note that this precludes any sort of "watching" SEARCH extension, in
>> which you have a standing SEARCH and get unsolicited responses.  It has
>> been nearly 20 years and we have done no such thing, so maybe we don't
>> care.
>
> I guess I dislike the idea of having actual results come back in the 
> extended response code.

Me too.

> Right now I don't see why we need the new ESEARCH response at all, as 
> opposed to just redefining the SEARCH response (which is fine because 
> the client knows what it is going to get having used the extended 
> SEARCH command). Perhaps Alexey can explain why we have to have a new 
> response?

ESEARCH response can be unsolicited, SEARCH response can't - the client 
really doesn't know what has caused it and whether it contains UIDs or 
message numbers.



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 j1FBaUk5002884; Tue, 15 Feb 2005 03:36:30 -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 j1FBaUKq002882; Tue, 15 Feb 2005 03:36:30 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FBaQdv002852 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 03:36:28 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 11:36:12 +0000
Message-ID: <4211DEA9.2090303@isode.com>
Date: Tue, 15 Feb 2005 11:36:09 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <daboo@isamet.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
In-Reply-To: <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

> 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.
>
> This could prove very powerful for clients that want to present 
> multiple simultaneous 'views' on the same mailbox.

Cyrus, what do you think is a practical limit on the number of search 
results a server should remember?

Alexey



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 j1FBYWSq002214; Tue, 15 Feb 2005 03:34:32 -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 j1FBYWPd002213; Tue, 15 Feb 2005 03:34:32 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FBYVnW002197 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 03:34:31 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 11:33:59 +0000
Message-ID: <4211DE24.9000406@isode.com>
Date: Tue, 15 Feb 2005 11:33:56 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Philip Guenther <guenther+imap@sendmail.com>
CC: Cyrus Daboo <daboo@isamet.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> 	<81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com> <200502142346.j1ENkOHx073188@lab.smi.sendmail.com>
In-Reply-To: <200502142346.j1ENkOHx073188@lab.smi.sendmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Philip Guenther wrote:

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

>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.
>
Yes, that was the original intent. Even if the client has specified 
"RETURN (COUNT)", the "$" construct still references the set of found 
messages.

>  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.
>  
>
Yes.
I was thinking about remembering multiple SEARCH results, but this might 
overcomplicate the extension without much benefit.
What people think about this?

Alexey



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 j1FB8lQI093098; Tue, 15 Feb 2005 03:08:47 -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 j1FB8lYA093097; Tue, 15 Feb 2005 03:08:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1FB8flW093006 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 03:08:42 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 11:08:26 +0000
Message-ID: <4211D821.7090909@isode.com>
Date: Tue, 15 Feb 2005 11:08:17 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
CC: ietf-imapext@imc.org, Cyrus Daboo <daboo@isamet.com>
Subject: Re: [lemonade] Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>	<38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
In-Reply-To: <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Arnt Gulbrandsen wrote:

>Cyrus Daboo writes:
>  
>
>>The IDs make it clear which response corresponds to each search.
>>    
>>
>IMAP already has a mechanism to handle that: tagged responses.
>  
>
And I was thinking about returning the corresponding tag in ESEARCH.



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 j1FAGgq8076024; Tue, 15 Feb 2005 02:16:42 -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 j1FAGgtY076023; Tue, 15 Feb 2005 02:16:42 -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 j1FAGbfA075972 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 02:16:37 -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 j1FAGP3X008198 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 15 Feb 2005 02:16:25 -0800
X-DomainKeys: Sendmail DomainKeys Filter v0.2.2 foon.sendmail.com j1FAGP3X008198
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; b=QzfwMGnqHx/aRjx22ZX+uY2rarhgiphLHYaoSLVCZOgporQr4H9OsHYdxQkCjkA0G Uq0SyZ//kfyoyIf53ezwqO16SUQUqegO2G02oHp14tAGLdRoMoZcTa7TI3Z94CjbZHp oSbw4E4gXtgheZkOJ7VxlbLRxuGE5w9AIm/eEAU=
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 j1FAGOQe035427; Tue, 15 Feb 2005 02:16:25 -0800 (PST) (envelope-from guenther@lab.smi.sendmail.com)
Message-Id: <200502151016.j1FAGOQe035427@lab.smi.sendmail.com>
To: Weingarten Jerry <Jerry.Weingarten@comverse.com>
Cc: ietf-imapext@imc.org
From: Philip Guenther <guenther+imap@sendmail.com>
Subject: Re: Other ANNOTATEMORE Comments 
In-reply-to: <045FA14A4C4F904BA2D5BEDC37E16AF802126CCB@il-tlv-mail01.comverse.com> 
References: <045FA14A4C4F904BA2D5BEDC37E16AF802126CCB@il-tlv-mail01.comverse.com> 
Date: Tue, 15 Feb 2005 02:16: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>

Weingarten Jerry <Jerry.Weingarten@comverse.com> writes:
>Is there any particular reason why there is no mention of a way to
>delete these annotations?

Looking at annotatemore-06, section 3.3, top of page 11:
...
   Sets the specified list of entries by adding or replacing the
   specified attributes with the values provided.  Clients can use NIL
   for values of attributes it wants to remove from entries.

So, you can remove attributes from an entry by setting them to NIL.
That leaves the question of what attributes you need to remove to make
an entry completely disappear.

The ANNOTATE draft is specific on that point for its entries:
annotate-12, section 2.2.2:
...
   value
      A UTF8 string representing the data value of the attribute.  To
      delete an annotation, the client can store NIL into the value.

I.e., setting the 'value' attribute to NIL removes the entire entry,
including any vendor attributes.  This seems like the right thing to me:
vendor attributes should only be used to further describe or supplement
an entry's value attribute and not have meaning independent of it; if
they have independent meaning they should be in their own entries.


Philip Guenther



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 j1F9UMEA059833; Tue, 15 Feb 2005 01:30:22 -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 j1F9UMvL059832; Tue, 15 Feb 2005 01:30:22 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from il-tlv-smtpout1.icomverse.com (comversegw.icomverse.com [192.118.48.248]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1F9UIZm059690 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 01:30:21 -0800 (PST) (envelope-from Jerry.Weingarten@comverse.com)
Received: from il-tlv-bridge01.comverse.com (il-tlv-bridge01.comverse.com [10.115.242.136]) by il-tlv-smtpout1.icomverse.com (8.13.1/8.11.6) with ESMTP id j1F95vkN015336 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 11:05:57 +0200
Received: from il-tlv-mail01.comverse.com ([10.115.242.87]) by il-tlv-bridge01.comverse.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 15 Feb 2005 11:30:04 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Subject: Other  ANNOTATEMORE Comments
Date: Tue, 15 Feb 2005 11:30:00 +0200
Message-ID: <045FA14A4C4F904BA2D5BEDC37E16AF802126CCB@il-tlv-mail01.comverse.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Other  ANNOTATEMORE Comments
Thread-Index: AcUPqYdQ/krgHjwATBuynvqHNkrGmwDlUvJQ
From: "Weingarten Jerry" <Jerry.Weingarten@comverse.com>
To: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 15 Feb 2005 09:30:04.0520 (UTC) FILETIME=[EE34CE80:01C51340]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1F9UMZm059826
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>

 Hi, 

Is there any particular reason why there is no mention of a way to
delete these annotations?  Do these just accumulate by adding new server
annotations?

Thanx,
jerry



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



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 j1ENLJ2e062166; Mon, 14 Feb 2005 15:21:19 -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 j1ENLJWP062165; Mon, 14 Feb 2005 15:21:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ENLHnb062129 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:21:18 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 7F0F01A747; Mon, 14 Feb 2005 23:50:33 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id B7B881A6EC; Mon, 14 Feb 2005 23:49:55 +0100 (CET)
Message-Id: <ZtHtX4gBsCvIzAZ0LbbDvA.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 23:49:14 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com> <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com> <F1FD784DA828BE930C928101@ninevah.cyrusoft.com> <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com> <3823051286FE515706649375@ninevah.cyrusoft.com>
In-Reply-To: <3823051286FE515706649375@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> The formal syntax for the 'response' element. If you follow that 
> through you will see that you can only have one 'response-tagged' 
> item in 'response'.

Right. And I found another bit near the bottom of page 62.

I have no opinion, then. All the alternatives are fine with me.

Arnt



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 j1ENFYcC061692; Mon, 14 Feb 2005 15:15:34 -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 j1ENFYrn061691; Mon, 14 Feb 2005 15:15:34 -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 j1ENFXbO061682 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:15:33 -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 j1ENFTB6025766 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:15:29 -0800
X-DomainKeys: Sendmail DomainKeys Filter v0.2.2 foon.sendmail.com j1ENFTB6025766
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; b=X/NjyEr0XWUyMFPaOt19CcKUCrG2xIFw1P/4J4/aT/pH1exS91s7VHn84a2wkHw8Z oez1BB3Ib0ASe4aINEL/Cc2pPPe74cqptH5AviszFLKwJhykpIIpUKj4qwSQEcDigun HDKyCRSNiQlw7xMJC9iSTTyaescZYl2O721otI8=
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 j1ENFTfm069832 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 15:15:29 -0800 (PST) (envelope-from guenther@lab.smi.sendmail.com)
Message-Id: <200502142315.j1ENFTfm069832@lab.smi.sendmail.com>
To: ietf-imapext@imc.org
From: Philip Guenther <guenther+imap@sendmail.com>
Subject: ANNOTATE (-12) comments
In-reply-to: <566a0e83b7a40f8a56093501fd79b06f@osafoundation.org> 
References: <566a0e83b7a40f8a56093501fd79b06f@osafoundation.org> 
Date: Mon, 14 Feb 2005 15:15:29 -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>

My abject apology to all for not doing this review sooner.

Typos:
  tyhe -> the
  UTF8 -> UTF-8
  utf8 -> utf-8		(in the default charset)

The second paragraph of the introduction seems redundant and/or
incomplete given the list in the succeeding paragraph.

I believe "i.e." should have a comma after it.  That should also fix the
extra space being inserted there.

Line-breaking should be suppressed in the middle of entry and attribute
names.  For example, "/comment" shouldn't be split across the first two
lines of the second paragraph of 2.1.  There should also be a statement
somewhere that in examples, lines not starting with "C: " or "S: " are
continuations of the previous lines.  The extra leading white-space on
such lines should either be removed or somehow described as really being
just a single space.

Since an attribute can only have one value, I don't think 'values'
should be plural in the last paragraph of 2.1.  Hmm, and since a single
STORE or FETCH can operate across multiple messages, it should arguably
say "...and any entries in message annotations, ..."  <shrug>


In 2.4, after citing ACLUPD (2086upd), it then only refers to the ACL
extension and not the RIGHTS capability.  Is it intended that a server
that supports ANNOTATE and ACL but not RIGHTS must still support the 'm'
and 'n' rights?  I think so, but given the reference to 2086upd, perhaps
the third paragraph of 2.4 should start "When the ACL extension is
present, whether or not the RIGHTS capability is advertised, the server
MUST..."

Not to cause any hair-removal, but since entry and attribute names are
in UTF-8 and are both stored and searched, doesn't a stringprep profile
need to be specified for them?  Can I put U+FF0F (FULLWIDTH SLASH) in
the name of an entry?  How about unassigned codepoints?

Since <section-part> has to be non-zero, an entry starting with "0"
can't refer to a body part annotation.


The entry names MUST NOT contain consecutive or trailing slashes.
The attribute names MUST NOT contain consecutive or trailing periods.


To avoid ambiguity, attribute names should not be allowed to contain
'priv' or 'shared' as their final component, or perhaps as any
component.

An attribute value may be binary octets, including NUL, particularly
when its content-type is something other than text (image/jpeg?).
Should the FETCH response for such a value use the literal8 syntax from
the BINARY extension?  That would seem to be preferable to introducing
content-transfer-encodings to the mess.

May servers check the value of an entry against its content-type?
Off-hand, I would say they MUST NOT do so if the content-type isn't
text/*, but MAY for content-type text/*.  However, if checking is
permitted at all then a response-code should be added for failure to
validate.

If the content-type is just "text/plain", the charset would default to
us-ascii instead of utf-8.  If that's not intended, the wording there
needs to be tweaked.

Should the server be required to validate the syntax of a content-type
being stored?  (E.g., can I store a content-type of "/" ?)

It should probably be strongly recommended that UTF-8 be used for all
textual values.  I'd hate to see "text/plain; charset=iso-2022-jp" all
over the place, though we can't exactly ban it.

Should the registration for a new attribute specify what it may contain
(utf-8, binary, etc)?

According to the syntax, ANNOTATESIZE is a response-code, but the text
of section 3.1 calls it a response.  One or the other should be changed
and at least one example of it should be added.

If the server doesn't an untagged ANNOTATESIZE response-code, is the
client allowed to store annotations?

Would lack of the correct ACL rights be a reason for returning
"ANNOTATESIZE 0"?

Just for the fun of it, I suggest adding some other fetch attribute to
one of the examples or changing one to be a UID FETCH.


In 3.6, it should simply say that any annotation entry whose size is
larger than the destination mailbox's ANNOTATESIZE is silently dropped
during the copy.  The ANNOTATESIZE zero or NIL cases are just specific
examples of that which happen to include _all_ annotations.  Hmm, if
only one of the .priv or .shared values exceeds the size, should both be
dropped or only the one that exceeds the size?

The syntax for select-param can be simplified slightly to:
      select-param      = astring / "(" astring 1*(SP astring) ")"

If the literal8 syntax is pulled in from BINARY, then the syntax for
value would change to
      value             = nstring / literal8


Why is RFC1891 a normative reference?


Philip Guenther



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 j1ELorkw057430; Mon, 14 Feb 2005 13:50:53 -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 j1ELorHj057429; Mon, 14 Feb 2005 13:50:53 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELorpm057422 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:50:53 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKpD0m014461; Mon, 14 Feb 2005 12:51:13 -0800
Received: from Shimo-Tomobiki.panda.com ([70.58.77.1]) (authenticated bits=0) by smtp.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKp5cr015117 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 14 Feb 2005 12:51:08 -0800
Date: Mon, 14 Feb 2005 12:51:02 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Cyrus Daboo <daboo@isamet.com>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
In-Reply-To: <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com>
Message-ID: <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

On Mon, 14 Feb 2005, Cyrus Daboo wrote:
> Can you explain with some examples...

tag SEARCH extended-poop
tag OK [SEARCH extended-poop-response] extended SEARCH OK

as opposed to

tag SEARCH extended-poop
* ESEARCH extended-poop-response
tag OK SEARCH completed

Note that this precludes any sort of "watching" SEARCH extension, in which 
you have a standing SEARCH and get unsolicited responses.  It has been 
nearly 20 years and we have done no such thing, so maybe we don't care.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j1ELnhdR057293; Mon, 14 Feb 2005 13:49:43 -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 j1ELnhWT057292; Mon, 14 Feb 2005 13:49:43 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELnfVJ057285 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:49:42 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELnYI24289; Mon, 14 Feb 2005 23:49:35 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 23:59:27 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j1ELxRRC011001; Mon, 14 Feb 2005 23:59:27 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks001.ntc.nokia.com 00plNnct; Mon, 14 Feb 2005 23:59:24 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELlDJ20480; Mon, 14 Feb 2005 23:47:13 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 15:45:53 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 15:45:51 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60B3@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUS3ozIDS+++nJ2QWqcvpwj4RigKw==
From: <Michael.Wener@nokia.com>
To: <arnt@gulbrandsen.priv.no>, <lemonade@ietf.org>, <ietf-imapext@imc.org>
Cc: <daboo@isamet.com>
X-OriginalArrivalTime: 14 Feb 2005 21:45:54.0103 (UTC) FILETIME=[8EFECC70:01C512DE]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1ELnhVJ057287
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>

> then the most honest response format is
> 
> a1234 ESEARCH ALL 1:100

I disagree. 

The notion of having multiple responses with tag affinity 
is perfectly valid in my mind. Given that, a logical progression 
from what you are proposing is ...

1 SEARCH ...
1 ESEARCH ...
1 SOME FUTURE RESPONSE ....
1 OK ...

In my mind this is a much more ungainly solution then to just reuse
the already existing notion of untagged solicited responses. Just
add tag affinity with a data item in the response is much simpler
and elegant.

Mike




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 j1ELibgE056977; Mon, 14 Feb 2005 13:44:37 -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 j1ELibR7056976; Mon, 14 Feb 2005 13:44:37 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELiZVW056968 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:44:35 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELiAI13252; Mon, 14 Feb 2005 23:44:11 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 23:55:58 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j1ELtwpA025279; Mon, 14 Feb 2005 23:55:58 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks001.ntc.nokia.com 003cKp0d; Mon, 14 Feb 2005 23:55:37 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELCPJ08293; Mon, 14 Feb 2005 23:12:25 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 15:12:24 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 15:12:22 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D23@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUS19Z+bIIoA3zGQlCCp41royeI5gAAKk7g
From: <Michael.Wener@nokia.com>
To: <MRC@CAC.Washington.EDU>, <daboo@isamet.com>
Cc: <lemonade@ietf.org>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 21:12:24.0737 (UTC) FILETIME=[E151E110:01C512D9]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1ELiaVW056970
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>

> On Mon, 14 Feb 2005, Cyrus Daboo wrote:
> > Can you explain with some examples...
> 
> tag SEARCH extended-poop
> tag OK [SEARCH extended-poop-response] extended SEARCH OK
> 
> as opposed to
> 
> tag SEARCH extended-poop
> * ESEARCH extended-poop-response
> tag OK SEARCH completed

Would there be any other reason then the pipelining id problem 
to do it this way?

Mike



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 j1ELf7XO056657; Mon, 14 Feb 2005 13:41:07 -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 j1ELf75j056656; Mon, 14 Feb 2005 13:41:07 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ELf59X056608 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:41:06 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 9A6D41A727; Mon, 14 Feb 2005 21:20:13 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id 42FC81A6E7; Mon, 14 Feb 2005 21:19:56 +0100 (CET)
Message-Id: <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 21:19:16 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>
In-Reply-To: <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>
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>

Cyrus Daboo writes:
> The IDs make it clear which response corresponds to each search.

IMAP already has a mechanism to handle that: tagged responses.

Arnt



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 j1ELetYI056461; Mon, 14 Feb 2005 13:40:55 -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 j1ELeqEu056457; Mon, 14 Feb 2005 13:40:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELenSw056391 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:40:49 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EJqX6g024090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 14:52:34 -0500
Date: Mon, 14 Feb 2005 15:01:30 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
cc: Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
Message-ID: <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>
In-Reply-To: <4210BC19.4070207@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Alexey,

--On February 14, 2005 2:56:25 PM +0000 Alexey Melnikov 
<Alexey.Melnikov@isode.com> wrote:

> Based on the recent discussion of the
> draft-melnikov-imap-expunged-00.txt, Dave and I wrote a draft that adds
> return options to the SEARCH command. Currently defined return options
> are: COUNT (number of found messages), MIN (the lowest message number/UID
> found), MAX (the highest message number/UID found) and ALL (return all
> found messages as a message/UID set).
>
> Dave has implemented the extension in his Polymer email client.
>
> I am also proud to announce the support for this extension in Isode IMAP
> server.
>
> Alexey
>
> P.S. If you are interested to test this extension against Isode server,
> please contact me directly.

One thing you might want to consider adding to this is a 'ID' return option 
that takes an atom as an argument. The server would be required to return 
that ID and atom in the ESEARCH response for the corresponding command. 
This will solve the problem of multiple pipelined search commands and 
figuring out which search response corresponds to which command.

e.g.

C: a SEARCH RETURN (ID 1 ALL) UNSEEN
C: b SEARCH RETURN (ID 2 ALL) DELETED
S: * ESEARCH ID 1 ALL 1:100
S: * ESEARCH ID 1 ALL 200:1000
S: * ESEARCH ID 2 ALL 150
S: a OK
S: b OK

The IDs make it clear which response corresponds to each search.

-- 
Cyrus Daboo



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 j1ELetCa056483; Mon, 14 Feb 2005 13:40:55 -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 j1ELeq6u056462; Mon, 14 Feb 2005 13:40:53 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELenT0056391 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:40:49 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EK0V6g024312 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:00:31 -0500
Date: Mon, 14 Feb 2005 15:09:28 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
cc: Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
Message-ID: <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com>
In-Reply-To: <4210BC19.4070207@isode.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.1 tests=LINES_OF_YELLING,LINES_OF_YELLING_2
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>

Hi Alexey,
I think you need to have some mention of how this interacts with 
draft-melnikov-imap-search-res-01.txt. Or that document should mention how 
it interacts with draft-melnikov-imap-search-ret-00.txt. One issue is:

a SEARCH RETURN (COUNT) UNSEEN

Strictly speaking the above command does not generate a message sequence 
set, so is the last search result $ item set or not?

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: a SEARCH RETURN (ID 2 ALL) DELETED
...

C: FETCH $[1] (UID INTERNALDATE FLAGS RFC822.HEADER)

C: FETCH $[2] (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.

This could prove very powerful for clients that want to present multiple 
simultaneous 'views' on the same mailbox.

-- 
Cyrus Daboo



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 j1ELbShO056165; Mon, 14 Feb 2005 13:37:28 -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 j1ELbSJn056164; Mon, 14 Feb 2005 13:37:28 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELbRgg056149 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:37:27 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1ELSL6g026940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 16:28:21 -0500
Date: Mon, 14 Feb 2005 16:37:18 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <3823051286FE515706649375@ninevah.cyrusoft.com>
In-Reply-To: <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>  <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>  <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>  <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>  <F1FD784DA828BE930C928101@ninevah.cyrusoft.com> <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 10:33:49 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> As far as I recall the IMAP base-spec only allows one tagged response
>> to any command, so the above would not work without redefining IMAP's
>> entire response behaviour...
>
> That's an excellent argument, but where in the RFC does it say so?
>

The formal syntax for the 'response' element. If you follow that through 
you will see that you can only have one 'response-tagged' item in 
'response'.

-- 
Cyrus Daboo



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 j1ELYiEI055935; Mon, 14 Feb 2005 13:34:44 -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 j1ELYi3a055934; Mon, 14 Feb 2005 13:34:44 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ELYhNg055928 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:34:44 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 1B95F1A733; Mon, 14 Feb 2005 22:34:49 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id D593D1A6C1; Mon, 14 Feb 2005 22:34:29 +0100 (CET)
Message-Id: <2HbW9Ss0/BnIK8tnJyUgFQ.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 22:33:49 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com> <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com> <F1FD784DA828BE930C928101@ninevah.cyrusoft.com>
In-Reply-To: <F1FD784DA828BE930C928101@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> As far as I recall the IMAP base-spec only allows one tagged response 
> to any command, so the above would not work without redefining IMAP's 
> entire response behaviour...

That's an excellent argument, but where in the RFC does it say so?

Arnt



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 j1ELVPlu055701; Mon, 14 Feb 2005 13:31:25 -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 j1ELVP4s055698; Mon, 14 Feb 2005 13:31:25 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELVJCq055675 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:31:20 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKM06g025091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:22:00 -0500
Date: Mon, 14 Feb 2005 15:30:57 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
In-Reply-To: <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 9:19:16 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> The IDs make it clear which response corresponds to each search.
>
> IMAP already has a mechanism to handle that: tagged responses.
>

Search results are always untagged.

-- 
Cyrus Daboo



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 j1ELVPmJ055700; Mon, 14 Feb 2005 13:31:25 -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 j1ELVPpg055699; Mon, 14 Feb 2005 13:31:25 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELVJCs055675 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:31:21 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKaQ6g025388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:36:27 -0500
Date: Mon, 14 Feb 2005 15:45:24 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Mark Crispin <MRC@CAC.Washington.EDU>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com>
In-Reply-To: <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Mark,

--On February 14, 2005 12:43:34 PM -0800 Mark Crispin 
<MRC@CAC.Washington.EDU> wrote:

>>>> The IDs make it clear which response corresponds to each search.
>>> IMAP already has a mechanism to handle that: tagged responses.
>> Search results are always untagged.
>
> Yes, but instead of an ESEARCH untagged response this could be a status
> response in the tagged OK.  I think that this is the way to go.
>

Can you explain with some examples...

-- 
Cyrus Daboo



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 j1ELSgCX055561; Mon, 14 Feb 2005 13:28:42 -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 j1ELSgJe055560; Mon, 14 Feb 2005 13:28:42 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELSegD055554 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:28:41 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1ELJZ6g026608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 16:19:35 -0500
Date: Mon, 14 Feb 2005 16:28:32 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <F1FD784DA828BE930C928101@ninevah.cyrusoft.com>
In-Reply-To: <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>  <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>  <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com> <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 10:22:58 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

> I'm suggesting that IF you want to tag ESEARCH responses (whether you
> call them "tagged searches" or "searches with ID" is no matter to me),
> then the most honest response format is
>
> a1234 ESEARCH ALL 1:100

As far as I recall the IMAP base-spec only allows one tagged response to 
any command, so the above would not work without redefining IMAP's entire 
response behaviour...

> There are alternatives, such as sneaking the tag in the back door:
>
> * ESEARCH TAG a1234 ALL 1:100
>
> Or such as using an Elvis lookalike instead of the real thing:
>
> * ESEARCH ID a1234 ALL 1:100
>
> Whether ESEARCH is tagged or not is no matter to me. I'm happy either way.
>
> But if it is tagged, I'd like to see IMAP stay with just one tag
> mechanism (unless there are pressing reasons for having multiple similar
> mechanisms, of course).

Ok - command tags would be sufficient.

-- 
Cyrus Daboo



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 j1ELPt8V055379; Mon, 14 Feb 2005 13:25:55 -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 j1ELPtQo055378; Mon, 14 Feb 2005 13:25:55 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELPsEP055368 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:25:54 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKhnvg008841; Mon, 14 Feb 2005 12:43:49 -0800
Received: from Shimo-Tomobiki.panda.com ([70.58.77.1]) (authenticated bits=0) by smtp.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EKhb4o013663 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 14 Feb 2005 12:43:40 -0800
Date: Mon, 14 Feb 2005 12:43:34 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Cyrus Daboo <daboo@isamet.com>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
In-Reply-To: <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
Message-ID: <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

On Mon, 14 Feb 2005, Cyrus Daboo wrote:
>>> The IDs make it clear which response corresponds to each search.
>> IMAP already has a mechanism to handle that: tagged responses.
> Search results are always untagged.

Yes, but instead of an ESEARCH untagged response this could be a status 
response in the tagged OK.  I think that this is the way to go.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j1ELNrJT054967; Mon, 14 Feb 2005 13:23:53 -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 j1ELNrxg054966; Mon, 14 Feb 2005 13:23:53 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1ELNpXx054960 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:23:52 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 615A81A72E; Mon, 14 Feb 2005 22:23:57 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id 7D7C01A6EC; Mon, 14 Feb 2005 22:23:39 +0100 (CET)
Message-Id: <80yMOd0LFztNg0+3iB14gA.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 22:22:58 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com> <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>
In-Reply-To: <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> OK, so are you suggesting that the tag for the SEARCH command is used 
> as the 'ID' I was proposing, e.g.:
>
> a1234 SEARCH RETURN (TAG ALL) UNSEEN
> * ESEARCH TAG a1234 ALL 1:100
> a1234 OK

I'm suggesting that IF you want to tag ESEARCH responses (whether you 
call them "tagged searches" or "searches with ID" is no matter to me), 
then the most honest response format is

a1234 ESEARCH ALL 1:100

There are alternatives, such as sneaking the tag in the back door:

* ESEARCH TAG a1234 ALL 1:100

Or such as using an Elvis lookalike instead of the real thing:

* ESEARCH ID a1234 ALL 1:100

Whether ESEARCH is tagged or not is no matter to me. I'm happy either way.

But if it is tagged, I'd like to see IMAP stay with just one tag 
mechanism (unless there are pressing reasons for having multiple 
similar mechanisms, of course).

Arnt



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 j1ELMwNm054727; Mon, 14 Feb 2005 13:22:58 -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 j1ELMw20054726; Mon, 14 Feb 2005 13:22:58 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ELMvgN054716 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:22:57 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELMn907739; Mon, 14 Feb 2005 23:22:49 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 23:21:25 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j1ELLPNF005190; Mon, 14 Feb 2005 23:21:25 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 007MMFJu; Mon, 14 Feb 2005 23:21:23 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1ELJeM09744; Mon, 14 Feb 2005 23:19:40 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 15:19:11 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] Re: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 15:19:10 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60B1@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lemonade] Re: New draft: SEARCH return options
thread-index: AcUS2ZGpkiVvOxbuQQ6QN5oLVxQQ6QAALmCQ
From: <Michael.Wener@nokia.com>
To: <arnt@gulbrandsen.priv.no>, <lemonade@ietf.org>, <ietf-imapext@imc.org>
Cc: <daboo@isamet.com>
X-OriginalArrivalTime: 14 Feb 2005 21:19:11.0805 (UTC) FILETIME=[D3F386D0:01C512DA]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1ELMwgN054721
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>

> If you want ESEARCH to be bound to the command, you can 
> either use the 
> IMAP tag mechanism or reinvent it.
> 

Maybe not reinvent, but rather exploit.

To reuse Cyrus's example ...

C: a SEARCH RETURN (ALL) UNSEEN
C: b SEARCH RETURN (ALL) DELETED
S: * ESEARCH TAG a ALL 1:100,200:1000
S: * ESEARCH TAG b ALL 150
S: a OK
S: b OK



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 j1EL81vX053419; Mon, 14 Feb 2005 13:08:01 -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 j1EL81vh053418; Mon, 14 Feb 2005 13:08:01 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EL7xiA053410 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:07:59 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EKAq925998; Mon, 14 Feb 2005 22:10:52 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 22:10:22 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j1EKAMI1002263; Mon, 14 Feb 2005 22:10:22 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 00i4W8W0; Mon, 14 Feb 2005 22:10:21 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EK02M11357; Mon, 14 Feb 2005 22:00:02 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 13:59:52 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] New draft: SEARCH return options
Date: Mon, 14 Feb 2005 13:59:50 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC60AD@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [lemonade] New draft: SEARCH return options
thread-index: AcUSzcCk0Nr8eSqyRFCe4Q+yOMd63AAAdlIQ
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 19:59:52.0356 (UTC) FILETIME=[BF193E40:01C512CF]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1EL80iA053412
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>

> >There should be some Normative text stipulating that SEARCH and 
> >ESEARCH are mutually exclusive responses.
> >  
> >
> The document already says "MUST send  ESEARCH when a return option is 
> specified". Do you think this is not sufficient?

Yes, if your intent is to make the responses mutually exclusive.

Mike



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 j1EL7HGA053387; Mon, 14 Feb 2005 13:07:17 -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 j1EL7HFR053386; Mon, 14 Feb 2005 13:07:17 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EL7GkV053379 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:07:16 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKw76g025811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:58:08 -0500
Date: Mon, 14 Feb 2005 16:07:05 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <04C15E297EF0F9C6AAA292DC@ninevah.cyrusoft.com>
In-Reply-To: <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com>  <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com>  <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Arnt,

--On February 14, 2005 9:58:42 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> Search results are always untagged.
>
> Why?
>
> If you want ESEARCH to be bound to the command, you can either use the
> IMAP tag mechanism or reinvent it.
>

OK, so are you suggesting that the tag for the SEARCH command is used as 
the 'ID' I was proposing, e.g.:

a1234 SEARCH RETURN (TAG ALL) UNSEEN
* ESEARCH TAG a1234 ALL 1:100
a1234 OK

-- 
Cyrus Daboo



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 j1EL4Nt9053192; Mon, 14 Feb 2005 13:04:23 -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 j1EL4N9m053191; Mon, 14 Feb 2005 13:04:23 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EL4MKu053185 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 13:04:23 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j1EKtD6g025765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Feb 2005 15:55:14 -0500
Date: Mon, 14 Feb 2005 16:04:10 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Mark Crispin <MRC@CAC.Washington.EDU>, Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Message-ID: <11D17E695F020526C8F2BD82@ninevah.cyrusoft.com>
In-Reply-To: <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>  <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141242240.1612@Shimo-Tomobiki.panda.com> <6F16C1CBB193B8CF3C1C2F41@ninevah.cyrusoft.com> <Pine.WNT.4.63.0502141248340.1612@Shimo-Tomobiki.panda.com>
X-Mailer: Mulberry/4.0.0a5 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Mark,

--On February 14, 2005 12:51:02 PM -0800 Mark Crispin 
<MRC@CAC.Washington.EDU> wrote:

> tag SEARCH extended-poop
> tag OK [SEARCH extended-poop-response] extended SEARCH OK
>
> as opposed to
>
> tag SEARCH extended-poop
> * ESEARCH extended-poop-response
> tag OK SEARCH completed
>
> Note that this precludes any sort of "watching" SEARCH extension, in
> which you have a standing SEARCH and get unsolicited responses.  It has
> been nearly 20 years and we have done no such thing, so maybe we don't
> care.
>

I guess I dislike the idea of having actual results come back in the 
extended response code.

Right now I don't see why we need the new ESEARCH response at all, as 
opposed to just redefining the SEARCH response (which is fine because the 
client knows what it is going to get having used the extended SEARCH 
command). Perhaps Alexey can explain why we have to have a new response?

-- 
Cyrus Daboo



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 j1EKxxc5052888; Mon, 14 Feb 2005 12:59:59 -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 j1EKxxGg052887; Mon, 14 Feb 2005 12:59:59 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from bra.gulbrandsen.priv.no (bra.gulbrandsen.priv.no [212.125.101.197]) by above.proper.com (8.12.11/8.12.9) with SMTP id j1EKxlX4052852 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 12:59:54 -0800 (PST) (envelope-from arnt@gulbrandsen.priv.no)
Received: by bra.gulbrandsen.priv.no (Postfix, from userid 1000) id 7C1841A72A; Mon, 14 Feb 2005 21:59:40 +0100 (CET)
Received: from prosecco.oryx.com (prosecco.oryx.com [217.19.171.140]) by bra.gulbrandsen.priv.no (Postfix) with SMTP id 0AA4C1A6B8; Mon, 14 Feb 2005 21:59:23 +0100 (CET)
Message-Id: <AYSGVbkL4vqVkeaZ/YpYJA.md5@prosecco.oryx.com>
Date: Mon, 14 Feb 2005 21:58:42 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org, ietf-imapext@imc.org
Subject: Re: [lemonade] Re: New draft: SEARCH return options
Cc: Cyrus Daboo <daboo@isamet.com>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <38D656F5ADDFAAA6E7F08E16@ninevah.cyrusoft.com> <h1E/xFQKWuxE75ROfP5EEw.md5@prosecco.oryx.com> <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
In-Reply-To: <EDB63896BC61F51B824775D6@ninevah.cyrusoft.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

Cyrus Daboo writes:
> Hi Arnt,
>
> --On February 14, 2005 9:19:16 PM +0100 Arnt Gulbrandsen 
> <arnt@gulbrandsen.priv.no> wrote:
>
>>> The IDs make it clear which response corresponds to each search.
>>
>> IMAP already has a mechanism to handle that: tagged responses.
>
> Search results are always untagged.

Why?

If you want ESEARCH to be bound to the command, you can either use the 
IMAP tag mechanism or reinvent it.

Arnt



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 j1EJil9R049164; Mon, 14 Feb 2005 11:44:47 -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 j1EJilJx049163; Mon, 14 Feb 2005 11:44:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EJifVT049144 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 11:44:44 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 19:44:15 +0000
Message-ID: <4210FF8E.8000302@isode.com>
Date: Mon, 14 Feb 2005 19:44:14 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: [lemonade] New draft: SEARCH return options
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D21@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D21@daebe005.americas.nokia.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>Comments:
>I don't understand what the anticipated use of RETURN () would be?
>  
>
This is a hook for the SEARCHRES extension 
(draft-melnikov-imap-search-res-01.txt).

>There should be some Normative text stipulating that SEARCH and 
>ESEARCH are mutually exclusive responses.
>  
>
The document already says "MUST send  ESEARCH when a return option is 
specified". Do you think this is not sufficient?




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 j1EJaR2i048454; Mon, 14 Feb 2005 11:36:27 -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 j1EJaRqH048453; Mon, 14 Feb 2005 11:36:27 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EJaPw9048446 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 11:36:26 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJaMc06986; Mon, 14 Feb 2005 21:36:22 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 21:35:31 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j1EJZVP1008321; Mon, 14 Feb 2005 21:35:31 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks004.ntc.nokia.com 00TDkpnL; Mon, 14 Feb 2005 21:35:29 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJZSJ12383; Mon, 14 Feb 2005 21:35:28 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 13:35:02 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: [lemonade] New draft: SEARCH return options
Date: Mon, 14 Feb 2005 13:35:01 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D21@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [lemonade] New draft: SEARCH return options
thread-index: AcUSzEWp8u0h0oiwQZKc/yvzqhmx/A==
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 19:35:02.0534 (UTC) FILETIME=[47187260:01C512CC]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1EJaRw9048448
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>

I like it. I think it is done very smoothly.

Comments:
I don't understand what the anticipated use of RETURN () would be?

There should be some Normative text stipulating that SEARCH and 
ESEARCH are mutually exclusive responses.

Mike





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 j1EJYM3w048324; Mon, 14 Feb 2005 11:34:22 -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 j1EJYMVJ048323; Mon, 14 Feb 2005 11:34:22 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EJYKpL048311 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 11:34:21 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJYAB06615; Mon, 14 Feb 2005 21:34:11 +0200 (EET)
X-Scanned: Mon, 14 Feb 2005 21:32:40 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j1EJWeqi029342; Mon, 14 Feb 2005 21:32:40 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks004.ntc.nokia.com 00vcnzO1; Mon, 14 Feb 2005 21:32:39 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1EJWcJ08873; Mon, 14 Feb 2005 21:32:38 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 14 Feb 2005 13:25:09 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: New draft: SEARCH return options
Date: Mon, 14 Feb 2005 13:25:07 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D20@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: New draft: SEARCH return options
thread-index: AcUSyuQEnbtqDWMnSJCx+yiovatQIQ==
From: <Michael.Wener@nokia.com>
To: <mrc@CAC.Washington.EDU>, <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 14 Feb 2005 19:25:09.0823 (UTC) FILETIME=[E5CFECF0:01C512CA]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1EJYMpL048318
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>

> Is there much feeling as to how useful it would be?  

I think the RETURN (ALL) semantics will be useful.

Mike



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 j1EICBdh042572; Mon, 14 Feb 2005 10:12:11 -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 j1EICB6i042571; Mon, 14 Feb 2005 10:12:11 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EIC55M042552 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 10:12:06 -0800 (PST) (envelope-from mrc@CAC.Washington.EDU)
Received: from shiva1.cac.washington.edu (shiva1.cac.washington.edu [140.142.37.171]) by mxout5.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EIC0Go025725; Mon, 14 Feb 2005 10:12:00 -0800
Received: from localhost (mrc@localhost) by shiva1.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j1EIC03p013837; Mon, 14 Feb 2005 10:12:00 -0800
Date: Mon, 14 Feb 2005 10:12:00 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Lemonade WG <lemonade@ietf.org>
Subject: Re: New draft: SEARCH return options
In-Reply-To: <4210BC19.4070207@isode.com>
Message-ID: <Pine.LNX.4.63.0502141007210.13442@shiva1.cac.washington.edu>
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

I've reviewed this document and while I have document nits the protocol 
proposed looks OK to me.

Is there much feeling as to how useful it would be?  I'm not talking about 
Dave and Alexey since I'm sure they are already convinced.  It's more of a 
question of whether the benefit is worth the added complexity (don't 
forget, it does represent an additional task for server implementors!).

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j1EEuhRJ029598; Mon, 14 Feb 2005 06:56:43 -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 j1EEuh5j029597; Mon, 14 Feb 2005 06:56:43 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1EEuelR029562 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 06:56:42 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 14:56:27 +0000
Message-ID: <4210BC19.4070207@isode.com>
Date: Mon, 14 Feb 2005 14:56:25 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
CC: Lemonade WG <lemonade@ietf.org>
Subject: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org>
In-Reply-To: <200502112027.PAA05610@ietf.org>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Internet-Drafts@ietf.org wrote:

>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>
>
>	Title		: IMAP4 extension to SEARCH command for controlling what 
>			  kind of information is returned
>	Author(s)	: A. Melnikov, D. Cridland
>	Filename	: draft-melnikov-imap-search-ret-00.txt
>	Pages		: 0
>	Date		: 2005-2-11
>	
>This document extends SEARCH and UID SEARCH commands with result
>   specifier, which can control what kind of information is returned.
>   Several result specifiers are defined: minimal value, maximal
>   value, all found messages and number of found messages. A new
>   response ESEARCH is also specified.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-melnikov-imap-search-ret-00.txt
>
Based on the recent discussion of the 
draft-melnikov-imap-expunged-00.txt, Dave and I wrote a draft that adds 
return options to the SEARCH command. Currently defined return options 
are: COUNT (number of found messages), MIN (the lowest message 
number/UID found), MAX (the highest message number/UID found) and ALL 
(return all found messages as a message/UID set).

Dave has implemented the extension in his Polymer email client.

I am also proud to announce the support for this extension in Isode IMAP 
server.

Alexey

P.S. If you are interested to test this extension against Isode server, please contact me directly.

 __________________________________________
IETF standard related pages:
http://www.melnikov.ca/mel/devel/Links.html
__________________________________________
 



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 j1ED30qs020845; Mon, 14 Feb 2005 05:03:00 -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 j1ED30wg020844; Mon, 14 Feb 2005 05:03:00 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1ED2xMd020829 for <ietf-imapext@imc.org>; Mon, 14 Feb 2005 05:03:00 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 14 Feb 2005 13:02:54 +0000
Message-ID: <4210A17C.3090008@isode.com>
Date: Mon, 14 Feb 2005 13:02:52 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: I-D ACTION:draft-ietf-imapext-list-extensions-11.txt
References: <200502102051.PAA06190@ietf.org>
In-Reply-To: <200502102051.PAA06190@ietf.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Internet-Drafts@ietf.org wrote:

>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.
>
>	Title		: IMAP4 LIST Command Extensions
>	Author(s)	: B. Leiba, A. Melnikov
>	Filename	: draft-ietf-imapext-list-extensions-11.txt
>	Pages		: 10
>	Date		: 2005-2-10
>	
>IMAP4 has two commands for listing mailboxes: LIST and LSUB.  As we
>have added extensions that have required specialized lists (see
>[MboxRefer] for an example) we have had to expand the number of list
>commands, since each extension must add its function to both LIST and
>LSUB, and these commands are not, as they are defined, extensible.
>If we've needed the extensions to work together, we've had to add a
>set of commands to mix the different options, the set increasing in
>size with each new extension.  This document describes an extension
>to the base LIST command that will allow these additions to be done
>with mutually compatible options to the LIST command, avoiding the
>exponential increase in specialized list commands.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-imapext-list-extensions-11.txt
>  
>
After reviewing the mailing list archive I've decided that CHILDINFO is the way to go, because we want to allow for multiple LIST and unsolicited responses. This indeed made explanation much easier. Of course CHILDINFO is a bit verbose, so I would welcome suggestions.

I've also renamed MATCHPARENT to RECURSIVEMATH and made rules about CHILDREN extension more strict (as discussed during the last interim meeting). I've also tried to address some minor editorial issues raised by Philip previously.

Alexey





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 j1AKpI5n077264; Thu, 10 Feb 2005 12:51:18 -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 j1AKpIB6077263; Thu, 10 Feb 2005 12:51:18 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AKpHQM077257 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 12:51:17 -0800 (PST) (envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA06190; Thu, 10 Feb 2005 15:51:14 -0500 (EST)
Message-Id: <200502102051.PAA06190@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-list-extensions-11.txt
Date: Thu, 10 Feb 2005 15:51:14 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.

	Title		: IMAP4 LIST Command Extensions
	Author(s)	: B. Leiba, A. Melnikov
	Filename	: draft-ietf-imapext-list-extensions-11.txt
	Pages		: 10
	Date		: 2005-2-10
	
IMAP4 has two commands for listing mailboxes: LIST and LSUB.  As we
have added extensions that have required specialized lists (see
[MboxRefer] for an example) we have had to expand the number of list
commands, since each extension must add its function to both LIST and
LSUB, and these commands are not, as they are defined, extensible.
If we've needed the extensions to work together, we've had to add a
set of commands to mix the different options, the set increasing in
size with each new extension.  This document describes an extension
to the base LIST command that will allow these additions to be done
with mutually compatible options to the LIST command, avoiding the
exponential increase in specialized list commands.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-list-extensions-11.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-imapext-list-extensions-11.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-imapext-list-extensions-11.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2005-2-10155903.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-list-extensions-11.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-imapext-list-extensions-11.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2005-2-10155903.I-D@ietf.org>

--OtherAccess--

--NextPart--




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 j1AJfKgf072590; Thu, 10 Feb 2005 11:41:20 -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 j1AJfKQu072589; Thu, 10 Feb 2005 11:41:20 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AJfEwL072571 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 11:41:19 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 16F88154009; Thu, 10 Feb 2005 19:40:55 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
Cc: <ietf-imapext@imc.org>
Subject: Re: ANNOTATEMORE Comments
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6084@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6084@daebe005.americas.nokia.com>
Message-ID: <20050210194054.17230.23121.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Thu, 10 Feb 2005 19:40:54 +0000
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>

On Thu Feb 10 14:34:22 2005, Michael.Wener@nokia.com wrote:
> Would it be worth while adding an entry for declaring capabilities?
> IMAP obviously has a way to declare an extension via the 
> CAPABILITY command, but it would seem that an optional declaration 
> via an annotation could easily provide for a richer declaration. 
> 
> For example a new server entry like:
> 
> /capabilities/<capability>
> 
> Attributes could then be defined that may describe or modify the 
> capability further. 

This is very like the capability dataset class in ACAP, which allows for active clients to provide services via the ACAP server, like addressbook expansion.

It sounds like a great idea in principle, and could provide the same capability - that is, per-user capabilities provided in some cases by external modules, sometimes specific to the user.

The problems are quite similar, too, though - with ACAP, it wasn't ever fully defined precisely how a client detirmines that the agent providing the capability is really present and working. In my ACAP work, I've always avoided the dataset class as a whole - it's simply unreliable, great idea or not. Either that, or I just can't see how it ought to work, which is equally likely.

This needn't be the case with IMAP/ANNOTATEMORE, of course, but it needs thinking about carefully, I think.

Dave.



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 j1AEcl0o054503; Thu, 10 Feb 2005 06:38:47 -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 j1AEclxc054502; Thu, 10 Feb 2005 06:38:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AEcjHl054496 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 06:38:46 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AEcgc29156 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 16:38:43 +0200 (EET)
X-Scanned: Thu, 10 Feb 2005 16:37:54 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j1AEbs17006755 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 16:37:54 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks004.ntc.nokia.com 0090XZsq; Thu, 10 Feb 2005 16:37:54 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AEblM10280 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 16:37:48 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 10 Feb 2005 08:34:23 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: ANNOTATEMORE Comments
Date: Thu, 10 Feb 2005 08:34:22 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6084@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ANNOTATEMORE Comments
thread-index: AcUPfZzJroeEI+Z+TsitxK35/JTNfg==
From: <Michael.Wener@nokia.com>
To: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 10 Feb 2005 14:34:23.0682 (UTC) FILETIME=[9D731220:01C50F7D]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1AEckHl054497
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>

I like it.

Would it be worth while adding an entry for declaring capabilities?
IMAP obviously has a way to declare an extension via the 
CAPABILITY command, but it would seem that an optional declaration 
via an annotation could easily provide for a richer declaration. 

For example a new server entry like:

/capabilities/<capability>

Attributes could then be defined that may describe or modify the 
capability further. 

Mike



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 j1AEUFdY054035; Thu, 10 Feb 2005 06:30:15 -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 j1AEUFBB054034; Thu, 10 Feb 2005 06:30:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1AEUDPs054028 for <ietf-imapext@imc.org>; Thu, 10 Feb 2005 06:30:14 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AEU8c15299; Thu, 10 Feb 2005 16:30:08 +0200 (EET)
X-Scanned: Thu, 10 Feb 2005 16:29:27 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j1AETRD0022021; Thu, 10 Feb 2005 16:29:27 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 005iF11i; Thu, 10 Feb 2005 16:29:25 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j1AETOJ16926; Thu, 10 Feb 2005 16:29:24 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 10 Feb 2005 08:27:34 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: Body Part Content Conversion using ANNOTATEMORE
Date: Thu, 10 Feb 2005 08:27:32 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D16@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Body Part Content Conversion using ANNOTATEMORE
thread-index: AcUPfKiW/uuoQW1KSQ+ZD+9Dh+t4sg==
From: <Michael.Wener@nokia.com>
To: <lemonade@ietf.org>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 10 Feb 2005 14:27:34.0325 (UTC) FILETIME=[A9742650:01C50F7C]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j1AEUEPs054029
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>

I've put together a draft describing a proposal that uses ANNOTATEMORE
as the vehicle for discovery. Please provide comments.

I've copied both imapext and lemonade because it is relevant to both.
I would suggest any discussion be confined to the lemonade list.

I've submitted the draft, but until then you can find it at the link 
below.

http://ietf.webdav.org/imapext/draft-wener-lemonade-conversion-00.txt

Mike



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 j190vfg6050707; Tue, 8 Feb 2005 16:57:41 -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 j190vfco050706; Tue, 8 Feb 2005 16:57:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j190vdcl050700 for <ietf-imapext@imc.org>; Tue, 8 Feb 2005 16:57:40 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x4.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j190vS818201; Wed, 9 Feb 2005 02:57:31 +0200 (EET)
X-Scanned: Wed, 9 Feb 2005 02:56:17 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j190uHGs022593; Wed, 9 Feb 2005 02:56:17 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks004.ntc.nokia.com 00Fawpn2; Wed, 09 Feb 2005 02:56:16 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j190u9U13208; Wed, 9 Feb 2005 02:56:09 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Tue, 8 Feb 2005 18:56:09 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Tue, 8 Feb 2005 18:56:08 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6067@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUOQiOz9OgrGMffTbCc7YL5WHzvJw==
From: <Michael.Wener@nokia.com>
To: <dave@cridland.net>
Cc: <ietf-imapext@imc.org>, <Alexey.Melnikov@isode.com>
X-OriginalArrivalTime: 09 Feb 2005 00:56:09.0226 (UTC) FILETIME=[2475D6A0:01C50E42]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j190vecl050701
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>

> -----Original Message-----
> From: ext Dave Cridland [mailto:dave@cridland.net]
> Sent: Tuesday, February 08, 2005 5:45 PM
...
> > Maybe a better solution is ...
> > 
> > C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTUIDS)
> > S: * SEARCH etc ...
> > S: 1 OK FETCH Complete
> > 
> > In this case you completely remove the problem of having
> > any EXPUNGE memory, and it alleviates the server from having
> > to even worry about MODSEQ for expunges.
> > 
> 
> Is having an EXPUNGE memory that difficult?

No, but that is not the point. The point is that we are looking
for an optimal way for a client to synchronize server mailbox 
state. If it can be equivalently done with out requiring the 
server to maintain additional state I see this as an upside. 
After all what got us to this point in the discussion was the 
possibility of a server forgetting expunges.

> In short, I don't actually think that an extension as you 
> propose here - that simply sends out an unsolicited UID 
> SEARCH - is actually telling the client what it wants to know.

In this case it was solicited.

We did conclude, a message or two ago, that this was equivalent 
to the UIDEXPUNGE. 

Universe = ExpungedSet U UidSearchSet

We know the universe. So we can send one of the other two and 
deduce the third. Also, what the client ultimately wants is 
UidSearchSet.  

> 
> The rest of this email is, I hope, teaching any watching 
> grandmothers to suck eggs. (Not my grandmother, though, as 
> she was the only person I ever met who liked CPM.) Feel free 
> to tune out.

I have no idea what you are talking about, here.

Mike




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 j18MieJQ045047; Tue, 8 Feb 2005 14:44:40 -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 j18MiepX045046; Tue, 8 Feb 2005 14:44:40 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j18MidQm045033 for <ietf-imapext@imc.org>; Tue, 8 Feb 2005 14:44:39 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id B9521154009; Tue,  8 Feb 2005 22:44:31 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
Cc: <ietf-imapext@imc.org>, Alexey Melnikov <Alexey.Melnikov@isode.com>
Subject: RE: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D04@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D04@daebe005.americas.nokia.com>
Message-ID: <20050208224431.17230.40712.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Tue, 08 Feb 2005 22:44:31 +0000
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>

On Tue Feb  8 19:27:23 2005, Michael.Wener@nokia.com wrote:
> I understand the appeal of having the same response, but I think 
> you overstate the issue of returning the SEARCH response. Clients 
> will have code to deal with the SEARCH response.
> 

But, quite possibly, only in the context of a sent SEARCH/UID SEARCH command.

> 
> Maybe a better solution is ...
> 
> C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTUIDS)
> S: * SEARCH etc ...
> S: 1 OK FETCH Complete
> 
> In this case you completely remove the problem of having
> any EXPUNGE memory, and it alleviates the server from having
> to even worry about MODSEQ for expunges.
> 

Is having an EXPUNGE memory that difficult?

> 
> A couple of interesting notes regarding the above solution ...
> 1) It is just a shorthand way of doing both a FETCH and UID 
> SEARCH in the same command.

With extra processing above and beyond the pipelined UID SEARCH/UID FETCH that is otherwise identical to it other than a handful of octets - if the packet size were so small that this made any practical difference, I'd be shocked.

Besides which, a client can always be in posession of the knowledge of whether it knows about all the expunges, or whether some may remain undetected, simply by examining UIDNEXT/EXISTS.

In short, I don't actually think that an extension as you propose here - that simply sends out an unsolicited UID SEARCH - is actually telling the client what it wants to know.

The rest of this email is, I hope, teaching any watching grandmothers to suck eggs. (Not my grandmother, though, as she was the only person I ever met who liked CPM.) Feel free to tune out.


I assume this algorithm is reasonably well known, I've been using various stages of refinement of it for around a year, with pleasant success, but I'll hold it up for people to shoot it down:

1) Let the values of UIDNEXT and EXISTS as reported in the previous SELECT be LAST_UIDNEXT and LAST_EXISTS respectively.

2) Let the tracked value of EXISTS, as detirmined by EXPUNGE and EXISTS responses received by the client during the previous mailbox session be CURRENT_EXISTS.

3) Let the count of EXPUNGE responses received by the client during the previous mailbox session be SEEN_EXPUNGES

4) Let the values of UIDNEXT and EXISTS reported during the new select be NEW_UIDNEXT and NEW_EXISTS, respectively.

Now:

A) If LAST_UIDNEXT==NEW_UIDNEXT and CURRENT_EXISTS==NEW_EXISTS, then there have been no expunges between sessions. (And no appends, of course, this being trivial.)

B) If ( NEW_UIDNEXT - LAST_UIDNEXT ) == ( NEW_EXISTS - LAST_EXISTS + SEEN_EXPUNGES ), then there have been no expunges between sessions. (And some appends)

In any other case, there may have been expunges.

Since servers can, I believe, issue UIDs non-monotonically, this algorithm can fail, but does so safely (ie, the client believes there may have been EXPUNGEs when in fact there weren't).

On the other hand, if some mechanism were available that allowed the server to report a collection of UIDs which had recently been EXPUNGEd, the client could issue this instead, add the number found to SEEN_EXPUNGES above, and check case B to see if it had them all. (Again, this fails where UIDNEXT does not increase monotonically). Some information, here, is more use than none.

If the client believes there to have been EXPUNGEs, then it can simply perform a UID SEARCH across, for instance, CURRENT_EXISTS-100 to NEW_EXISTS, and simply replace the end of the known UID list if the first UID in the new list matches. (This is relatively common, since EXPUNGEs do appear to typically happen at the end of the mailbox.) Therefore, no need to UID SEARCH 1:* at all in most cases. Given the potential size of SEARCH results, it may be best to scan backwards at intervals in order to find the matching point which indicates that no EXPUNGEs affected anything before.

Of course, I do all this already, but then, my client is a caching online client, and I imagine most of the client authors here are more interested in the disconnected mode case. For my client, it enables me to resync as much as I need to in two round trips, usually one, and often zero, for mailboxes under 75,000 messages. This is as much scalability as I can reasonably hope for, especially as huge mailboxes tend to be mailing list archives, and thus are caught by rule (B) every time.

Dave.



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 j18JTfpj031458; Tue, 8 Feb 2005 11:29:41 -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 j18JTf1d031457; Tue, 8 Feb 2005 11:29:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j18JTZ8Y031435 for <ietf-imapext@imc.org>; Tue, 8 Feb 2005 11:29:36 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j18JTRc16752; Tue, 8 Feb 2005 21:29:27 +0200 (EET)
X-Scanned: Tue, 8 Feb 2005 21:28:54 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j18JSsTB003689; Tue, 8 Feb 2005 21:28:54 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 007p0KLI; Tue, 08 Feb 2005 21:28:54 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j18JSGU15986; Tue, 8 Feb 2005 21:28:17 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Tue, 8 Feb 2005 13:27:24 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Tue, 8 Feb 2005 13:27:23 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3D04@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKvY7Wk/d/rp5iRdSC9FXqBc6SJADUzvBQ
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 08 Feb 2005 19:27:24.0064 (UTC) FILETIME=[3758FA00:01C50E14]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j18JTa8Y031449
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext 
> Alexey Melnikov
> Sent: Friday, February 04, 2005 8:05 AM
...
> >Don't force a round trip.
> >
> >C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> >S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> >S: * SEARCH etc ...
> >S: 1 OK FETCH Complete
> >
> >Though, I'm not sure a round trip in this case would be bad.
> >
> >What worries me is the pathological case. It strikes me as 
> >wrong to send a list of an unbounded set, when what the client 
> >really wants is the compliment of that.
> >  
> >
> I frankly don't like that the server sends two different 
> responses that 
> mean pretty much the same thing. This definitely makes client 
> implementations more difficult.

I understand the appeal of having the same response, but I think 
you overstate the issue of returning the SEARCH response. Clients 
will have code to deal with the SEARCH response.

Maybe a better solution is ...

C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTUIDS)
S: * SEARCH etc ...
S: 1 OK FETCH Complete

In this case you completely remove the problem of having
any EXPUNGE memory, and it alleviates the server from having
to even worry about MODSEQ for expunges.

A couple of interesting notes regarding the above solution ...
1) It is just a shorthand way of doing both a FETCH and UID 
SEARCH in the same command.
2) It points out how adding EXPUNGE to CONDSTORE is a bit of a 
force fit.

Mike



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 j17MtYRT078749; Mon, 7 Feb 2005 14:55:34 -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 j17MtY7Z078748; Mon, 7 Feb 2005 14:55:34 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17MtX8c078725 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 14:55:33 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 4E672154009; Mon,  7 Feb 2005 22:55:15 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Mark Crispin <MRC@cac.washington.edu>
Cc: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>, Alexey Melnikov <Alexey.Melnikov@isode.com>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com> <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
In-Reply-To: <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
Message-ID: <20050207225514.14903.17980.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Mon, 07 Feb 2005 22:55:14 +0000
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>

On Mon Feb  7 20:40:09 2005, Mark Crispin wrote:
> 
> Do we really need "has" in front of all these flags?
> 
> Why not \Children, \NoChildren, etc.?
> 

As Alexey says, these are widely deployed - existing client code that I've had a chance to examine appears to rank CHILDREN as one of the most widely deployed extensions.

My suspicion is that many clients will start using LISTEXT merely by requesting CHILDREN formally. Some may well not notice if we subtlely rename the flags. (Although no doubt some server writers never bothered to spell them right to begin with).

> 
> Another point: using binary flags for a tri-state condition is troublesome, since it creates silly states.  \Marked and \UnMarked created the problem -- a mistake that I still deeply regret -- and it would be a shame if it gets worse.
> 
> Since we have binary flags as a given, can we think of a methodology that avoids tri-state conditions?
> 

Barry Leiba commented that \HasNoChildren is required to handle unsolicited LIST responses.

However, the same argument can be made of \Subscribed, and presumably other flags - does an unsolicited LIST without \Subscribed indicate that the mailbox is not subscribed, or merely that subscription information isn't included?

It strikes me that unsolicited LIST responses, currently barred by 3501 [I think: It's 11pm here, and I can't find the text], either need to be barred by LISTEXT explicitly pending a future standard, or we should actually solve the issue.

Dave.



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 j17LlJqq070972; Mon, 7 Feb 2005 13:47:19 -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 j17LlJPS070971; Mon, 7 Feb 2005 13:47:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17LlIex070965 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 13:47:19 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.183] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 7 Feb 2005 21:47:13 +0000
Message-ID: <4207E1E0.9000005@isode.com>
Date: Mon, 07 Feb 2005 21:47:12 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Lisa Dusseault <lisa@osafoundation.org>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: WG last call for ANNOTATE Feb 4-18
References: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
In-Reply-To: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Lisa Dusseault wrote:

>
> This is a notification of the beginning of last-call for the -12 draft 
> of ANNOTATE:
>
> http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt
>
> If you review this draft, let the WG know even if you have no issues 
> or comments.  Also, we'd like to know who plans to implement this or 
> may have already begun (you can let me know privately or mail the 
> WG).  Last call will go until and including February 18 2005.

Minor comment:
 The description of "/<section-part>/flags" only allows for "1" or "0". 
However, the description of "/flags" still allows for NIL.

Alexey



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 j17LIuhb067320; Mon, 7 Feb 2005 13:18:56 -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 j17LIukH067319; Mon, 7 Feb 2005 13:18:56 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17LIuhF067313 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 13:18:56 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout4.cac.washington.edu (8.13.3+UW05.01/8.13.3+UW05.01) with ESMTP id j17LItQd014256; Mon, 7 Feb 2005 13:18:55 -0800
Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated bits=0) by smtp.washington.edu (8.13.1+UW04.08/8.13.3+UW05.01) with ESMTP id j17LIs4w021657 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 7 Feb 2005 13:18:55 -0800
Date: Mon, 7 Feb 2005 13:18:57 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
In-Reply-To: <4207D5AA.2030302@isode.com>
Message-ID: <Pine.WNT.4.62.0502071316300.2412@Tomobiki-Cho.CAC.Washington.EDU>
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com> <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com> <4207D5AA.2030302@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

On Mon, 7 Feb 2005, Alexey Melnikov wrote:
>> Do we really need "has" in front of all these flags?
>> Why not \Children, \NoChildren, etc.?
> Because they are already widely deployed.

The CHILDREN extension may be widely-deployed, but this is LISTEXT, not 
CHILDREN.

We have a chance to review the lessons of RFC 3348 (which I'll remind you 
is *NOT* standards-track!!) and maybe do something better.

I didn't say "break RFC 3348", but I am implying "replace RFC 3348".

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j17KtPKv064728; Mon, 7 Feb 2005 12:55:25 -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 j17KtPm5064727; Mon, 7 Feb 2005 12:55:25 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17KtOll064719 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 12:55:24 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.183] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 7 Feb 2005 20:55:07 +0000
Message-ID: <4207D5AA.2030302@isode.com>
Date: Mon, 07 Feb 2005 20:55:06 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Mark Crispin <MRC@CAC.Washington.EDU>
CC: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com> <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
In-Reply-To: <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Mark Crispin wrote:

> Do we really need "has" in front of all these flags?
>
> Why not \Children, \NoChildren, etc.?

Because they are already widely deployed.

> Another point: using binary flags for a tri-state condition is 
> troublesome, since it creates silly states.  \Marked and \UnMarked 
> created the problem -- a mistake that I still deeply regret -- and it 
> would be a shame if it gets worse.
>
> Since we have binary flags as a given, can we think of a methodology 
> that avoids tri-state conditions?




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 j17KeOJU063187; Mon, 7 Feb 2005 12:40:24 -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 j17KeOtS063186; Mon, 7 Feb 2005 12:40:24 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout6.cac.washington.edu (mxout6.cac.washington.edu [140.142.33.20]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17KeNVp063178 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 12:40:24 -0800 (PST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout6.cac.washington.edu (8.13.1+UW04.08/8.13.3+UW05.01) with ESMTP id j17KeKj3008601; Mon, 7 Feb 2005 12:40:21 -0800
Received: from Shimo-Tomobiki.panda.com ([70.58.77.1]) (authenticated bits=0) by smtp.washington.edu (8.13.1+UW04.08/8.13.3+UW05.01) with ESMTP id j17KeF5i011008 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 7 Feb 2005 12:40:18 -0800
Date: Mon, 7 Feb 2005 12:40:09 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
cc: Barry Leiba <leiba@watson.ibm.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
In-Reply-To: <4207C7A0.5060903@isode.com>
Message-ID: <Pine.WNT.4.62.0502071240031.2464@Shimo-Tomobiki.panda.com>
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com> <4207C7A0.5060903@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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>

Do we really need "has" in front of all these flags?

Why not \Children, \NoChildren, etc.?

Another point: using binary flags for a tri-state condition is 
troublesome, since it creates silly states.  \Marked and \UnMarked created 
the problem -- a mistake that I still deeply regret -- and it would be a 
shame if it gets worse.

Since we have binary flags as a given, can we think of a methodology that 
avoids tri-state conditions?

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.



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 j17JtToU057354; Mon, 7 Feb 2005 11:55:29 -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 j17JtTeK057353; Mon, 7 Feb 2005 11:55:29 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j17JtSBI057329 for <ietf-imapext@imc.org>; Mon, 7 Feb 2005 11:55:28 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.163] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Mon, 7 Feb 2005 19:55:13 +0000
Message-ID: <4207C7A0.5060903@isode.com>
Date: Mon, 07 Feb 2005 19:55:12 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Barry Leiba <leiba@watson.ibm.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>  <200501282224.j0SMO32c002489@lab.smi.sendmail.com> <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com>
In-Reply-To: <07B1D3DE707152B1DF937C5E@saturn.watson.ibm.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Barry Leiba wrote:

>>These were discussed fairly completely during the meeting and we came
>>to consensus that
>>-) MATCHPARENT would stay; not much point in making LIST extendable if
>>   things that can reasonably be options are instead implicitly
>>   triggered
>>    
>>
>Yes, but we decided to call it "recursivematch".
>  
>
Done.

>>-) \placeholder and \hassubmailboxes will be replaced by a single flag
>>   named something like \hasmatchingchild.  Whether the returned name
>>   itself matches can be trivially deduced from the other returned
>>   flags.
>>    
>>
>
>Correct, and "\hasmatchingchildren" was what we were calling it.  I'm
>open to other names, but I think this name makes its purpose clear
>(where "hassubmailboxes" did not).
>
I've renamed the flag as well.

>>If the client pipelines requests that result in ambiguous
>>responses, well, "Doctor it hurts when I do _this_...".
>>    
>>
>
>Or put more IETF-ly, clients MUST NOT send simultaneous LIST commands,
>the responses from which they would not be able to sort out
>unambiguously.
>
It sounds there is a strong desire to allow for multiple extended LISTs 
and unsolicited LIST responses.

>>-) keeping the CHILDREN option and its behavior separate from
>>   MATCHPARENT was deemed to be clearer than merging them.  CHILDREN
>>   would be changed to require exact responses:
>>    
>>
>
>In other words, correct implementation of CHILDREN *will* be required
>by the LISTEXT spec, but the "\haschildren" and "\hasnochildren" flags
>will only be returned if they're asked for.  We DO need the
>"\hasnochildren" flag to distinguish the absence of children from the
>case where the server decides to send an unsolicited LIST response at
>the same time as it's responding to a LIST command.
>
>We've gone back and forth on this one, and I hope we have now decided
>it firmly.  The reasoning is that clients that want the has<no>children
>help will do the work with a series of commands anyway, and even if
>it's not convenient for some server implementations to provide it, it's
>still a LOT cheaper for them to do it in the server than for the client
>to have to request them separately.
>
Is the existing text Ok:

   In some instances a server that supports the LISTEXT extension
   might not be able to determine whether a mailbox has children.  For
   example it may have difficulty determining whether there are child
   mailboxes when LISTing mailboxes while operating in a particular
   namespace.
   In these cases, a server MAY exclude both the \HasChildren and
   \HasNoChildren attributes in the LIST response.  As such, a client
   can not make any assumptions about whether a mailbox has children
   based upon the absence of a single attribute. In particular, some
   servers may not be able to combine the SUBSCRIBED selection option
   and CHILDREN return option.  Such servers MUST honor the SUBSCRIBED
   selection option, and they will simply ignore the CHILDREN return option
   if both are requested. It is an error for the server to return both a
   \HasChildren and a \HasNoChildren attribute in a LIST response.
?
Or should I make it stricter?

>>There was some discussion of requiring LIST to return BAD if
>>MATCHPARENT was used with a pattern containing '*', but I'm not sure
>>that was dropped later as being too restrictive.
>>    
>>
>
>It was dropped.  We decided, after thinking about it, that it's not
>*really* a problem.  The consensus at the end was that there need be no
>restrictions on when "recursivematch" can be used.
>
>There was the issue of recursion loops, and we decided to allow a
>server, probably with a MAY clause, to limit the depth.  We did not
>pick a minimum depth that MUST be implemented, so we should pick one
>here.
>
I frankly don't recall any such discussion.
But any suggested text will be welcomed.

>
>We should have examples in the jabber log, assuming that Rob was able
>accurately to enter my scratchings on the white-boards, since I
>annoyingly refused to write from left to right.  Should we copy those
>examples here, or just point to the jabber logs?
>
>  
>



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 j14N0Y0Q004677; Fri, 4 Feb 2005 15:00:34 -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 j14N0Ysu004676; Fri, 4 Feb 2005 15:00:34 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14N0Xow004631 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 15:00:33 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 224CA154009; Fri,  4 Feb 2005 23:00:19 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Lisa Dusseault <lisa@osafoundation.org>
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: WG last call for ANNOTATE Feb 4-18
References: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
In-Reply-To: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
Message-ID: <20050204230018.707.68324.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Fri, 04 Feb 2005 23:00:18 +0000
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>

On Fri Feb  4 21:32:16 2005, Lisa Dusseault wrote:
> If you review this draft, let the WG know even if you have no issues or comments.  Also, we'd like to know who plans to implement this or may have already begun (you can let me know privately or mail the WG).  Last call will go until and including February 18 2005.

I'm certainly planning to implement this my client, and with any luck I'll manage it quite soon. I do need to rework aspects of my CONDSTORE implementation to properly support it, though.

Given this is entirely new functionality, I personally believe it's vital to obtain real experience of interoperable implementation before we can safely put it through to RFC status.

As such, if anyone is implementing this on the server, I would be very grateful for a test account, whether or not it's under NDA. (Or just an agreement not to say anything publically.)

Dave.



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 j14MH0A1002217; Fri, 4 Feb 2005 14:17:00 -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 j14MGxhb002216; Fri, 4 Feb 2005 14:16:59 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14MGsEg002203 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 14:16:59 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from ninevah.cyrusoft.com (ninevah.cyrusoft.com [63.163.82.9]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j14M9P6E000343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 17:09:26 -0500
Date: Fri, 04 Feb 2005 17:16:52 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Informal list last call for ANNOTATEMORE
Message-ID: <170F8A355A7CA67DD4064D5F@ninevah.cyrusoft.com>
X-Mailer: Mulberry/4.0.0a4 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi folks,
I would like to submit the ANNOTATEMORE document to the IESG at the same 
time as the ANNOTE document (once that has gone through WGLC and all seems 
OK). However, since ANNOTATEMORE is an individual submission it is not 
subject to a WGLC, but I would appreciate it if people looking at ANNOTATE 
would also look at ANNOTATEMORE in the same vein and pass comments back, 
thanks.

<http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-07.txt>



-- 
Cyrus Daboo



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 j14LWWsH099116; Fri, 4 Feb 2005 13:32:32 -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 j14LWW0A099115; Fri, 4 Feb 2005 13:32:32 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14LWVsU099099 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 13:32:31 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
X-Envelope-To: <ietf-imapext@imc.org>
Received: from [192.168.1.100] ([198.144.201.116]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j14LWMaa028024 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 13:32:26 -0800
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Transfer-Encoding: 7bit
Message-Id: <7f744b67a72917f7c7ba660e4e474c8a@osafoundation.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: IMAP Extensions WG <ietf-imapext@imc.org>
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: WG last call for ANNOTATE Feb 4-18
Date: Fri, 4 Feb 2005 13:32:16 -0800
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

This is a notification of the beginning of last-call for the -12 draft 
of ANNOTATE:

http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt

If you review this draft, let the WG know even if you have no issues or 
comments.  Also, we'd like to know who plans to implement this or may 
have already begun (you can let me know privately or mail the WG).  
Last call will go until and including February 18 2005.

Lisa Dusseault



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 j14D7GbQ043846; Fri, 4 Feb 2005 05:07:16 -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 j14D7Grd043840; Fri, 4 Feb 2005 05:07:16 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D7ARa043760 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:07:14 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 4 Feb 2005 13:05:14 +0000
Message-ID: <420372FC.6090008@isode.com>
Date: Fri, 04 Feb 2005 13:05:00 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>>>>>> <><><> <<What if the server can?t remember some expunged UIDs, for
>>>>>>
>...
>  
>
>>>I think a better choice would be:
>>>C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
>>>S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
>>>S: 1 OK FETCH Complete
>>>
>>>The NO response with a UIDEXPUNGE response code would then 
>>>communicate to the client to resort to SEARCH.
>>>      
>>>
>>And the client will perform "UID SEARCH 1:*"? 
>>    
>>
>
>Yes.
>  
>
>>But this would give the 
>>same result as the server returning all expunges. Actually, 
>>    
>>
>
>Same end result, sure, but the set of UIDs returned is the 
>compliment of the set returned from UIDEXPUNGE. In the limit
>this is gauranteed to be smaller. :)
>  
>
Unless we have an archive folder, where nothing gets deleted. But for an 
average INBOX, you are right.

>>it would be 
>>worse, because SEARCH can't use ranges.
>>    
>>
>The lack of a range expression in the SEARCH response is 
>unfortunate. Isn't there a need to fix this independent 
>of this discussion? 
>  
>
>>In many cases just sending all expunged messages would be faster than 
>>forcing a round trip on the client.
>>    
>>
>
>Don't force a round trip.
>
>C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
>S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
>S: * SEARCH etc ...
>S: 1 OK FETCH Complete
>
>Though, I'm not sure a round trip in this case would be bad.
>
>What worries me is the pathological case. It strikes me as 
>wrong to send a list of an unbounded set, when what the client 
>really wants is the compliment of that.
>  
>
I frankly don't like that the server sends two different responses that 
mean pretty much the same thing. This definitely makes client 
implementations more difficult.

>>I also suspect that the list of expunges messages will 
>>compress nicely using ranges.
>>    
>>
>
>Over time what will happen is there will be a large range at the 
>beginning and then some amount of fragmentation that completely 
>depends on the mailbox maintenance habits of the user.
>  
>
I agree.



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 j14D7FiR043829; Fri, 4 Feb 2005 05:07:15 -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 j14D7Et8043820; Fri, 4 Feb 2005 05:07:14 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D7ARY043760 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:07:11 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 4 Feb 2005 12:13:19 +0000
Message-ID: <42029F85.5020103@isode.com>
Date: Thu, 03 Feb 2005 22:02:45 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>>Sec 3.3
>>>  <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
>>>  modifier.
>>>
>>>Why even have the keyword REPORTEXPUNGES? Why not just overload
>>>CHANGEDSINCE to imply expunges? 
>>>      
>>>
>>Sending expunge information to the client who hasn't asked for it 
>>doesn't sound right, even though any client should be able to ignore 
>>such information.
>>
>>If we choose to replace CONDSTORE, there would be no REPORTEXPUNGES.
>>    
>>
>If it does not sound right in draft-melnikov-imap-expunged-00 why
>would it be okay in CONDSTORE?
>  
>
What I really meant was "if EXPUNGED were a part of CONDSTORE, we 
wouldn't have to have REPORTEXPUNGES".

Anyway, Dave Cridland has told me that sometimes a client might only 
want to know about expunged messages and not about flag changes. This 
suggests that we should keep REPORTEXPUNGES.

Alexey





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 j14D7Fll043830; Fri, 4 Feb 2005 05:07:15 -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 j14D7Enj043827; Fri, 4 Feb 2005 05:07:14 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D7ARZ043760 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:07:13 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Fri, 4 Feb 2005 12:23:29 +0000
Message-ID: <42036938.8050902@isode.com>
Date: Fri, 04 Feb 2005 12:23:20 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Compact SEARCH results
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>The lack of a range expression in the SEARCH response is 
>unfortunate. Isn't there a need to fix this independent 
>of this discussion? 
>  
>
Yes.



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 j14D3T1Q042337; Fri, 4 Feb 2005 05:03:29 -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 j14D3TdS042336; Fri, 4 Feb 2005 05:03:29 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j14D3MC7042228 for <ietf-imapext@imc.org>; Fri, 4 Feb 2005 05:03:22 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks003.ntc.nokia.com (esdks003.ntc.nokia.com [172.21.138.158]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j14CSCc20262; Fri, 4 Feb 2005 14:28:12 +0200 (EET)
X-Scanned: Fri, 4 Feb 2005 14:27:26 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks003.ntc.nokia.com (8.12.9/8.12.9) id j14CRQsw026246; Fri, 4 Feb 2005 14:27:26 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks003.ntc.nokia.com 00BV3i6G; Fri, 04 Feb 2005 14:24:51 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j14COlU17736; Fri, 4 Feb 2005 14:24:47 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Fri, 4 Feb 2005 06:23:27 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Fri, 4 Feb 2005 06:23:24 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6028@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKs7h2rKcqsQSPQCSR/N8dcvbw3AAAFJXA
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 04 Feb 2005 12:23:27.0225 (UTC) FILETIME=[54285E90:01C50AB4]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j14D3NC7042291
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>

> -----Original Message-----
> From: ext Alexey Melnikov [mailto:Alexey.Melnikov@isode.com]
> Sent: Thursday, February 03, 2005 5:03 PM
...
> Anyway, Dave Cridland has told me that sometimes a client might only 
> want to know about expunged messages and not about flag changes. This 
> suggests that we should keep REPORTEXPUNGES.

Okay. More flexible does not hurt.

Mike



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 j13MZarH059521; Thu, 3 Feb 2005 14:35:36 -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 j13MZaG2059520; Thu, 3 Feb 2005 14:35:36 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13MZYIO059512 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 14:35:35 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13MZWJ21359; Fri, 4 Feb 2005 00:35:33 +0200 (EET)
X-Scanned: Fri, 4 Feb 2005 00:34:25 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j13MYPFe012323; Fri, 4 Feb 2005 00:34:25 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks004.ntc.nokia.com 00T9ORz7; Fri, 04 Feb 2005 00:34:23 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13MYMx08650; Fri, 4 Feb 2005 00:34:22 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 16:32:56 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 16:32:55 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6023@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKQE3v4nHaKC+CTD2gF4eMujbOgw==
From: <Michael.Wener@nokia.com>
To: <tss@iki.fi>
Cc: <Alexey.Melnikov@isode.com>, <ietf-imapext@imc.org>
X-OriginalArrivalTime: 03 Feb 2005 22:32:56.0859 (UTC) FILETIME=[4EF1EEB0:01C50A40]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13MZaIO059514
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext Timo Sirainen
> Sent: Thursday, February 03, 2005 3:22 PM
...
> > I think a better choice would be:
> > C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> > S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> > S: 1 OK FETCH Complete
> > 
> > The NO response with a UIDEXPUNGE response code would then 
> > communicate to the client to resort to SEARCH.
> 
> Bad idea. This is a rare exceptional case which would rarely 
> get tested
> for clients, if the client writer had even bothered to write code for
> handling it.

I don't believe your reasoning is valid.

1) At this point in time I would not assume it was rare. We don't 
know the likelihood of this event. It depends on how the server
implements "EXPUNGE Memory" and the clients usage patterns.

2) To not do something because it is rare would be to write 
incomplete and broken specifications. There are always rare
events in all software, including protocol software.

3) The problem you bring up is a software engineering problem
not a protocol problem. If an implementer is concerned about 
clients not handling rare events they should create a test 
vehicle that artificially increases the likelihood of rare
events.

4) Obviously clients have handled NO responses. They also
have obviously used SEARCH responses. The only thing new 
is the response code. Are there no other rare response codes?

Mike




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 j13LwGfv056430; Thu, 3 Feb 2005 13:58:16 -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 j13LwGSA056429; Thu, 3 Feb 2005 13:58:16 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13LwFLA056420 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 13:58:15 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13LwEc04288; Thu, 3 Feb 2005 23:58:14 +0200 (EET)
X-Scanned: Fri, 4 Feb 2005 00:08:00 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j13M80rw032178; Fri, 4 Feb 2005 00:08:00 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks001.ntc.nokia.com 00fVeLIX; Fri, 04 Feb 2005 00:07:58 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13LhSU10596; Thu, 3 Feb 2005 23:43:28 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 15:33:37 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 15:33:36 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CF1@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKJol3FpcB/+X6Q76zCjTl2GTA9gACX9tg
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 03 Feb 2005 21:33:37.0870 (UTC) FILETIME=[059F4EE0:01C50A38]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13LwGLA056423
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>

> -----Original Message-----
> From: ext Alexey Melnikov [mailto:Alexey.Melnikov@isode.com]
> Sent: Thursday, February 03, 2005 2:27 PM
...
> >>>>> <><> <<What if the server can?t remember some expunged 
> UIDs, for 
...
> >I think a better choice would be:
> >C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> >S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> >S: 1 OK FETCH Complete
> >
> >The NO response with a UIDEXPUNGE response code would then 
> >communicate to the client to resort to SEARCH.
> >
> And the client will perform "UID SEARCH 1:*"? 

Yes.

> But this would give the 
> same result as the server returning all expunges. Actually, 

Same end result, sure, but the set of UIDs returned is the 
compliment of the set returned from UIDEXPUNGE. In the limit
this is gauranteed to be smaller. :)

> it would be 
> worse, because SEARCH can't use ranges.

The lack of a range expression in the SEARCH response is 
unfortunate. Isn't there a need to fix this independent 
of this discussion? 

> 
> In many cases just sending all expunged messages would be faster than 
> forcing a round trip on the client.

Don't force a round trip.

C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
S: * SEARCH etc ...
S: 1 OK FETCH Complete

Though, I'm not sure a round trip in this case would be bad.

What worries me is the pathological case. It strikes me as 
wrong to send a list of an unbounded set, when what the client 
really wants is the compliment of that.

> I also suspect that the list of expunges messages will 
> compress nicely 
> using ranges.

Over time what will happen is there will be a large range at the 
beginning and then some amount of fragmentation that completely 
depends on the mailbox maintenance habits of the user.

Mike 




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 j13KuTJn050106; Thu, 3 Feb 2005 12:56:29 -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 j13KuTkr050105; Thu, 3 Feb 2005 12:56:29 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13KuSuZ050098 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 12:56:28 -0800 (PST) (envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07918; Thu, 3 Feb 2005 15:56:25 -0500 (EST)
Message-Id: <200502032056.PAA07918@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-annotate-12.txt
Date: Thu, 03 Feb 2005 15:56:25 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Internet Message Access Protocol Extension Working Group of the IETF.

	Title		: IMAP ANNOTATE Extension
	Author(s)	: R. Gellens, C. Daboo
	Filename	: draft-ietf-imapext-annotate-12.txt
	Pages		: 40
	Date		: 2005-2-3
	
The ANNOTATE extension to the Internet Message Access Protocol
   permits clients and servers to maintain "metadata" for messages
   stored in an IMAP mailbox.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-annotate-12.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-imapext-annotate-12.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-imapext-annotate-12.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2005-2-3154659.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-annotate-12.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-imapext-annotate-12.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2005-2-3154659.I-D@ietf.org>

--OtherAccess--

--NextPart--




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 j13KM3TX047433; Thu, 3 Feb 2005 12:22:03 -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 j13KM3ue047432; Thu, 3 Feb 2005 12:22:03 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from danu.procontrol.fi (kone17.procontrol.vip.fi [212.149.71.178]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13KM2Nj047408 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 12:22:02 -0800 (PST) (envelope-from tss@iki.fi)
Received: by danu.procontrol.fi (Postfix, from userid 106) id 08F591C350E3; Thu,  3 Feb 2005 22:21:48 +0200 (EET)
Received: from hurina (ip213-185-36-189.laajakaista.mtv3.fi [213.185.36.189]) by danu.procontrol.fi (Postfix) with ESMTP id 80F121C13485; Thu,  3 Feb 2005 22:21:43 +0200 (EET)
Subject: RE: Comments on draft-melnikov-imap-expunged-00
From: Timo Sirainen <tss@iki.fi>
To: Michael.Wener@nokia.com
Cc: Alexey.Melnikov@isode.com, ietf-imapext@imc.org
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
References:  <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WkoxeaaPtvSa8jKekaBn"
Date: Thu, 03 Feb 2005 22:21:42 +0200
Message-Id: <1107462102.12365.287.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3 
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on danu.procontrol.fi
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham  version=3.0.0
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>

--=-WkoxeaaPtvSa8jKekaBn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2005-02-03 at 12:58 -0600, Michael.Wener@nokia.com wrote:
> I think a better choice would be:
> C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
> S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
> S: 1 OK FETCH Complete
>=20
> The NO response with a UIDEXPUNGE response code would then=20
> communicate to the client to resort to SEARCH.

Bad idea. This is a rare exceptional case which would rarely get tested
for clients, if the client writer had even bothered to write code for
handling it.


--=-WkoxeaaPtvSa8jKekaBn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCAofWyUhSUUBViskRAmFKAJ9Og/NYMa/+TExFxV+bmpTfTfE7ZQCgkvda
SMCFeeaQGOOEGio46IO+juo=
=16iR
-----END PGP SIGNATURE-----

--=-WkoxeaaPtvSa8jKekaBn--



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 j13JR575042223; Thu, 3 Feb 2005 11:27:05 -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 j13JR5m0042222; Thu, 3 Feb 2005 11:27:05 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13JR4KF042215 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 11:27:05 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.163] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Thu, 3 Feb 2005 19:27:02 +0000
Message-ID: <42027B05.1060402@isode.com>
Date: Thu, 03 Feb 2005 19:27:01 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>>>> <><> <<What if the server can?t remember some expunged UIDs, for 
>>>>> example
>>>>
>>>>> <> the provided mod-sequence is too old? Can the server just return
>>>>> all UIDs not in the UID set? This can generate additional traffic,
>>>>
>>>>> but should be Ok otherwise.>>
>>>>>          
>>>>>
>...
>  
>
>>>I see two options ...
>>>1) An unsolicited * SEARCH 
>>>2) A response code that tells the client to use UID SEARCH 1:*
>>>
>>>In either case the client knows.
>>>      
>>>
>>My comment is trying to say that the server MUST always 
>>return expunged 
>>messages, if it doesn't remember which messages got expunged 
>>since the 
>>specified modification sequence, it should return ALL 
>>messages expunged 
>>(but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).
>>    
>>
>
>The most common use case will be 1:*. In this case you will send 
>back a response with every UID expunged since the UIDVALIDITY value was 
>created (I understand you have range syntax). This makes no sense to
>me.
>
>I think a better choice would be:
>C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
>S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
>S: 1 OK FETCH Complete
>
>The NO response with a UIDEXPUNGE response code would then 
>communicate to the client to resort to SEARCH.
>
And the client will perform "UID SEARCH 1:*"? But this would give the 
same result as the server returning all expunges. Actually, it would be 
worse, because SEARCH can't use ranges.

In many cases just sending all expunged messages would be faster than 
forcing a round trip on the client.
I also suspect that the list of expunges messages will compress nicely 
using ranges.



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 j13JJVAa041795; Thu, 3 Feb 2005 11:19: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 j13JJVZB041794; Thu, 3 Feb 2005 11:19:31 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13JJUjk041788 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 11:19:31 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.163] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Thu, 3 Feb 2005 19:19:28 +0000
Message-ID: <4202793E.60206@isode.com>
Date: Thu, 03 Feb 2005 19:19:26 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>, "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
CC: ietf-imapext@imc.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>	<42023FAD.106@isode.com> <20050203154248.707.17684.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050203154248.707.17684.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

>> I see no point for the client to violate the MUST, that is why I've 
>> used upper case MUST. (please, prove me wrong with an example).
>> The client can do many other stupid things and I don't want to 
>> encourage them.
>
>
> Well... I can't think of an example. But I can't think of a case where 
> it would hurt, either.
>
> I think I'd write SHOULD NOT here, because even if a client does, it's 
> certainly not harming interoperability by doing so, it's just being 
> dumb. Clients SHOULD NOT be badly written, certainly, but to state 
> that IMAP clients MUST NOT be badly written would mean that many 
> existing clients would be technically broken... 

and
Michael.Wener@nokia.com wrote:

>>I see no point for the client to violate the MUST, that is 
>>why I've used upper case MUST. (please, prove me wrong with an example).
>>    
>>
>
>Prove what? This is not a case for proof. The client does not 
>have to perform the operation you just mentioned and it can 
>still be a compliant client. It would be less efficient, hence
>it should.
>  
>
Fine, I will change MUST NOT to SHOULD NOT.

The whole section is informative. Except for "MUST clear cache if 
UIDVALIDITY changes" everything else is not required for compliance. So 
maybe I shouldn't use uppercase words in this section.

Alexey



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 j13J6xw1041104; Thu, 3 Feb 2005 11:06:59 -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 j13J6xKg041103; Thu, 3 Feb 2005 11:06:59 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13J6vgR041096 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 11:06:58 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13J6tJ08985; Thu, 3 Feb 2005 21:06:55 +0200 (EET)
X-Scanned: Thu, 3 Feb 2005 21:06:01 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j13J612s014328; Thu, 3 Feb 2005 21:06:01 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks002.ntc.nokia.com 00NBznzh; Thu, 03 Feb 2005 21:05:17 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13J3MU06300; Thu, 3 Feb 2005 21:03:22 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 12:58:08 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 12:58:06 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CEE@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUKBPgH6l/jfEkgQSKAtryouxWqcQAGH7RQ
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 03 Feb 2005 18:58:08.0194 (UTC) FILETIME=[4CB3BA20:01C50A22]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13J6wgR041097
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>

> -----Original Message-----
> From: ext Alexey Melnikov [mailto:Alexey.Melnikov@isode.com]
> Sent: Thursday, February 03, 2005 10:14 AM
...
> >>> <> <<What if the server can?t remember some expunged 
> UIDs, for example
> >>
> >>>  the provided mod-sequence is too old? Can the server just return
> >>>  all UIDs not in the UID set? This can generate 
> additional traffic,
> >>>  but should be Ok otherwise.>>
...
> >I see two options ...
> >1) An unsolicited * SEARCH 
> >2) A response code that tells the client to use UID SEARCH 1:*
> >
> >In either case the client knows.
> >
> My comment is trying to say that the server MUST always 
> return expunged 
> messages, if it doesn't remember which messages got expunged 
> since the 
> specified modification sequence, it should return ALL 
> messages expunged 
> (but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).

The most common use case will be 1:*. In this case you will send 
back a response with every UID expunged since the UIDVALIDITY value was 
created (I understand you have range syntax). This makes no sense to
me.

I think a better choice would be:
C: 1 UID FETCH 1:* (CHANGEDSINCE MMMMM REPORTEXPUNGES)
S: * NO [UIDEXPUNGE] Server has lost track of expunged MODSEQ values
S: 1 OK FETCH Complete

The NO response with a UIDEXPUNGE response code would then 
communicate to the client to resort to SEARCH.

> 
> >>> <> " ... HIGHESTMODSEQ with the one returned by the 
> server. If the 
> >>> cached
> >>
> >>>  HIGHESTMODSEQ value also matches the one returned by the server,
> >>>  then the client MUST NOT fetch flags for cached messages, as they
> >>>  hasn't changed. "
> >>>
> >>>Shouldn't this be "SHOULD NOT".
> >>>      
> >>>
> >>This is an informative section, so I should probably 
> >>lowercase the term.    
> >>
> >
> >Informative or not the client does not have to perform this 
> >behavior hence it seems it should be "should".
> >  
> >
> I see no point for the client to violate the MUST, that is 
> why I've used 
> upper case MUST. (please, prove me wrong with an example).

Prove what? This is not a case for proof. The client does not 
have to perform the operation you just mentioned and it can 
still be a compliant client. It would be less efficient, hence
it should.

> The client can do many other stupid things and I don't want 
> to encourage 
> them.

Except for anarchists and teenagers, I know of no one that 
would claim that the statement, "You should not do X", encourages 
them to do X.

Mike




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 j13Fgvlw014047; Thu, 3 Feb 2005 07:42:57 -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 j13Fgv71014046; Thu, 3 Feb 2005 07:42:57 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13FguGx014039 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 07:42:56 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 884D4154009; Thu,  3 Feb 2005 15:42:48 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, "Michael.Wener@nokia.com" <Michael.Wener@nokia.com>
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com> <42023FAD.106@isode.com>
In-Reply-To: <42023FAD.106@isode.com>
Message-ID: <20050203154248.707.17684.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Thu, 03 Feb 2005 15:42:48 +0000
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>

On Thu Feb  3 15:13:49 2005, Alexey Melnikov wrote:
> 
> [Let's have this discussion on IMAPEXT only].
> 

Reply-list curtailed...

> Michael.Wener@nokia.com wrote:
> 
>>>> <> <<What if the server can?t remember some expunged UIDs, for example
>>> 
>>>>  the provided mod-sequence is too old? Can the server just return
>>>>  all UIDs not in the UID set? This can generate additional traffic,
>>>>  but should be Ok otherwise.>>
>>>>      
>> ...
>>  
>>> Client doesn't know and need not know. I think this is a server only issue.    
>> 
>> I guess I need to see what you mean by "Can the server just return
>> all UIDs not in the UID set?"
>> 
>> The client has to know that something is amiss on the server. It is not getting an expunge. A fetch response is only supposed to be returned subject to the CHANGEDSINCE modifier.
>> 
>> I see two options ...
>> 1) An unsolicited * SEARCH 2) A response code that tells the client to use UID SEARCH 1:*
>> 
>> In either case the client knows.
>> 
> My comment is trying to say that the server MUST always return expunged messages, if it doesn't remember which messages got expunged since the specified modification sequence, it should return ALL messages expunged (but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).
> 
> So, the client doesn't really need to know whether the server remembers or not. The client should be able to handle duplicate expunge notifications anyway.
> 

The client can always tell if the server doesn't remember. It's a simple case of using UIDNEXT and EXISTS responses during the SELECT, and rechecking after expunges have been requested off the server.

I'd rather have the client fallback to older methods itself if it detirmines that it still doesn't have the list of all EXPUNGEs, and the client, in general, has more information than the server on this matter.

> 
>>>> <> " ... HIGHESTMODSEQ with the one returned by the server. If the cached
>>> 
>>>>  HIGHESTMODSEQ value also matches the one returned by the server,
>>>>  then the client MUST NOT fetch flags for cached messages, as they
>>>>  hasn't changed. "
>>>> 
>>>> Shouldn't this be "SHOULD NOT".
>>>>      
>>> This is an informative section, so I should probably lowercase the term.    
>> 
>> Informative or not the client does not have to perform this behavior hence it seems it should be "should".
>>  
> I see no point for the client to violate the MUST, that is why I've used upper case MUST. (please, prove me wrong with an example).
> The client can do many other stupid things and I don't want to encourage them.
> 

Well... I can't think of an example. But I can't think of a case where it would hurt, either.

I think I'd write SHOULD NOT here, because even if a client does, it's certainly not harming interoperability by doing so, it's just being dumb. Clients SHOULD NOT be badly written, certainly, but to state that IMAP clients MUST NOT be badly written would mean that many existing clients would be technically broken...

Dave.



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 j13FEApR012357; Thu, 3 Feb 2005 07:14:10 -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 j13FEAhL012356; Thu, 3 Feb 2005 07:14:10 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13FE8tZ012349 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 07:14:09 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Thu, 3 Feb 2005 15:13:55 +0000
Message-ID: <42023FAD.106@isode.com>
Date: Thu, 03 Feb 2005 15:13:49 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

[Let's have this discussion on IMAPEXT only].

Answering the second part of your message.

Michael.Wener@nokia.com wrote:

>>> <> <<What if the server can?t remember some expunged UIDs, for example
>>
>>>  the provided mod-sequence is too old? Can the server just return
>>>  all UIDs not in the UID set? This can generate additional traffic,
>>>  but should be Ok otherwise.>>
>>>      
>>>
>...
>  
>
>>Client doesn't know and need not know. I think this is a 
>>server only issue.    
>>
>
>I guess I need to see what you mean by "Can the server just return
>all UIDs not in the UID set?"
>
>The client has to know that something is amiss on the server. It is 
>not getting an expunge. A fetch response is only supposed to be 
>returned subject to the CHANGEDSINCE modifier.
>
>I see two options ...
>1) An unsolicited * SEARCH 
>2) A response code that tells the client to use UID SEARCH 1:*
>
>In either case the client knows.
>
My comment is trying to say that the server MUST always return expunged 
messages, if it doesn't remember which messages got expunged since the 
specified modification sequence, it should return ALL messages expunged 
(but only for UID set the specified in the UID FETCH (REPORTEXPUNGES).

So, the client doesn't really need to know whether the server remembers 
or not. The client should be able to handle duplicate expunge 
notifications anyway.

>>> <> " ... HIGHESTMODSEQ with the one returned by the server. If the 
>>> cached
>>
>>>  HIGHESTMODSEQ value also matches the one returned by the server,
>>>  then the client MUST NOT fetch flags for cached messages, as they
>>>  hasn't changed. "
>>>
>>>Shouldn't this be "SHOULD NOT".
>>>      
>>>
>>This is an informative section, so I should probably 
>>lowercase the term.    
>>
>
>Informative or not the client does not have to perform this 
>behavior hence it seems it should be "should".
>  
>
I see no point for the client to violate the MUST, that is why I've used 
upper case MUST. (please, prove me wrong with an example).
The client can do many other stupid things and I don't want to encourage 
them.



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 j13DCJEO096056; Thu, 3 Feb 2005 05:12:19 -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 j13DCJml096055; Thu, 3 Feb 2005 05:12:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j13DCHUf096037 for <ietf-imapext@imc.org>; Thu, 3 Feb 2005 05:12:18 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13DC9O17688; Thu, 3 Feb 2005 15:12:10 +0200 (EET)
X-Scanned: Thu, 3 Feb 2005 15:10:42 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j13DAgnG029691; Thu, 3 Feb 2005 15:10:42 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00DQ2h54; Thu, 03 Feb 2005 15:08:26 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j13D8Qx28683; Thu, 3 Feb 2005 15:08:26 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 3 Feb 2005 06:59:46 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: Comments on draft-melnikov-imap-expunged-00
Date: Thu, 3 Feb 2005 06:59:44 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE8@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUJd8KqTmiqUOiuT+aSNU4O+IrDJgAdW4Ig
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 03 Feb 2005 12:59:46.0222 (UTC) FILETIME=[3C872CE0:01C509F0]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j13DCJUf096047
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext 
> Alexey Melnikov
> Sent: Wednesday, February 02, 2005 5:18 PM
...
> >Sec 3.3
> >   <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
> >   modifier.
> >
> >Why even have the keyword REPORTEXPUNGES? Why not just overload
> >CHANGEDSINCE to imply expunges? 
> >  
> >
> Sending expunge information to the client who hasn't asked for it 
> doesn't sound right, even though any client should be able to ignore 
> such information.
> 
> If we choose to replace CONDSTORE, there would be no REPORTEXPUNGES.

If it does not sound right in draft-melnikov-imap-expunged-00 why
would it be okay in CONDSTORE?

> 
> >   <<What if the server can?t remember some expunged UIDs, 
> for example
> >   the provided mod-sequence is too old? Can the server just return
> >   all UIDs not in the UID set? This can generate additional traffic,
> >   but should be Ok otherwise.>>
> >
...
> Client doesn't know and need not know. I think this is a 
> server only issue.

I guess I need to see what you mean by "Can the server just return
all UIDs not in the UID set?"

The client has to know that something is amiss on the server. It is 
not getting an expunge. A fetch response is only supposed to be 
returned subject to the CHANGEDSINCE modifier.

I see two options ...
1) An unsolicited * SEARCH 
2) A response code that tells the client to use UID SEARCH 1:*

In either case the client knows.

> >
> >   " ... HIGHESTMODSEQ with the one returned by the server. 
> If the cached
> >   HIGHESTMODSEQ value also matches the one returned by the server,
> >   then the client MUST NOT fetch flags for cached messages, as they
> >   hasn't changed. "
> >
> >Shouldn't this be "SHOULD NOT".
> >
> This is an informative section, so I should probably 
> lowercase the term.

Informative or not the client does not have to perform this 
behavior hence it seems it should be "should".

Mike



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 j12MI83j011532; Wed, 2 Feb 2005 14:18:08 -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 j12MI8Pa011531; Wed, 2 Feb 2005 14:18:08 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12MI25W011521 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 14:18:07 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.181] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 2 Feb 2005 22:18:00 +0000
Message-ID: <42015197.9000901@isode.com>
Date: Wed, 02 Feb 2005 22:17:59 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: Comments on draft-melnikov-imap-expunged-00
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE5@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE5@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>Sec 3.3
>   <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
>   modifier.
>
>Why even have the keyword REPORTEXPUNGES? Why not just overload
>CHANGEDSINCE to imply expunges? 
>  
>
Sending expunge information to the client who hasn't asked for it 
doesn't sound right, even though any client should be able to ignore 
such information.

If we choose to replace CONDSTORE, there would be no REPORTEXPUNGES.

>   <<What if the server can?t remember some expunged UIDs, for example
>   the provided mod-sequence is too old? Can the server just return
>   all UIDs not in the UID set? This can generate additional traffic,
>   but should be Ok otherwise.>>
>
>How does the client know when there are forgotten expunges? In this case
>the client must use the conventional approach to determining expunged 
>mail, which is okay, it just needs to know when to do it.
>  
>
Client doesn't know and need not know. I think this is a server only issue.

>Sec 3.5
>
>   <<Add CHANGEDSINCE SELECT/EXAMINE parameter?>>
>
>I assume this is an orthogonal item that was just missed in the original
>CONDSTORE?
>
Yes, you are right.

> What is it? It is kind of weird to include this in an Expunge 
>doc. Maybe this doc should be CONDSTOREPLUS. ;-)
>
>Sec 4
>
>   " ... HIGHESTMODSEQ with the one returned by the server. If the cached
>   HIGHESTMODSEQ value also matches the one returned by the server,
>   then the client MUST NOT fetch flags for cached messages, as they
>   hasn't changed. "
>
>Shouldn't this be "SHOULD NOT".
>
This is an informative section, so I should probably lowercase the term.

>Also, "hasn't" should be "haven't"
>  
>
Thank you for the comments!

Alexey



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 j12KSKqU003143; Wed, 2 Feb 2005 12:28:20 -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 j12KSKwG003142; Wed, 2 Feb 2005 12:28:20 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12KSJoU003136 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 12:28:19 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.181] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 2 Feb 2005 20:28:11 +0000
Message-ID: <420137DA.4060605@isode.com>
Date: Wed, 02 Feb 2005 20:28:10 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: tss@iki.fi, ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: expunged draft
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE3@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE3@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>-----Original Message-----
>>From: owner-ietf-imapext@mail.imc.org 
>>[mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext Timo Sirainen
>>Sent: Monday, January 31, 2005 3:52 PM
>>    
>>
>...
>  
>
>>It shows that HIGHESTMODSEQ update is sent after EXPUNGE command. What
>>about when other session did the EXPUNGE and we're seeing untagged
>>EXPUNGEs? Maybe always send it after untagged expunges (and don't
>>mention EXPUNGE command at all)?
>>    
>>
>...
>  
>
>>Maybe rename the EXPUNGED to UIDEXPUNGE or similar to make it 
>>more clear
>>that it's sending UIDs and not sequences?
>>    
>>
>
>What about something like ...
>
>* EXPUNGE (UID N MODSEQ (MMMM))
>  
>
Dave Cridland has suggested something similar during a private conversation.

>This would disambiguate nicely ...
>1) Covers unsolicited as well as untagged solicited EXPUNGE responses.
>2) The parenthetical element is just a subset of a FETCH response, meaning I
>see some nice code reuse potential.
>  
>
I am not sure the parsing code is going to be as big so it can benefit 
from code reuse.

I will change the draft to have something like:

* UIDEXPUNGE 1:5,7,505 (MODSEQ MMMM)

I.e., it will contain UID set and modification sequence at the end.



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 j12KNdW8002781; Wed, 2 Feb 2005 12:23:39 -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 j12KNdbD002780; Wed, 2 Feb 2005 12:23:39 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12KNcLJ002750 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 12:23:38 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.181] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Wed, 2 Feb 2005 20:23:15 +0000
Message-ID: <420136B2.5060701@isode.com>
Date: Wed, 02 Feb 2005 20:23:14 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael.Wener@nokia.com
CC: tss@iki.fi, ietf-imapext@imc.org, lemonade@ietf.org
Subject: Re: expunged draft
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE4@daebe005.americas.nokia.com>
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE4@daebe005.americas.nokia.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Michael.Wener@nokia.com wrote:

>>> <>Servers supporting UNSELECT should most likely also send HIGHESTMODSEQ
>>
>>>just as with CLOSE, but this isn't mentioned.
>>>      
>>>
>>UNSELECT doesn't cause any message to be expunged.
>>    
>>
>>>And what about with
>>>SELECT?
>>>      
>>>
>>Same as above.
>>    
>>
>
>SELECT will generate a HIGHESTMODSEQ as per CONDSTORE
>even if the SELECT is from the selected state. No?
>  
>
Yes, it will.
SELECT from a selected state doesn't cause expunge, so nothing should be 
sent for the mailbox that is being closed.

>A CLOSE is generating a HIGHESTMODSEQ response code relative
>to the *closed* mailbox, whereas the SELECT is generating a 
>HIGHESTMODSEQ response code relative to the opened mailbox.
>This is an important, albeit subtle, distinction. Correct?
>  
>
Yes.



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 j12K86S9001404; Wed, 2 Feb 2005 12:08:06 -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 j12K86sB001403; Wed, 2 Feb 2005 12:08:06 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12K84TK001396 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 12:08:05 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks004.ntc.nokia.com (esdks004.ntc.nokia.com [172.21.138.159]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12K82O13994; Wed, 2 Feb 2005 22:08:02 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 22:07:44 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks004.ntc.nokia.com (8.12.9/8.12.9) id j12K7iLj007145; Wed, 2 Feb 2005 22:07:44 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks004.ntc.nokia.com 00ZRLGT9; Wed, 02 Feb 2005 22:06:34 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12K68U19710; Wed, 2 Feb 2005 22:06:08 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 14:03:36 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: ANNOTATEMORE
Date: Wed, 2 Feb 2005 14:01:30 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE6@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ANNOTATEMORE
thread-index: AcUJYB6U8iWDAm0nT4e7tlxZqjnNggAAMh9g
From: <Michael.Wener@nokia.com>
To: <lisa@osafoundation.org>
Cc: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 02 Feb 2005 20:03:36.0154 (UTC) FILETIME=[47891BA0:01C50962]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12K85TK001397
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>

> -----Original Message-----
> From: ext Lisa Dusseault [mailto:lisa@osafoundation.org]
> Sent: Wednesday, February 02, 2005 2:45 PM
...
>   2.  The ANNOTATE draft currently has at least one open issue, 
> described in the notes from the interim meeting as needing "Text to 
> describe behavior of unsolicited responses -- that you only get the 
> annotation names and not the values back (unless the client goes to 
> actually get the values)"
>    --> can you give us your opinion, does this resolve the 
> open issues 
> currently in ANNOTATE?

If I'm not mistaken this was instigated by my comments on 
ANNOTATEMORE. I'll review the next draft version.

>   3.  Let the WG know that you've reviewed ANNOTATEMORE and 
> what issues 
> were found

I did see ...

http://www.imc.org/ietf-imapext/mail-archive/msg02264.html

... And of course the exchange with Cyrus.

Thanks,
Mike



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 j12JoM1l099895; Wed, 2 Feb 2005 11:50:22 -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 j12JoM1h099894; Wed, 2 Feb 2005 11:50:22 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12JoGZN099881 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:50:21 -0800 (PST) (envelope-from daboo@isamet.com)
Received: from plato.cyrusoft.com (plato.cyrusoft.com [63.163.82.23]) (authenticated bits=0) by darius.cyrusoft.com (8.12.9/8.12.9) with ESMTP id j12Jh76E030265 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Feb 2005 14:43:07 -0500
Date: Wed, 02 Feb 2005 14:51:31 -0500
From: Cyrus Daboo <daboo@isamet.com>
To: Lisa Dusseault <lisa@osafoundation.org>, Michael.Wener@nokia.com
cc: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE
Message-ID: <A640D13BCF7B26DB80DA5725@plato.cyrusoft.com>
In-Reply-To: <1d05ac0646919ad5b486bb1cc1f9414a@osafoundation.org>
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia .com> <1d05ac0646919ad5b486bb1cc1f9414a@osafoundation.org>
X-Mailer: Mulberry/4.0.0a4 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, hits=0.0 tests=none
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>

Hi Lisa,

--On Wednesday, February 02, 2005 11:44 -0800 Lisa Dusseault 
<lisa@osafoundation.org> wrote:

> Randy and Cyrus owe us a new draft of ANNOTATE (which is the one you
> should review) -- it was promised Monday.  Randy, Cyrus, you're now
> behind!

Its in my queue and being worked on...

-- 
Cyrus Daboo



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 j12Jk1HG099442; Wed, 2 Feb 2005 11:46:01 -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 j12Jk1PI099441; Wed, 2 Feb 2005 11:46:01 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kahuna.osafoundation.org (kahuna.osafoundation.org [204.152.186.98]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12Jjxor099435 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:46:00 -0800 (PST) (envelope-from lisa@osafoundation.org)
X-Envelope-From: lisa@osafoundation.org
X-Envelope-To: ietf-imapext@imc.org
Received: from [192.168.1.100] ([198.144.201.116]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j12Jjpaa029379 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Wed, 2 Feb 2005 11:45:53 -0800
In-Reply-To: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia.com>
References: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia.com>
Mime-Version: 1.0 (Apple Message framework v619.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <1d05ac0646919ad5b486bb1cc1f9414a@osafoundation.org>
Content-Transfer-Encoding: 7bit
Cc: <ietf-imapext@imc.org>
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Re: ANNOTATEMORE
Date: Wed, 2 Feb 2005 11:44:52 -0800
To: <Michael.Wener@nokia.com>
X-Mailer: Apple Mail (2.619.2)
X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1
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>

Hi Michael,

There are a couple places where your help would be very welcome in 
moving this draft forward.
  1.  This draft relies on the ANNOTATE draft. Can you review that in 
last call and notify the group that you've done a review (and what 
issues found)
  2.  The ANNOTATE draft currently has at least one open issue, 
described in the notes from the interim meeting as needing "Text to 
describe behavior of unsolicited responses -- that you only get the 
annotation names and not the values back (unless the client goes to 
actually get the values)"
   --> can you give us your opinion, does this resolve the open issues 
currently in ANNOTATE?
  3.  Let the WG know that you've reviewed ANNOTATEMORE and what issues 
were found

Randy and Cyrus owe us a new draft of ANNOTATE (which is the one you 
should review) -- it was promised Monday.  Randy, Cyrus, you're now 
behind!

Lisa

On Feb 2, 2005, at 10:44 AM, <Michael.Wener@nokia.com> wrote:

>
> I would like to see this draft move forward.
>
> Mike
>



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 j12JKo57097328; Wed, 2 Feb 2005 11:20:50 -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 j12JKoep097327; Wed, 2 Feb 2005 11:20:50 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12JKncF097319 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:20:49 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x2.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JKjc14912; Wed, 2 Feb 2005 21:20:45 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 21:20:08 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j12JK7Yx005050; Wed, 2 Feb 2005 21:20:08 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00kBQtH8; Wed, 02 Feb 2005 21:17:52 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JHpx21433; Wed, 2 Feb 2005 21:17:52 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 13:13:20 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: Comments on draft-melnikov-imap-expunged-00
Date: Wed, 2 Feb 2005 13:13:19 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE5@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Comments on draft-melnikov-imap-expunged-00
thread-index: AcUJW0Ba6FAvyUzRRbSGHiPlD3HVNQ==
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 02 Feb 2005 19:13:20.0176 (UTC) FILETIME=[41DF6300:01C5095B]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12JKocF097321
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>

Sec 3.3
   <<alternative #1: extend syntax for the CHANGEDSINCE FETCH
   modifier.

Why even have the keyword REPORTEXPUNGES? Why not just overload
CHANGEDSINCE to imply expunges? 

   <<What if the server can?t remember some expunged UIDs, for example
   the provided mod-sequence is too old? Can the server just return
   all UIDs not in the UID set? This can generate additional traffic,
   but should be Ok otherwise.>>

How does the client know when there are forgotten expunges? In this case
the client must use the conventional approach to determining expunged 
mail, which is okay, it just needs to know when to do it.

Sec 3.5

   <<Add CHANGEDSINCE SELECT/EXAMINE parameter?>>

I assume this is an orthogonal item that was just missed in the original
CONDSTORE? What is it? It is kind of weird to include this in an Expunge 
doc. Maybe this doc should be CONDSTOREPLUS. ;-)

Sec 4

   " ... HIGHESTMODSEQ with the one returned by the server. If the cached
   HIGHESTMODSEQ value also matches the one returned by the server,
   then the client MUST NOT fetch flags for cached messages, as they
   hasn't changed. "

Shouldn't this be "SHOULD NOT". Also, "hasn't" should be "haven't"

Mike



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 j12JChl8096780; Wed, 2 Feb 2005 11:12:43 -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 j12JChMB096779; Wed, 2 Feb 2005 11:12:43 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12JCgfL096771 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 11:12:42 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks001.ntc.nokia.com (esdks001.ntc.nokia.com [172.21.138.120]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JCaJ28455; Wed, 2 Feb 2005 21:12:36 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 21:21:29 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks001.ntc.nokia.com (8.12.9/8.12.9) id j12JLTEu019154; Wed, 2 Feb 2005 21:21:29 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks001.ntc.nokia.com 00xvNmyY; Wed, 02 Feb 2005 21:21:27 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12JARU14575; Wed, 2 Feb 2005 21:10:27 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 13:02:02 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-7"
Subject: RE: expunged draft
Date: Wed, 2 Feb 2005 13:00:56 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE4@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: expunged draft
thread-index: AcUIUrFYrp+nreJOQsagF029KTPnRgBBfZ1Q
From: <Michael.Wener@nokia.com>
To: <Alexey.Melnikov@isode.com>, <tss@iki.fi>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 02 Feb 2005 19:02:02.0811 (UTC) FILETIME=[AE21B0B0:01C50959]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12JChfL096774
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>

> >Servers supporting UNSELECT should most likely also send 
> HIGHESTMODSEQ
> >just as with CLOSE, but this isn't mentioned.
> >
> UNSELECT doesn't cause any message to be expunged.
> 
> > And what about with
> >SELECT?
> >
> Same as above.

SELECT will generate a HIGHESTMODSEQ as per CONDSTORE
even if the SELECT is from the selected state. No?

A CLOSE is generating a HIGHESTMODSEQ response code relative
to the *closed* mailbox, whereas the SELECT is generating a 
HIGHESTMODSEQ response code relative to the opened mailbox.
This is an important, albeit subtle, distinction. Correct?

Mike



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 j12Ioab8094834; Wed, 2 Feb 2005 10:50:36 -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 j12IoaNm094832; Wed, 2 Feb 2005 10:50:36 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12IoY8o094811 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 10:50:35 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12IoBO26849; Wed, 2 Feb 2005 20:50:17 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 20:48:41 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j12Imf1b021865; Wed, 2 Feb 2005 20:48:41 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00dv5Qsb; Wed, 02 Feb 2005 20:48:38 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12Imax04031; Wed, 2 Feb 2005 20:48:37 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 12:44:34 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-7"
Subject: RE: expunged draft
Date: Wed, 2 Feb 2005 12:44:33 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A016D3CE3@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: expunged draft
thread-index: AcUH2OAT74L/RKPsRYS0W0kWKfsd8gBfUmWA
From: <Michael.Wener@nokia.com>
To: <tss@iki.fi>, <Alexey.Melnikov@isode.com>
Cc: <ietf-imapext@imc.org>, <lemonade@ietf.org>
X-OriginalArrivalTime: 02 Feb 2005 18:44:34.0616 (UTC) FILETIME=[3D5BD380:01C50957]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12IoZ8o094814
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>

> -----Original Message-----
> From: owner-ietf-imapext@mail.imc.org 
> [mailto:owner-ietf-imapext@mail.imc.org]On Behalf Of ext Timo Sirainen
> Sent: Monday, January 31, 2005 3:52 PM
...
> 
> It shows that HIGHESTMODSEQ update is sent after EXPUNGE command. What
> about when other session did the EXPUNGE and we're seeing untagged
> EXPUNGEs? Maybe always send it after untagged expunges (and don't
> mention EXPUNGE command at all)?
...
> Maybe rename the EXPUNGED to UIDEXPUNGE or similar to make it 
> more clear
> that it's sending UIDs and not sequences?

What about something like ...

* EXPUNGE (UID N MODSEQ (MMMM))

This would disambiguate nicely ...
1) Covers unsolicited as well as untagged solicited EXPUNGE responses.
2) The parenthetical element is just a subset of a FETCH response, meaning I
see some nice code reuse potential.

Mike



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 j12InDHe094684; Wed, 2 Feb 2005 10:49:13 -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 j12InDov094683; Wed, 2 Feb 2005 10:49:13 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mgw-x3.nokia.com (mgw-x3.nokia.com [131.228.20.26]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j12InCAW094657 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 10:49:12 -0800 (PST) (envelope-from Michael.Wener@nokia.com)
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x3.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12In4J20267 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 20:49:07 +0200 (EET)
X-Scanned: Wed, 2 Feb 2005 20:48:53 +0200 Nokia Message Protector V1.3.34 2004121512 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id j12Imr0K023381 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 20:48:53 +0200
Received: from mgw-int2.ntc.nokia.com (172.21.143.97) by esdks002.ntc.nokia.com 00FwOlVW; Wed, 02 Feb 2005 20:48:44 EET
Received: from daebh002.NOE.Nokia.com (daebh002.americas.nokia.com [10.241.35.122]) by mgw-int2.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id j12Imcx04088 for <ietf-imapext@imc.org>; Wed, 2 Feb 2005 20:48:38 +0200 (EET)
Received: from daebe005.NOE.Nokia.com ([10.241.35.105]) by daebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Wed, 2 Feb 2005 12:44:40 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: ANNOTATEMORE
Date: Wed, 2 Feb 2005 12:44:40 -0600
Message-ID: <225A4E03D0EE5245A5C5F7E7B7C1F27A01DC6000@daebe005.americas.nokia.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ANNOTATEMORE
thread-index: AcUJV0BGYukVOLq+SvmnRLBiPHv+/Q==
From: <Michael.Wener@nokia.com>
To: <ietf-imapext@imc.org>
X-OriginalArrivalTime: 02 Feb 2005 18:44:40.0991 (UTC) FILETIME=[412892F0:01C50957]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j12InDAW094678
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>

I would like to see this draft move forward.

Mike



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 j11GwoMu038761; Tue, 1 Feb 2005 08:58:50 -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 j11GwoZx038760; Tue, 1 Feb 2005 08:58:50 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11Gwn1N038753 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 08:58:49 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.185] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 16:58:48 +0000
Message-ID: <41FFB547.8080308@isode.com>
Date: Tue, 01 Feb 2005 16:58:47 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: RIGHTS=kxet, CONDSTORE, implementation
References: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net>	<41FF7DF6.5010501@isode.com> <20050201164942.707.79586.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050201164942.707.79586.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

>>> Finally, I'm not sure how good 64-bit arithmetic is under some 
>>> environments - I'm actually developing under Python on a 64-bit 
>>> system, which is probably a recipe for non-portability when I forget 
>>> to use long() rather than int(), but it has the 64-bit support, at 
>>> least, and most C and C++ compilers support some 64-bit unsigned 
>>> integer, but I'm not so sure about Perl, Java, etc. I'd not object 
>>> to the MODSEQ being a string, since this is easily compared, and has 
>>> precedence in ACAP (with the "modtime" attribute).
>>
>> This is a reasonable way to implement this, this doesn't change the 
>> CONDSTORE document. If one client can't operate on 64bit integer, it 
>> can treat modification sequences as strings instead.
>
> No, because "3" is greater than "20050201163759003", treated as strings.

I didn't say that one need to use lexicographical comparison ;-).

> I'm not calling this a showstopper, by any stretch. I just don't know 
> what the state of 64-bit support *is* in all languages.

IMHO, having a pair of 32bit integers is no brainer.

> I've got it in all languages I develop in, though.
>
>>> 3) LISTEXT
>>>
>>> I've not yet implemented this, however, I was thinking of 
>>> implementing this, ACL2, and MAILBOX-REFERRALS at the same time. In 
>>> particular, I have noticed that LIST (REMOTE) could reasonably 
>>> provide the REFERRAL URIs in an extended LIST item, in order to save 
>>> clients from having to SELECT the mailbox to discover it. This 
>>> SELECT  generates an additional round-trip, of course, and I feel 
>>> overloads SELECT's meaning as well.
>>>
>>> In addition, this renders the \Remote mailbox flag redundant, of 
>>> course.
>>
>> I agree with your LISTEXT comments.
>
> Well, Rob suggested that there'd been a discussed decision the other 
> way on that,

I don't remember any consensus, but I don't remember consensus not to do 
what you've suggested either.

> and I'm happy enough to go with any considered opinion of the group, 
> so I've implemented things that way. (Actually using SELECT to 
> generate the referral, too).




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 j11Gnq8k038148; Tue, 1 Feb 2005 08:49:52 -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 j11Gnqmu038147; Tue, 1 Feb 2005 08:49:52 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from gw2.gestalt.entity.net (dsl-217-155-137-62.zen.co.uk [217.155.137.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11Gnodq038134 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 08:49:50 -0800 (PST) (envelope-from dave@cridland.net)
Received: from peirce (dsl-217-155-137-61.zen.co.uk [217.155.137.61]) by gw2.gestalt.entity.net (Postfix) with ESMTP id 2A48F154009; Tue,  1 Feb 2005 16:49:42 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline; xpolymertype="coverletter"; handling="REQUIRED"
From: Dave Cridland <dave@cridland.net>
To: Alexey Melnikov <Alexey.Melnikov@isode.com>
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: RIGHTS=kxet, CONDSTORE, implementation
References: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net> <41FF7DF6.5010501@isode.com>
In-Reply-To: <41FF7DF6.5010501@isode.com>
Message-ID: <20050201164942.707.79586.polymer@peirce.gestalt.entity.net>
X-Mailer: Infotrope Polymer/0.0.3
Date: Tue, 01 Feb 2005 16:49:42 +0000
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>

On Tue Feb  1 13:02:46 2005, Alexey Melnikov wrote:
> Dave Cridland wrote:
>> Given that, in the case where we simply don't know whether a right is supported or not, we want to assume it's granted, is this a reasonable assumption, or should I assume the 'x' right is *always* granted (which is effectively what existing clients do anyway)?
> 
> I think doing this either way is fine.
> 

It now assumes it's always granted, unless \NoSelect is also present, or if it appears to be a namespace prefix. Looking at server implementations, this appears reasonably safe.

> 
>> Incidentally, I've not yet thought of any other problems with a RIGHTS aware client talking to a plain ACL server, but I've not yet done ACL editing, where I suspect that the 'x' right will rear its ugly head again.
>> 
>> Nothing I've found so far appears to be a showstopper, but it might be beneficial to client authors to have some idea of handling legacy support for older servers (ie, all current ones) covered in the RFC.
> 
> Do you have any suggestions?
> 

Other than stating that the missing 'x' right on an RFC2086 server should always be considered granted, not really. I'm not intending ACL manipulation any time soon - unfortunately I just don't have the time - but as I say, I think that might shake out a few cross-compatibility issues.

In any case, given the level of ACL support in clients currently, I strongly suspect that giving any advice would be largely wasted ink.

> 
>> 2) CONDSTORE
>> 
>> This seems remarkably straightforward to implement, although again I've no real implementation to test against. I do, however, forsee some problems when dealing with ANNOTATE in addition, since I'm a little unclear on whether the sequence:
>> 
>> C1: a01 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv"))
>> S1: * 1 FETCH (MODSEQ (1) FLAGS (\Seen) ANNOTATION ("/comment" ("value.priv" "My comment")))
>> S1: a01 OK
>> C2: a02 STORE 1 +FLAGS (\Answered)
>> S2: * 1 FETCH (MODSEQ (2) FLAGS (\Seen \Answered))
>> S2: a02 OK
>> C1: a03 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv")) (CHANGEDSINCE 1)
>> S1: * FETCH ...
>> S1: a03 OK
>> 
>> ... should return the comment (which is unchanged) or just the flags (which is changed).
>> 
>> My reading of 3.3.1 suggests that the comment will be returned as well, even though it hasn't changed, because CHANGEDSINCE affects message selection, rather than metadata items returned.
> 
> The original design was to allow the server to only return changed metadata items, if the server has this information.
> 

Ah... 3.3.1 seems to disagree with you.

> 
> I am not sure if this has to be clarified in the document (probably yes) and if this behavior breaks clients that always expect all metadata to be returned. IMHO, client should cache all data sent to it, so this shouldn't be a problem.
> 

In the original design of IMAP, a server wasn't even mandated to resend information within the same SELECT session, as I understand things. Hence I've always assumed that a client should never discard data within a single SELECT session, even though these days the server has to do what it's told.

But yes, I would assume that clients would, if they didn't have the annotation, fetch it unconditionally seperately.

> 
> On a second thought: if you omit the first FETCH (with tag a01), the client will not have this information cached and will be forced to fetch it unconditionally, if it doesn't get it in the 3rd FETCH.
> 

If you discard a01, then the client would also emit an a04, hopefully pipelined, which would be an unconditional fetch of the annotation.

>> My second issue is that an extended EXPUNGE would be useful, allowing me to "EXPUNGE (UNCHANGEDSINCE 1)" to permanently remove all messages flagged as \Deleted which haven't been altered [presumably] without my knowledge.
> 
> So if somebody has added \Seen flag to a \Deleted message (or add an annotation), that would prevent the message from being expunged?
> 

The \Seen case is a little draconian I'll admit, but the annotation case isn't - if someone has seen fit to annotate a \Deleted message, one assumes it's important enough not to expunge without knowing what the annotation was.

>> Finally, I'm not sure how good 64-bit arithmetic is under some environments - I'm actually developing under Python on a 64-bit system, which is probably a recipe for non-portability when I forget to use long() rather than int(), but it has the 64-bit support, at least, and most C and C++ compilers support some 64-bit unsigned integer, but I'm not so sure about Perl, Java, etc. I'd not object to the MODSEQ being a string, since this is easily compared, and has precedence in ACAP (with the "modtime" attribute).
> 
> This is a reasonable way to implement this, this doesn't change the CONDSTORE document. If one client can't operate on 64bit integer, it can treat modification sequences as strings instead.
> 

No, because "3" is greater than "20050201163759003", treated as strings. I'm not calling this a showstopper, by any stretch. I just don't know what the state of 64-bit support *is* in all languages. I've got it in all languages I develop in, though.

> 
>> 3) LISTEXT
>> 
>> I've not yet implemented this, however, I was thinking of implementing this, ACL2, and MAILBOX-REFERRALS at the same time. In particular, I have noticed that LIST (REMOTE) could reasonably provide the REFERRAL URIs in an extended LIST item, in order to save clients from having to SELECT the mailbox to discover it. This SELECT  generates an additional round-trip, of course, and I feel overloads SELECT's meaning as well.
>> 
>> In addition, this renders the \Remote mailbox flag redundant, of course.
> 
> I agree with your LISTEXT comments.
> 

Well, Rob suggested that there'd been a discussed decision the other way on that, and I'm happy enough to go with any considered opinion of the group, so I've implemented things that way. (Actually using SELECT to generate the referral, too).

Dave.



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 j11D2o2J013252; Tue, 1 Feb 2005 05:02:50 -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 j11D2oE9013251; Tue, 1 Feb 2005 05:02:50 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11D2nih013238 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 05:02:49 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.2.185] (shiny.isode.com [62.3.217.250])  by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 13:02:47 +0000
Message-ID: <41FF7DF6.5010501@isode.com>
Date: Tue, 01 Feb 2005 13:02:46 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Dave Cridland <dave@cridland.net>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: RIGHTS=kxet, CONDSTORE, implementation
References: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net>
In-Reply-To: <20050110141646.24823.92545.polymer@peirce.gestalt.entity.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
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>

Dave Cridland wrote:

> Hiya folks,
>
> I've been on a client-side implementation frenzy, and thought I'd 
> share my experiences. I've no access to any server implementation of 
> any of these - an account on such a server would be greatly 
> appreciated. In particular, I'd like CONDSTORE, ANNOTATE, and LISTEXT 
> - the RIGHTS stuff, while interesting, is more interesting in as much 
> as how to cope without it.
>
> My strategy, incidentally, is to emulate unsupported extensions 
> wherever possible.
>
> The client is written in Python, using the wxPython GUI toolkit, and 
> should run on Windows, UNIX, and Mac OS X. It does require an account 
> on a reasonably full ACAP server implementation, but this does give it 
> full roaming and kiosk-mode ability. I'm quite happy to provide the 
> source under GPL, and/or an ACAP account.
>
> 1) RIGHTS
>
> I've been gradually implementing ACL support, and I've attempted to do 
> so by emulating the 'kxet' rights where not supported. (This means 
> anywhere, since I don't have access to a server implementation 
> supporting RIGHTS). I'm making the rash assumption that this is a sane 
> way of writing a RFC2086upd client. (I've not yet made it emulate 
> rights based on the READ-ONLY/READ-WRITE response code where no ACL 
> support at all is available, but I will.)
>
> I've found that trying to emulate the 'x' right is particularly 
> tricky, since I can only assume:
>
> 'd' => 'et'
> 'c' => 'k'
>
> So I'm currently assuming the 'x' right is always granted where 'c' or 
> 'd' is granted. (Obviously the client copes with the case where the 
> DELETE fails anyway.)
>
> Given that, in the case where we simply don't know whether a right is 
> supported or not, we want to assume it's granted, is this a reasonable 
> assumption, or should I assume the 'x' right is *always* granted 
> (which is effectively what existing clients do anyway)?

I think doing this either way is fine.

> Incidentally, I've not yet thought of any other problems with a RIGHTS 
> aware client talking to a plain ACL server, but I've not yet done ACL 
> editing, where I suspect that the 'x' right will rear its ugly head 
> again.
>
> Nothing I've found so far appears to be a showstopper, but it might be 
> beneficial to client authors to have some idea of handling legacy 
> support for older servers (ie, all current ones) covered in the RFC.

Do you have any suggestions?

> 2) CONDSTORE
>
> This seems remarkably straightforward to implement, although again 
> I've no real implementation to test against. I do, however, forsee 
> some problems when dealing with ANNOTATE in addition, since I'm a 
> little unclear on whether the sequence:
>
> C1: a01 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv"))
> S1: * 1 FETCH (MODSEQ (1) FLAGS (\Seen) ANNOTATION ("/comment" 
> ("value.priv" "My comment")))
> S1: a01 OK
> C2: a02 STORE 1 +FLAGS (\Answered)
> S2: * 1 FETCH (MODSEQ (2) FLAGS (\Seen \Answered))
> S2: a02 OK
> C1: a03 FETCH 1 (FLAGS ANNOTATION ("/comment" "value.priv")) 
> (CHANGEDSINCE 1)
> S1: * FETCH ...
> S1: a03 OK
>
> ... should return the comment (which is unchanged) or just the flags 
> (which is changed).
>
> My reading of 3.3.1 suggests that the comment will be returned as 
> well, even though it hasn't changed, because CHANGEDSINCE affects 
> message selection, rather than metadata items returned.

The original design was to allow the server to only return changed 
metadata items, if the server has this information.

I am not sure if this has to be clarified in the document (probably yes) 
and if this behavior breaks clients that always expect all metadata to 
be returned. IMHO, client should cache all data sent to it, so this 
shouldn't be a problem.

On a second thought: if you omit the first FETCH (with tag a01), the 
client will not have this information cached and will be forced to fetch 
it unconditionally, if it doesn't get it in the 3rd FETCH.

> Changing this, such that CHANGEDSINCE simply suppressed items that 
> haven't changed (excepting UID) would make more sense to me. I can of 
> course do this by issuing multiple pipelined fetches, one for every 
> item, in effect, which I have to do for items I don't have cached at 
> all. (Currently, in fact, I re-fetch the FLAGS unconditionally if I'm 
> fetching anything else, since the additional cost of the data returned 
> is less than the cost of asking for it seperately, but this changes 
> with ANNOTATE).
>
> My second issue is that an extended EXPUNGE would be useful, allowing 
> me to "EXPUNGE (UNCHANGEDSINCE 1)" to permanently remove all messages 
> flagged as \Deleted which haven't been altered [presumably] without my 
> knowledge.

So if somebody has added \Seen flag to a \Deleted message (or add an 
annotation), that would prevent the message from being expunged?

> Similarly, an extended UID EXPUNGE would be useful, too. Given that 
> EXPUNGing the wrong messages is irreparable damage, that seems a 
> sensible addition if it can be implemented, which I assume it can be 
> with the same effort as FETCH (CHANGEDSINCE ...).
>
> Finally, I'm not sure how good 64-bit arithmetic is under some 
> environments - I'm actually developing under Python on a 64-bit 
> system, which is probably a recipe for non-portability when I forget 
> to use long() rather than int(), but it has the 64-bit support, at 
> least, and most C and C++ compilers support some 64-bit unsigned 
> integer, but I'm not so sure about Perl, Java, etc. I'd not object to 
> the MODSEQ being a string, since this is easily compared, and has 
> precedence in ACAP (with the "modtime" attribute).

This is a reasonable way to implement this, this doesn't change the 
CONDSTORE document. If one client can't operate on 64bit integer, it can 
treat modification sequences as strings instead.

> 3) LISTEXT
>
> I've not yet implemented this, however, I was thinking of implementing 
> this, ACL2, and MAILBOX-REFERRALS at the same time. In particular, I 
> have noticed that LIST (REMOTE) could reasonably provide the REFERRAL 
> URIs in an extended LIST item, in order to save clients from having to 
> SELECT the mailbox to discover it. This SELECT  generates an 
> additional round-trip, of course, and I feel overloads SELECT's 
> meaning as well.
>
> In addition, this renders the \Remote mailbox flag redundant, of course.

I agree with your LISTEXT comments.

Alexey



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 j11BRUWH078964; Tue, 1 Feb 2005 03:27:30 -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 j11BRUeJ078963; Tue, 1 Feb 2005 03:27:30 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11BRTiQ078949 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 03:27:29 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 11:27:13 +0000
Message-ID: <41FF678A.1080701@isode.com>
Date: Tue, 01 Feb 2005 11:27:06 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Timo Sirainen <tss@iki.fi>
CC: IMAP Extensions WG <ietf-imapext@imc.org>, lemonade@ietf.org
Subject: Re: expunged draft
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org>	 <41FE7CA0.2010003@isode.com> <1107204693.12365.238.camel@hurina>
In-Reply-To: <1107204693.12365.238.camel@hurina>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-7"; format="flowed"
Content-transfer-encoding: 8bit
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>

Timo Sirainen wrote:

>On Mon, 2005-01-31 at 18:44 +0000, Alexey Melnikov wrote:
>  
>
>>I've just submitted a new draft that describes how CONDSTORE 
>>modification sequences can be used to track expunged messages. Before it 
>>is announced, people can find it at:
>>http://ietf.webdav.org/imapext/draft-melnikov-imap-expunged-00.txt
>>
>>I will welcome all suggestions, especially on issues marked with <<>> in 
>>the document.
>>    
>>
>
>It shows that HIGHESTMODSEQ update is sent after EXPUNGE command. What
>about when other session did the EXPUNGE and we're seeing untagged
>EXPUNGEs? Maybe always send it after untagged expunges (and don't
>mention EXPUNGE command at all)?
>  
>
Yes, that was the idea.

>Servers supporting UNSELECT should most likely also send HIGHESTMODSEQ
>just as with CLOSE, but this isn't mentioned.
>
UNSELECT doesn't cause any message to be expunged.

> And what about with
>SELECT?
>
Same as above.

> Maybe just point out more generally that "when using a command
>which closes the mailbox, send HIGHESTMODSEQ". Perhaps LOGOUT should do
>that too?
>  
>
Remember, that the CONDSTORE extension requires the server to send 
mod-sequences for flag changes (using MODSEQ FETCH data items) and 
whenever a message is appended. The EXPUNGED document extends this to 
cover expunges. So there is no point to send HIGHESTMODSEQ when nothing 
has changed, this should cover LOGOUT, SELECT and UNSELECT.
Of course, if messages got expunged in another session, the server still 
needs to send HIGHESTMODSEQ.

>   <<What if the server canąt remember some expunged UIDs, for example
>   the provided mod-sequence is too old? Can the server just return
>   all UIDs not in the UID set? This can generate additional traffic,
>   but should be Ok otherwise.>>
>
>Yes, I think so.
>
>In 3.4 EXPUNGED Response it seems rather useless trying to rewrite what
>RFC3501 says about EXPUNGEs. Just point out that it works exactly as
>normal untagged EXPUNGE? It would be really bad if they accidentally got
>different rules.
>  
>
As EXPUNGED returns a list of UIDs, I was wondering if it should obey 
the same rule as EXPUNGE, i.e. whether it should be allowed during 
regular FETCH/STORE.

>Maybe rename the EXPUNGED to UIDEXPUNGE or similar to make it more clear
>that it's sending UIDs and not sequences?
>  
>
Sure.



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 j11BIvJW075861; Tue, 1 Feb 2005 03:18:57 -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 j11BIvMo075860; Tue, 1 Feb 2005 03:18:57 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j11BItju075816 for <ietf-imapext@imc.org>; Tue, 1 Feb 2005 03:18:56 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [192.168.0.7] ([62.3.217.253]) by rufus.isode.com  via TCP (internal) with ESMTPA; Tue, 1 Feb 2005 11:18:08 +0000
Message-ID: <41FF656A.3090708@isode.com>
Date: Tue, 01 Feb 2005 11:18:02 +0000
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Lisa Dusseault <lisa@osafoundation.org>
CC: lemonade@ietf.org, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Planning for meeting in Minneapolis
References: <f39f4c363e2d2ec7ee5f10db816eaeed@osafoundation.org> <41FE7CA0.2010003@isode.com> <eeaa2bcf4eb45cc6558fdfea5514e52a@osafoundation.org>
In-Reply-To: <eeaa2bcf4eb45cc6558fdfea5514e52a@osafoundation.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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>

Lisa Dusseault wrote:

> So, does this mean that we don't need to yank CondStore out of the RFC 
> queue?

The answer to your question depends on what people think about the 
document. There are several places marked with <<>> that can be made 
cleaner (e.g. REPORTEXPUNGES) if there is a single extension.
So, I would encourage people to do a review and we can discuss in a few 
weeks.

> thanks,
> Lisa
>
> On Jan 31, 2005, at 10:44 AM, Alexey Melnikov wrote:
>
>> Lisa Dusseault wrote:
>>
>>> Alexey needs to propose what changes to make to CondStore, as a 
>>> concrete written proposal to the list.
>>
>> I've just submitted a new draft that describes how CONDSTORE 
>> modification sequences can be used to track expunged messages. Before 
>> it is announced, people can find it at:
>> http://ietf.webdav.org/imapext/draft-melnikov-imap-expunged-00.txt
>>
>> I will welcome all suggestions, especially on issues marked with <<>> 
>> in the document.
>>
>> I can rework RECONNECT to reference the new document, if people feel 
>> it is a good idea.
>>
>> Alexey
>


