
Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBID6PQ25912 for ietf-imapext-bks; Wed, 18 Dec 2002 05:06:25 -0800 (PST)
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBID6Oo25901 for <ietf-imapext@imc.org>; Wed, 18 Dec 2002 05:06:24 -0800 (PST)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA04363; Wed, 18 Dec 2002 08:03:24 -0500 (EST)
Message-Id: <200212181303.IAA04363@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-sort-11.txt
Date: Wed, 18 Dec 2002 08:03:24 -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		: INTERNET MESSAGE ACCESS PROTOCOL - SORT AND THREAD 
                          EXTENSION
	Author(s)	: M. Crispin, K. Murchison
	Filename	: draft-ietf-imapext-sort-11.txt
	Pages		: 19
	Date		: 2002-12-16
	
This document describes the base-level server-based sorting and
threading extension to the [IMAP] protocol.  This extension provides
substantial performance improvements for IMAP clients which offer
sorted and threaded views.
A server which supports the base-level SORT extension indicates this
with a capability name which starts with 'SORT'.  Future, upwards-
compatible extensions to the SORT extension will all start with
'SORT', indicating support for this base level.
A server which supports this extension indicates this with one or
more capability names consisting of 'THREAD=' followed by a supported
threading algorithm name as described in this document.  This
provides for future upwards-compatible extensions.

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

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

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-sort-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-sort-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:	<2002-12-16123529.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2002-12-16123529.I-D@ietf.org>

--OtherAccess--

--NextPart--




Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBDMQXM14617 for ietf-imapext-bks; Fri, 13 Dec 2002 14:26:33 -0800 (PST)
Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBDMQVE14613 for <ietf-imapext@IMC.ORG>; Fri, 13 Dec 2002 14:26:32 -0800 (PST)
Received: from esunmail ([129.147.58.122]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA05019 for <ietf-imapext@IMC.ORG>; Fri, 13 Dec 2002 15:26:33 -0700 (MST)
Received: from xpa-fe1 ([129.147.58.122]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 0.8 (built Jul 12 2002)) with ESMTP id <0H720015WX091K@edgemail1.Central.Sun.COM> for ietf-imapext@IMC.ORG; Fri, 13 Dec 2002 15:26:33 -0700 (MST)
Received: from nifty-jr.west.sun.com ([129.153.12.95]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 0.2 (built Apr 26 2002)) with ESMTPSA id <0H7200GWKX06UH@mail.sun.net> for ietf-imapext@IMC.ORG; Fri, 13 Dec 2002 15:26:33 -0700 (MST)
Date: Fri, 13 Dec 2002 14:21:49 -0800
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: updated SORT/THREAD document submitted as an I-D
In-reply-to: <Pine.WNT.4.51.0212121938410.2280@Tomobiki-Cho.CAC.Washington.EDU>
To: Mark Crispin <MRC@cac.washington.edu>, IMAP Extensions WG <ietf-imapext@imc.org>, IMAP Interest List <IMAP@cac.washington.edu>
Message-id: <2147483647.1039789309@nifty-jr.west.sun.com>
MIME-version: 1.0
X-Mailer: Mulberry/3.0.0 (Mac OS X)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-message-flag: Outlook: the best virus distribution system around
References: <Pine.WNT.4.51.0212121938410.2280@Tomobiki-Cho.CAC.Washington.ED U>
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>

begin quotation by Mark Crispin on 2002/12/12 19:45 -0800:
> Would someone (Chris?) volunteer to write the necessary stringprep
> profile?  Or does Chris think that this should be in the IMAP i18n
> document instead -- if so, I need a reference to use.

I've started work on the i18n document (tentatively called 
draft-ietf-imapext-i18n-00.txt, assuming WG chair approves).  The first cut 
will include the stringprep profile, and a mechanism to negotiate 
comparators so we're not locked into one solution forever.  This is hard 
work so it will take me some time to produce a first draft.

Please nag me again if I haven't produced an internet-draft by mid-January.

                - Chris



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBD561Y15154 for ietf-imapext-bks; Thu, 12 Dec 2002 21:06:01 -0800 (PST)
Received: from mauve.mrochek.com (mauve.mrochek.com [209.55.107.55]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBD55wE15146 for <ietf-imapext@imc.org>; Thu, 12 Dec 2002 21:05:58 -0800 (PST)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01KPXRRR1EWW001ZTY@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for ietf-imapext@imc.org; Thu, 12 Dec 2002 21:06:00 -0800 (PST)
Date: Thu, 12 Dec 2002 20:58:28 -0800 (PST)
From: ned+imapext@INNOSOFT.COM
Subject: Status of draft-melnikov-imap-mdn-05.txt
To: ietf-imapext@imc.org, Alexey Melnikov <mel@messagingdirect.com>
Cc: ned.freed@mrochek.com, paf@cisco.com
Message-id: <01KPYIOAI3YU001ZTY@mauve.mrochek.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=us-ascii
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 IESG approved this document today. However, the IESG elected to approve
this as a proposed standard rather than a BCP.

The reason for this change is that although the document doesn't modify the
IMAP protocol per se it does change the client semantics of a particular
protocol element: The $MDNSent keyword. The IESG felt that this is sufficient
to justify placing the document on the standards track rather than making it a
BCP. The IESG also noted that it is entirely possible for there to be multiple
implementations and to test interoperability of those implementations.

If there are any objections to this status change I'd like to hear about them,
preferably before the annoucement is sent a few days from now.

				Ned

P.S. The primary reason for this note explicitly noting this change is that a
recent, similar change to the status of a document took place in the FAX
working group and was unremarked at the time but caused significant confusion
later. I'd like to avoid that in this case.


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBD3jvd10157 for ietf-imapext-bks; Thu, 12 Dec 2002 19:45:57 -0800 (PST)
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBD3jsE10153 for <ietf-imapext@IMC.ORG>; Thu, 12 Dec 2002 19:45:55 -0800 (PST)
Received: from mailscan-out1.cac.washington.edu (mailscan-out1.cac.washington.edu [140.142.32.138]) by mxout2.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gBD3jqEC010593 for <ietf-imapext@IMC.ORG>; Thu, 12 Dec 2002 19:45:57 -0800
Received: FROM smtp.washington.edu BY mailscan-out1.cac.washington.edu ; Thu Dec 12 19:45:52 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gBD3jpmZ003684 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 12 Dec 2002 19:45:51 -0800
Date: Thu, 12 Dec 2002 19:45:51 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: IMAP Extensions WG <ietf-imapext@imc.org>, IMAP Interest List <IMAP@cac.washington.edu>
Subject: updated SORT/THREAD document submitted as an I-D
Message-ID: <Pine.WNT.4.51.0212121938410.2280@Tomobiki-Cho.CAC.Washington.EDU>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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>

draft-ietf-imapext-sort-11.txt has been submitted, and is also available
on:
	ftp://ftp.cac.washington.edu/mail/draft-ietf-imapext-sort-11.txt

This document merges the SORT and THREAD drafts, and makes some tenative
steps towards addressing some long-standing nits; e.g. there is now a
valid security and IANA considerations section, and the two extensions now
have common rules.

There is also a mention of stringprep here, and we probably need to do
something about a stringprep profile.  Although my server currently
converts all UTF-8 into pre-composed characters, we probably should use a
decomposed form for collation.

Would someone (Chris?) volunteer to write the necessary stringprep
profile?  Or does Chris think that this should be in the IMAP i18n
document instead -- if so, I need a reference to use.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBBJS1M20147 for ietf-imapext-bks; Wed, 11 Dec 2002 11:28:01 -0800 (PST)
Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBBJS0E20143 for <ietf-imapext@imc.org>; Wed, 11 Dec 2002 11:28:00 -0800 (PST)
Received: from esunmail ([129.147.58.121]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id MAA19808 for <ietf-imapext@imc.org>; Wed, 11 Dec 2002 12:28:01 -0700 (MST)
Received: from xpa-fe2 ([129.147.58.121]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 0.8 (built Jul 12 2002)) with ESMTP id <0H6Y00013ZEOUO@edgemail1.Central.Sun.COM> for ietf-imapext@imc.org; Wed, 11 Dec 2002 12:28:01 -0700 (MST)
Received: from h-192-18-127-205.red.iplanet.com ([192.18.127.205]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 0.2 (built Apr 26 2002)) with ESMTPSA id <0H6Y00HNRZEMA2@mail.sun.net> for ietf-imapext@imc.org; Wed, 11 Dec 2002 12:28:00 -0700 (MST)
Date: Wed, 11 Dec 2002 11:23:20 -0800
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: IMAP-URL and NAMESPACE
In-reply-to: <A7018212-0D23-11D7-BEB1-0003934A5A7E@inet.it>
To: Harrie Hazewinkel <harrie@inet.it>, imap-ext IETF <ietf-imapext@imc.org>
Message-id: <2147483647.1039605800@h-192-18-127-205.red.iplanet.com>
MIME-version: 1.0
X-Mailer: Mulberry/3.0.0 (Mac OS X)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-message-flag: Outlook: the best virus distribution system around
References: <A7018212-0D23-11D7-BEB1-0003934A5A7E@inet.it>
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>

begin quotation by Harrie Hazewinkel on 2002/12/11 17:14 +0100:
> I am looking into combining namaspaces and imap-urls.
> However, I am not sure if I am correct. Namely, RFC 2192
> does not speak of namespaces as part of the URL.
>
> Should I just see the namespace as part of the mailbox name??
> Which is the 'enc_mailbox' part of the ABNF??
>
> For example, the following namespace exist.
> * NAMESPACE (("" "/")) (("~" "/")) (("#shared/" "/")("#public/" "/"))
>
> Would a URL for the mailbox TEST under "#public/" be the following
> URL "imap://iserver/#public/TEST"

The namespace is just a prefix of the mailbox name, so you are largely 
correct.

However, "#" is a special character for URLs and must be encoded as %23 in 
the URL.

> This is based on the assumption
> x LIST "" "#public/*" has an equal result as x LIST "#public/" "*"

While the upcoming revision to RFC 2060 requires them to be the same, RFC 
2060 itself does not.  As a result, client implementors should leave the 
first argument to LIST as the empty-string unless you're implementing 
Unix-shell-like current directory semantics for mailbox browsing in your 
client.

                - Chris



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBBGEsd04859 for ietf-imapext-bks; Wed, 11 Dec 2002 08:14:54 -0800 (PST)
Received: from mid-2.inet.it (mid-2.inet.it [213.92.5.19]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBBGEnE04849 for <ietf-imapext@imc.org>; Wed, 11 Dec 2002 08:14:50 -0800 (PST)
Received: from  [::ffff:213.92.1.237] by mid-2.inet.it via I-SMTP-4.3.3-430 id ::ffff:213.92.1.237+Aj9gHaVBkLYK; Wed, 11 Dec 2002 17:14:44 +0100
Date: Wed, 11 Dec 2002 17:14:40 +0100
Mime-Version: 1.0 (Apple Message framework v482)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Subject: IMAP-URL and NAMESPACE
From: Harrie Hazewinkel <harrie@inet.it>
To: imap-ext IETF <ietf-imapext@imc.org>
Content-Transfer-Encoding: 7bit
Message-Id: <A7018212-0D23-11D7-BEB1-0003934A5A7E@inet.it>
X-Mailer: Apple Mail (2.482)
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 all,

Sorry, if this is the wrong WG to ask.


I am looking into combining namaspaces and imap-urls.
However, I am not sure if I am correct. Namely, RFC 2192
does not speak of namespaces as part of the URL.

Should I just see the namespace as part of the mailbox name??
Which is the 'enc_mailbox' part of the ABNF??

For example, the following namespace exist.
* NAMESPACE (("" "/")) (("~" "/")) (("#shared/" "/")("#public/" "/"))

Would a URL for the mailbox TEST under "#public/" be the following
URL "imap://iserver/#public/TEST"
This is based on the assumption
x LIST "" "#public/*" has an equal result as x LIST "#public/" "*"

Thanks by advance,

Harrie

Software developer, Technical Department



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB7DJBS19601 for ietf-imapext-bks; Sat, 7 Dec 2002 05:19:11 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:mHEyQsHOHFQU7UnI9u0RtgUlQ8Nm/Ng5@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB7DJ7g19591 for <ietf-imapext@imc.org>; Sat, 7 Dec 2002 05:19:08 -0800 (PST)
Received: from localhost by mailhub.kerio.com (Kerio MailServer 5.5.0); Sat, 7 Dec 2002 14:17:54 +0100
Date: Sat, 7 Dec 2002 14:17:54 +0100
Message-ID: <KMS-2853790-19562@mailhub.kerio.com>
MIME-Version: 1.0
From: "Jaroslav Snajdr" <jsnajdr@kerio.com>
Subject: Re: ANNOTATEMORE extension syntax
To: "Curtis King" <cking@artattack.orthanc.ab.ca>
Cc: "Curtis King" <cking@artattack.orthanc.ab.ca>, "Jaroslav Snajdr" <jsnajdr@kerio.com>, "Cyrus Daboo" <daboo@cyrusoft.com>, ietf-imapext@imc.org
X-Priority: 3
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gB7DJ9g19595
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 I want to access user or group information, I'll use a
> > directory service via LDAP protocol.
> 
> If your server supports the ACL extension then the IMAP objects
> now include users and groups.  Some servers might use LDAP to
> store user/group information in LDAP, then again some of them
> may not. How are the clients supposed to know which ones do and
> which ones don't?

Look at the WebDAV ACL extension draft - they use URLs as user/group principal names.

I agree that the world of ACL is far from being standardized at this time - it is very tightly coupled to the underlying operating system. There is Unix, AFS, Windows, Novell... every one of them having a support for some sort of ACL, but they are not compatible.

I don't believe this problem will be solved by an IMAP extension - it is a much larger task of specifying a standard and general security framework for internet protocols.

> I like the idea of not limiting the namespace, but if this makes
> server implementations too hard then that's no good either
> because if there is nothing for the client to talk to then it is
> going to-be a short conversation.

It's not that hard to implement other namespaces, but as was pointed out, the current syntax in not very well thought out and my personal opinion is that the other namespaces are not necessary - let's use different protocols instead.

> > I think it doesn't make sense to design IMAP extensions that
> > offer functionality already present somewhere else and this
> > functionality is even inferior to those standard and widely
> > used protocols.
> 
> That is a very interesting comment ;)  I really have a hard time
> finding any true value in ANNOTATE at this time because I don't
> see how it will add value to the end users experience.

ANNOTATE lets you store metadata along with messages stored on IMAP server. Here are three real-world examples why they are necessary for us:

1. Our mail server includes a mailing list manager that supports moderated lists. The messages waiting to be approved by moderator are stored in an IMAP folder in special namespace. The list manager needs to store some additional data with each message - it puts them in annotations.

2. We are writing a MAPI message store provider for MS Outlook that uses IMAP to communicate with server. MAPI stores many additional properties with each message. They are put into annotations.

3. One of our partner develops a Web-based CRM systems that uses our IMAP server as one of its data sources. It needs to store a customer ID with each message that is related to this customer. It is stored as annotation..

> Maybe, it is just me but ANNOTATE seems to re-implement
> functionality already available in IMAP?

Yes, ANNOTATE defines special annotations that give access to the message flags. I think it's useless and I don't like it. Most of ANNOTATE functionality is NOT already available in IMAP though and is absolutely necessary for many applications.

> Would our time be better spent re-writing ACAP into something
> we could implement?

I'm happy with the features ANNOTATE provides - all my objections are about the fact that I think it actually provides too many features :-)

J. Snajdr




Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB6NEDW09496 for ietf-imapext-bks; Fri, 6 Dec 2002 15:14:13 -0800 (PST)
Received: from artattack.orthanc.ab.ca (brooklyn.artattack.orthanc.ab.ca [142.179.183.183]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB6NEAg09482 for <ietf-imapext@imc.org>; Fri, 6 Dec 2002 15:14:10 -0800 (PST)
Received: from [192.168.1.2] (foxy.artattack.orthanc.ab.ca [192.168.1.2]) by artattack.orthanc.ab.ca (Postfix) with ESMTP id 1064D2075B; Fri,  6 Dec 2002 16:14:05 -0700 (MST)
Date: Fri, 06 Dec 2002 16:14:05 -0700
From: Curtis King <cking@artattack.orthanc.ab.ca>
Reply-To: Curtis King <cking@artattack.orthanc.ab.ca>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, Cyrus Daboo <daboo@cyrusoft.com>
Cc: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <4300000.1039216445@foxy.artattack.orthanc.ab.ca>
X-Mailer: Mulberry/2.2.1 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 want to-be clear, I agree with your desire to make ANNOTATE simpler in 
addition to Lawrence's plea for syntactic cleanliness.  It always scares me 
to see an extension with an extension before there are any implementations 
of the first extension.  ANNOTATE brings back memories of the ACAP 
discussions and we have all implemented ACAP ;)  If ANNOTATE is too much of 
a pain to implement then it won't be implemented.

But, we need to consider both client and server implementation needs and 
wants.

> If I want to access user or group information, I'll use a directory
> service via LDAP protocol.

If your server supports the ACL extension then the IMAP objects now include 
users and groups.  Some servers might use LDAP to store user/group 
information in LDAP, then again some of them may not.  How are the clients 
supposed to know which ones do and which ones don't?  A client might want 
to let the user associate a "Friendly Name" with an user name.  For 
example, userid = u320 and the Friendly Name = Curtis King.

I like the idea of not limiting the namespace, but if this makes server 
implementations too hard then that's no good either because if there is 
nothing for the client to talk to then it is going to-be a short 
conversation.

>
> I think it doesn't make sense to design IMAP extensions that offer
> functionality already present somewhere else and this functionality is
> even inferior to those standard and widely used protocols.

That is a very interesting comment ;)  I really have a hard time finding 
any true value in ANNOTATE at this time because I don't see how it will add 
value to the end users experience.  Maybe, it is just me but ANNOTATE seems 
to re-implement functionality already available in IMAP?  Would our time be 
better spent re-writing ACAP into something we could implement?  But that 
is whole other conversation ;)

ck

--------------------------------------------

Curtis King
Email: cking@artattack.orthanc.ab.ca




Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB6BjjQ11254 for ietf-imapext-bks; Fri, 6 Dec 2002 03:45:45 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:5maeecWMtH/+Q/tDmxaNBVvZmZ2PdYMy@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB6Bjfg11250 for <ietf-imapext@imc.org>; Fri, 6 Dec 2002 03:45:42 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)); Fri, 6 Dec 2002 12:45:34 +0100
Message-ID: <3DF08DDD.4030409@kerio.com>
Date: Fri, 06 Dec 2002 12:45:33 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <daboo@cyrusoft.com>
CC: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu> <3DEF872E.9000000@kerio.com> <2147483647.1039091756@[10.0.1.13]>
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:

> | It depends on what you expect from the ANNOTATE extensions. I expect 
> that
> | I'll be able to set named properties on the IMAP resources. IMAP
> | resources are the server itself, the folders, and the messages in
> | folders. IMAP doesn't provide access to any other objects, so I don't
> | need to set properties on anything else besides objects (resources)
> | already present in current drafts. I don't see any need for 
> extensibility
> | in this direction.
>
> There are other 'objects' that can be used - some more directly 
> coupled to IMAP than others. e.g. a /user and a /group hierarchy that 
> can be used to determine information about users and groups on the 
> system for use with the ACL command.


If I want to access user or group information, I'll use a directory 
service via LDAP protocol. There are hundreds of standard compliant LDAP 
servers and dozens of free and commercial LDAP client libraries I can 
choose from. Most organizations have their users stored in some kind of 
Active Directory, NDS or OpenLDAP server. I cannot imagine any reason 
why someone would want to duplicate LDAP functionality in and IMAP 
extension implemenation and write and debug all the client and server 
code himself.

> The goal here is not to reinvent ACAP inside of IMAP, but to allow 
> vendors flexibility to store and manage data in a way that fits there 
> mailstore design. For example, some mailstores may be tightly coupled 
> to a sieve implementation, in which case storing sieve scripts though 
> IMAP annotations may be an attractive solution.


Our server works with Sieve scripts with special IMAP commands 
X-GETSCRIPT and X-PUTSCRIPT - in fact the managesieve protocol inlined 
into IMAP connection. Can be implemented and debugged in ten minutes. If 
I want a standard solution, I'll save Sieve scripts as WebDAV resources. 
There's no need for elaborate ANNOTATEMORE namespaces.

I think it doesn't make sense to design IMAP extensions that offer 
functionality already present somewhere else and this functionality is 
even inferior to those standard and widely used protocols. Nobody is 
going to implement them. What I expect from ANNOTATE extension is that 
I'll be able to store and retrieve properties of IMAP objects - folders 
and messages. Nothing more. We are not going to implement anything else 
because we don't believe anybody will use it. We'll rather work on LDAP, 
HTTP, WebDAV and Web services support, because these are widely 
supported by client software and development environments. Every modern 
OS ships with some LDAP or HTTP libraries, there are WebDAV filesystem 
drivers. Every kid can write a Perl or Visual Basic script that will 
change his Sieve filter stored on WebDAV server. How do I do the same 
with ACAP or ANNOTATEMORE? Cyrus ACAP library is in alpha state and dead 
for five years, ANNOTATEMORE library is nonexistent.

My proposition is to simplify the ANNOTATE extension just to the 
/mailbox namespace (and maybe the /server) and merge it with the 
ANNOTATE extension. Implementation consists of one DBM database file per 
folder with UIDs as keys + one special keys for properties of folder 
itself. Simple and sufficient.

J. Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5I77007569 for ietf-imapext-bks; Thu, 5 Dec 2002 10:07:07 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5I73g07564 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 10:07:04 -0800 (PST)
Received: (from arnt@localhost) by melkebalanse.gulbrandsen.priv.no (8.11.6/8.11.6) id gB5I6QY10085; Thu, 5 Dec 2002 19:06:26 +0100
Date: Thu, 5 Dec 2002 19:06:26 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Cyrus Daboo <daboo@cyrusoft.com>
Cc: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <20021205190626.C10054@melkebalanse.gulbrandsen.priv.no>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <2147483647.1039090160@[10.0.1.13]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2147483647.1039090160@[10.0.1.13]>
X-Message-Flag: WARNING! Message was not sent using Microsoft software!
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 <daboo@cyrusoft.com>
> As Rob pointed out this can lead to 'capability overload' and really is no
> different from what I suggested before except for the different labels for
> top-level items.

Agreed. But if A is no different from B, B is also no different from A.

Looking at CAPABILITY is the IMAP way of detecting extensions. If
ANNOTATEMORE is _one_ extension, then it should have _one_ capability
listing.

However, if ANNOTATEMORE is one extension, then I think there should be
only one syntax for each of its commands. Today that's not the case.

Take case sensitivity as an example.

In the -1 draft, if I understand it correctly, annotation entries have
case-insensitive names. However, mailbox names are incorporated by
reference and they are case-sensitive, except INBOX, which is insensitive.

A server parsing a {GET,SET}ANNOTATION command has a fairly complex task
of matching the annotation entry name in the command to its data
structures.

Since the /server and /mailbox names are genuinely different wrt. case
sensitivity, I think it's fair to assume that any future extension would
also have its own parsing quirks. (Suppose some lunatic decides decides to
add a hierarchy that uses URIs as part of the annotation entry. The
look-up necessary in GETANNOTATION immediately becomes a nightmare.)

Syntactic differences are, IMO, an indication that ANNOTATEMORE is not
really one single extension.

It could be made into one extension by specifying things like 

 - / is used as mailbox hierarchy separator in the /mailbox tree,
   even if the mailbox hierarchy uses something different
 - mailboxes cannot have names that differ only in case
 - that everything is case-insensitive (or -sensitive, as long as it's all
   the same)

ffectively, this would weaken the link between /mailbox and the real
mailboxes and set a precedent against the URI horror scenario.

Or it could be made into two honest extensions by using two CAPABILITY
extensions and frankly different syntaxes for server and mailbox
annotations.

> What I am suggesting is a single ANNOTATEMORE capability that allows an 
> extensible syntax for the different types of dataset (in ACAP terminology) 
> that can be used. The document would then define just the two standard ones 
> for server and mailbox.

I understand and agree with that. Although I wish I could suggest some way
to fold it into ANNOTATE without much extra load on the implementers...

> |> The reason for using /server /mailbox prefixes is the anticipation of
> |> others being used in the future. I would rather not drop that option,
> |> but I think we can adjust the commands in a way to eliminate the
> |> mailbox encoding problem.
> |
> | Well, since there's syntax difference between the two varieties, I don't
> | think extension is all that simple. Suppose I locally add a third
> | variety, would it be the two-argument or three-argument sort of
> | annotation?
> 
> You would have to register each new top-level item with IANA and the 
> registration would indicate what parameters (if any) that item took. I can 
> add a /vendor top-level item that will allow private annotations that don't 
> need to have registrations beyond the vendor name.

Sorry, I expressed myself unclearly.

I actually don't want more namespace. I want more regularity, more
simplicity and fewer extensions. And I want mailbox annotations, too ;) I
was trying to make a point about the syntax difference. The two examples
above probably do it better.

Btw, as I wrote this message I stumbled onto some other corner cases that
you may want to specify.

1. What happens to mailbox annotations when a mailbox is deleted? IMO as
   for ANNOTATE.

2. What happens to mailbox annotations when a mailbox is moved? IMO
   moved.

3. Can NOSELECT+HASCHILDREN "mailboxes" have annotations? IMO yes.

4. Do mailboxes with multiple names (INBOX and user.daboo) share
   annotations, or is there a separate set of annorations per name? No
   idea.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5Ha2w03556 for ietf-imapext-bks; Thu, 5 Dec 2002 09:36:02 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5HZxg03552 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:36:00 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id MAA23514; Thu, 5 Dec 2002 12:32:48 -0500 (EST)
Date: Thu, 05 Dec 2002 12:35:56 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039091756@[10.0.1.13]>
In-Reply-To: <3DEF872E.9000000@kerio.com>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu> <3DEF872E.9000000@kerio.com>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Jaroslav,

--On Thursday, December 5, 2002 6:04 PM +0100 Jaroslav Snajdr 
<jsnajdr@kerio.com> wrote:

|> Though I suppose that could work in this case as well, using a string for
|> an entry name makes it feel more extensible to me.
|>
|
| It depends on what you expect from the ANNOTATE extensions. I expect that
| I'll be able to set named properties on the IMAP resources. IMAP
| resources are the server itself, the folders, and the messages in
| folders. IMAP doesn't provide access to any other objects, so I don't
| need to set properties on anything else besides objects (resources)
| already present in current drafts. I don't see any need for extensibility
| in this direction.

There are other 'objects' that can be used - some more directly coupled to 
IMAP than others. e.g. a /user and a /group hierarchy that can be used to 
determine information about users and groups on the system for use with the 
ACL command. The goal here is not to reinvent ACAP inside of IMAP, but to 
allow vendors flexibility to store and manage data in a way that fits there 
mailstore design. For example, some mailstores may be tightly coupled to a 
sieve implementation, in which case storing sieve scripts though IMAP 
annotations may be an attractive solution.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5HOlv03066 for ietf-imapext-bks; Thu, 5 Dec 2002 09:24:47 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5HOjg03062 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:24:45 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id MAA23449; Thu, 5 Dec 2002 12:21:32 -0500 (EST)
Date: Thu, 05 Dec 2002 12:24:41 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039091081@[10.0.1.13]>
In-Reply-To: <3DEF7954.6000204@kerio.com>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Jaroslav,

--On Thursday, December 5, 2002 5:05 PM +0100 Jaroslav Snajdr 
<jsnajdr@kerio.com> wrote:

| This syntax looks very nice to me. I also like the CAPABILITY responses -
| they would allow to merge the ANNOTATE and ANNOTATEMORE extensions to one
| document, which would be a good thing IMHO. The current names themselves
| - ANNOTATE, ANNOTATEMORE, and future ANNOTATEEVENMORE and
| ANNOTATETHEWHOLEUNIVERSE suggest there is something rotten here.

There was never any intention to require ANNOTATEMOREXXX items - 
ANNOTATEMORE itself is extensible without the need to add more 
cdapabilities.

| I have one more proposition regarding SETANNOTATION syntax. The ABNF is:
|
| "SETANNOTATION" SP setentries
| setentries = entry-att *(SP entry-att)
|
| There is a list of items there, however, the list is not delimited by
| parentheses. This is an exceptional event in the IMAP world: when my
| parser tests if there is another entry-att, it tests if CRLF is the next
| token. This is the only occurence of such a test in whole our IMAP server
| parser. In other cases I always look for closing brace ")". The ABNF
| should be:
|
| setentries = entry-att / "(" entry-att *(SP entry-att) ")"
|
| obeying the rule: there is just one entry, or list of multiple entries
| delimited by parentheses.

Actually both SEARCH and STORE can have lists of items that are not 
delimited by parenthesis, so this is not a unique behaviour. However, I 
agree that lists of items should be in parenthesis and I will make that 
change for the next draft unless there are any objections. Rob's argument 
about allowing only one entry chang per command is something that needs 
more discussion/input.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5HLB102958 for ietf-imapext-bks; Thu, 5 Dec 2002 09:21:11 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5HL8g02953 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:21:08 -0800 (PST)
Received: (from arnt@localhost) by melkebalanse.gulbrandsen.priv.no (8.11.6/8.11.6) id gB5HKPt10072; Thu, 5 Dec 2002 18:20:25 +0100
Date: Thu, 5 Dec 2002 18:20:25 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Rob Siemborski <rjs3@andrew.cmu.edu>
Cc: Jaroslav Snajdr <jsnajdr@kerio.com>, Cyrus Daboo <daboo@cyrusoft.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <20021205182025.B10054@melkebalanse.gulbrandsen.priv.no>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
X-Message-Flag: WARNING! Message was not sent using Microsoft software!
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>

Rob Siemborski <rjs3@andrew.cmu.edu>
> One advantage of the current scheme for naming ANNOTATEMORE entries is
> that you don't need additional capabilities for each new type of entry,
> you just advertise ANNOTATEMORE and if a server doesn't support a /foobar
> annotation hierarchy, it responds NO when you try to do something with
> it.

I don't think that's a major difference. You do need a document specifying
the foobar hierarchy. That document can specify how to probe for foobar
using GETANNOTATION, or it can specify how to look at CAPABILITY.

> Though I suppose that could work in this case as well, using a string for
> an entry name makes it feel more extensible to me.

For me too. But the feeling doesn't last very long - only until the syntax
difference immediately following the string ;)

> I'll actually argue for a "there is just one entry" per setannotation
> command.  I don't think conditional behavior is that important here, and
> if that is the consensus, then pipelining a bunch of SETANNOTATION
> commands is no worse than a single command with a list (since we'd
> probably wind up with a NO response per entry that failed anyway).

Agreed.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5H9X802511 for ietf-imapext-bks; Thu, 5 Dec 2002 09:09:33 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5H9Vg02506 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:09:31 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id MAA23333; Thu, 5 Dec 2002 12:06:12 -0500 (EST)
Date: Thu, 05 Dec 2002 12:09:20 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039090160@[10.0.1.13]>
In-Reply-To: <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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,
Taking your comments out of order:

--On Thursday, December 5, 2002 10:59 AM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

| Isn't this really a strange way of saying
|
| C: a CAPABILITY
| S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
| S: a OK
| C: b GETANNOTATION SERVER "comment" "value"
| C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"
| ...

As Rob pointed out this can lead to 'capability overload' and really is no 
different from what I suggested before except for the different labels for 
top-level items.

What I am suggesting is a single ANNOTATEMORE capability that allows an 
extensible syntax for the different types of dataset (in ACAP terminology) 
that can be used. The document would then define just the two standard ones 
for server and mailbox.

|> The reason for using /server /mailbox prefixes is the anticipation of
|> others being used in the future. I would rather not drop that option,
|> but I think we can adjust the commands in a way to eliminate the
|> mailbox encoding problem.
|
| Well, since there's syntax difference between the two varieties, I don't
| think extension is all that simple. Suppose I locally add a third
| variety, would it be the two-argument or three-argument sort of
| annotation?

You would have to register each new top-level item with IANA and the 
registration would indicate what parameters (if any) that item took. I can 
add a /vendor top-level item that will allow private annotations that don't 
need to have registrations beyond the vendor name.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5H4qs02062 for ietf-imapext-bks; Thu, 5 Dec 2002 09:04:52 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:iTB8ePnksc0VupQD5xAktZ1+vsYWdJNy@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5H4mg02055 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:04:49 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)) for ietf-imapext@imc.org; Thu, 5 Dec 2002 18:04:47 +0100
Message-ID: <3DEF872E.9000000@kerio.com>
Date: Thu, 05 Dec 2002 18:04:46 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
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>

Rob Siemborski wrote:

>One advantage of the current scheme for naming ANNOTATEMORE entries is
>that you don't need additional capabilities for each new type of entry,
>you just advertise ANNOTATEMORE and if a server doesn't support a /foobar
>annotation hierarchy, it responds NO when you try to do something with
>it.
>
>Though I suppose that could work in this case as well, using a string for
>an entry name makes it feel more extensible to me.
>

It depends on what you expect from the ANNOTATE extensions. I expect 
that I'll be able to set named properties on the IMAP resources. IMAP 
resources are the server itself, the folders, and the messages in 
folders. IMAP doesn't provide access to any other objects, so I don't 
need to set properties on anything else besides objects (resources) 
already present in current drafts. I don't see any need for 
extensibility in this direction.

>I'll actually argue for a "there is just one entry" per setannotation
>command.  I don't think conditional behavior is that important here, and
>if that is the consensus, then pipelining a bunch of SETANNOTATION
>commands is no worse than a single command with a list (since we'd
>probably wind up with a NO response per entry that failed anyway).
>

You can STORE several flags or message annotations at once, so why not 
other (server or folder annotations). There are often multiple 
annotations that are logically coupled and are usually set together.

J. Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5GnGg00734 for ietf-imapext-bks; Thu, 5 Dec 2002 08:49:16 -0800 (PST)
Received: from lin1.andrew.cmu.edu (LIN1.andrew.cmu.edu [128.2.6.59]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5GnCg00725 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 08:49:12 -0800 (PST)
Received: from REDHAT6.WASH.ACS.cmu.edu (REDHAT6.WASH.ACS.cmu.edu [128.2.11.127]) (user=rjs3 mech=KERBEROS_V4 (0 bits)) by lin1.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB5GmXKD004031; Thu, 5 Dec 2002 11:48:33 -0500
Date: Thu, 5 Dec 2002 11:48:34 -0500 (EST)
From: Rob Siemborski <rjs3@andrew.cmu.edu>
X-X-Sender: rjs3@redhat6.wash.acs.cmu.edu
To: Jaroslav Snajdr <jsnajdr@kerio.com>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, Cyrus Daboo <daboo@cyrusoft.com>, "" <ietf-imapext@imc.org>
Subject: Re: ANNOTATEMORE extension syntax
In-Reply-To: <3DEF7954.6000204@kerio.com>
Message-ID: <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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, 5 Dec 2002, Jaroslav Snajdr wrote:

> > C: a CAPABILITY
> > S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
> > S: a OK
> > C: b GETANNOTATION SERVER "comment" "value"
> > C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"
>
>
> This syntax looks very nice to me. I also like the CAPABILITY responses
> - they would allow to merge the ANNOTATE and ANNOTATEMORE extensions to
> one document, which would be a good thing IMHO. The current names
> themselves - ANNOTATE, ANNOTATEMORE, and future ANNOTATEEVENMORE and
> ANNOTATETHEWHOLEUNIVERSE suggest there is something rotten here.

One advantage of the current scheme for naming ANNOTATEMORE entries is
that you don't need additional capabilities for each new type of entry,
you just advertise ANNOTATEMORE and if a server doesn't support a /foobar
annotation hierarchy, it responds NO when you try to do something with
it.

Though I suppose that could work in this case as well, using a string for
an entry name makes it feel more extensible to me.

[snip]
> obeying the rule: there is just one entry, or list of multiple entries
> delimited by parentheses.

I'll actually argue for a "there is just one entry" per setannotation
command.  I don't think conditional behavior is that important here, and
if that is the consensus, then pipelining a bunch of SETANNOTATION
commands is no worse than a single command with a list (since we'd
probably wind up with a NO response per entry that failed anyway).

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * rjs3@andrew.cmu.edu * 412.268.7456
-----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C++++$ ULS++++$ P+++$ L+++(++++) E W+ N o? K-
w O- M-- V-- PS+ PE++ Y+ PGP+ t+@ 5+++ R@ tv-@ b+ DI+++ G e h r- y?
------END GEEK CODE BLOCK-----



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5G5wv25008 for ietf-imapext-bks; Thu, 5 Dec 2002 08:05:58 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:c/Ld7QCPohQ0BamCRfgtP3O01wrOUG1N@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5G5sg25002 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 08:05:55 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)); Thu, 5 Dec 2002 17:05:41 +0100
Message-ID: <3DEF7954.6000204@kerio.com>
Date: Thu, 05 Dec 2002 17:05:40 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
CC: Cyrus Daboo <daboo@cyrusoft.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
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:

>> One proposal would be along the lines of what you suggest, though 
>> slightly modified:
>>
>> a GETANNOTATION "/server" "comment" "value"
>>
>> a GETANNOTATION "/mailbox" "INBOX" "comment" "value"
>
>
> Isn't this really a strange way of saying
>
> C: a CAPABILITY
> S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
> S: a OK
> C: b GETANNOTATION SERVER "comment" "value"
> C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"


This syntax looks very nice to me. I also like the CAPABILITY responses 
- they would allow to merge the ANNOTATE and ANNOTATEMORE extensions to 
one document, which would be a good thing IMHO. The current names 
themselves - ANNOTATE, ANNOTATEMORE, and future ANNOTATEEVENMORE and 
ANNOTATETHEWHOLEUNIVERSE suggest there is something rotten here.

I have one more proposition regarding SETANNOTATION syntax. The ABNF is:

"SETANNOTATION" SP setentries
setentries = entry-att *(SP entry-att)

There is a list of items there, however, the list is not delimited by 
parentheses. This is an exceptional event in the IMAP world: when my 
parser tests if there is another entry-att, it tests if CRLF is the next 
token. This is the only occurence of such a test in whole our IMAP 
server parser. In other cases I always look for closing brace ")". The 
ABNF should be:

setentries = entry-att / "(" entry-att *(SP entry-att) ")"

obeying the rule: there is just one entry, or list of multiple entries 
delimited by parentheses.

J. Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB59xRC26366 for ietf-imapext-bks; Thu, 5 Dec 2002 01:59:27 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB59xOg26355 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 01:59:24 -0800 (PST)
Message-Id: <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Cyrus Daboo <daboo@cyrusoft.com>
Subject: Re: ANNOTATEMORE extension syntax
Cc: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]>
In-Reply-To: <2147483647.1039021621@[63.163.82.24]>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Date: Thu, 5 Dec 2002 10:59:20 +0100
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gB59xPg26358
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 reason for using /server /mailbox prefixes is the anticipation of 
> others being used in the future. I would rather not drop that option, 
> but I think we can adjust the commands in a way to eliminate the 
> mailbox encoding problem.

Well, since there's syntax difference between the two varieties, I don't 
think extension is all that simple. Suppose I locally add a third 
variety, would it be the two-argument or three-argument sort of 
annotation?

> One proposal would be along the lines of what you suggest, though 
> slightly modified:
>
> a GETANNOTATION "/server" "comment" "value"
>
> a GETANNOTATION "/mailbox" "INBOX" "comment" "value"

Isn't this really a strange way of saying

C: a CAPABILITY
S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
S: a OK
C: b GETANNOTATION SERVER "comment" "value"
C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"
...

?

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB4M7FZ28679 for ietf-imapext-bks; Wed, 4 Dec 2002 14:07:15 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB4M7Cg28674 for <ietf-imapext@imc.org>; Wed, 4 Dec 2002 14:07:13 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id RAA17365; Wed, 4 Dec 2002 17:03:56 -0500 (EST)
Date: Wed, 04 Dec 2002 17:07:01 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039021621@[63.163.82.24]>
In-Reply-To: <3DECC69B.1090007@kerio.com>
References:  <3DECC69B.1090007@kerio.com>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Jaroslav,

--On Tuesday, December 3, 2002 3:58 PM +0100 Jaroslav Snajdr 
<jsnajdr@kerio.com> wrote:

| I think the syntax /mailbox/{blabla}/property is extremely ugly - it
| introduces yet another terrible encoding for the folder names.

I am not particularly enamoured of that scheme either...

| Regarding the properties in the /server namespace, they could be handled
| by either separate commands, or by some special folder name (empty string
| or NIL) is a good candidate.

The reason for using /server /mailbox prefixes is the anticipation of 
others being used in the future. I would rather not drop that option, but I 
think we can adjust the commands in a way to eliminate the mailbox encoding 
problem.

One proposal would be along the lines of what you suggest, though slightly 
modified:

a GETANNOTATION "/server" "comment" "value"

a GETANNOTATION "/mailbox" "INBOX" "comment" "value"

i.e. the hierarchy of entries are split at the top level (and the second 
level for mailboxes) and those are provided as separate parameters to the 
command. This maitains the ability to add other top-level items, as well as 
removes the ugly mailbox name encoding. That would work for SETANNOTATION 
too.

| What sense does it make to export message flags via annotations? I don't
| like the idea of one feature accessible by two different ways.

Actually there are already at least two ways to access flags - one use 
FETCH and one using SEARCH - depending on exactly what you are after, one 
can be more efficient than the other.

See the message thread 'Issue #1 duplication of IMAP flags' from July 11, 
2001 in the archive of this mailing list for a discussion of this issue.


-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3NNrH07539 for ietf-imapext-bks; Tue, 3 Dec 2002 15:23:53 -0800 (PST)
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3NNng07533 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 15:23:49 -0800 (PST)
Received: from mailscan-out2.cac.washington.edu (mailscan-out2.cac.washington.edu [140.142.33.17]) by mxout3.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gB3NNn9r032765 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 15:23:49 -0800
Received: FROM smtp.washington.edu BY mailscan-out2.cac.washington.edu ; Tue Dec 03 15:23:47 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gB3NNlmZ020401 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 3 Dec 2002 15:23:47 -0800
Date: Tue, 3 Dec 2002 15:23:07 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>
cc: Harrie Hazewinkel <harrie@inet.it>, imap-ext IETF <ietf-imapext@imc.org>
Subject: Re: comments on draft-ietf-imapext-acl-06.txt
In-Reply-To: <145898190.1038920927@majormajor.rem.cmu.edu>
Message-ID: <Pine.WNT.4.51.0212031521440.3044-100000@Tomobiki-Cho.CAC.Washington.EDU>
References: <ABE7D70C-01E8-11D7-B05E-0003934A5A7E@inet.it> <145898190.1038920927@majormajor.rem.cmu.edu>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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, 3 Dec 2002, Lawrence Greenfield wrote:
> What if there are two group identifiers that apply to the user in question?
> Which group rights are used?

In the servers which are likely to use this, there would only be one group
or all groups would have the same rights.

However, I agree that it should be specified that groups be ordered, and
that first matching is used.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3I8sV15832 for ietf-imapext-bks; Tue, 3 Dec 2002 10:08:54 -0800 (PST)
Received: from smtp6.andrew.cmu.edu (SMTP6.andrew.cmu.edu [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3I8qg15825 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 10:08:52 -0800 (PST)
Received: from majormajor.rem.cmu.edu (LEG-C600.REM.cmu.edu [128.2.4.198]) (user=leg mech=GSSAPI (0 bits)) by smtp6.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB3I8pQA031359 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Tue, 3 Dec 2002 13:08:52 -0500
Date: Tue, 03 Dec 2002 13:08:47 -0500
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
To: Harrie Hazewinkel <harrie@inet.it>, imap-ext IETF <ietf-imapext@imc.org>
Subject: Re: comments on draft-ietf-imapext-acl-06.txt
Message-ID: <145898190.1038920927@majormajor.rem.cmu.edu>
In-Reply-To: <ABE7D70C-01E8-11D7-B05E-0003934A5A7E@inet.it>
References:  <ABE7D70C-01E8-11D7-B05E-0003934A5A7E@inet.it>
X-Mailer: Mulberry/3.0.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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>

Harrie brings up many good points with the current ACL2 document. Some 
reorganization talking about how the semantics are orthogonal to the 
commands would be useful, if we're going to continue down this path.

Reading his message brought up another question in my mind:

> 8.2.  Registration: MOST-SPECIFIC access calculation rule
>
>     Rule Identification: MOST-SPECIFIC
>
> Rule Semantics: the rights granted to the most specific identifier
> present in the ACL are used, i.e. if the user identifier is
> present, its ACL is used. If no user identifier is present, but a
> group that includes this user as a member is present, the group
> ACL is used. If neither user, nor group identifier is present, but
> an ACL for a special group "anyone" is present, the ACL for
> "anyone" is used.

What if there are two group identifiers that apply to the user in question?
Which group rights are used?

Larry



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3FmZ705379 for ietf-imapext-bks; Tue, 3 Dec 2002 07:48:35 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3FmXg05374 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 07:48:33 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id KAA04606; Tue, 3 Dec 2002 10:45:18 -0500 (EST)
Date: Tue, 03 Dec 2002 10:48:28 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
Message-ID: <2147483647.1038912508@[63.163.82.24]>
In-Reply-To: <200212030257.gB32vvQ9026348@smtp6.andrew.cmu.edu>
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu> <2147483647.1038852075@[63.163.82.24]> <200212030257.gB32vvQ9026348@smtp6.andrew.cmu.edu>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Lawrence,

--On Monday, December 2, 2002 9:57 PM -0500 Lawrence Greenfield 
<leg+@andrew.cmu.edu> wrote:

| and then say, "the value of entries shall meet the following ABNF",
| and then give a different ABNF derivation for the value.

Actually that is what ACAP does - it has ABNF in the 'body' of the rfc that 
defines the sytax of datasets etc explicitly, and then the formal syntax at 
the end just uses the generic utf8 string definition. I simply chose to 
merge those into one.

At this point I don't mind changing ANNOTATE to use 'string' for entries 
etc on the assumption that the IMAP i18n document will ultimately allow 
utf8 in strings via a switch.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3Ewn002947 for ietf-imapext-bks; Tue, 3 Dec 2002 06:58:49 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:j7WaCyv2oZ5iexfvITUG0N6s+JIsOstn@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3Ewjg02941 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 06:58:47 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)) for ietf-imapext@imc.org; Tue, 3 Dec 2002 15:58:36 +0100
Message-ID: <3DECC69B.1090007@kerio.com>
Date: Tue, 03 Dec 2002 15:58:35 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: ANNOTATEMORE extension syntax
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>

Hello!

We are implementing the ANNOTATE* extensions and I don't like the syntax 
of SETANNOTATION and GETANNOTATION commands. I think they should look 
more like the STATUS command:

AA GETANNOTATION "INBOX" ("property" "value")
* ANNOTATION "INBOX" ("property" ("value.shared" "hello"))
AA OK

I think the syntax /mailbox/{blabla}/property is extremely ugly - it 
introduces yet another terrible encoding for the folder names.

Regarding the properties in the /server namespace, they could be handled 
by either separate commands, or by some special folder name (empty 
string or NIL) is a good candidate.

Has anyone ever thouhgt about compatibility with WebDAV properties? We 
are designing a store that will be accessed by both IMAP and WebDAV. 
Anyone here who is already solving the problem how to map annotation 
names (/message/vendor/kerio/xxx), DAV property XML names to some 
generic internal format?

What sense does it make to export message flags via annotations? I don't 
like the idea of one feature accessible by two different ways.

Last, is there any IMAP client that implements ANNOTATE and ANNOTATEMORE 
extensions? We'd like to test the interoperability.

Jaroslav Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB32vxX13070 for ietf-imapext-bks; Mon, 2 Dec 2002 18:57:59 -0800 (PST)
Received: from smtp6.andrew.cmu.edu (SMTP6.andrew.cmu.edu [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB32vug13066 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 18:57:56 -0800 (PST)
Received: from dunbar.rem.cmu.edu (DUNBAR.REM.cmu.edu [128.2.4.197]) by smtp6.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB32vvQ9026348; Mon, 2 Dec 2002 21:57:57 -0500
Date: Mon, 2 Dec 2002 21:57:57 -0500
Message-Id: <200212030257.gB32vvQ9026348@smtp6.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.3
To: ietf-imapext@imc.org, Cyrus Daboo <daboo@cyrusoft.com>
In-reply-to: <2147483647.1038852075@[63.163.82.24]>
Subject: Re: a plea for syntactic cleanliness
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu> <2147483647.1038852075@[63.163.82.24]>
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?= =?ISO-8859-4?Q?=F2mae?=) Emacs/21.2 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
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>

   Date: Mon, 02 Dec 2002 18:01:15 -0500
   From: Cyrus Daboo <daboo@cyrusoft.com>

[... utf8 quoted strings ...]

Personally, I don't care. Mark's desire for uniform strings is
attractive. Your desire for UTF-8 quoted strings is attractive.

I am fairly sure that it really makes not one wit of difference to the
computers that will actually be interpreting the protocol.

   The reason for the 'entry' item in annotate being the way it is is to try 
   and express the hierarchical nature of the entry namespace in ABNF (i.e. 
   the fact that '/' is a hierarchy separator). If I remember correctly it was 
   modelled on the ABNF used in ACAP. This could be simplified to 'entry = 
   string' with a comment about th hierarchical naming - i.e. '/' is a special 
   character - but shouldn't that fact be explicitly laid out in ABNF rather 
   than relying on the description in the draft text?

Actually, ACAP defines

   entry              = entry-name / entry-path

   entry-name         = string-utf8
                        ;; entry name MUST NOT contain slash
                        ;; MUST NOT begin with "."

   entry-path         = string-utf8
                        ;; slash-separated path to entry
                        ;; begins with slash

It does not attempt to define these things at a syntactic level.

If you really want to do that, you can define things like

entry = string

and then say, "the value of entries shall meet the following ABNF",
and then give a different ABNF derivation for the value.

Larry



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2NDjX24373 for ietf-imapext-bks; Mon, 2 Dec 2002 15:13:45 -0800 (PST)
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2NDeg24364 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:13:41 -0800 (PST)
Received: from mailscan-out2.cac.washington.edu (mailscan-out2.cac.washington.edu [140.142.33.17]) by mxout3.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gB2NDX9r027752 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:13:38 -0800
Received: FROM smtp.washington.edu BY mailscan-out2.cac.washington.edu ; Mon Dec 02 15:13:32 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gB2NDWmZ028787 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 2 Dec 2002 15:13:32 -0800
Date: Mon, 2 Dec 2002 15:13:34 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: Cyrus Daboo <daboo@cyrusoft.com>
cc: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
In-Reply-To: <2147483647.1038852075@[63.163.82.24]>
Message-ID: <Pine.WNT.4.51.0212021510110.3108-100000@Tomobiki-Cho.CAC.Washington.EDU>
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu> <2147483647.1038852075@[63.163.82.24]>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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, 2 Dec 2002, Cyrus Daboo wrote:
> Lets define a string type that allows quoted utf8 data and have those
> extensions that want to use utf8 data (such as annotate/acl2 etc) be able
> to use that.

I disagree.  UTF-8 strings should be required to be sent as literals in
all aspects of the IMAP protocol, unless there is an extension whose
purpose it is to relax the base specification prohibition for all strings.

The extensions which violate this must be fixed to comply with the base
specification.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2N9jY24324 for ietf-imapext-bks; Mon, 2 Dec 2002 15:09:45 -0800 (PST)
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2N9dg24320 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:09:40 -0800 (PST)
Received: from mailscan-out3.cac.washington.edu (mailscan-out3.cac.washington.edu [140.142.32.170]) by mxout1.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gB2N9WVM017416 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:09:37 -0800
Received: FROM smtp.washington.edu BY mailscan-out3.cac.washington.edu ; Mon Dec 02 15:09:31 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gB2N9VmZ028477 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 2 Dec 2002 15:09:31 -0800
Date: Mon, 2 Dec 2002 15:09:33 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>
cc: ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
In-Reply-To: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
Message-ID: <Pine.WNT.4.51.0212021505050.3108-100000@Tomobiki-Cho.CAC.Washington.EDU>
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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>

For what it's worth, I agree.  New data types should not be added to the
IMAP protocol without extraordinary reasons that make an existing datatype
unsuitable.

I think that the only case in which a quoted string should be allowed but
not a literal is when the string is exactly one character and can not be
8-bit.  The hierarchy delimiter (in the untagged LIST response) is the
only example to date of such a thing.  It probably should remain the
exceptional case that proves the rule.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2N2DM24214 for ietf-imapext-bks; Mon, 2 Dec 2002 15:02:13 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2N26g24210 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:02:07 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id RAA29009; Mon, 2 Dec 2002 17:58:07 -0500 (EST)
Date: Mon, 02 Dec 2002 18:01:15 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
Message-ID: <2147483647.1038852075@[63.163.82.24]>
In-Reply-To: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
References:  <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Lawrence,

--On Monday, December 2, 2002 5:13 PM -0500 Lawrence Greenfield 
<leg+@andrew.cmu.edu> wrote:

| Ok, so an entry could be
|
| "\001\002////""/"\045"
|
| is this really what's intended?
|
| Instead, 'entry = string', where string is well defined in the IMAP
| base spec, would suffice. It is a semantic constraint that should
| prevent a leading slash, NOT a syntactic one. Let's not try to force
| things into the ABNF that are really about the semantics.
|
| Now, looking at draft-crispin-imapv-20, 'quoted' isn't allowed to
| contain UTF-8 characters, meaning that literals are going to be used
| more heavily. That really isn't a big deal.
|
| ACL2 makes the same mistake. Please, use "string" or "nstring" in
| extensions. Don't roll your own. Don't make us have to rewrite lexers
| to deal with strange semantic constraints.

Lets define a string type that allows quoted utf8 data and have those 
extensions that want to use utf8 data (such as annotate/acl2 etc) be able 
to use that. That way you only need to add one new 'type' to your parser 
for all those types of extensions. There is no reason not to have utf8 
quoted strings in new extensions even if the base spec protocol elements 
still have to use literals for those.

The reason for the 'entry' item in annotate being the way it is is to try 
and express the hierarchical nature of the entry namespace in ABNF (i.e. 
the fact that '/' is a hierarchy separator). If I remember correctly it was 
modelled on the ABNF used in ACAP. This could be simplified to 'entry = 
string' with a comment about th hierarchical naming - i.e. '/' is a special 
character - but shouldn't that fact be explicitly laid out in ABNF rather 
than relying on the description in the draft text?

I think Chris also mentioned to me that we actually need to reference the 
utf8 spec explicitly to get the proper ABNF for sequences of utf8 
characters. ACAP had a full definition of utf8 character sequences defined 
in ABNF.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2MDBv23222 for ietf-imapext-bks; Mon, 2 Dec 2002 14:13:11 -0800 (PST)
Received: from smtp6.andrew.cmu.edu (SMTP6.andrew.cmu.edu [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2MD7g23217 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 14:13:08 -0800 (PST)
Received: from penguin.andrew.cmu.edu (PENGUIN.andrew.cmu.edu [128.2.121.100]) by smtp6.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB2MD6Q9014762; Mon, 2 Dec 2002 17:13:06 -0500
Date: Mon, 2 Dec 2002 17:13:06 -0500
Message-Id: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.3
To: ietf-imapext@imc.org
Subject: a plea for syntactic cleanliness
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?= =?ISO-8859-4?Q?=F2mae?=) Emacs/21.2 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
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>

Ok, I was reviewing some parsing stuff in Cyrus, which has code to
support some of the ANNOTATE suggestions.

I'm getting increasingly frustrated by the extensions that are
defining strange strings. For instance, there is never any reason to
allow a quoted string but not allow a literal string. We have
LITERAL+, all servers that care about performance should implement it,
and it frees clients from having to figure out if there are any
characters that need to be quoted.

Looking at draft-ietf-imapext-annotate-05.txt, it defines some
protocol elements not in terms of base imap strings (like 'attrib' or
'entry') but rolls its own.

In doing so, it does weird things:

   entry             = DQUOTE 1*atom-slash *("/" 1*atom-slash) DQUOTE
   atom-slash        = any utf8-char except "/"
   utf8-char         =  %x01-FF
                       ; any character, excluding NUL

Ok, so an entry could be

"\001\002////""/"\045"

is this really what's intended?

Instead, 'entry = string', where string is well defined in the IMAP
base spec, would suffice. It is a semantic constraint that should
prevent a leading slash, NOT a syntactic one. Let's not try to force
things into the ABNF that are really about the semantics.

Now, looking at draft-crispin-imapv-20, 'quoted' isn't allowed to
contain UTF-8 characters, meaning that literals are going to be used
more heavily. That really isn't a big deal.

ACL2 makes the same mistake. Please, use "string" or "nstring" in
extensions. Don't roll your own. Don't make us have to rewrite lexers
to deal with strange semantic constraints.

Larry



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB1GoUb18209 for ietf-imapext-bks; Sun, 1 Dec 2002 08:50:30 -0800 (PST)
Received: from Ikkoku-Kan.Panda.COM (rodriguez@panda.com [206.124.149.114]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB1GoOg18185 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 08:50:25 -0800 (PST)
Received: from Ikkoku-Kan.Panda.COM (Ikkoku-Kan.Panda.COM [192.107.14.50]) by Ikkoku-Kan.Panda.COM id IAA00663; Sun, 1 Dec 2002 08:50:08 -0800 (PST)
Date: Sun, 1 Dec 2002 08:49:10 -0800 (PST)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: Alternative to CHANNEL
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: ietf-imapext@imc.org
In-Reply-To: <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
Message-ID: <MailManager.1038761350.15587.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
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 Sun, 1 Dec 2002 14:30:08 +0100, Arnt Gulbrandsen wrote:
> It does seem to be closer to the IMAP way of life, at least. Me, I like
> it very much.

I also like this idea.  There may be some syntactic sugar that needs more
thought, but it sure looks to me like this is a step in the right direction.



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB1DZin08013 for ietf-imapext-bks; Sun, 1 Dec 2002 05:35:44 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB1DZfg08008 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 05:35:42 -0800 (PST)
Message-Id: <pHcTri0v89Ldtvv7JCD0AQ.md5@melkebalanse.gulbrandsen.priv.no>
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Shiv Amir <Amir.Shiv@comverse.com>
Subject: Re: Alternative to CHANNEL
Cc: ietf-imapext@imc.org
References: <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com> <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
In-Reply-To: <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Date: Sun, 1 Dec 2002 14:37:07 +0100
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 writes:
> 3. The lifetime of the URI returned is not specified, which makes the 
> mechanism less dependable.
>
> If I want a URI for a body-part, it's reasonable to assume that the 
> URL will be used by an agent other than the current IMAP client. 
> After all, the IMAP client can use FETCH BODY[...], it doesn't need 
> the URI itself.

One more thing.

The draft should explictly caution against, or even forbid, returning a 
URI with the user's password in it.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB1DSqc07604 for ietf-imapext-bks; Sun, 1 Dec 2002 05:28:52 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB1DSng07597 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 05:28:50 -0800 (PST)
Message-Id: <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Shiv Amir <Amir.Shiv@comverse.com>
Subject: Re: Alternative to CHANNEL
Cc: ietf-imapext@imc.org
References: <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com>
In-Reply-To:  <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Date: Sun, 1 Dec 2002 14:30:08 +0100
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gB1DSog07599
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>

Shiv Amir writes:
> I would like to suggest an alternative implementation to the proposed 
> CHANNEL extension.
...
> For example:
> tag FETCH 1 BODY[2.URL (rtsp: http:)]
>
> Isn't this much more simple and consistent with the IMAP model?

It does seem to be closer to the IMAP way of life, at least. Me, I like 
it very much.

Having now read the draft thoroughly for the first time, I have a few 
random comments:

1. I don't see the value of allowing absoluteURIs in the client command. 
(And indeed, the draft uses only schemes in its examples.)

Is there some point to saying that "I want this body part, either via 
rtsp from server xyz, or else via imap, or if that too fails, via 
rtsp", as the channel-uri-list (rtsp:xyz imap: http:) does?

Either the use of URIs in commands should be justified, or else dropped.

If they're dropped, the ":" should be dropped too. "rtsp" everywhere, 
not "rtsp:" in commands and "rtsp" in capabilities.

2. If the FETCH alternative is adopted, the outstanding issue 
disappears: The servers' and clients' existing escape mechanisms deal 
with it. Anything that would conflict is simply quoted by existing code 
in the server/client.

3. The lifetime of the URI returned is not specified, which makes the 
mechanism less dependable.

If I want a URI for a body-part, it's reasonable to assume that the URL 
will be used by an agent other than the current IMAP client. After all, 
the IMAP client can use FETCH BODY[...], it doesn't need the URI 
itself.

If someone else is to use the URI, then it is in turn reasonable to 
assume that there may be some time difference. Assuming less than a few 
hours/days is unreasonable, IMO. The draft should provide guidance to 
server authors.

Actually I think the server should provide guidance in the form of a 
non-binding lifetime estimate.

4. The lifetime handwaving leads to a security problem.

A client may read someone else's document because the URI has been 
reused. (The examples in the draft show vulnerable URLs: 144124 is only 
18 bits.) The document should suggest/require that after the end of 
their lifetimes, the same URI SHOULD NOT be reused by a different 
document.

5. The draft doesn't say what happens if the client asks for a channel 
which the server does not advertise.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB19Toi16011 for ietf-imapext-bks; Sun, 1 Dec 2002 01:29:50 -0800 (PST)
Received: from il-tlv-smtpout2.icomverse.com ([192.118.49.3]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB19Tlg15999 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 01:29:47 -0800 (PST)
Received: from il-tlv-mbdg2.comverse.com (localhost.localdomain [127.0.0.1]) by il-tlv-smtpout2.icomverse.com (8.11.6/8.11.6) with ESMTP id gB19RtH20736 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 11:28:25 +0200
Received: by il-tlv-mbdg2.comverse.com with Internet Mail Service (5.5.2655.55) id <XG4FCRQJ>; Sun, 1 Dec 2002 11:28:01 +0200
Message-ID: <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com>
From: Shiv Amir <Amir.Shiv@comverse.com>
To: "'ietf-imapext@imc.org'" <ietf-imapext@imc.org>
Subject: Alternative to CHANNEL
Date: Sun, 1 Dec 2002 11:27:59 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2991B.B7C1E6E0"
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 message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2991B.B7C1E6E0
Content-Type: text/plain;
	charset="windows-1255"

Hello,

I would like to suggest an alternative implementation to the proposed
CHANNEL extension.

The FETCH command is designed to retrieve properties of a message (flags,
UID...)
One can think of a URL to a message as another property of the message. So,
it looks more reasonable to me to extend the existing FETCH command to
retrieve alternate URLs to messages (and message parts) rather than
introducing a new command (CHANNEL).

For example:
tag FETCH 1 BODY[2.URL (rtsp: http:)]

Isn't this much more simple and consistent with the IMAP model?

Amir Shiv
Comverse

------_=_NextPart_001_01C2991B.B7C1E6E0
Content-Type: text/html;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1255">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>Alternative to CHANNEL</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hello,</FONT>
</P>

<P><FONT SIZE=3D2>I would like to suggest an alternative implementation =
to the proposed CHANNEL extension.</FONT>
</P>

<P><FONT SIZE=3D2>The FETCH command is designed to retrieve properties =
of a message (flags, UID...)</FONT>
<BR><FONT SIZE=3D2>One can think of a URL to a message as another =
property of the message. So, it looks more reasonable to me to extend =
the existing FETCH command to retrieve alternate URLs to messages (and =
message parts) rather than introducing a new command =
(CHANNEL).</FONT></P>

<P><FONT SIZE=3D2>For example:</FONT>
<BR><FONT SIZE=3D2>tag FETCH 1 BODY[2.URL (rtsp: http:)]</FONT>
</P>

<P><FONT SIZE=3D2>Isn't this much more simple and consistent with the =
IMAP model?</FONT>
</P>

<P><FONT SIZE=3D2>Amir Shiv</FONT>
<BR><FONT SIZE=3D2>Comverse</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2991B.B7C1E6E0--


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBID6PQ25912 for ietf-imapext-bks; Wed, 18 Dec 2002 05:06:25 -0800 (PST)
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBID6Oo25901 for <ietf-imapext@imc.org>; Wed, 18 Dec 2002 05:06:24 -0800 (PST)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA04363; Wed, 18 Dec 2002 08:03:24 -0500 (EST)
Message-Id: <200212181303.IAA04363@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-sort-11.txt
Date: Wed, 18 Dec 2002 08:03:24 -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		: INTERNET MESSAGE ACCESS PROTOCOL - SORT AND THREAD 
                          EXTENSION
	Author(s)	: M. Crispin, K. Murchison
	Filename	: draft-ietf-imapext-sort-11.txt
	Pages		: 19
	Date		: 2002-12-16
	
This document describes the base-level server-based sorting and
threading extension to the [IMAP] protocol.  This extension provides
substantial performance improvements for IMAP clients which offer
sorted and threaded views.
A server which supports the base-level SORT extension indicates this
with a capability name which starts with 'SORT'.  Future, upwards-
compatible extensions to the SORT extension will all start with
'SORT', indicating support for this base level.
A server which supports this extension indicates this with one or
more capability names consisting of 'THREAD=' followed by a supported
threading algorithm name as described in this document.  This
provides for future upwards-compatible extensions.

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

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

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-sort-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-sort-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:	<2002-12-16123529.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2002-12-16123529.I-D@ietf.org>

--OtherAccess--

--NextPart--




Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBDMQXM14617 for ietf-imapext-bks; Fri, 13 Dec 2002 14:26:33 -0800 (PST)
Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBDMQVE14613 for <ietf-imapext@IMC.ORG>; Fri, 13 Dec 2002 14:26:32 -0800 (PST)
Received: from esunmail ([129.147.58.122]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA05019 for <ietf-imapext@IMC.ORG>; Fri, 13 Dec 2002 15:26:33 -0700 (MST)
Received: from xpa-fe1 ([129.147.58.122]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 0.8 (built Jul 12 2002)) with ESMTP id <0H720015WX091K@edgemail1.Central.Sun.COM> for ietf-imapext@IMC.ORG; Fri, 13 Dec 2002 15:26:33 -0700 (MST)
Received: from nifty-jr.west.sun.com ([129.153.12.95]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 0.2 (built Apr 26 2002)) with ESMTPSA id <0H7200GWKX06UH@mail.sun.net> for ietf-imapext@IMC.ORG; Fri, 13 Dec 2002 15:26:33 -0700 (MST)
Date: Fri, 13 Dec 2002 14:21:49 -0800
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: updated SORT/THREAD document submitted as an I-D
In-reply-to: <Pine.WNT.4.51.0212121938410.2280@Tomobiki-Cho.CAC.Washington.EDU>
To: Mark Crispin <MRC@cac.washington.edu>, IMAP Extensions WG <ietf-imapext@imc.org>, IMAP Interest List <IMAP@cac.washington.edu>
Message-id: <2147483647.1039789309@nifty-jr.west.sun.com>
MIME-version: 1.0
X-Mailer: Mulberry/3.0.0 (Mac OS X)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-message-flag: Outlook: the best virus distribution system around
References: <Pine.WNT.4.51.0212121938410.2280@Tomobiki-Cho.CAC.Washington.ED U>
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>

begin quotation by Mark Crispin on 2002/12/12 19:45 -0800:
> Would someone (Chris?) volunteer to write the necessary stringprep
> profile?  Or does Chris think that this should be in the IMAP i18n
> document instead -- if so, I need a reference to use.

I've started work on the i18n document (tentatively called 
draft-ietf-imapext-i18n-00.txt, assuming WG chair approves).  The first cut 
will include the stringprep profile, and a mechanism to negotiate 
comparators so we're not locked into one solution forever.  This is hard 
work so it will take me some time to produce a first draft.

Please nag me again if I haven't produced an internet-draft by mid-January.

                - Chris



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBD561Y15154 for ietf-imapext-bks; Thu, 12 Dec 2002 21:06:01 -0800 (PST)
Received: from mauve.mrochek.com (mauve.mrochek.com [209.55.107.55]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBD55wE15146 for <ietf-imapext@imc.org>; Thu, 12 Dec 2002 21:05:58 -0800 (PST)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01KPXRRR1EWW001ZTY@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for ietf-imapext@imc.org; Thu, 12 Dec 2002 21:06:00 -0800 (PST)
Date: Thu, 12 Dec 2002 20:58:28 -0800 (PST)
From: ned+imapext@INNOSOFT.COM
Subject: Status of draft-melnikov-imap-mdn-05.txt
To: ietf-imapext@imc.org, Alexey Melnikov <mel@messagingdirect.com>
Cc: ned.freed@mrochek.com, paf@cisco.com
Message-id: <01KPYIOAI3YU001ZTY@mauve.mrochek.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=us-ascii
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 IESG approved this document today. However, the IESG elected to approve
this as a proposed standard rather than a BCP.

The reason for this change is that although the document doesn't modify the
IMAP protocol per se it does change the client semantics of a particular
protocol element: The $MDNSent keyword. The IESG felt that this is sufficient
to justify placing the document on the standards track rather than making it a
BCP. The IESG also noted that it is entirely possible for there to be multiple
implementations and to test interoperability of those implementations.

If there are any objections to this status change I'd like to hear about them,
preferably before the annoucement is sent a few days from now.

				Ned

P.S. The primary reason for this note explicitly noting this change is that a
recent, similar change to the status of a document took place in the FAX
working group and was unremarked at the time but caused significant confusion
later. I'd like to avoid that in this case.


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBD3jvd10157 for ietf-imapext-bks; Thu, 12 Dec 2002 19:45:57 -0800 (PST)
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBD3jsE10153 for <ietf-imapext@IMC.ORG>; Thu, 12 Dec 2002 19:45:55 -0800 (PST)
Received: from mailscan-out1.cac.washington.edu (mailscan-out1.cac.washington.edu [140.142.32.138]) by mxout2.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gBD3jqEC010593 for <ietf-imapext@IMC.ORG>; Thu, 12 Dec 2002 19:45:57 -0800
Received: FROM smtp.washington.edu BY mailscan-out1.cac.washington.edu ; Thu Dec 12 19:45:52 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gBD3jpmZ003684 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 12 Dec 2002 19:45:51 -0800
Date: Thu, 12 Dec 2002 19:45:51 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: IMAP Extensions WG <ietf-imapext@imc.org>, IMAP Interest List <IMAP@cac.washington.edu>
Subject: updated SORT/THREAD document submitted as an I-D
Message-ID: <Pine.WNT.4.51.0212121938410.2280@Tomobiki-Cho.CAC.Washington.EDU>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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>

draft-ietf-imapext-sort-11.txt has been submitted, and is also available
on:
	ftp://ftp.cac.washington.edu/mail/draft-ietf-imapext-sort-11.txt

This document merges the SORT and THREAD drafts, and makes some tenative
steps towards addressing some long-standing nits; e.g. there is now a
valid security and IANA considerations section, and the two extensions now
have common rules.

There is also a mention of stringprep here, and we probably need to do
something about a stringprep profile.  Although my server currently
converts all UTF-8 into pre-composed characters, we probably should use a
decomposed form for collation.

Would someone (Chris?) volunteer to write the necessary stringprep
profile?  Or does Chris think that this should be in the IMAP i18n
document instead -- if so, I need a reference to use.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBBJS1M20147 for ietf-imapext-bks; Wed, 11 Dec 2002 11:28:01 -0800 (PST)
Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBBJS0E20143 for <ietf-imapext@imc.org>; Wed, 11 Dec 2002 11:28:00 -0800 (PST)
Received: from esunmail ([129.147.58.121]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id MAA19808 for <ietf-imapext@imc.org>; Wed, 11 Dec 2002 12:28:01 -0700 (MST)
Received: from xpa-fe2 ([129.147.58.121]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 0.8 (built Jul 12 2002)) with ESMTP id <0H6Y00013ZEOUO@edgemail1.Central.Sun.COM> for ietf-imapext@imc.org; Wed, 11 Dec 2002 12:28:01 -0700 (MST)
Received: from h-192-18-127-205.red.iplanet.com ([192.18.127.205]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 0.2 (built Apr 26 2002)) with ESMTPSA id <0H6Y00HNRZEMA2@mail.sun.net> for ietf-imapext@imc.org; Wed, 11 Dec 2002 12:28:00 -0700 (MST)
Date: Wed, 11 Dec 2002 11:23:20 -0800
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: IMAP-URL and NAMESPACE
In-reply-to: <A7018212-0D23-11D7-BEB1-0003934A5A7E@inet.it>
To: Harrie Hazewinkel <harrie@inet.it>, imap-ext IETF <ietf-imapext@imc.org>
Message-id: <2147483647.1039605800@h-192-18-127-205.red.iplanet.com>
MIME-version: 1.0
X-Mailer: Mulberry/3.0.0 (Mac OS X)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-message-flag: Outlook: the best virus distribution system around
References: <A7018212-0D23-11D7-BEB1-0003934A5A7E@inet.it>
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>

begin quotation by Harrie Hazewinkel on 2002/12/11 17:14 +0100:
> I am looking into combining namaspaces and imap-urls.
> However, I am not sure if I am correct. Namely, RFC 2192
> does not speak of namespaces as part of the URL.
>
> Should I just see the namespace as part of the mailbox name??
> Which is the 'enc_mailbox' part of the ABNF??
>
> For example, the following namespace exist.
> * NAMESPACE (("" "/")) (("~" "/")) (("#shared/" "/")("#public/" "/"))
>
> Would a URL for the mailbox TEST under "#public/" be the following
> URL "imap://iserver/#public/TEST"

The namespace is just a prefix of the mailbox name, so you are largely 
correct.

However, "#" is a special character for URLs and must be encoded as %23 in 
the URL.

> This is based on the assumption
> x LIST "" "#public/*" has an equal result as x LIST "#public/" "*"

While the upcoming revision to RFC 2060 requires them to be the same, RFC 
2060 itself does not.  As a result, client implementors should leave the 
first argument to LIST as the empty-string unless you're implementing 
Unix-shell-like current directory semantics for mailbox browsing in your 
client.

                - Chris



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBBGEsd04859 for ietf-imapext-bks; Wed, 11 Dec 2002 08:14:54 -0800 (PST)
Received: from mid-2.inet.it (mid-2.inet.it [213.92.5.19]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBBGEnE04849 for <ietf-imapext@imc.org>; Wed, 11 Dec 2002 08:14:50 -0800 (PST)
Received: from  [::ffff:213.92.1.237] by mid-2.inet.it via I-SMTP-4.3.3-430 id ::ffff:213.92.1.237+Aj9gHaVBkLYK; Wed, 11 Dec 2002 17:14:44 +0100
Date: Wed, 11 Dec 2002 17:14:40 +0100
Mime-Version: 1.0 (Apple Message framework v482)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Subject: IMAP-URL and NAMESPACE
From: Harrie Hazewinkel <harrie@inet.it>
To: imap-ext IETF <ietf-imapext@imc.org>
Content-Transfer-Encoding: 7bit
Message-Id: <A7018212-0D23-11D7-BEB1-0003934A5A7E@inet.it>
X-Mailer: Apple Mail (2.482)
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 all,

Sorry, if this is the wrong WG to ask.


I am looking into combining namaspaces and imap-urls.
However, I am not sure if I am correct. Namely, RFC 2192
does not speak of namespaces as part of the URL.

Should I just see the namespace as part of the mailbox name??
Which is the 'enc_mailbox' part of the ABNF??

For example, the following namespace exist.
* NAMESPACE (("" "/")) (("~" "/")) (("#shared/" "/")("#public/" "/"))

Would a URL for the mailbox TEST under "#public/" be the following
URL "imap://iserver/#public/TEST"
This is based on the assumption
x LIST "" "#public/*" has an equal result as x LIST "#public/" "*"

Thanks by advance,

Harrie

Software developer, Technical Department



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB7DJBS19601 for ietf-imapext-bks; Sat, 7 Dec 2002 05:19:11 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:mHEyQsHOHFQU7UnI9u0RtgUlQ8Nm/Ng5@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB7DJ7g19591 for <ietf-imapext@imc.org>; Sat, 7 Dec 2002 05:19:08 -0800 (PST)
Received: from localhost by mailhub.kerio.com (Kerio MailServer 5.5.0); Sat, 7 Dec 2002 14:17:54 +0100
Date: Sat, 7 Dec 2002 14:17:54 +0100
Message-ID: <KMS-2853790-19562@mailhub.kerio.com>
MIME-Version: 1.0
From: "Jaroslav Snajdr" <jsnajdr@kerio.com>
Subject: Re: ANNOTATEMORE extension syntax
To: "Curtis King" <cking@artattack.orthanc.ab.ca>
Cc: "Curtis King" <cking@artattack.orthanc.ab.ca>, "Jaroslav Snajdr" <jsnajdr@kerio.com>, "Cyrus Daboo" <daboo@cyrusoft.com>, ietf-imapext@imc.org
X-Priority: 3
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gB7DJ9g19595
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 I want to access user or group information, I'll use a
> > directory service via LDAP protocol.
> 
> If your server supports the ACL extension then the IMAP objects
> now include users and groups.  Some servers might use LDAP to
> store user/group information in LDAP, then again some of them
> may not. How are the clients supposed to know which ones do and
> which ones don't?

Look at the WebDAV ACL extension draft - they use URLs as user/group principal names.

I agree that the world of ACL is far from being standardized at this time - it is very tightly coupled to the underlying operating system. There is Unix, AFS, Windows, Novell... every one of them having a support for some sort of ACL, but they are not compatible.

I don't believe this problem will be solved by an IMAP extension - it is a much larger task of specifying a standard and general security framework for internet protocols.

> I like the idea of not limiting the namespace, but if this makes
> server implementations too hard then that's no good either
> because if there is nothing for the client to talk to then it is
> going to-be a short conversation.

It's not that hard to implement other namespaces, but as was pointed out, the current syntax in not very well thought out and my personal opinion is that the other namespaces are not necessary - let's use different protocols instead.

> > I think it doesn't make sense to design IMAP extensions that
> > offer functionality already present somewhere else and this
> > functionality is even inferior to those standard and widely
> > used protocols.
> 
> That is a very interesting comment ;)  I really have a hard time
> finding any true value in ANNOTATE at this time because I don't
> see how it will add value to the end users experience.

ANNOTATE lets you store metadata along with messages stored on IMAP server. Here are three real-world examples why they are necessary for us:

1. Our mail server includes a mailing list manager that supports moderated lists. The messages waiting to be approved by moderator are stored in an IMAP folder in special namespace. The list manager needs to store some additional data with each message - it puts them in annotations.

2. We are writing a MAPI message store provider for MS Outlook that uses IMAP to communicate with server. MAPI stores many additional properties with each message. They are put into annotations.

3. One of our partner develops a Web-based CRM systems that uses our IMAP server as one of its data sources. It needs to store a customer ID with each message that is related to this customer. It is stored as annotation..

> Maybe, it is just me but ANNOTATE seems to re-implement
> functionality already available in IMAP?

Yes, ANNOTATE defines special annotations that give access to the message flags. I think it's useless and I don't like it. Most of ANNOTATE functionality is NOT already available in IMAP though and is absolutely necessary for many applications.

> Would our time be better spent re-writing ACAP into something
> we could implement?

I'm happy with the features ANNOTATE provides - all my objections are about the fact that I think it actually provides too many features :-)

J. Snajdr




Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB6NEDW09496 for ietf-imapext-bks; Fri, 6 Dec 2002 15:14:13 -0800 (PST)
Received: from artattack.orthanc.ab.ca (brooklyn.artattack.orthanc.ab.ca [142.179.183.183]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB6NEAg09482 for <ietf-imapext@imc.org>; Fri, 6 Dec 2002 15:14:10 -0800 (PST)
Received: from [192.168.1.2] (foxy.artattack.orthanc.ab.ca [192.168.1.2]) by artattack.orthanc.ab.ca (Postfix) with ESMTP id 1064D2075B; Fri,  6 Dec 2002 16:14:05 -0700 (MST)
Date: Fri, 06 Dec 2002 16:14:05 -0700
From: Curtis King <cking@artattack.orthanc.ab.ca>
Reply-To: Curtis King <cking@artattack.orthanc.ab.ca>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, Cyrus Daboo <daboo@cyrusoft.com>
Cc: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <4300000.1039216445@foxy.artattack.orthanc.ab.ca>
X-Mailer: Mulberry/2.2.1 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 want to-be clear, I agree with your desire to make ANNOTATE simpler in 
addition to Lawrence's plea for syntactic cleanliness.  It always scares me 
to see an extension with an extension before there are any implementations 
of the first extension.  ANNOTATE brings back memories of the ACAP 
discussions and we have all implemented ACAP ;)  If ANNOTATE is too much of 
a pain to implement then it won't be implemented.

But, we need to consider both client and server implementation needs and 
wants.

> If I want to access user or group information, I'll use a directory
> service via LDAP protocol.

If your server supports the ACL extension then the IMAP objects now include 
users and groups.  Some servers might use LDAP to store user/group 
information in LDAP, then again some of them may not.  How are the clients 
supposed to know which ones do and which ones don't?  A client might want 
to let the user associate a "Friendly Name" with an user name.  For 
example, userid = u320 and the Friendly Name = Curtis King.

I like the idea of not limiting the namespace, but if this makes server 
implementations too hard then that's no good either because if there is 
nothing for the client to talk to then it is going to-be a short 
conversation.

>
> I think it doesn't make sense to design IMAP extensions that offer
> functionality already present somewhere else and this functionality is
> even inferior to those standard and widely used protocols.

That is a very interesting comment ;)  I really have a hard time finding 
any true value in ANNOTATE at this time because I don't see how it will add 
value to the end users experience.  Maybe, it is just me but ANNOTATE seems 
to re-implement functionality already available in IMAP?  Would our time be 
better spent re-writing ACAP into something we could implement?  But that 
is whole other conversation ;)

ck

--------------------------------------------

Curtis King
Email: cking@artattack.orthanc.ab.ca




Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB6BjjQ11254 for ietf-imapext-bks; Fri, 6 Dec 2002 03:45:45 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:5maeecWMtH/+Q/tDmxaNBVvZmZ2PdYMy@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB6Bjfg11250 for <ietf-imapext@imc.org>; Fri, 6 Dec 2002 03:45:42 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)); Fri, 6 Dec 2002 12:45:34 +0100
Message-ID: <3DF08DDD.4030409@kerio.com>
Date: Fri, 06 Dec 2002 12:45:33 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <daboo@cyrusoft.com>
CC: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu> <3DEF872E.9000000@kerio.com> <2147483647.1039091756@[10.0.1.13]>
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:

> | It depends on what you expect from the ANNOTATE extensions. I expect 
> that
> | I'll be able to set named properties on the IMAP resources. IMAP
> | resources are the server itself, the folders, and the messages in
> | folders. IMAP doesn't provide access to any other objects, so I don't
> | need to set properties on anything else besides objects (resources)
> | already present in current drafts. I don't see any need for 
> extensibility
> | in this direction.
>
> There are other 'objects' that can be used - some more directly 
> coupled to IMAP than others. e.g. a /user and a /group hierarchy that 
> can be used to determine information about users and groups on the 
> system for use with the ACL command.


If I want to access user or group information, I'll use a directory 
service via LDAP protocol. There are hundreds of standard compliant LDAP 
servers and dozens of free and commercial LDAP client libraries I can 
choose from. Most organizations have their users stored in some kind of 
Active Directory, NDS or OpenLDAP server. I cannot imagine any reason 
why someone would want to duplicate LDAP functionality in and IMAP 
extension implemenation and write and debug all the client and server 
code himself.

> The goal here is not to reinvent ACAP inside of IMAP, but to allow 
> vendors flexibility to store and manage data in a way that fits there 
> mailstore design. For example, some mailstores may be tightly coupled 
> to a sieve implementation, in which case storing sieve scripts though 
> IMAP annotations may be an attractive solution.


Our server works with Sieve scripts with special IMAP commands 
X-GETSCRIPT and X-PUTSCRIPT - in fact the managesieve protocol inlined 
into IMAP connection. Can be implemented and debugged in ten minutes. If 
I want a standard solution, I'll save Sieve scripts as WebDAV resources. 
There's no need for elaborate ANNOTATEMORE namespaces.

I think it doesn't make sense to design IMAP extensions that offer 
functionality already present somewhere else and this functionality is 
even inferior to those standard and widely used protocols. Nobody is 
going to implement them. What I expect from ANNOTATE extension is that 
I'll be able to store and retrieve properties of IMAP objects - folders 
and messages. Nothing more. We are not going to implement anything else 
because we don't believe anybody will use it. We'll rather work on LDAP, 
HTTP, WebDAV and Web services support, because these are widely 
supported by client software and development environments. Every modern 
OS ships with some LDAP or HTTP libraries, there are WebDAV filesystem 
drivers. Every kid can write a Perl or Visual Basic script that will 
change his Sieve filter stored on WebDAV server. How do I do the same 
with ACAP or ANNOTATEMORE? Cyrus ACAP library is in alpha state and dead 
for five years, ANNOTATEMORE library is nonexistent.

My proposition is to simplify the ANNOTATE extension just to the 
/mailbox namespace (and maybe the /server) and merge it with the 
ANNOTATE extension. Implementation consists of one DBM database file per 
folder with UIDs as keys + one special keys for properties of folder 
itself. Simple and sufficient.

J. Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5I77007569 for ietf-imapext-bks; Thu, 5 Dec 2002 10:07:07 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5I73g07564 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 10:07:04 -0800 (PST)
Received: (from arnt@localhost) by melkebalanse.gulbrandsen.priv.no (8.11.6/8.11.6) id gB5I6QY10085; Thu, 5 Dec 2002 19:06:26 +0100
Date: Thu, 5 Dec 2002 19:06:26 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Cyrus Daboo <daboo@cyrusoft.com>
Cc: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <20021205190626.C10054@melkebalanse.gulbrandsen.priv.no>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <2147483647.1039090160@[10.0.1.13]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2147483647.1039090160@[10.0.1.13]>
X-Message-Flag: WARNING! Message was not sent using Microsoft software!
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 <daboo@cyrusoft.com>
> As Rob pointed out this can lead to 'capability overload' and really is no
> different from what I suggested before except for the different labels for
> top-level items.

Agreed. But if A is no different from B, B is also no different from A.

Looking at CAPABILITY is the IMAP way of detecting extensions. If
ANNOTATEMORE is _one_ extension, then it should have _one_ capability
listing.

However, if ANNOTATEMORE is one extension, then I think there should be
only one syntax for each of its commands. Today that's not the case.

Take case sensitivity as an example.

In the -1 draft, if I understand it correctly, annotation entries have
case-insensitive names. However, mailbox names are incorporated by
reference and they are case-sensitive, except INBOX, which is insensitive.

A server parsing a {GET,SET}ANNOTATION command has a fairly complex task
of matching the annotation entry name in the command to its data
structures.

Since the /server and /mailbox names are genuinely different wrt. case
sensitivity, I think it's fair to assume that any future extension would
also have its own parsing quirks. (Suppose some lunatic decides decides to
add a hierarchy that uses URIs as part of the annotation entry. The
look-up necessary in GETANNOTATION immediately becomes a nightmare.)

Syntactic differences are, IMO, an indication that ANNOTATEMORE is not
really one single extension.

It could be made into one extension by specifying things like 

 - / is used as mailbox hierarchy separator in the /mailbox tree,
   even if the mailbox hierarchy uses something different
 - mailboxes cannot have names that differ only in case
 - that everything is case-insensitive (or -sensitive, as long as it's all
   the same)

ffectively, this would weaken the link between /mailbox and the real
mailboxes and set a precedent against the URI horror scenario.

Or it could be made into two honest extensions by using two CAPABILITY
extensions and frankly different syntaxes for server and mailbox
annotations.

> What I am suggesting is a single ANNOTATEMORE capability that allows an 
> extensible syntax for the different types of dataset (in ACAP terminology) 
> that can be used. The document would then define just the two standard ones 
> for server and mailbox.

I understand and agree with that. Although I wish I could suggest some way
to fold it into ANNOTATE without much extra load on the implementers...

> |> The reason for using /server /mailbox prefixes is the anticipation of
> |> others being used in the future. I would rather not drop that option,
> |> but I think we can adjust the commands in a way to eliminate the
> |> mailbox encoding problem.
> |
> | Well, since there's syntax difference between the two varieties, I don't
> | think extension is all that simple. Suppose I locally add a third
> | variety, would it be the two-argument or three-argument sort of
> | annotation?
> 
> You would have to register each new top-level item with IANA and the 
> registration would indicate what parameters (if any) that item took. I can 
> add a /vendor top-level item that will allow private annotations that don't 
> need to have registrations beyond the vendor name.

Sorry, I expressed myself unclearly.

I actually don't want more namespace. I want more regularity, more
simplicity and fewer extensions. And I want mailbox annotations, too ;) I
was trying to make a point about the syntax difference. The two examples
above probably do it better.

Btw, as I wrote this message I stumbled onto some other corner cases that
you may want to specify.

1. What happens to mailbox annotations when a mailbox is deleted? IMO as
   for ANNOTATE.

2. What happens to mailbox annotations when a mailbox is moved? IMO
   moved.

3. Can NOSELECT+HASCHILDREN "mailboxes" have annotations? IMO yes.

4. Do mailboxes with multiple names (INBOX and user.daboo) share
   annotations, or is there a separate set of annorations per name? No
   idea.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5Ha2w03556 for ietf-imapext-bks; Thu, 5 Dec 2002 09:36:02 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5HZxg03552 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:36:00 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id MAA23514; Thu, 5 Dec 2002 12:32:48 -0500 (EST)
Date: Thu, 05 Dec 2002 12:35:56 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039091756@[10.0.1.13]>
In-Reply-To: <3DEF872E.9000000@kerio.com>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu> <3DEF872E.9000000@kerio.com>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Jaroslav,

--On Thursday, December 5, 2002 6:04 PM +0100 Jaroslav Snajdr 
<jsnajdr@kerio.com> wrote:

|> Though I suppose that could work in this case as well, using a string for
|> an entry name makes it feel more extensible to me.
|>
|
| It depends on what you expect from the ANNOTATE extensions. I expect that
| I'll be able to set named properties on the IMAP resources. IMAP
| resources are the server itself, the folders, and the messages in
| folders. IMAP doesn't provide access to any other objects, so I don't
| need to set properties on anything else besides objects (resources)
| already present in current drafts. I don't see any need for extensibility
| in this direction.

There are other 'objects' that can be used - some more directly coupled to 
IMAP than others. e.g. a /user and a /group hierarchy that can be used to 
determine information about users and groups on the system for use with the 
ACL command. The goal here is not to reinvent ACAP inside of IMAP, but to 
allow vendors flexibility to store and manage data in a way that fits there 
mailstore design. For example, some mailstores may be tightly coupled to a 
sieve implementation, in which case storing sieve scripts though IMAP 
annotations may be an attractive solution.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5HOlv03066 for ietf-imapext-bks; Thu, 5 Dec 2002 09:24:47 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5HOjg03062 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:24:45 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id MAA23449; Thu, 5 Dec 2002 12:21:32 -0500 (EST)
Date: Thu, 05 Dec 2002 12:24:41 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039091081@[10.0.1.13]>
In-Reply-To: <3DEF7954.6000204@kerio.com>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Jaroslav,

--On Thursday, December 5, 2002 5:05 PM +0100 Jaroslav Snajdr 
<jsnajdr@kerio.com> wrote:

| This syntax looks very nice to me. I also like the CAPABILITY responses -
| they would allow to merge the ANNOTATE and ANNOTATEMORE extensions to one
| document, which would be a good thing IMHO. The current names themselves
| - ANNOTATE, ANNOTATEMORE, and future ANNOTATEEVENMORE and
| ANNOTATETHEWHOLEUNIVERSE suggest there is something rotten here.

There was never any intention to require ANNOTATEMOREXXX items - 
ANNOTATEMORE itself is extensible without the need to add more 
cdapabilities.

| I have one more proposition regarding SETANNOTATION syntax. The ABNF is:
|
| "SETANNOTATION" SP setentries
| setentries = entry-att *(SP entry-att)
|
| There is a list of items there, however, the list is not delimited by
| parentheses. This is an exceptional event in the IMAP world: when my
| parser tests if there is another entry-att, it tests if CRLF is the next
| token. This is the only occurence of such a test in whole our IMAP server
| parser. In other cases I always look for closing brace ")". The ABNF
| should be:
|
| setentries = entry-att / "(" entry-att *(SP entry-att) ")"
|
| obeying the rule: there is just one entry, or list of multiple entries
| delimited by parentheses.

Actually both SEARCH and STORE can have lists of items that are not 
delimited by parenthesis, so this is not a unique behaviour. However, I 
agree that lists of items should be in parenthesis and I will make that 
change for the next draft unless there are any objections. Rob's argument 
about allowing only one entry chang per command is something that needs 
more discussion/input.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5HLB102958 for ietf-imapext-bks; Thu, 5 Dec 2002 09:21:11 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5HL8g02953 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:21:08 -0800 (PST)
Received: (from arnt@localhost) by melkebalanse.gulbrandsen.priv.no (8.11.6/8.11.6) id gB5HKPt10072; Thu, 5 Dec 2002 18:20:25 +0100
Date: Thu, 5 Dec 2002 18:20:25 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Rob Siemborski <rjs3@andrew.cmu.edu>
Cc: Jaroslav Snajdr <jsnajdr@kerio.com>, Cyrus Daboo <daboo@cyrusoft.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <20021205182025.B10054@melkebalanse.gulbrandsen.priv.no>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
X-Message-Flag: WARNING! Message was not sent using Microsoft software!
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>

Rob Siemborski <rjs3@andrew.cmu.edu>
> One advantage of the current scheme for naming ANNOTATEMORE entries is
> that you don't need additional capabilities for each new type of entry,
> you just advertise ANNOTATEMORE and if a server doesn't support a /foobar
> annotation hierarchy, it responds NO when you try to do something with
> it.

I don't think that's a major difference. You do need a document specifying
the foobar hierarchy. That document can specify how to probe for foobar
using GETANNOTATION, or it can specify how to look at CAPABILITY.

> Though I suppose that could work in this case as well, using a string for
> an entry name makes it feel more extensible to me.

For me too. But the feeling doesn't last very long - only until the syntax
difference immediately following the string ;)

> I'll actually argue for a "there is just one entry" per setannotation
> command.  I don't think conditional behavior is that important here, and
> if that is the consensus, then pipelining a bunch of SETANNOTATION
> commands is no worse than a single command with a list (since we'd
> probably wind up with a NO response per entry that failed anyway).

Agreed.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5H9X802511 for ietf-imapext-bks; Thu, 5 Dec 2002 09:09:33 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5H9Vg02506 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:09:31 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id MAA23333; Thu, 5 Dec 2002 12:06:12 -0500 (EST)
Date: Thu, 05 Dec 2002 12:09:20 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039090160@[10.0.1.13]>
In-Reply-To: <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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,
Taking your comments out of order:

--On Thursday, December 5, 2002 10:59 AM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

| Isn't this really a strange way of saying
|
| C: a CAPABILITY
| S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
| S: a OK
| C: b GETANNOTATION SERVER "comment" "value"
| C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"
| ...

As Rob pointed out this can lead to 'capability overload' and really is no 
different from what I suggested before except for the different labels for 
top-level items.

What I am suggesting is a single ANNOTATEMORE capability that allows an 
extensible syntax for the different types of dataset (in ACAP terminology) 
that can be used. The document would then define just the two standard ones 
for server and mailbox.

|> The reason for using /server /mailbox prefixes is the anticipation of
|> others being used in the future. I would rather not drop that option,
|> but I think we can adjust the commands in a way to eliminate the
|> mailbox encoding problem.
|
| Well, since there's syntax difference between the two varieties, I don't
| think extension is all that simple. Suppose I locally add a third
| variety, would it be the two-argument or three-argument sort of
| annotation?

You would have to register each new top-level item with IANA and the 
registration would indicate what parameters (if any) that item took. I can 
add a /vendor top-level item that will allow private annotations that don't 
need to have registrations beyond the vendor name.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5H4qs02062 for ietf-imapext-bks; Thu, 5 Dec 2002 09:04:52 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:iTB8ePnksc0VupQD5xAktZ1+vsYWdJNy@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5H4mg02055 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 09:04:49 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)) for ietf-imapext@imc.org; Thu, 5 Dec 2002 18:04:47 +0100
Message-ID: <3DEF872E.9000000@kerio.com>
Date: Thu, 05 Dec 2002 18:04:46 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com> <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
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>

Rob Siemborski wrote:

>One advantage of the current scheme for naming ANNOTATEMORE entries is
>that you don't need additional capabilities for each new type of entry,
>you just advertise ANNOTATEMORE and if a server doesn't support a /foobar
>annotation hierarchy, it responds NO when you try to do something with
>it.
>
>Though I suppose that could work in this case as well, using a string for
>an entry name makes it feel more extensible to me.
>

It depends on what you expect from the ANNOTATE extensions. I expect 
that I'll be able to set named properties on the IMAP resources. IMAP 
resources are the server itself, the folders, and the messages in 
folders. IMAP doesn't provide access to any other objects, so I don't 
need to set properties on anything else besides objects (resources) 
already present in current drafts. I don't see any need for 
extensibility in this direction.

>I'll actually argue for a "there is just one entry" per setannotation
>command.  I don't think conditional behavior is that important here, and
>if that is the consensus, then pipelining a bunch of SETANNOTATION
>commands is no worse than a single command with a list (since we'd
>probably wind up with a NO response per entry that failed anyway).
>

You can STORE several flags or message annotations at once, so why not 
other (server or folder annotations). There are often multiple 
annotations that are logically coupled and are usually set together.

J. Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5GnGg00734 for ietf-imapext-bks; Thu, 5 Dec 2002 08:49:16 -0800 (PST)
Received: from lin1.andrew.cmu.edu (LIN1.andrew.cmu.edu [128.2.6.59]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5GnCg00725 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 08:49:12 -0800 (PST)
Received: from REDHAT6.WASH.ACS.cmu.edu (REDHAT6.WASH.ACS.cmu.edu [128.2.11.127]) (user=rjs3 mech=KERBEROS_V4 (0 bits)) by lin1.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB5GmXKD004031; Thu, 5 Dec 2002 11:48:33 -0500
Date: Thu, 5 Dec 2002 11:48:34 -0500 (EST)
From: Rob Siemborski <rjs3@andrew.cmu.edu>
X-X-Sender: rjs3@redhat6.wash.acs.cmu.edu
To: Jaroslav Snajdr <jsnajdr@kerio.com>
cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, Cyrus Daboo <daboo@cyrusoft.com>, "" <ietf-imapext@imc.org>
Subject: Re: ANNOTATEMORE extension syntax
In-Reply-To: <3DEF7954.6000204@kerio.com>
Message-ID: <Pine.LNX.4.50L-028.0212051143200.6026-100000@redhat6.wash.acs.cmu.edu>
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no> <3DEF7954.6000204@kerio.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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, 5 Dec 2002, Jaroslav Snajdr wrote:

> > C: a CAPABILITY
> > S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
> > S: a OK
> > C: b GETANNOTATION SERVER "comment" "value"
> > C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"
>
>
> This syntax looks very nice to me. I also like the CAPABILITY responses
> - they would allow to merge the ANNOTATE and ANNOTATEMORE extensions to
> one document, which would be a good thing IMHO. The current names
> themselves - ANNOTATE, ANNOTATEMORE, and future ANNOTATEEVENMORE and
> ANNOTATETHEWHOLEUNIVERSE suggest there is something rotten here.

One advantage of the current scheme for naming ANNOTATEMORE entries is
that you don't need additional capabilities for each new type of entry,
you just advertise ANNOTATEMORE and if a server doesn't support a /foobar
annotation hierarchy, it responds NO when you try to do something with
it.

Though I suppose that could work in this case as well, using a string for
an entry name makes it feel more extensible to me.

[snip]
> obeying the rule: there is just one entry, or list of multiple entries
> delimited by parentheses.

I'll actually argue for a "there is just one entry" per setannotation
command.  I don't think conditional behavior is that important here, and
if that is the consensus, then pipelining a bunch of SETANNOTATION
commands is no worse than a single command with a list (since we'd
probably wind up with a NO response per entry that failed anyway).

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * rjs3@andrew.cmu.edu * 412.268.7456
-----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C++++$ ULS++++$ P+++$ L+++(++++) E W+ N o? K-
w O- M-- V-- PS+ PE++ Y+ PGP+ t+@ 5+++ R@ tv-@ b+ DI+++ G e h r- y?
------END GEEK CODE BLOCK-----



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB5G5wv25008 for ietf-imapext-bks; Thu, 5 Dec 2002 08:05:58 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:c/Ld7QCPohQ0BamCRfgtP3O01wrOUG1N@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5G5sg25002 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 08:05:55 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)); Thu, 5 Dec 2002 17:05:41 +0100
Message-ID: <3DEF7954.6000204@kerio.com>
Date: Thu, 05 Dec 2002 17:05:40 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
CC: Cyrus Daboo <daboo@cyrusoft.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]> <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
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:

>> One proposal would be along the lines of what you suggest, though 
>> slightly modified:
>>
>> a GETANNOTATION "/server" "comment" "value"
>>
>> a GETANNOTATION "/mailbox" "INBOX" "comment" "value"
>
>
> Isn't this really a strange way of saying
>
> C: a CAPABILITY
> S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
> S: a OK
> C: b GETANNOTATION SERVER "comment" "value"
> C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"


This syntax looks very nice to me. I also like the CAPABILITY responses 
- they would allow to merge the ANNOTATE and ANNOTATEMORE extensions to 
one document, which would be a good thing IMHO. The current names 
themselves - ANNOTATE, ANNOTATEMORE, and future ANNOTATEEVENMORE and 
ANNOTATETHEWHOLEUNIVERSE suggest there is something rotten here.

I have one more proposition regarding SETANNOTATION syntax. The ABNF is:

"SETANNOTATION" SP setentries
setentries = entry-att *(SP entry-att)

There is a list of items there, however, the list is not delimited by 
parentheses. This is an exceptional event in the IMAP world: when my 
parser tests if there is another entry-att, it tests if CRLF is the next 
token. This is the only occurence of such a test in whole our IMAP 
server parser. In other cases I always look for closing brace ")". The 
ABNF should be:

setentries = entry-att / "(" entry-att *(SP entry-att) ")"

obeying the rule: there is just one entry, or list of multiple entries 
delimited by parentheses.

J. Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB59xRC26366 for ietf-imapext-bks; Thu, 5 Dec 2002 01:59:27 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB59xOg26355 for <ietf-imapext@imc.org>; Thu, 5 Dec 2002 01:59:24 -0800 (PST)
Message-Id: <aWXzDNbo0Gf5oPJmXFYXEQ.md5@melkebalanse.gulbrandsen.priv.no>
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Cyrus Daboo <daboo@cyrusoft.com>
Subject: Re: ANNOTATEMORE extension syntax
Cc: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
References: <3DECC69B.1090007@kerio.com> <2147483647.1039021621@[63.163.82.24]>
In-Reply-To: <2147483647.1039021621@[63.163.82.24]>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Date: Thu, 5 Dec 2002 10:59:20 +0100
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gB59xPg26358
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 reason for using /server /mailbox prefixes is the anticipation of 
> others being used in the future. I would rather not drop that option, 
> but I think we can adjust the commands in a way to eliminate the 
> mailbox encoding problem.

Well, since there's syntax difference between the two varieties, I don't 
think extension is all that simple. Suppose I locally add a third 
variety, would it be the two-argument or three-argument sort of 
annotation?

> One proposal would be along the lines of what you suggest, though 
> slightly modified:
>
> a GETANNOTATION "/server" "comment" "value"
>
> a GETANNOTATION "/mailbox" "INBOX" "comment" "value"

Isn't this really a strange way of saying

C: a CAPABILITY
S: * CAPABILITY ... ANNOTATEMORE=SERVER ANNOTATEMORE=MAILBOX
S: a OK
C: b GETANNOTATION SERVER "comment" "value"
C: c GETANNOTATION MAILBOX "INBOX" "comment" "value"
...

?

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB4M7FZ28679 for ietf-imapext-bks; Wed, 4 Dec 2002 14:07:15 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB4M7Cg28674 for <ietf-imapext@imc.org>; Wed, 4 Dec 2002 14:07:13 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id RAA17365; Wed, 4 Dec 2002 17:03:56 -0500 (EST)
Date: Wed, 04 Dec 2002 17:07:01 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Jaroslav Snajdr <jsnajdr@kerio.com>, ietf-imapext@imc.org
Subject: Re: ANNOTATEMORE extension syntax
Message-ID: <2147483647.1039021621@[63.163.82.24]>
In-Reply-To: <3DECC69B.1090007@kerio.com>
References:  <3DECC69B.1090007@kerio.com>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Jaroslav,

--On Tuesday, December 3, 2002 3:58 PM +0100 Jaroslav Snajdr 
<jsnajdr@kerio.com> wrote:

| I think the syntax /mailbox/{blabla}/property is extremely ugly - it
| introduces yet another terrible encoding for the folder names.

I am not particularly enamoured of that scheme either...

| Regarding the properties in the /server namespace, they could be handled
| by either separate commands, or by some special folder name (empty string
| or NIL) is a good candidate.

The reason for using /server /mailbox prefixes is the anticipation of 
others being used in the future. I would rather not drop that option, but I 
think we can adjust the commands in a way to eliminate the mailbox encoding 
problem.

One proposal would be along the lines of what you suggest, though slightly 
modified:

a GETANNOTATION "/server" "comment" "value"

a GETANNOTATION "/mailbox" "INBOX" "comment" "value"

i.e. the hierarchy of entries are split at the top level (and the second 
level for mailboxes) and those are provided as separate parameters to the 
command. This maitains the ability to add other top-level items, as well as 
removes the ugly mailbox name encoding. That would work for SETANNOTATION 
too.

| What sense does it make to export message flags via annotations? I don't
| like the idea of one feature accessible by two different ways.

Actually there are already at least two ways to access flags - one use 
FETCH and one using SEARCH - depending on exactly what you are after, one 
can be more efficient than the other.

See the message thread 'Issue #1 duplication of IMAP flags' from July 11, 
2001 in the archive of this mailing list for a discussion of this issue.


-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3NNrH07539 for ietf-imapext-bks; Tue, 3 Dec 2002 15:23:53 -0800 (PST)
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3NNng07533 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 15:23:49 -0800 (PST)
Received: from mailscan-out2.cac.washington.edu (mailscan-out2.cac.washington.edu [140.142.33.17]) by mxout3.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gB3NNn9r032765 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 15:23:49 -0800
Received: FROM smtp.washington.edu BY mailscan-out2.cac.washington.edu ; Tue Dec 03 15:23:47 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gB3NNlmZ020401 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 3 Dec 2002 15:23:47 -0800
Date: Tue, 3 Dec 2002 15:23:07 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>
cc: Harrie Hazewinkel <harrie@inet.it>, imap-ext IETF <ietf-imapext@imc.org>
Subject: Re: comments on draft-ietf-imapext-acl-06.txt
In-Reply-To: <145898190.1038920927@majormajor.rem.cmu.edu>
Message-ID: <Pine.WNT.4.51.0212031521440.3044-100000@Tomobiki-Cho.CAC.Washington.EDU>
References: <ABE7D70C-01E8-11D7-B05E-0003934A5A7E@inet.it> <145898190.1038920927@majormajor.rem.cmu.edu>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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, 3 Dec 2002, Lawrence Greenfield wrote:
> What if there are two group identifiers that apply to the user in question?
> Which group rights are used?

In the servers which are likely to use this, there would only be one group
or all groups would have the same rights.

However, I agree that it should be specified that groups be ordered, and
that first matching is used.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3I8sV15832 for ietf-imapext-bks; Tue, 3 Dec 2002 10:08:54 -0800 (PST)
Received: from smtp6.andrew.cmu.edu (SMTP6.andrew.cmu.edu [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3I8qg15825 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 10:08:52 -0800 (PST)
Received: from majormajor.rem.cmu.edu (LEG-C600.REM.cmu.edu [128.2.4.198]) (user=leg mech=GSSAPI (0 bits)) by smtp6.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB3I8pQA031359 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Tue, 3 Dec 2002 13:08:52 -0500
Date: Tue, 03 Dec 2002 13:08:47 -0500
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
To: Harrie Hazewinkel <harrie@inet.it>, imap-ext IETF <ietf-imapext@imc.org>
Subject: Re: comments on draft-ietf-imapext-acl-06.txt
Message-ID: <145898190.1038920927@majormajor.rem.cmu.edu>
In-Reply-To: <ABE7D70C-01E8-11D7-B05E-0003934A5A7E@inet.it>
References:  <ABE7D70C-01E8-11D7-B05E-0003934A5A7E@inet.it>
X-Mailer: Mulberry/3.0.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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>

Harrie brings up many good points with the current ACL2 document. Some 
reorganization talking about how the semantics are orthogonal to the 
commands would be useful, if we're going to continue down this path.

Reading his message brought up another question in my mind:

> 8.2.  Registration: MOST-SPECIFIC access calculation rule
>
>     Rule Identification: MOST-SPECIFIC
>
> Rule Semantics: the rights granted to the most specific identifier
> present in the ACL are used, i.e. if the user identifier is
> present, its ACL is used. If no user identifier is present, but a
> group that includes this user as a member is present, the group
> ACL is used. If neither user, nor group identifier is present, but
> an ACL for a special group "anyone" is present, the ACL for
> "anyone" is used.

What if there are two group identifiers that apply to the user in question?
Which group rights are used?

Larry



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3FmZ705379 for ietf-imapext-bks; Tue, 3 Dec 2002 07:48:35 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3FmXg05374 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 07:48:33 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id KAA04606; Tue, 3 Dec 2002 10:45:18 -0500 (EST)
Date: Tue, 03 Dec 2002 10:48:28 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
Message-ID: <2147483647.1038912508@[63.163.82.24]>
In-Reply-To: <200212030257.gB32vvQ9026348@smtp6.andrew.cmu.edu>
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu> <2147483647.1038852075@[63.163.82.24]> <200212030257.gB32vvQ9026348@smtp6.andrew.cmu.edu>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Lawrence,

--On Monday, December 2, 2002 9:57 PM -0500 Lawrence Greenfield 
<leg+@andrew.cmu.edu> wrote:

| and then say, "the value of entries shall meet the following ABNF",
| and then give a different ABNF derivation for the value.

Actually that is what ACAP does - it has ABNF in the 'body' of the rfc that 
defines the sytax of datasets etc explicitly, and then the formal syntax at 
the end just uses the generic utf8 string definition. I simply chose to 
merge those into one.

At this point I don't mind changing ANNOTATE to use 'string' for entries 
etc on the assumption that the IMAP i18n document will ultimately allow 
utf8 in strings via a switch.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB3Ewn002947 for ietf-imapext-bks; Tue, 3 Dec 2002 06:58:49 -0800 (PST)
Received: from mailhub.kerio.com (IDENT:j7WaCyv2oZ5iexfvITUG0N6s+JIsOstn@mailhub.kerio.com [195.39.55.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3Ewjg02941 for <ietf-imapext@imc.org>; Tue, 3 Dec 2002 06:58:47 -0800 (PST)
Received: from kerio.com ([192.168.1.70]) (authenticated user jarda@kerio.com) by mailhub.kerio.com (Kerio MailServer 5.5.0) (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)) for ietf-imapext@imc.org; Tue, 3 Dec 2002 15:58:36 +0100
Message-ID: <3DECC69B.1090007@kerio.com>
Date: Tue, 03 Dec 2002 15:58:35 +0100
From: Jaroslav Snajdr <jsnajdr@kerio.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: ANNOTATEMORE extension syntax
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>

Hello!

We are implementing the ANNOTATE* extensions and I don't like the syntax 
of SETANNOTATION and GETANNOTATION commands. I think they should look 
more like the STATUS command:

AA GETANNOTATION "INBOX" ("property" "value")
* ANNOTATION "INBOX" ("property" ("value.shared" "hello"))
AA OK

I think the syntax /mailbox/{blabla}/property is extremely ugly - it 
introduces yet another terrible encoding for the folder names.

Regarding the properties in the /server namespace, they could be handled 
by either separate commands, or by some special folder name (empty 
string or NIL) is a good candidate.

Has anyone ever thouhgt about compatibility with WebDAV properties? We 
are designing a store that will be accessed by both IMAP and WebDAV. 
Anyone here who is already solving the problem how to map annotation 
names (/message/vendor/kerio/xxx), DAV property XML names to some 
generic internal format?

What sense does it make to export message flags via annotations? I don't 
like the idea of one feature accessible by two different ways.

Last, is there any IMAP client that implements ANNOTATE and ANNOTATEMORE 
extensions? We'd like to test the interoperability.

Jaroslav Snajdr






Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB32vxX13070 for ietf-imapext-bks; Mon, 2 Dec 2002 18:57:59 -0800 (PST)
Received: from smtp6.andrew.cmu.edu (SMTP6.andrew.cmu.edu [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB32vug13066 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 18:57:56 -0800 (PST)
Received: from dunbar.rem.cmu.edu (DUNBAR.REM.cmu.edu [128.2.4.197]) by smtp6.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB32vvQ9026348; Mon, 2 Dec 2002 21:57:57 -0500
Date: Mon, 2 Dec 2002 21:57:57 -0500
Message-Id: <200212030257.gB32vvQ9026348@smtp6.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.3
To: ietf-imapext@imc.org, Cyrus Daboo <daboo@cyrusoft.com>
In-reply-to: <2147483647.1038852075@[63.163.82.24]>
Subject: Re: a plea for syntactic cleanliness
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu> <2147483647.1038852075@[63.163.82.24]>
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?= =?ISO-8859-4?Q?=F2mae?=) Emacs/21.2 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
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>

   Date: Mon, 02 Dec 2002 18:01:15 -0500
   From: Cyrus Daboo <daboo@cyrusoft.com>

[... utf8 quoted strings ...]

Personally, I don't care. Mark's desire for uniform strings is
attractive. Your desire for UTF-8 quoted strings is attractive.

I am fairly sure that it really makes not one wit of difference to the
computers that will actually be interpreting the protocol.

   The reason for the 'entry' item in annotate being the way it is is to try 
   and express the hierarchical nature of the entry namespace in ABNF (i.e. 
   the fact that '/' is a hierarchy separator). If I remember correctly it was 
   modelled on the ABNF used in ACAP. This could be simplified to 'entry = 
   string' with a comment about th hierarchical naming - i.e. '/' is a special 
   character - but shouldn't that fact be explicitly laid out in ABNF rather 
   than relying on the description in the draft text?

Actually, ACAP defines

   entry              = entry-name / entry-path

   entry-name         = string-utf8
                        ;; entry name MUST NOT contain slash
                        ;; MUST NOT begin with "."

   entry-path         = string-utf8
                        ;; slash-separated path to entry
                        ;; begins with slash

It does not attempt to define these things at a syntactic level.

If you really want to do that, you can define things like

entry = string

and then say, "the value of entries shall meet the following ABNF",
and then give a different ABNF derivation for the value.

Larry



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2NDjX24373 for ietf-imapext-bks; Mon, 2 Dec 2002 15:13:45 -0800 (PST)
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2NDeg24364 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:13:41 -0800 (PST)
Received: from mailscan-out2.cac.washington.edu (mailscan-out2.cac.washington.edu [140.142.33.17]) by mxout3.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gB2NDX9r027752 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:13:38 -0800
Received: FROM smtp.washington.edu BY mailscan-out2.cac.washington.edu ; Mon Dec 02 15:13:32 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gB2NDWmZ028787 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 2 Dec 2002 15:13:32 -0800
Date: Mon, 2 Dec 2002 15:13:34 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: Cyrus Daboo <daboo@cyrusoft.com>
cc: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
In-Reply-To: <2147483647.1038852075@[63.163.82.24]>
Message-ID: <Pine.WNT.4.51.0212021510110.3108-100000@Tomobiki-Cho.CAC.Washington.EDU>
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu> <2147483647.1038852075@[63.163.82.24]>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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, 2 Dec 2002, Cyrus Daboo wrote:
> Lets define a string type that allows quoted utf8 data and have those
> extensions that want to use utf8 data (such as annotate/acl2 etc) be able
> to use that.

I disagree.  UTF-8 strings should be required to be sent as literals in
all aspects of the IMAP protocol, unless there is an extension whose
purpose it is to relax the base specification prohibition for all strings.

The extensions which violate this must be fixed to comply with the base
specification.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2N9jY24324 for ietf-imapext-bks; Mon, 2 Dec 2002 15:09:45 -0800 (PST)
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2N9dg24320 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:09:40 -0800 (PST)
Received: from mailscan-out3.cac.washington.edu (mailscan-out3.cac.washington.edu [140.142.32.170]) by mxout1.cac.washington.edu (8.12.1+UW01.12/8.12.1+UW02.11) with SMTP id gB2N9WVM017416 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:09:37 -0800
Received: FROM smtp.washington.edu BY mailscan-out3.cac.washington.edu ; Mon Dec 02 15:09:31 2002 -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.12.1+UW01.12/8.12.1+UW02.11) with ESMTP id gB2N9VmZ028477 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 2 Dec 2002 15:09:31 -0800
Date: Mon, 2 Dec 2002 15:09:33 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@cac.washington.edu>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>
cc: ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
In-Reply-To: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
Message-ID: <Pine.WNT.4.51.0212021505050.3108-100000@Tomobiki-Cho.CAC.Washington.EDU>
References: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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>

For what it's worth, I agree.  New data types should not be added to the
IMAP protocol without extraordinary reasons that make an existing datatype
unsuitable.

I think that the only case in which a quoted string should be allowed but
not a literal is when the string is exactly one character and can not be
8-bit.  The hierarchy delimiter (in the untagged LIST response) is the
only example to date of such a thing.  It probably should remain the
exceptional case that proves the rule.

-- Mark --

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


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2N2DM24214 for ietf-imapext-bks; Mon, 2 Dec 2002 15:02:13 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2N26g24210 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 15:02:07 -0800 (PST)
Received: from [63.163.82.24] (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id RAA29009; Mon, 2 Dec 2002 17:58:07 -0500 (EST)
Date: Mon, 02 Dec 2002 18:01:15 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: a plea for syntactic cleanliness
Message-ID: <2147483647.1038852075@[63.163.82.24]>
In-Reply-To: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
References:  <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
X-Mailer: Mulberry/3.0.0 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Lawrence,

--On Monday, December 2, 2002 5:13 PM -0500 Lawrence Greenfield 
<leg+@andrew.cmu.edu> wrote:

| Ok, so an entry could be
|
| "\001\002////""/"\045"
|
| is this really what's intended?
|
| Instead, 'entry = string', where string is well defined in the IMAP
| base spec, would suffice. It is a semantic constraint that should
| prevent a leading slash, NOT a syntactic one. Let's not try to force
| things into the ABNF that are really about the semantics.
|
| Now, looking at draft-crispin-imapv-20, 'quoted' isn't allowed to
| contain UTF-8 characters, meaning that literals are going to be used
| more heavily. That really isn't a big deal.
|
| ACL2 makes the same mistake. Please, use "string" or "nstring" in
| extensions. Don't roll your own. Don't make us have to rewrite lexers
| to deal with strange semantic constraints.

Lets define a string type that allows quoted utf8 data and have those 
extensions that want to use utf8 data (such as annotate/acl2 etc) be able 
to use that. That way you only need to add one new 'type' to your parser 
for all those types of extensions. There is no reason not to have utf8 
quoted strings in new extensions even if the base spec protocol elements 
still have to use literals for those.

The reason for the 'entry' item in annotate being the way it is is to try 
and express the hierarchical nature of the entry namespace in ABNF (i.e. 
the fact that '/' is a hierarchy separator). If I remember correctly it was 
modelled on the ABNF used in ACAP. This could be simplified to 'entry = 
string' with a comment about th hierarchical naming - i.e. '/' is a special 
character - but shouldn't that fact be explicitly laid out in ABNF rather 
than relying on the description in the draft text?

I think Chris also mentioned to me that we actually need to reference the 
utf8 spec explicitly to get the proper ABNF for sequences of utf8 
characters. ACAP had a full definition of utf8 character sequences defined 
in ABNF.

-- 
Cyrus Daboo


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB2MDBv23222 for ietf-imapext-bks; Mon, 2 Dec 2002 14:13:11 -0800 (PST)
Received: from smtp6.andrew.cmu.edu (SMTP6.andrew.cmu.edu [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB2MD7g23217 for <ietf-imapext@imc.org>; Mon, 2 Dec 2002 14:13:08 -0800 (PST)
Received: from penguin.andrew.cmu.edu (PENGUIN.andrew.cmu.edu [128.2.121.100]) by smtp6.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gB2MD6Q9014762; Mon, 2 Dec 2002 17:13:06 -0500
Date: Mon, 2 Dec 2002 17:13:06 -0500
Message-Id: <200212022213.gB2MD6Q9014762@smtp6.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.3
To: ietf-imapext@imc.org
Subject: a plea for syntactic cleanliness
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?= =?ISO-8859-4?Q?=F2mae?=) Emacs/21.2 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
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>

Ok, I was reviewing some parsing stuff in Cyrus, which has code to
support some of the ANNOTATE suggestions.

I'm getting increasingly frustrated by the extensions that are
defining strange strings. For instance, there is never any reason to
allow a quoted string but not allow a literal string. We have
LITERAL+, all servers that care about performance should implement it,
and it frees clients from having to figure out if there are any
characters that need to be quoted.

Looking at draft-ietf-imapext-annotate-05.txt, it defines some
protocol elements not in terms of base imap strings (like 'attrib' or
'entry') but rolls its own.

In doing so, it does weird things:

   entry             = DQUOTE 1*atom-slash *("/" 1*atom-slash) DQUOTE
   atom-slash        = any utf8-char except "/"
   utf8-char         =  %x01-FF
                       ; any character, excluding NUL

Ok, so an entry could be

"\001\002////""/"\045"

is this really what's intended?

Instead, 'entry = string', where string is well defined in the IMAP
base spec, would suffice. It is a semantic constraint that should
prevent a leading slash, NOT a syntactic one. Let's not try to force
things into the ABNF that are really about the semantics.

Now, looking at draft-crispin-imapv-20, 'quoted' isn't allowed to
contain UTF-8 characters, meaning that literals are going to be used
more heavily. That really isn't a big deal.

ACL2 makes the same mistake. Please, use "string" or "nstring" in
extensions. Don't roll your own. Don't make us have to rewrite lexers
to deal with strange semantic constraints.

Larry



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB1GoUb18209 for ietf-imapext-bks; Sun, 1 Dec 2002 08:50:30 -0800 (PST)
Received: from Ikkoku-Kan.Panda.COM (rodriguez@panda.com [206.124.149.114]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB1GoOg18185 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 08:50:25 -0800 (PST)
Received: from Ikkoku-Kan.Panda.COM (Ikkoku-Kan.Panda.COM [192.107.14.50]) by Ikkoku-Kan.Panda.COM id IAA00663; Sun, 1 Dec 2002 08:50:08 -0800 (PST)
Date: Sun, 1 Dec 2002 08:49:10 -0800 (PST)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: Alternative to CHANNEL
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: ietf-imapext@imc.org
In-Reply-To: <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
Message-ID: <MailManager.1038761350.15587.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
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 Sun, 1 Dec 2002 14:30:08 +0100, Arnt Gulbrandsen wrote:
> It does seem to be closer to the IMAP way of life, at least. Me, I like
> it very much.

I also like this idea.  There may be some syntactic sugar that needs more
thought, but it sure looks to me like this is a step in the right direction.



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB1DZin08013 for ietf-imapext-bks; Sun, 1 Dec 2002 05:35:44 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB1DZfg08008 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 05:35:42 -0800 (PST)
Message-Id: <pHcTri0v89Ldtvv7JCD0AQ.md5@melkebalanse.gulbrandsen.priv.no>
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Shiv Amir <Amir.Shiv@comverse.com>
Subject: Re: Alternative to CHANNEL
Cc: ietf-imapext@imc.org
References: <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com> <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
In-Reply-To: <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Date: Sun, 1 Dec 2002 14:37:07 +0100
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 writes:
> 3. The lifetime of the URI returned is not specified, which makes the 
> mechanism less dependable.
>
> If I want a URI for a body-part, it's reasonable to assume that the 
> URL will be used by an agent other than the current IMAP client. 
> After all, the IMAP client can use FETCH BODY[...], it doesn't need 
> the URI itself.

One more thing.

The draft should explictly caution against, or even forbid, returning a 
URI with the user's password in it.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB1DSqc07604 for ietf-imapext-bks; Sun, 1 Dec 2002 05:28:52 -0800 (PST)
Received: from melkebalanse.gulbrandsen.priv.no (melkebalanse.gulbrandsen.priv.no [217.19.171.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB1DSng07597 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 05:28:50 -0800 (PST)
Message-Id: <McswoXsD4sQrbMonEJhonw.md5@melkebalanse.gulbrandsen.priv.no>
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Shiv Amir <Amir.Shiv@comverse.com>
Subject: Re: Alternative to CHANNEL
Cc: ietf-imapext@imc.org
References: <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com>
In-Reply-To:  <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Date: Sun, 1 Dec 2002 14:30:08 +0100
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gB1DSog07599
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>

Shiv Amir writes:
> I would like to suggest an alternative implementation to the proposed 
> CHANNEL extension.
...
> For example:
> tag FETCH 1 BODY[2.URL (rtsp: http:)]
>
> Isn't this much more simple and consistent with the IMAP model?

It does seem to be closer to the IMAP way of life, at least. Me, I like 
it very much.

Having now read the draft thoroughly for the first time, I have a few 
random comments:

1. I don't see the value of allowing absoluteURIs in the client command. 
(And indeed, the draft uses only schemes in its examples.)

Is there some point to saying that "I want this body part, either via 
rtsp from server xyz, or else via imap, or if that too fails, via 
rtsp", as the channel-uri-list (rtsp:xyz imap: http:) does?

Either the use of URIs in commands should be justified, or else dropped.

If they're dropped, the ":" should be dropped too. "rtsp" everywhere, 
not "rtsp:" in commands and "rtsp" in capabilities.

2. If the FETCH alternative is adopted, the outstanding issue 
disappears: The servers' and clients' existing escape mechanisms deal 
with it. Anything that would conflict is simply quoted by existing code 
in the server/client.

3. The lifetime of the URI returned is not specified, which makes the 
mechanism less dependable.

If I want a URI for a body-part, it's reasonable to assume that the URL 
will be used by an agent other than the current IMAP client. After all, 
the IMAP client can use FETCH BODY[...], it doesn't need the URI 
itself.

If someone else is to use the URI, then it is in turn reasonable to 
assume that there may be some time difference. Assuming less than a few 
hours/days is unreasonable, IMO. The draft should provide guidance to 
server authors.

Actually I think the server should provide guidance in the form of a 
non-binding lifetime estimate.

4. The lifetime handwaving leads to a security problem.

A client may read someone else's document because the URI has been 
reused. (The examples in the draft show vulnerable URLs: 144124 is only 
18 bits.) The document should suggest/require that after the end of 
their lifetimes, the same URI SHOULD NOT be reused by a different 
document.

5. The draft doesn't say what happens if the client asks for a channel 
which the server does not advertise.

--Arnt


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB19Toi16011 for ietf-imapext-bks; Sun, 1 Dec 2002 01:29:50 -0800 (PST)
Received: from il-tlv-smtpout2.icomverse.com ([192.118.49.3]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB19Tlg15999 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 01:29:47 -0800 (PST)
Received: from il-tlv-mbdg2.comverse.com (localhost.localdomain [127.0.0.1]) by il-tlv-smtpout2.icomverse.com (8.11.6/8.11.6) with ESMTP id gB19RtH20736 for <ietf-imapext@imc.org>; Sun, 1 Dec 2002 11:28:25 +0200
Received: by il-tlv-mbdg2.comverse.com with Internet Mail Service (5.5.2655.55) id <XG4FCRQJ>; Sun, 1 Dec 2002 11:28:01 +0200
Message-ID: <7D4344E32B34D511A6500002A560C602230C19@il-tlv-mail4.comverse.com>
From: Shiv Amir <Amir.Shiv@comverse.com>
To: "'ietf-imapext@imc.org'" <ietf-imapext@imc.org>
Subject: Alternative to CHANNEL
Date: Sun, 1 Dec 2002 11:27:59 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2991B.B7C1E6E0"
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 message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2991B.B7C1E6E0
Content-Type: text/plain;
	charset="windows-1255"

Hello,

I would like to suggest an alternative implementation to the proposed
CHANNEL extension.

The FETCH command is designed to retrieve properties of a message (flags,
UID...)
One can think of a URL to a message as another property of the message. So,
it looks more reasonable to me to extend the existing FETCH command to
retrieve alternate URLs to messages (and message parts) rather than
introducing a new command (CHANNEL).

For example:
tag FETCH 1 BODY[2.URL (rtsp: http:)]

Isn't this much more simple and consistent with the IMAP model?

Amir Shiv
Comverse

------_=_NextPart_001_01C2991B.B7C1E6E0
Content-Type: text/html;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1255">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>Alternative to CHANNEL</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hello,</FONT>
</P>

<P><FONT SIZE=3D2>I would like to suggest an alternative implementation =
to the proposed CHANNEL extension.</FONT>
</P>

<P><FONT SIZE=3D2>The FETCH command is designed to retrieve properties =
of a message (flags, UID...)</FONT>
<BR><FONT SIZE=3D2>One can think of a URL to a message as another =
property of the message. So, it looks more reasonable to me to extend =
the existing FETCH command to retrieve alternate URLs to messages (and =
message parts) rather than introducing a new command =
(CHANNEL).</FONT></P>

<P><FONT SIZE=3D2>For example:</FONT>
<BR><FONT SIZE=3D2>tag FETCH 1 BODY[2.URL (rtsp: http:)]</FONT>
</P>

<P><FONT SIZE=3D2>Isn't this much more simple and consistent with the =
IMAP model?</FONT>
</P>

<P><FONT SIZE=3D2>Amir Shiv</FONT>
<BR><FONT SIZE=3D2>Comverse</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2991B.B7C1E6E0--

