
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAULMbUq028201; Thu, 30 Nov 2006 14:22:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAULMaGD028200; Thu, 30 Nov 2006 14:22:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAULMZ5q028189 for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 14:22:36 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id E4A22810C6B for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:17:18 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 5766A833A3 for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:22:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tVag9w458puE for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:22:26 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id D945F833A2 for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:22:26 -0800 (PST)
Message-ID: <358339619.115181164921746590.JavaMail.root@dogfood.zimbra.com>
Date: Thu, 30 Nov 2006 13:22:26 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: I-D ACTION:draft-dkarp-imap-comment-00.txt
MIME-Version: 1.0
Content-Type: multipart/mixed;  boundary="----=_Part_2528_1223101547.1164921746589"
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

------=_Part_2528_1223101547.1164921746589
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

A New Internet-Draft is available from the on-line Internet-Drafts
directories.

	Title         : The IMAP COMMENT Extension
	Author(s)     : D. Karp
	Filename      : draft-karp-imap-comment-00.txt
	Pages         : 0
	Date          : 2006-11-29

The COMMENT extension to the Internet Message Access Protocol [IMAP]
      permits a client to attach free-form text comments to messages stored
      in a mailbox on the server.  These comments are persistent, public,
      mutable, readable, and searchable.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-karp-imap-comment-00.txt
------=_Part_2528_1223101547.1164921746589
Content-Type: text/plain; name=draft-karp-imap-comment-00.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=draft-karp-imap-comment-00.txt

Network Working Group                                            D. Karp
Internet-Draft                                                    Zimbra
Expires: June 2, 2007                                  November 29, 2006


                        IMAP4 COMMENT Extension
                       draft-karp-imap-comment-00

Status of this Memo

   By submitting this Internet-Draft, each author represents that any
   applicable patent or other IPR claims of which he or she is aware
   have been or will be disclosed, and any of which he or she becomes
   aware will be disclosed, in accordance with Section 6 of BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt.

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   This Internet-Draft will expire on June 2, 2007.

Copyright Notice

   Copyright (C) The IETF Trust (2006).


Abstract

   The COMMENT extension to the Internet Message Access Protocol [IMAP]
   permits a client to attach free-form text comments to messages stored
   in a mailbox on the server.  These comments are persistent, public,
   mutable, readable, and searchable.


1.  Conventions Used in This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [KEYWORDS].

   In examples, "C:" and "S:" indicate lines sent by the client and
   server respectively.  If a single "C:" or "S:" label applies to
   multiple lines, then the line breaks between those lines are for
   editorial clarity only and are not part of the actual protocol
   exchange.


2.  Introduction and Overview

   At present, there is no way for a client to associate an arbitrary
   mutable text comment with a message in an IMAP mailbox short of
   altering the message's body.  This document specifies an extension to
   IMAP that permits clients to associate a single optional piece of
   text metadata with a message.  The value of such a comment is a
   string of one or more octets comprising UTF-8 [UTF8] characters, or
   NIL when a comment is not set.

   The syntax for associating comments with messages and retrieving
   message comments is designed to closely parallel the existing syntax
   for setting and retrieving mutable message flags.  In addition, the
   same permissions are required for modifying and retrieving comments
   as are required for setting and fetching keywords.  Should the
   mailbox also support the [CONDSTORE] extension, changes to message
   comments qualify as mailbox changes and MUST increment the affected
   message's MODSEQ attribute and the mailbox's HIGHESTMODSEQ attribute.

   If a server supports comments, then it MUST store all comment data
   persistently.  The server MAY NOT support "session-only" comments
   along the lines of "session" flags as defined in the IMAP base
   specification.

   Comments MUST be shared publicly with all users who have permission
   to read and write them.  In this respect, they behave as "shared
   flags" as described in section 5.2 of [ACLPLUS].  The server MAY NOT
   present a different view of message comments to different users with
   read access on a mailbox.

   An IMAP server that supports the COMMENT extension MUST return
   "COMMENT" in its CAPABILITY response.


3.  IMAP Protocol Changes

3.1.  COMMENT Parameter to SELECT and EXAMINE

   This document defines a single optional select parameter, "COMMENT",
   which tells the server that it MUST return changes to message
   comments in unsolicited FETCH responses (see section 3.2) for the
   duration of the session.  This is the only way to enable COMMENT data
   in unsolicited FETCH responses; such responses are NOT implicitly
   enabled by the use of any other command described in this document.
   The enabling of COMMENT does not carry over from one SELECT/EXAMINE
   to another within the same IMAP connection.

   Example:

      C: A001 SELECT INBOX (COMMENT)
      S: * 236 EXISTS
      S: * 0 RECENT
      S: * OK [UNSEEN 228]
      S: * OK [UIDVALIDITY 1]
      S: * OK [UIDNEXT 713]
      S: * FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
      S: * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged
                                                          \Seen \*)]
      S: * OK [COMMENT 8096]
      S: A001 OK [READ-WRITE] SELECT completed, COMMENT enabled

   This document also adds a new response code, COMMENT.  In the course
   of a successful SELECT or EXAMINE, any server that advertises the
   COMMENT capability MUST return an untagged OK response containing the
   COMMENT response code:

      OK [COMMENT <max-comment-length>]

      where <max-comment-length> is the maximum length (in octets) of a
      comment in the mailbox.  If the server cannot support comments for
      the mailbox, <max-comment-length> MUST be 0.

3.2.  COMMENT Message Data Item for the FETCH Command

   This document adds a COMMENT message data item to the FETCH command.
   This allows users to retrieve the comments associated with a range of
   messages in the currently-selected mailbox:

   Example:

      C: A002 FETCH 1:2 (UID COMMENT)
      S: * 1 FETCH (UID 288 COMMENT NIL)
      S: * 2 FETCH (UID 289 COMMENT "This is the message's comment")
      S: A002 OK FETCH completed

   Unsolicited FETCH responses indicating changes in a message's comment
   MUST include the full new value of the COMMENT message data item.

3.3.  COMMENT Message Data Item for the STORE command

   This document adds new message data items to the STORE command for
   setting and removing comments on messages in the selected mailbox:

      COMMENT <new-comment>
         Replace the comment for the messsage with the argument.  The
         new value of the comment is returned as if a FETCH of the
         COMMENT had been requested.

      COMMENT.SILENT <new-comment>
         Equivalent to COMMENT, but without returning the new value.  If
         CONDSTORE is enabled for the session, an unsolicted response
         containing the message's new MODSEQ may still be returned.

   The new comment must be either NIL or a non-empty octet sequence
   shorter than the maximum comment length as specified in the SELECT
   response.  If the octet sequence is not valid UTF-8, the server MUST
   return a tagged NO response with a "[BADCOMMENT NOTUTF8]" response
   code.  If the octet sequence exceeds the maximum comment length
   supported by the mailbox, the server MUST return a tagged NO response
   with a "[BADCOMMENT TOOBIG]" response code.

   Example:

      C: A003 STORE 1 COMMENT "This message now has a comment!"
      S: * 1 FETCH (COMMENT "This message now has a comment!")
      S: A003 OK STORE completed

      C: A004 STORE 2 COMMENT.SILENT NIL
      S: A004 OK STORE completed

3.4.  COMMENT Search Key for the SEARCH Command

   This document adds a new search key to the SEARCH command for
   searching within message COMMENTs:

      COMMENT <string>
         Messages that contain the specified string in the message's
         COMMENT.  If <string> is zero-length, matches all messages with
         non-NIL COMMENTs.

   Example:

      C: A005 SEARCH COMMENT "comment"
      S: * SEARCH 1 12 44 156
      S: A005 OK SEARCH completed

3.5.  COMMENT Extension for the APPEND Command

   This document adds a new APPEND extension (as per [IMAPABNF]) to
   allow specification of a comment on an APPENDed message:

      COMMENT <append-comment>
         Specifies a comment for the appended message.

   If the specified comment is not valid UTF-8, the server MUST return a
   tagged NO response with a "[BADCOMMENT NOTUTF8]" response code.  If
   the specified comment exceeds the maximum comment length supported by
   the target mailbox of the APPEND, the server MUST return a tagged NO
   response with a "[BADCOMMENT TOOBIG]" response code.

   Example:

      C: A006 APPEND Sent COMMENT "Attached to new message" {14432+}
      C: ...
      S: A006 OK APPEND completed

3.6.  COMMENT Interaction with the COPY Command

   When copying a message from one mailbox to another, the server SHOULD
   attempt to copy the message's comment along with the copied message.
   If the server is unable to associate the comment with the copied
   message -- for instance, because it exceeds the maximum comment
   length in the target mailbox -- it SHOULD create the copy with a NIL
   comment.

3.7.  COMMENT Interaction with the ACL Extension

   In general, read and write access to comments is governed by the same
   rules that control read and write access to message flags.

   When the [ACL] or [ACLPLUS] extensions are not present, users have
   read-only access to comments when the mailbox is selected READ-ONLY
   and read-write access to comments when the mailbox is selected
   READ-WRITE.

   When the [ACL] or [ACLPLUS] extensions are present, users have read
   access to comments when they have been granted the "r" right on the
   mailbox and write access to comments when they have been granted the
   "w" right on the mailbox.


4.  Formal Syntax

   The following syntax specification uses the Augmented Backus-Naur
   Form (ABNF) [ABNF] notation.  Elements not defined here can be found
   in the formal syntax of the ABNF [ABNF], UTF-8 [UTF8], IMAP [IMAP4],
   and IMAP ABNF extensions [IMAPABNF] specifications.

   Except as noted otherwise, all alphabetic characters are case-
   insensitive.  The use of upper or lower case characters to define
   token strings is for editorial clarity only.  Implementations MUST
   accept these strings in a case-insensitive fashion.

   append-ext       =/ "COMMENT" SP comment-value

   capability       =/ "COMMENT"

   comment-value    = "NIL" / comment-text

   comment-text     = utf8-quoted / utf8-literal

   fetch-att        =/ "COMMENT"

   msg-att-dynamic  =/ "COMMENT" SP comment-value

   resp-text-code   =/ "BADCOMMENT" SP ("NOTUTF8" / "TOOBIG") /
                       "COMMENT" SP number

   search-key       =/ "COMMENT" string

   select-param     =/ "COMMENT"

   store-att-flags  =/ "COMMENT" [".SILENT"] SP comment-value

   utf8-quoted      = DQUOTE 1*(QUOTED-CHAR) DQUOTE

   utf8-literal     = "{" nz-number ["+"] "}" CRLF 1*(UTF8-char)
                         ; Number represents the octet count


5.  References

5.1.  Normative References

   [ABNF]      Crocker, D. and P. Overell, "Augmented BNF for Syntax
               Specifications: ABNF", RFC 4234, October 2005.

   [IMAP4]     Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION
               4rev1", RFC 3501, March 2003.

   [IMAPABNF]  Melnikov, A. and C. Daboo, "Collected Extensions to IMAP4
               ABNF", RFC 4466, April 2006.

   [KEYWORDS]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", BCP 14, RFC 2119, March 1997.

   [UTF8]      Yergeau, F., "UTF-8, a transformation format of ISO
               10646", STD 63, RFC 3629, November 2003.

5.2.  Informative References

   [ACL]       Myers, J., "IMAP4 ACL extension", RFC 2086, January 1997.

   [ACLPLUS]   Melnikov, A., "IMAP4 Access Control List (ACL)
               Extension", RFC 4314, December 2005.

   [CONDSTORE] Melnikov, A. and S. Hole, "IMAP Extension for Conditional
               STORE Operation or Quick Flag Changes Resynchronization",
               RFC 4551, June 2006.


Appendix A.  Acknowledgments

   Many thanks to Cyrus Daboo and Randall Gellens for their extensive
   work developing the ANNNOTATE draft, upon which this draft is based.


Author's Address

   Dan Karp
   Zimbra
   1500 Fashion Island Blvd.
   Suite 100
   San Mateo, CA  94404
   USA

   Email: dkarp@zimbra.com
   URI:   http://www.zimbra.com/


Full Copyright Statement

   Copyright (C) The IETF Trust (2006).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
   THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
   THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.


Acknowledgment

   Funding for the RFC Editor function is provided by the IETF
   Administrative Support Activity (IASA).

------=_Part_2528_1223101547.1164921746589--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kATF7aFj047654; Wed, 29 Nov 2006 08:07:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kATF7akg047651; Wed, 29 Nov 2006 08:07:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kATF7UZ9047606 for <ietf-imapext@imc.org>; Wed, 29 Nov 2006 08:07:33 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from prosecco.oryx.com (prosecco.oryx.com [195.30.37.38]) by kalyani.oryx.com (Postfix) with ESMTP id 37AB54AC5E; Wed, 29 Nov 2006 16:07:24 +0100 (CET)
Message-Id: <og+ab0vdeo373Wwm9fB06A.md5@prosecco.oryx.com>
Date: Wed, 29 Nov 2006 16:05:53 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>, Cyrus Daboo <cyrus@daboo.name>
References: <455C6C2D.3000004@andrew.cmu.edu> <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C635D.2@andrew.cmu.edu> <146F2F40CE97BB29851F1330@ninevah.local>
In-Reply-To: <146F2F40CE97BB29851F1330@ninevah.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> Lets keep this simple and go with (2) as that does not require the 
> server to remember more state than it already does. And in all 
> likelihood clients will issue LANGUAGE before doing NAMESPACE anyway.

I changed it in a different way, equally simple. No server state.

Ken's suggestion to mandate NAMESPACE made immediate sense to me. 
Specifying what happens if LANGUAGE is supported and NAMESPACE isn't, 
or if the client hasn't issued NAMESPACE, or, or, was too hard and 
matters in too few cases to be worth much prose. So I said: Client must 
support NAMESPACE (at least enough to ignore the NAMESPACE response) 
and server always sends the response if it has translations. If it 
doesn't have translations - fine.

Thank you very much. This helped.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASKrefK035671; Tue, 28 Nov 2006 13:53:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASKreYt035670; Tue, 28 Nov 2006 13:53:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASKrcxh035661 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 13:53:39 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [192.168.1.6] (host86-142-231-168.range86-142.btcentralplus.com [86.142.231.168]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kASKrRkT006894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Nov 2006 15:53:30 -0500
Date: Tue, 28 Nov 2006 20:53:23 +0000
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>, Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Message-ID: <146F2F40CE97BB29851F1330@ninevah.local>
In-Reply-To: <456C635D.2@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C635D.2@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=2.0 required=5.0 tests=RCVD_IN_SORBS_DUL  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 28, 2006 6:27:09 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

>> 1. The server MUST remember whether it has sent NAMESPACE to the client
>> at any point during this connection, and MUST resend an appropriate
>> NAMESPACE response when it processes LANGUAGE. The new NAMESPACE's
>> values replace any earlier values sent.
>>
>> 1b. As 1, with "The client MUST NOT cache NAMESPACE values across
>> connections." added.
>>
>> 2. The client MUST resent NAMESPACE if it changes language using
>> LANGUAGE after sending the NAMESPACE command.
>>
>> 3. Requiring ENABLE.
>>
>> My personal preference is option 2, then 3, then 1/1b.
>>
>> I don't like option 1, because if a client caches NAMESPACE and does not
>> (re)send it on connection establishment, the LANGUAGE command doesn't
>> cause the NAMESPACE response to be sent. And not 1b either, because if
>> the client isn't permited to to cache the namespace response, how can it
>> cache messages in mailboxes whose name starts with a NAMESPACE-based
>> prefix?
>
> I'm fine with 1 or 2.  As a server guy, I don't care if we send
> unsolicited NAMESPACE responses after LANGUAGE or we require the client
> to issue NAMESPACE after LANGUAGE.  The former saves a roundtrip and the
> latter is similar to CAPABILITY after STARTTLS/AUTHENTICATE.

Lets keep this simple and go with (2) as that does not require the server 
to remember more state than it already does. And in all likelihood clients 
will issue LANGUAGE before doing NAMESPACE anyway.

Plus I think making it a MUST is a little strong for something that is 
ultimately a user experience feature. Also, its only a SHOULD for the 
server to support the TRANSLATION extension to NAMESPACE anyway, so a 
client should not be required to re-issue NAMESPACE if there were no 
TRANSLATIONS before, right?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASHH8jS006302; Tue, 28 Nov 2006 10:17:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASHH8mR006301; Tue, 28 Nov 2006 10:17:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASHH6WZ006284 for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 10:17:07 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASHH6FB030761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 09:17:06 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASHH4av021726 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 09:17:05 -0800
Date: Tue, 28 Nov 2006 09:16:59 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <456C6840.5020804@isode.com>
Message-ID: <alpine.WNT.0.8.0611280858280.4772@Shimo-Tomobiki.panda.com>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C6840.5020804@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.28.90432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Now, let me put on a different hat.  I hope that this doesn't need to be 
said, being generally recognized, but I haven't been following this part 
of the discussion close enough.

Having said my opinion on the best way to do namespaces in LANGUAGE, IMHO 
we shouldn't do so at all except to add language-specific comment strings. 
Doing that extends NAMESPACE anyway so there is no need to talk about 
making LANGUAGE and NAMESPACE interact since LANGUAGE would effectively 
supercede NAMESPACE.  So the question of how to interact LANGUAGE and 
NAMESPACE is moot; LANGUAGE always returns an untagged NAMESPACE response, 
and clients which implement LANGUAGE have to accept untagged NAMESPACE 
responses even if they don't otherwise implement NAMESPACE.

In particular, we should not in any way suggest that the actual namespace 
prefix strings are to be changed.  Doing otherwise is on the same level of 
silliness as changing keywords in a language (remember French BASIC?) so 
as to avoid contaminating innocent eyes by the sight of evil English 
keywords.

It isn't just silly.  It also has the effect of breaking URLs across 
locales.

There is no reason why a client can not localize its display for its 
locale.  It can do a better job at this than any server.

We certainly should have descriptor strings for each namespace; that is a 
desireable extension to NAMESPACE in any case.  As this is text intended 
for humans to read, it should be sensitive to LANGUAGE.

Maybe the server could just dump everything that it knows in the NAMESPACE 
resonse.  I don't know how many languages a server will ultimately 
support, but given that NAMESPACE is typically done once per session even 
a server that supports a zillion languages should have a manageable 
response.  The simplification in the protocol may be worth the extra 
octets.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGwX5R003940; Tue, 28 Nov 2006 09:58:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGwXZY003939; Tue, 28 Nov 2006 09:58:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGwUZ0003933 for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 09:58:32 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGwTmO011709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 08:58:30 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGwSJe009811 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 08:58:29 -0800
Date: Tue, 28 Nov 2006 08:58:22 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <456C6840.5020804@isode.com>
Message-ID: <alpine.WNT.0.8.0611280853060.4772@Shimo-Tomobiki.panda.com>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C6840.5020804@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.28.84432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 28 Nov 2006, Alexey Melnikov wrote:
> Arnt, can you remind me why you removed "server MUST sends NAMEPSPACE 
> response on LANGUAGE command, if the user is in authenticated state"?

It wouldn't hurt to make LANGUAGE require NAMESPACE.  The sole impact of 
this requirement is to allow an untagged NAMESPACE response from a 
LANGUAGE command.

In fact, doing so is less harmful than some of the other ideas that have 
been bandied about.

You will have to show what a suitable NAMESPACE response is from a server 
that does not otherwise offer namespaces.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGmNUq001846; Tue, 28 Nov 2006 09:48:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGmNEX001845; Tue, 28 Nov 2006 09:48:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGmMd9001833 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 09:48:22 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWxoVQBdEQPV@rufus.isode.com>; Tue, 28 Nov 2006 16:48:21 +0000
Message-ID: <456C6840.5020804@isode.com>
Date: Tue, 28 Nov 2006 16:48:00 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, Ken Murchison <murch@andrew.cmu.edu>
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
In-Reply-To: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Arnt Gulbrandsen writes:
>
>> Ken Murchison writes:
>>
>>> Mostly nits, but a couple of corrections.
>>
> Mostly just done and not commented here. Thank you. One thing needs 
> discussion.
> ...
>
>>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>>> MUST NOT combination in the two sentences.  Could they be merged 
>>> into one positive sentence something like the following?
>>>
>>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>>     it is in the authenticated state, the server MUST return an
>>>     untagged NAMESPACE response when a language is negotiated.
>>
>> Good suggestion. Will do.
>
> But how, exactly? I could say one of the following:
>
> 1. The server MUST remember whether it has sent NAMESPACE to the 
> client at any point during this connection, and MUST resend an 
> appropriate NAMESPACE response when it processes LANGUAGE. The new 
> NAMESPACE's values replace any earlier values sent.

Arnt, can you remind me why you removed "server MUST sends NAMEPSPACE 
response on LANGUAGE command, if the user is in authenticated state"?

> 1b. As 1, with "The client MUST NOT cache NAMESPACE values across 
> connections." added.
>
> 2. The client MUST resent NAMESPACE if it changes language using 
> LANGUAGE after sending the NAMESPACE command.
>
> 3. Requiring ENABLE.
>
> My personal preference is option 2, then 3, then 1/1b.
>
> I don't like option 1, because if a client caches NAMESPACE and does 
> not (re)send it on connection establishment, the LANGUAGE command 
> doesn't cause the NAMESPACE response to be sent. And not 1b either, 
> because if the client isn't permited to to cache the namespace 
> response, how can it cache messages in mailboxes whose name starts 
> with a NAMESPACE-based prefix?




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGYPZi000438; Tue, 28 Nov 2006 09:34:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGYPKl000437; Tue, 28 Nov 2006 09:34:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGYOEB000424 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 09:34:24 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGYNNg015226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 28 Nov 2006 08:34:23 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGYLvU029675 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 28 Nov 2006 08:34:22 -0800
Date: Tue, 28 Nov 2006 08:34:15 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <456C635D.2@andrew.cmu.edu>
Message-ID: <alpine.WNT.0.8.0611280833410.4772@Shimo-Tomobiki.panda.com>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C635D.2@andrew.cmu.edu>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.28.81932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

+1

On Tue, 28 Nov 2006, Ken Murchison wrote:
> I'm fine with 1 or 2.  As a server guy, I don't care if we send unsolicited 
> NAMESPACE responses after LANGUAGE or we require the client to issue 
> NAMESPACE after LANGUAGE.  The former saves a roundtrip and the latter is 
> similar to CAPABILITY after STARTTLS/AUTHENTICATE.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGRFTS099506; Tue, 28 Nov 2006 09:27:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGRFtn099505; Tue, 28 Nov 2006 09:27:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGRClL099497 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 09:27:15 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kASGRB4k017042 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 28 Nov 2006 11:27:12 -0500
Message-ID: <456C635D.2@andrew.cmu.edu>
Date: Tue, 28 Nov 2006 11:27:09 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
In-Reply-To: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> Arnt Gulbrandsen writes:
>> Ken Murchison writes:
>>> Mostly nits, but a couple of corrections.
> 
> Mostly just done and not commented here. Thank you. One thing needs 
> discussion.
> 
> ...
>>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>>> MUST NOT combination in the two sentences.  Could they be merged into 
>>> one positive sentence something like the following?
>>>
>>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>>     it is in the authenticated state, the server MUST return an
>>>     untagged NAMESPACE response when a language is negotiated.
>>
>> Good suggestion. Will do.
> 
> But how, exactly? I could say one of the following:
> 
> 1. The server MUST remember whether it has sent NAMESPACE to the client 
> at any point during this connection, and MUST resend an appropriate 
> NAMESPACE response when it processes LANGUAGE. The new NAMESPACE's 
> values replace any earlier values sent.
> 
> 1b. As 1, with "The client MUST NOT cache NAMESPACE values across 
> connections." added.
> 
> 2. The client MUST resent NAMESPACE if it changes language using 
> LANGUAGE after sending the NAMESPACE command.
> 
> 3. Requiring ENABLE.
> 
> My personal preference is option 2, then 3, then 1/1b.
> 
> I don't like option 1, because if a client caches NAMESPACE and does not 
> (re)send it on connection establishment, the LANGUAGE command doesn't 
> cause the NAMESPACE response to be sent. And not 1b either, because if 
> the client isn't permited to to cache the namespace response, how can it 
> cache messages in mailboxes whose name starts with a NAMESPACE-based 
> prefix?

I'm fine with 1 or 2.  As a server guy, I don't care if we send 
unsolicited NAMESPACE responses after LANGUAGE or we require the client 
to issue NAMESPACE after LANGUAGE.  The former saves a roundtrip and the 
latter is similar to CAPABILITY after STARTTLS/AUTHENTICATE.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASEMQ2g080342; Tue, 28 Nov 2006 07:22:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASEMQMT080341; Tue, 28 Nov 2006 07:22:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASEMMYe080325 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 07:22:25 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from prosecco.oryx.com (prosecco.oryx.com [195.30.37.38]) by kalyani.oryx.com (Postfix) with ESMTP id BB6F24ACB6; Tue, 28 Nov 2006 15:22:21 +0100 (CET)
Message-Id: <LOH4vGWoRYJfXIbE6qIXDA.md5@prosecco.oryx.com>
Date: Tue, 28 Nov 2006 15:20:56 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu> <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
In-Reply-To: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen writes:
> Arnt Gulbrandsen writes:
>> Ken Murchison writes:
>>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>>> MUST NOT combination in the two sentences.  Could they be merged 
>>> into one positive sentence something like the following?
>>>
>>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>>     it is in the authenticated state, the server MUST return an
>>>     untagged NAMESPACE response when a language is negotiated.
>>
>> Good suggestion. Will do.
>
> But how, exactly? I could say one of the following:

Or 4. All LANGUAGE-using clients MUST be able to parse the LANGUAGE 
response, whether they care about it or not.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASE01pk076035; Tue, 28 Nov 2006 07:00:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASE01RX076034; Tue, 28 Nov 2006 07:00:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASDxxP4075993 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 07:00:00 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from prosecco.oryx.com (prosecco.oryx.com [195.30.37.38]) by kalyani.oryx.com (Postfix) with ESMTP id 4CA1D4ACB6; Tue, 28 Nov 2006 14:59:58 +0100 (CET)
Message-Id: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
Date: Tue, 28 Nov 2006 14:58:32 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu> <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com>
In-Reply-To: <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id kASE01P4076029
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> Ken Murchison writes:
>> Mostly nits, but a couple of corrections.

Mostly just done and not commented here. Thank you. One thing needs discussion.

...
>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>> MUST NOT combination in the two sentences.  Could they be merged 
>> into one positive sentence something like the following?
>>
>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>     it is in the authenticated state, the server MUST return an
>>     untagged NAMESPACE response when a language is negotiated.
>
> Good suggestion. Will do.

But how, exactly? I could say one of the following:

1. The server MUST remember whether it has sent NAMESPACE to the client 
at any point during this connection, and MUST resend an appropriate 
NAMESPACE response when it processes LANGUAGE. The new NAMESPACE's 
values replace any earlier values sent.

1b. As 1, with "The client MUST NOT cache NAMESPACE values across 
connections." added.

2. The client MUST resent NAMESPACE if it changes language using 
LANGUAGE after sending the NAMESPACE command.

3. Requiring ENABLE.

My personal preference is option 2, then 3, then 1/1b.

I don't like option 1, because if a client caches NAMESPACE and does not 
(re)send it on connection establishment, the LANGUAGE command doesn't 
cause the NAMESPACE response to be sent. And not 1b either, because if 
the client isn't permited to to cache the namespace response, how can 
it cache messages in mailboxes whose name starts with a NAMESPACE-based 
prefix?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASDTlgt072252; Tue, 28 Nov 2006 06:29:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASDTlJe072251; Tue, 28 Nov 2006 06:29:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASDTkPR072244 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 06:29:47 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 655464ACC6 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 14:29:45 +0100 (CET)
Message-Id: <+grMg2AQhPteXyzqfFDNOw.md5@libertango.oryx.com>
Date: Tue, 28 Nov 2006 14:31:30 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: IMAP-I18N
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken and Alexey sent me comments which I processed, but which aren't in 
the draft I posted yesteday. My fault. Sorry. (An SCM fubar.) I'll post 
an update as soon as this one is through the queue.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAS15MJI097422; Mon, 27 Nov 2006 18:05:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAS15MYl097421; Mon, 27 Nov 2006 18:05:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAS15Lcn097415 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 18:05:21 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAS15Evp018431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 17:05:14 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAS15E41003079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 27 Nov 2006 17:05:14 -0800
Date: Mon, 27 Nov 2006 17:05:14 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
In-Reply-To: <47C15A2A4163358819523D2B@Cyrus-Daboo-G5.local>
Message-ID: <alpine.LRH.0.8.0611271702590.15277@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local> <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com> <47C15A2A4163358819523D2B@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.164933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__C230066_P5 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Cyrus Daboo wrote:
> I think treating this as an "upgrade" to i;ascii-casemap as opposed to an 
> alternative to i;basic is a good approach, so I think your proposal is fine.

OK, I've just sent draft-crispin-comparator-unicode-00.txt to the I-D 
repository.  It's definitely going to need some work, but I hope that the 
general idea survives more or less intact.

For your convenience, I'm including it below

-- Mark --

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






Network Working Group                                         M. Crispin
Internet-Draft                                  University of Washington
Document: internet-drafts/draft-crispin-comparator-unicode-00.txt
                                                            November 2006


        Internet Application Protocol Simple Unicode Comparator

Status of this Memo

    By submitting this Internet-Draft, each author represents that
    any applicable patent or other IPR claims of which he or she is
    aware have been or will be disclosed, and any of which he or she
    becomes aware will be disclosed, in accordance with Section 6 of
    BCP 79.

    Internet-Drafts are working documents of the Internet Engineering
    Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as
    Internet-Drafts.

    Internet-Drafts are draft documents valid for a maximum of six months
    and may be updated, replaced, or obsoleted by other documents at any
    time.  It is inappropriate to use Internet-Drafts as reference
    material or to cite them other than as "work in progress."

    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt

    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.

    A revised version of this document will be submitted to the RFC
    editor as an Informational Document for the Internet Community.

    A revised version of this draft document will be submitted to the RFC
    editor as a Proposed Standard for the Internet Community.  Discussion
    and suggestions for improvement are requested, and should be sent to
    ietf-imapext@IMC.ORG.  This document will expire before 27 May 2007.
    Distribution of this memo is unlimited.


Abstract

    This document describes "i;unicode-casemap", a simple
    case-insensitive collation for Unicode strings.  It provides
    equality, substring and ordering operations.


Introduction

    The "i;ascii-casemap" collation described in [COMPARATOR] is quite
    simple to implement and provides case-independent comparisons for the
    26 Latin alphabetics.  It is specified as the default and/or baseline
    comparator in some application protocols, e.g., [IMAP-SORT].

    It is possible, with a modest extension, to provide a more
    sophisticated collation with greater multilingual applicability than
    "i;ascii-casemap".

    This collation, "i;unicode-casemap", is intended to be an alternative
    to, and preferred over, "i;ascii-casemap".  It does not replace the
    "i;basic" collation described in [BASIC].


1. Unicode Casemap Collation Description

    The "i;unicode-casemap" collation is a simple collation which
    operates on Unicode strings and treats characters case-insensitively.
    It provides equality, substring and ordering operations.  All input
    is valid.

    For the equality and ordering operations, each input string is
    prepared by converting it to "titlecased canonicalized UTF-8" as
    follows on a per-character basis:

       (1) If the string is in a non-Unicode character set, the codepoint
           is converted from that character set to the associated
           codepoint in Unicode.
       (2) If the codepoint has a titlecase property in UnicodeData.txt
           (this is normally the same as the uppercase property) the
           codepoint is converted to the titlecased codepoint.
       (3) If the codepoint as a decomposition property in
           UnicodeData.txt the codepoint is converted to the decomposed
           codepoints.
       (4) The resulting codepoint(s) is/are appended to the titlecased
           canonicalized UTF-8 string.

    The resulting two titlecased canonicalized UTF-8 strings are then
    treated as in i;octet for equality and ordering.

    Care should be taken when using OS-supplied functions to implement
    this collation as it is not locale sensitive.  Functions such as
    strcasecmp and toupper are sometimes locale sensitive and may
    inconsistently casemap letters.

    The i;unicode-casemap collation is well suited to to use with many
    Internet protocols and computer languages.  Use with natural language
    is often inappropriate: even though the collation apparently supports
    languages such as Swahili and English, in real-world use it tends to
    mis-sort a number of types of string:

    o  people and place names containing scripts that are not collated
       according to "alphabetical order".
    o  words with characters that have diacriticals.  However,
       i-unicode-casemap generally does a better job than i;ascii-casemap
       for most (but not all) languages.  For example, German umlaut
       letters will sort correctly, but some Scandinavian letters will
       not.
    o  names such as "Lloyd" (which in Welsh sorts after "Lyon", unlike
       in English),
    o  strings containing other non-letter symbols; e.g., euro and pound
       sterling symbols, quotation marks other than '"', dashes/hyphens,
       etc.

2. Unicode Casemap Collation Registration

    <?xml version='1.0'?>
    <!DOCTYPE collation SYSTEM 'collationreg.dtd'>
    <collation rfc="XXXX" scope="local" intendedUse="common">
      <identifier>i;unicode-casemap</identifier>
      <title>Unicode Casemap</title>
      <operations>equality order substring</operations>
      <specification>RFC XXXX</specification>
      <owner>IETF</owner>
      <submitter>mrc@cac.washington.edu<submitter>
    </collation>

3. Security Considerations

    Collations will normally be used with UTF-8 strings.  Thus the
    security considerations for [UTF-8], [STRINGPREP] and
    [UNICODE-SECURITY] also apply and are normative to this
    specification.


4. IANA Considerations

    The i;unicode-casemap collation should be added to the registry of
    collations defined in [COMPARATOR]


5. Normative References

    The following documents are normative to this document:

    [BASIC]               ???, Work in Progress.

    [COMPARATOR]          Newman, C., "Internet Appplication Protocol
                          Collation Registry", Work in Progress.

    [STRINGPREP]          Hoffman, P. and M. Blanchet, "Preparation of
                          Internationalized Strings ("stringprep")",
                          RFC 3454, December 2002.

    [UTF-8]               Yergeau, F., "UTF-8, a transformation format
                          of ISO 10646", STD 63, RFC 3629, November 2003.

    [UNICODE-SECURITY]    Davis, M. and M. Suignard, "Unicode Security
                          Considerations", February 2006,
                          <http://www.unicode.org/reports/tr36/>.


6. Informative References:

    [IMAP-SORT]           Crispin, M. "Internet Message Access Protocol -
                          SORT and THREAD Extensions", Work in Progress.


Appendices

Author's Address

    Mark R. Crispin
    Networks and Distributed Computing
    University of Washington
    4545 15th Avenue NE
    Seattle, WA  98105-4527

    Phone: +1 (206) 543-5762

    EMail: MRC@CAC.Washington.EDU


Full Copyright Statement

    Copyright (C) The Internet Society (2006).

    This document is subject to the rights, licenses and restrictions
    contained in BCP 78, and except as set forth therein, the authors
    retain all their rights.

    This document and the information contained herein are provided on an
    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
    OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
    ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Intellectual Property

    The IETF takes no position regarding the validity or scope of any
    Intellectual Property Rights or other rights that might be claimed to
    pertain to the implementation or use of the technology described in
    this document or the extent to which any license under such rights
    might or might not be available; nor does it represent that it has
    made any independent effort to identify any such rights.  Information
    on the procedures with respect to rights in RFC documents can be
    found in BCP 78 and BCP 79.

    Copies of IPR disclosures made to the IETF Secretariat and any
    assurances of licenses to be made available, or the result of an
    attempt made to obtain a general license or permission for the use of
    such proprietary rights by implementers or users of this
    specification can be obtained from the IETF on-line IPR repository at
    http://www.ietf.org/ipr.

    The IETF invites any interested party to bring to its attention any
    copyrights, patents or patent applications, or other proprietary
    rights that may cover technology that may be required to implement
    this standard.  Please address the information to the IETF at ietf-
    ipr@ietf.org.


Acknowledgement

    Funding for the RFC Editor function is currently provided by the
    Internet Society.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJtdEX065622; Mon, 27 Nov 2006 12:55:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARJtdJb065621; Mon, 27 Nov 2006 12:55:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJtbOV065614 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 12:55:37 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARJtasn002209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 11:55:36 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARJtXpr020384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 27 Nov 2006 11:55:35 -0800
Date: Mon, 27 Nov 2006 11:55:33 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
In-Reply-To: <iGiJlBKAA0ETL60ulRpFgw.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611271137340.17689@pangtzu.panda.com>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>  <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com> <iGiJlBKAA0ETL60ulRpFgw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.114432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 27 Nov 2006, Arnt Gulbrandsen wrote:
> > This bit about "side effects" represents a misunderstanding of a 
> > fundamental IMAP principle.
> Thank you very much.

No insult intended.  You are showing a misunderstanding, and that 
misunderstanding needs to be clarified/resolved.

> RFC 4551, page 4, last paragraph. And other places - search for 
> 'CONDSTORE enabling command'.

The nomenclature, and the way in which it is expressed, is a bit 
unfortunate.  Nonetheless, the client is doing something to cause those 
responses.

Personally, I would have preferred that this behavior ONLY occur in 
unsolicited FLAGS responses.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJV6NP062317; Mon, 27 Nov 2006 12:31:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARJV61g062316; Mon, 27 Nov 2006 12:31:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJV4HS062308 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 12:31:06 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 05C5D4ACC0; Mon, 27 Nov 2006 20:31:04 +0100 (CET)
Message-Id: <iGiJlBKAA0ETL60ulRpFgw.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 20:32:45 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
Cc: Mark Crispin <MRC@CAC.Washington.EDU>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com> <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com> <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com> <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com>
In-Reply-To: <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Mon, 27 Nov 2006, Arnt Gulbrandsen wrote:
>> The driving force behind this one is "CONDSTORE and ANNOTATE should 
>> not need to be enabled using side effects.
>
> This bit about "side effects" represents a misunderstanding of a 
> fundamental IMAP principle.

Thank you very much.

> It has nothing to do with side effects.  The principle is that IMAP 
> responses are triggered by IMAP commands, and that no client should 
> get a extension response unless it issues an extension command.
>
> ANNOTATE has always been a disaster; it went pie-in-the-sky early on. 
> The past several years of work on it seem to be little more than 
> attempts to reduce it to something that someone might actually 
> implement.  IMHO the WG should have cut its losses and abandoned it.
>
> I don't offhand see the problem in CONDSTORE.  Surely we're not 
> talking about a few extra octets in an IMAP command.

RFC 4551, page 4, last paragraph. And other places - search for 
'CONDSTORE enabling command'.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARIrsXS057296; Mon, 27 Nov 2006 11:53:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARIrsKW057295; Mon, 27 Nov 2006 11:53:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARIrqBp057288 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 11:53:53 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARIrqbv017785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 10:53:52 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARIroxV010089 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 27 Nov 2006 10:53:51 -0800
Date: Mon, 27 Nov 2006 10:53:46 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
In-Reply-To: <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>
Message-ID: <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com> <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.103932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 27 Nov 2006, Arnt Gulbrandsen wrote:
> The driving force behind this one is "CONDSTORE and ANNOTATE should not 
> need to be enabled using side effects.

This bit about "side effects" represents a misunderstanding of a 
fundamental IMAP principle.

It has nothing to do with side effects.  The principle is that IMAP 
responses are triggered by IMAP commands, and that no client should get a 
extension response unless it issues an extension command.

ANNOTATE has always been a disaster; it went pie-in-the-sky early on. 
The past several years of work on it seem to be little more than attempts 
to reduce it to something that someone might actually implement.  IMHO the 
WG should have cut its losses and abandoned it.

I don't offhand see the problem in CONDSTORE.  Surely we're not talking 
about a few extra octets in an IMAP command.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARISnk8055103; Mon, 27 Nov 2006 11:28:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARISnXe055102; Mon, 27 Nov 2006 11:28:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARISlmb055088 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 11:28:48 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 883754ACFA; Mon, 27 Nov 2006 19:28:46 +0100 (CET)
Message-Id: <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 19:30:27 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
Cc: Mark Crispin <mrc@CAC.Washington.EDU>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com> <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>
In-Reply-To: <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> General observation:
>
> What seems to be driving some of these proposals is "neat to have" 
> rather than "need to have".

I can see what you mean, although we may not agree on particulars.

The driving force behind this one is "CONDSTORE and ANNOTATE should not 
need to be enabled using side effects. Doing that once is OK, doing it 
twice is dubious, four or five times would be hideous" and so, after 
two use cases, you now see a proposal. Fee free to argue against it, or 
for alternatives, or whatever. It's a proposal, nothing more, nothing 
less.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARICcCd053584; Mon, 27 Nov 2006 11:12:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARICcwx053583; Mon, 27 Nov 2006 11:12:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARICadb053576 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 11:12:37 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARICZjp018787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 10:12:35 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARICXcF029193 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 27 Nov 2006 10:12:34 -0800
Date: Mon, 27 Nov 2006 10:12:29 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
In-Reply-To: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>
Message-ID: <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.95933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

General observation:

What seems to be driving some of these proposals is "neat to have" rather 
than "need to have".

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFNUuY031061; Mon, 27 Nov 2006 08:23:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARFNUVo031060; Mon, 27 Nov 2006 08:23:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFNS00031053 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 08:23:29 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id BBCCC4ACFA; Mon, 27 Nov 2006 16:23:27 +0100 (CET)
Message-Id: <lF5i23QfoDGCsvyAAQ9o7Q.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 16:25:08 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: my todo list
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I appear to have cleared my TODO list. Unfortunately, several of the 
tasks on the list generated followup work. But for the next two days or 
so, I'm free as a bird! What a lovely feeling!

Arnt ;)



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFGmZT030271; Mon, 27 Nov 2006 08:16:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARFGmpd030270; Mon, 27 Nov 2006 08:16:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFGjjO030260 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 08:16:46 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 6CC0A4ACFC for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 16:16:44 +0100 (CET)
Message-Id: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 16:18:24 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: ENABLE review and a question
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

various people have written to say things like "neat idea" or "I like 
this better than these enabling commands".

Now, a first real issue. Alexey wants to enable someting, and it's not 
an entire extension. What to do?

Option 1. Another IANA registry, and any partial extensions can add 
their extra keywords there.

Option 2. Another IANA registry, and ONLY that which is listed there can 
be enabled with ENABLE.

Option 3. Make Alexey live without this feature.

Ideas?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANK74Wt037848; Thu, 23 Nov 2006 13:07:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANK74ew037847; Thu, 23 Nov 2006 13:07:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANK72kc037840 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 13:07:03 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kANK70LM001716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Nov 2006 12:07:00 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kANK6wLb006302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Nov 2006 12:06:59 -0800
Date: Thu, 23 Nov 2006 12:06:58 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: IDLE and idle
In-Reply-To: <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611231205320.17689@pangtzu.panda.com>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU> <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.23.115433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 23 Nov 2006, Arnt Gulbrandsen wrote:
> > UW imapd can send BYE outside of a command.  Do you have an example of 
> > OK outside of a command?  I can't think of any.
> Don't you send something like '* OK NAT middleboxes must die!" (more 
> politely phrased) every two minutes, or am I confusing you with someone 
> else?

That happens inside an IDLE; and yes, the message is a more polite
 	* OK timeout in 26 minutes

I don't think that UW imapd, or the old TOPS-20 IMAP2 server, send OK 
outside of a command.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANBcwRI097234; Thu, 23 Nov 2006 04:38:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANBcwee097233; Thu, 23 Nov 2006 04:38:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANBcvgW097227 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 04:38:58 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GnCur-0004xv-9A; Thu, 23 Nov 2006 11:38:53 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 37F30498004; Thu, 23 Nov 2006 11:51:50 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04334-03; Thu, 23 Nov 2006 11:51:40 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 7E7A4498003; Thu, 23 Nov 2006 11:51:40 +0000 (GMT)
Date: Thu, 23 Nov 2006 11:38:42 +0000
Subject: Re: IDLE and idle
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com> <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU> <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
In-Reply-To: <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <4994.1164281923.347439@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: Mark Crispin <mrc@cac.washington.edu>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 23 11:05:25 2006, Arnt Gulbrandsen wrote:
> Mark Crispin writes:
>>> I'm not familiar with any servers that do this. (UW sends OK, but 
>>> my question is about EXISTS.) Are there any that send EXISTS, and 
>>> if so, which?
>> 
>> UW imapd can send BYE outside of a command.  Do you have an 
>> example of OK outside of a command?  I can't think of any.
> 
> Don't you send something like '* OK NAT middleboxes must die!" 
> (more politely phrased) every two minutes, or am I confusing you 
> with someone else?

That's only when IDLE is running.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANB4IaN093943; Thu, 23 Nov 2006 04:04:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANB4INF093942; Thu, 23 Nov 2006 04:04:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANB4Flv093920 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 04:04:17 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 2CF334ACDF; Thu, 23 Nov 2006 12:04:06 +0100 (CET)
Message-Id: <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
Date: Thu, 23 Nov 2006 12:05:25 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: IDLE and idle
Cc: Mark Crispin <mrc@CAC.Washington.EDU>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com> <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU>
In-Reply-To:  <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> I really wish that we remove this from IMAP, but I'm sure that someone 
> would cry foul.

I think I'm going to use it, actually. Send up to one EXISTS. Shouldn't 
hurt the client and won't hurt my nonblocking IO. Not sure whether 
it'll have any benefit. Perhaps.

>> I'm not familiar with any servers that do this. (UW sends OK, but my 
>> question is about EXISTS.) Are there any that send EXISTS, and if 
>> so, which?
>
> UW imapd can send BYE outside of a command.  Do you have an example of 
> OK outside of a command?  I can't think of any.

Don't you send something like '* OK NAT middleboxes must die!" (more 
politely phrased) every two minutes, or am I confusing you with someone 
else?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANAvevp092888; Thu, 23 Nov 2006 03:57:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANAvesB092887; Thu, 23 Nov 2006 03:57:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANAvc2K092879 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 03:57:39 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 5658A4ACDF; Thu, 23 Nov 2006 11:57:37 +0100 (CET)
Message-Id: <3vIyKvLL88WIR9k5m0f+Yw.md5@libertango.oryx.com>
Date: Thu, 23 Nov 2006 11:58:56 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com> <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local> <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Wed, 22 Nov 2006, Cyrus Daboo wrote:
>> I agree that i;unicode-casemap cannot go in the comparator draft as 
>> its already been approved and on its way. There is too much else 
>> that depends on it to delay any more. A new draft defining and 
>> registering the new collation is best right now.
>
> OK, I'm convinced.  I'll write the document.

Fine.

> Please point me to the appropriate thing that I should use as a 
> framework for the document, so that I don't have to guess and guess 
> wrong.
>
> My intent is to use the definition of i;ascii-casemap as a basis, 
> which presumably means I should use the comparator draft.

Sounds good.

> Unless you think I should use i;basic instead.

Almost as good.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2Uvq3052727; Wed, 22 Nov 2006 19:30:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAN2UvfE052726; Wed, 22 Nov 2006 19:30:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2Uukc052717 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 19:30:56 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2UsEF018109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 18:30:54 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2Usgv029790 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 22 Nov 2006 18:30:54 -0800
Date: Wed, 22 Nov 2006 18:30:54 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Dave Cridland <dave@cridland.net>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
Subject: Re: IDLE and idle
In-Reply-To: <4994.1164208059.996096@peirce.dave.cridland.net>
Message-ID: <alpine.WNT.0.8.0611221824020.5340@Tomobiki-Cho.CAC.Washington.EDU>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com> <4994.1164208059.996096@peirce.dave.cridland.net>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.181932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Dave Cridland wrote:
> There's an edge case whereby a server sending EXISTS (Or RECENT) when 
> no command is in progress can inadvertantly cause some confusion.
> Specifically, when an EXISTS is sent at such a point that the client 
> is sending, or has already sent, a SELECT command, the client has to 
> be particularly careful about whether the EXISTS is in response to 
> the SELECT, and thus relates to the subsequent mailbox, or 
> unsolicited, and thus relates to the prior mailbox.

You're right about the edge case.  You're wrong about it only happening 
when no command is in progress.

A SELECT causes an implicit UNSELECT.  If a new message came in prior to 
the SELECT command, the actions taken as part of the UNSELECT could cause 
an untagged EXISTS event for the previous mailbox.  This will happen even 
in a server which doesn't send EXISTS/RECENT when no command is in 
progress.

I discovered this problem many years ago, back in IMAP2 days.

> There are two workarounds for clients:
> 1) Issue UNSELECT before any SELECT, which disambiguates.
> 2) In principle, only the last EXISTS relates to the subsequent 
> mailbox. The first EXISTS relates to the prior mailbox, unless there 
> is only one.

Correct.

> In general, I prefer pipelining an UNSELECT.

Well, since (1) is only an option for servers which have UNSELECT, a 
client has to implement (2).

Most clients don't recycle IMAP sessions for other mailboxes, so they 
don't encounter this problem.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2O1gR052128; Wed, 22 Nov 2006 19:24:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAN2O14l052127; Wed, 22 Nov 2006 19:24:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2O0UM052121 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 19:24:00 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2NxA4019089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 18:23:59 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2Nxos000735 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 22 Nov 2006 18:23:59 -0800
Date: Wed, 22 Nov 2006 18:23:59 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: IDLE and idle
In-Reply-To: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Message-ID: <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.180932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Arnt Gulbrandsen wrote:
> RFC 3501 section 5.3 permits a server to send untagged unsolicited 
> EXISTS responses to a client even when it's not processing any command, 
> under certain circumstances.

Correct.

This was supposed to be the "correct" behavior for servers, all "good" 
servers and clients would be fully asynchronous.

I knew that this was asking for trouble; I remembered the deadlock 
problems with the CCA Datacomputer all too well.  The practice of polling 
using NOOP (and thus indicating client readiness to accept unsolicited 
server data) was implemented from the onset.  Later on, IDLE also resulted 
from this realization.

However, the political environment at the time did not accept reality. 
The specification's allowing of unsolicited data outside of a command was 
an attempt at placation.  It failed to placate and the RFC 1203 ("IMAP3") 
fork resulted (the fork was stillborn, but it caused years of FUD).

I really wish that we remove this from IMAP, but I'm sure that someone 
would cry foul.

> I'm not familiar with any servers that do this. (UW sends OK, but my 
> question is about EXISTS.) Are there any that send EXISTS, and if so, 
> which?

UW imapd can send BYE outside of a command.  Do you have an example of OK 
outside of a command?  I can't think of any.

But there's something else that clients must consider.  See my forthcoming 
response to Dave's message.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKtprS025944; Wed, 22 Nov 2006 13:55:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMKtp96025943; Wed, 22 Nov 2006 13:55:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKtnom025936 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 13:55:50 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAMKteke009301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Nov 2006 15:55:43 -0500
Date: Wed, 22 Nov 2006 15:55:35 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Mark Crispin <mrc@CAC.Washington.EDU>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
Message-ID: <47C15A2A4163358819523D2B@Cyrus-Daboo-G5.local>
In-Reply-To: <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>  <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local> <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Mark,

--On November 22, 2006 10:01:41 AM -0800 Mark Crispin 
<mrc@CAC.Washington.EDU> wrote:

>> I agree that i;unicode-casemap cannot go in the comparator draft as its
>> already been approved and on its way. There is too much else that
>> depends  on it to delay any more. A new draft defining and registering
>> the new  collation is best right now.
>
> OK, I'm convinced.  I'll write the document.
>
> Please point me to the appropriate thing that I should use as a framework
> for the document, so that I don't have to guess and guess wrong.
>
> My intent is to use the definition of i;ascii-casemap as a basis, which
> presumably means I should use the comparator draft.  Unless you think I
> should use i;basic instead.

I think treating this as an "upgrade" to i;ascii-casemap as opposed to an 
alternative to i;basic is a good approach, so I think your proposal is fine.

BTW It is my intent to support this in our CalDAV server - so there is at 
least one other who will implement this.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKo8hI025433; Wed, 22 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMKo8QM025432; Wed, 22 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ns3.neustar.com (ns3.neustar.com [156.154.24.138]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKo7R3025409 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 13:50:08 -0700 (MST) (envelope-from ietf@ietf.org)
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com [10.31.47.10]) by ns3.neustar.com (Postfix) with ESMTP id 0E9F4175D3; Wed, 22 Nov 2006 20:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1Gmz2f-0006kF-Jt; Wed, 22 Nov 2006 15:50:01 -0500
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-sort-18.txt 
Message-Id: <E1Gmz2f-0006kF-Jt@stiedprstage1.ietf.org>
Date: Wed, 22 Nov 2006 15:50:01 -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 EXTENSIONS
	Author(s)	: M. Crispin, K. Murchison
	Filename	: draft-ietf-imapext-sort-18.txt
	Pages		: 0
	Date		: 2006-11-20
	
This document describes the base-level server-based sorting and
      threading extensions to the [IMAP] protocol.  These extensions
      provide substantial performance improvements for IMAP clients which
      offer sorted and threaded views.

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

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

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-imapext-sort-18.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-18.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:	<2006-11-22110219.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2006-11-22110219.I-D@ietf.org>

--OtherAccess--

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMI1oHc009504; Wed, 22 Nov 2006 11:01:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMI1oW5009503; Wed, 22 Nov 2006 11:01:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMI1mGH009497 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 11:01:49 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMI1in8014128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 10:01:44 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMI1gMU000878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 Nov 2006 10:01:43 -0800
Date: Wed, 22 Nov 2006 10:01:41 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
In-Reply-To: <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local>
Message-ID: <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.94932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Cyrus Daboo wrote:
> I agree that i;unicode-casemap cannot go in the comparator draft as its 
> already been approved and on its way. There is too much else that depends 
> on it to delay any more. A new draft defining and registering the new 
> collation is best right now.

OK, I'm convinced.  I'll write the document.

Please point me to the appropriate thing that I should use as a framework 
for the document, so that I don't have to guess and guess wrong.

My intent is to use the definition of i;ascii-casemap as a basis, which 
presumably means I should use the comparator draft.  Unless you think I 
should use i;basic instead.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMHxF0e009195; Wed, 22 Nov 2006 10:59:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMHxFLo009194; Wed, 22 Nov 2006 10:59:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMHxENX009187 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 10:59:15 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMHx8lo007561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 09:59:08 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMHwxC3000495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 Nov 2006 09:59:08 -0800
Date: Wed, 22 Nov 2006 09:58:58 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Review of sort
In-Reply-To: <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611220949350.8463@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.94432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Arnt Gulbrandsen wrote:
> Speed. I'm not being facetious. There are cases where string equality 
> testing is a big performance bottleneck, enough that it's bothersome. 
> In my GUI-programming past I've had to optimize such things before in 
> order to get a decent UI feel. I could implement i;unicode-casemap fast 
> enough that on modern CPUs it outruns RAM/L3 cache. A really good 
> programmer might be able to optimise i;basic that well, but I don't 
> know how, and even it so, I don't think we should rely on people being 
> much smarter than I am.

I agree with you on all points here.  I know how to write a good 
performing implementation of i;ascii-casemap and i;unicode-casemap 
(because I've done it).  I don't know how to do so for i;basic, although I 
hope to acquire such knowledge eventually.

I also believe that for a specification to be viable, we should not rely 
upon people being as smart as we are, much less smarter.  Substitute 
"[more] educated" or "[more] experienced" for "smart[er]" if you wish.

We used to mock high school kids whose introduction to computing was with 
BASIC (ignoring the small detail that many of us were that too!); but 
sadly its replacement hasn't resulted in better education of programming, 
design principles, or architecture.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH7NhC003342; Wed, 22 Nov 2006 10:07:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMH7NDs003341; Wed, 22 Nov 2006 10:07:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH7LJf003334 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 10:07:21 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAMH7E62008503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Nov 2006 12:07:17 -0500
Date: Wed, 22 Nov 2006 12:07:09 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: Dan Karp <dkarp@zimbra.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
Message-ID: <2FAADCE185DC17D3FE399BFA@Cyrus-Daboo-G5.local>
In-Reply-To: <45645F23.5070909@isode.com>
References: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com> <F305509DC46384B432528418@Cyrus-Daboo-G5.local> <45645F23.5070909@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 22, 2006 2:30:59 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> My comment to Dan on this was that it might make sense to have a way
>> to "profile" ANNOTATE so that servers could offer limited portions of
>> it. e.g. a server might choose not to implement either SORT'ing or
>> SEARCH'ing on annotations and that could be indicated via
>> ANNOTATE-NOSORT and ANNOTATE-NOSEARCH capabilities.
>
> I can see a reason for ANNOTATE-NOSORT, but why ANNOTATE-NOSEARCH? This
> is just making something already complex even more complex.

Its up to implementers to decide whether supporting search on annotations 
is hard or not and whether they want the option to not do it. I'm not 
saying we should allow that, but if there are reasons to then we can easily 
do so.

>> e.g. if a server wanted to support a limited set of entries, then a
>> new 'ALLOWEDENTRIES' option to SELECT could be used to return the set
>> of supported entries on a mailbox (e.g. just "/comment" in Dan's
>> example) - this could also cover support for .priv and .shared.
>>
>> The benefit of doing this, rather than inventing a new extension with
>> new syntax, is that it offers an upgrade path to full annotate. It
>> also means that anyone implementing full annotate on a client will be
>> able to easily handle "less capable" servers by simply looking at what
>> is supported. I think this is better than having two extension. This
>> could be done as a follow-up to the current "experiment".
>
> +1



-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH1WW8002667; Wed, 22 Nov 2006 10:01:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMH1WgW002666; Wed, 22 Nov 2006 10:01:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH1UjJ002658 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 10:01:31 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAMH1I6o008449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Nov 2006 12:01:24 -0500
Date: Wed, 22 Nov 2006 12:01:12 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>
Subject: Re: Review of sort
Message-ID: <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local>
In-Reply-To: <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>  <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 22, 2006 11:13:21 AM +0100 Arnt Gulbrandsen <arnt@oryx.com> 
wrote:

>> I am willing to write a draft for i;unicode-casemap, but I think that
>> it belongs in the same document as i;ascii-casemap.
>
> I disagree and it may not be possible anyway.
>
> Disagreement: That document defines a registry and registers the
> preexisting collations (those from RFC 2244). That's a fine scope for a
> document, and I'd rather not extend it beyond its natural boundary. But I
> don't think opinions matter, because:
>
> Possibility: I've already sent that document to the RFC editor, six weeks
> ago I think. It sounds like a very long stretch to add a whole new
> section as an RFC Editor's Note, particularly if that section is outside
> the document's scope as I explained it to the IESG.

I agree that i;unicode-casemap cannot go in the comparator draft as its 
already been approved and on its way. There is too much else that depends 
on it to delay any more. A new draft defining and registering the new 
collation is best right now.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG5U5V096628; Wed, 22 Nov 2006 09:05:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMG5UHm096627; Wed, 22 Nov 2006 09:05:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG5R1d096621 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 09:05:29 -0700 (MST) (envelope-from SRS0=64x6=FC=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.245.151.2] (helo=n800w.m.i2n) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1GmubC1edf-0001B7; Wed, 22 Nov 2006 17:05:23 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: we all refer to LISTEXT as LISTEXT
Date: Wed, 22 Nov 2006 17:05:18 +0100
User-Agent: KMail/1.9.5
Cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
References: <200611211403.12916.martin.konold@erfrakon.de> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com> <4564454D.2040907@isode.com>
In-Reply-To: <4564454D.2040907@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611221705.20653.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Mittwoch, 22. November 2006 13:40 schrieb Alexey Melnikov:
> Arnt Gulbrandsen wrote:
> > So maybe the final RFC should name the capability LISTEXT, too. We
> > refer to all the other extensions by their capability name, and we
> > don't seem to like the name LIST-EXTENDED...
>
> Communigate also advertises LISTEXT, while supporting a version which is
> not compatible with the one implemented by Cyrus.

The implementation in Cyrus is explicitly using LIST-EXTENDED because my 
original patch allowed to have both around at the same time. 

Only later it was decided that the support for the out-dated LISTEXT is to be 
dropped.

> So I don't think we can use LISTEXT as a capability for the approved draft.

I second this.

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG1IE9096380; Wed, 22 Nov 2006 09:01:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMG1ISV096379; Wed, 22 Nov 2006 09:01:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG1HtW096371 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 09:01:17 -0700 (MST) (envelope-from schaefer@closedmail.com)
Received: from torch.brasslantern.com ([71.116.86.88]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J9500GUR35ZDEO0@vms040.mailsrvcs.net> for ietf-imapext@imc.org; Wed, 22 Nov 2006 10:01:12 -0600 (CST)
Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id kAMG1ALO012041	for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 08:01:11 -0800
Received: (from schaefer@localhost)	by torch.brasslantern.com (8.13.1/8.13.1/Submit) id kAMG1AsR012040	for ietf-imapext@imc.org; Wed, 22 Nov 2006 08:01:10 -0800
Date: Wed, 22 Nov 2006 08:01:10 -0800
From: Bart Schaefer <schaefer@brasslantern.com>
Subject: Re: IDLE and idle
In-reply-to: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Message-id: <061122080110.ZM12039@torch.brasslantern.com>
MIME-version: 1.0
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
Content-type: text/plain; charset=us-ascii
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Comments: In reply to Arnt Gulbrandsen <arnt@oryx.com>        "IDLE and idle" (Nov 22,  2:51pm)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 22,  2:51pm, Arnt Gulbrandsen wrote:
}
} Are there any that send EXISTS, and if so, which?

I don't know of any in widespread use.  I wrote one several years ago
that deliberately did this as a kind of notification mechanism, but my
company abandoned the project before it ever became generally available.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMF80fH091351; Wed, 22 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMF80Mv091350; Wed, 22 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMF7wK2091342 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 08:07:59 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1Gmthc-0004lZ-4I; Wed, 22 Nov 2006 15:07:56 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 77483498004; Wed, 22 Nov 2006 15:20:44 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17002-03; Wed, 22 Nov 2006 15:20:28 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 84A68498005; Wed, 22 Nov 2006 15:20:28 +0000 (GMT)
Date: Wed, 22 Nov 2006 15:07:38 +0000
Subject: Re: IDLE and idle
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
In-Reply-To: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <4994.1164208059.996096@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Wed Nov 22 13:51:31 2006, Arnt Gulbrandsen wrote:
> RFC 3501 section 5.3 permits a server to send untagged unsolicited 
> EXISTS responses to a client even when it's not processing any 
> command, under certain circumstances.
> 
> I'm not familiar with any servers that do this. (UW sends OK, but 
> my question is about EXISTS.) Are there any that send EXISTS, and 
> if so, which?

Not that I'm aware of.

There's an edge case whereby a server sending EXISTS (Or RECENT) when 
no command is in progress can inadvertantly cause some confusion.

Specifically, when an EXISTS is sent at such a point that the client 
is sending, or has already sent, a SELECT command, the client has to 
be particularly careful about whether the EXISTS is in response to 
the SELECT, and thus relates to the subsequent mailbox, or 
unsolicited, and thus relates to the prior mailbox.

There are two workarounds for clients:

1) Issue UNSELECT before any SELECT, which disambiguates. This can be 
pipelined. (Without UNSELECT the issue is more complex, you need to 
do something like EXAMINE on a mailbox name known not to exist, or 
horrendously unlikely to exist.)

2) In principle, only the last EXISTS relates to the subsequent 
mailbox. The first EXISTS relates to the prior mailbox, unless there 
is only one.

In general, I prefer pipelining an UNSELECT.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEhl3U088535; Wed, 22 Nov 2006 07:43:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMEhl3e088534; Wed, 22 Nov 2006 07:43:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEhkPZ088528 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 07:43:47 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAMEhgCn012635 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 22 Nov 2006 09:43:43 -0500
Message-ID: <4564621D.5000604@andrew.cmu.edu>
Date: Wed, 22 Nov 2006 09:43:41 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: IDLE and idle
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
In-Reply-To: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> 
> Hi,
> 
> RFC 3501 section 5.3 permits a server to send untagged unsolicited 
> EXISTS responses to a client even when it's not processing any command, 
> under certain circumstances.
> 
> I'm not familiar with any servers that do this. (UW sends OK, but my 
> question is about EXISTS.) Are there any that send EXISTS, and if so, 
> which?

Cyrus IMAP does not send any response unless a command is in progress 
(IDLE included) unless there is some edge case that I'm not aware of.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEVGoG087343; Wed, 22 Nov 2006 07:31:16 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMEVG0g087342; Wed, 22 Nov 2006 07:31:16 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEVFIl087336 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 07:31:16 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRfMgB024b7@rufus.isode.com>; Wed, 22 Nov 2006 14:31:14 +0000
Message-ID: <45645F23.5070909@isode.com>
Date: Wed, 22 Nov 2006 14:30:59 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: Dan Karp <dkarp@zimbra.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
References: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com> <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
In-Reply-To: <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
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>

Hi Cyrus,

Cyrus Daboo wrote:

> My comment to Dan on this was that it might make sense to have a way 
> to "profile" ANNOTATE so that servers could offer limited portions of 
> it. e.g. a server might choose not to implement either SORT'ing or 
> SEARCH'ing on annotations and that could be indicated via 
> ANNOTATE-NOSORT and ANNOTATE-NOSEARCH capabilities.

I can see a reason for ANNOTATE-NOSORT, but why ANNOTATE-NOSEARCH? This 
is just making something already complex even more complex.

> e.g. if a server wanted to support a limited set of entries, then a 
> new 'ALLOWEDENTRIES' option to SELECT could be used to return the set 
> of supported entries on a mailbox (e.g. just "/comment" in Dan's 
> example) - this could also cover support for .priv and .shared.
>
> The benefit of doing this, rather than inventing a new extension with 
> new syntax, is that it offers an upgrade path to full annotate. It 
> also means that anyone implementing full annotate on a client will be 
> able to easily handle "less capable" servers by simply looking at what 
> is supported. I think this is better than having two extension. This 
> could be done as a follow-up to the current "experiment".

+1



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDoJP1083063; Wed, 22 Nov 2006 06:50:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMDoJUp083061; Wed, 22 Nov 2006 06:50:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDoH8x083055 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 06:50:18 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id DD3154ACBB; Wed, 22 Nov 2006 14:50:16 +0100 (CET)
Message-Id: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Date: Wed, 22 Nov 2006 14:51:31 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: IDLE and idle
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

RFC 3501 section 5.3 permits a server to send untagged unsolicited 
EXISTS responses to a client even when it's not processing any command, 
under certain circumstances.

I'm not familiar with any servers that do this. (UW sends OK, but my 
question is about EXISTS.) Are there any that send EXISTS, and if so, 
which?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDnM7u082987; Wed, 22 Nov 2006 06:49:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMDnMed082986; Wed, 22 Nov 2006 06:49:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDnL0L082980 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 06:49:21 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRVXgB02zf8@rufus.isode.com>; Wed, 22 Nov 2006 13:49:18 +0000
Message-ID: <45645551.1030904@isode.com>
Date: Wed, 22 Nov 2006 13:49:05 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Lisa Dusseault <lisa@osafoundation.org>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu> <455A1673.6010500@isode.com> <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
In-Reply-To: <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Lisa Dusseault wrote:

>> And remember about difficulty of implementing METADATA on servers. 
>> LISTEXT might be already difficult to implement, but unlike METADATA 
>> it doesn't require any additional attribute storage facilities from 
>> the mailstore.
>>
> I believe this is true, but:
> - is everybody doing POSTADDRESS going to do METADATA anyway?

The answer for my implementation is No (at least not in short term)

> - Is it possible to support METADATA without allowing clients to write 
> and create their own properties?

Yes, but currently there is no way for the client to discover that this 
is the case.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDJvFl080496; Wed, 22 Nov 2006 06:19:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMDJvSe080494; Wed, 22 Nov 2006 06:19:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDJuZW080482; Wed, 22 Nov 2006 06:19:56 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 292844ACBB; Wed, 22 Nov 2006 14:19:55 +0100 (CET)
Message-Id: <6nrCfHqh9q2UILGcO6j4oA.md5@libertango.oryx.com>
Date: Wed, 22 Nov 2006 14:21:09 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: Re: IDnits
Cc: Alexey Melnikov <alexey.melnikov@isode.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu> <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com> <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com> <45644A23.1030104@isode.com>
In-Reply-To: <45644A23.1030104@isode.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> Arnt Gulbrandsen wrote:
>> I keep the RFC numbers and rewrite as Ken suggests. I'd started that 
>> already, because it optimises for readability and because idnits 
>> insists on seeing "RFC 2119" in that boilerplace sentence.
>
> It turns out that one can use:
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in RFC 2119.
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in [RFC2119].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in [RFC 2119].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in RFC 2119 [1].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in RFC 2119 [KEYWORDS].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in [KEYWORDS].

Thanks.

I was using one of the last two, and idnits version 1.103 complained. 
1.103 must have been somewhat imperfect. I now upgraded to 1.118, and 
it only gives sensible warnings. Great. Why didn't I upgrade before?

However, I already rewrote and like the result better. It names the 
subject at hand, the document being referred to, or both, depending on 
what's best in any given paragraph.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMD1Z1C077928; Wed, 22 Nov 2006 06:01:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMD1Zhp077927; Wed, 22 Nov 2006 06:01:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMD1YkI077914; Wed, 22 Nov 2006 06:01:35 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRKLQB02122@rufus.isode.com>; Wed, 22 Nov 2006 13:01:33 +0000
Message-ID: <45644A23.1030104@isode.com>
Date: Wed, 22 Nov 2006 13:01:23 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: IDnits
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>  <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>  <4563148A.5000909@andrew.cmu.edu>  <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com> <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com>
In-Reply-To: <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Mark Crispin writes:
>
>> On Tue, 21 Nov 2006, Ken Murchison wrote:
>>
>>> - Section 2: Even though I know what RFC4422 and RFC3501 are, I'd 
>>> like to see the acronyms used with the references.  e.g.
>>> "The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
>>> "... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
>>> "... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."
>>
>> Or just change the reference names so that the RFC only needs to be 
>> changed once, in the references, e.g., [SASL], [IMAP], etc.
>
> I keep the RFC numbers and rewrite as Ken suggests. I'd started that 
> already, because it optimises for readability and because idnits 
> insists on seeing "RFC 2119" in that boilerplace sentence.

It turns out that one can use:

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC 2119].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [1].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [KEYWORDS].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [KEYWORDS].

However the [KEYWORDS] reference has to be properly defined:

   [KEYWORDS]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", BCP 14, RFC 2119, March 1997.

instead of:

   [KEYWORDS]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", RFC 2119, March 1997.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMCevQF076030; Wed, 22 Nov 2006 05:40:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMCevCX076029; Wed, 22 Nov 2006 05:40:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMCetAF076022 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 05:40:56 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRFVgB022YN@rufus.isode.com>; Wed, 22 Nov 2006 12:40:54 +0000
Message-ID: <4564454D.2040907@isode.com>
Date: Wed, 22 Nov 2006 12:40:45 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org
Subject: Re: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de>  <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
In-Reply-To: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> So maybe the final RFC should name the capability LISTEXT, too. We 
> refer to all the other extensions by their capability name, and we 
> don't seem to like the name LIST-EXTENDED...

Communigate also advertises LISTEXT, while supporting a version which is 
not compatible with the one implemented by Cyrus.

So I don't think we can use LISTEXT as a capability for the approved draft.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMACBH0060000; Wed, 22 Nov 2006 03:12:11 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMACBZ8059999; Wed, 22 Nov 2006 03:12:11 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMAC9hP059992 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 03:12:10 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id ED98D4ACD3; Wed, 22 Nov 2006 11:12:07 +0100 (CET)
Message-Id: <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
Date: Wed, 22 Nov 2006 11:13:21 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com> <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu>
In-Reply-To: <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Tue, 21 Nov 2006, Cyrus Daboo wrote:
>> OK - so it sounds like we may want both of these. If so, it seems 
>> like separate drafts would be better.
>>
>> Mark, are you in a position to write a draft for i;unicode-casemap? 
>> Or would you like someone else to?
>
> I am willing to write a draft for i;unicode-casemap, but I think that 
> it belongs in the same document as i;ascii-casemap.

I disagree and it may not be possible anyway.

Disagreement: That document defines a registry and registers the 
preexisting collations (those from RFC 2244). That's a fine scope for a 
document, and I'd rather not extend it beyond its natural boundary. But 
I don't think opinions matter, because:

Possibility: I've already sent that document to the RFC editor, six 
weeks ago I think. It sounds like a very long stretch to add a whole 
new section as an RFC Editor's Note, particularly if that section is 
outside the document's scope as I explained it to the IESG.

> Also, as i;unicode-casemap is intended to be a better default for an 
> IMAP server than i;ascii-casemap, should we stipulate that a server 
> should implement one or the other but not both?  Is there any reason 
> why either i;unicode-casemap or i;ascii-casemap would be used by any 
> implementation that supports i;basic?

Speed. I'm not being facetious. There are cases where string equality 
testing is a big performance bottleneck, enough that it's bothersome. 
In my GUI-programming past I've had to optimize such things before in 
order to get a decent UI feel. I could implement i;unicode-casemap fast 
enough that on modern CPUs it outruns RAM/L3 cache. A really good 
programmer might be able to optimise i;basic that well, but I don't 
know how, and even it so, I don't think we should rely on people being 
much smarter than I am.

It would be a pity if we require i;basic use in cases where it's not 
really needed, just because we don't have something more appropriate at 
hand.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM9J0Bt054587; Wed, 22 Nov 2006 02:19:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM9J0La054585; Wed, 22 Nov 2006 02:19:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM9IwaI054575 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 02:18:59 -0700 (MST) (envelope-from SRS0=64x6=FC=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.164.57] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GmoFa0TAa-0007SD; Wed, 22 Nov 2006 10:18:39 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Dan Karp <dkarp@zimbra.com>
Subject: Re: IDLEPLUS extension
Date: Wed, 22 Nov 2006 10:18:32 +0100
User-Agent: KMail/1.9.5
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
References: <789899155.132211164070881212.JavaMail.root@dogfood.zimbra.com>
In-Reply-To: <789899155.132211164070881212.JavaMail.root@dogfood.zimbra.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611221018.33607.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 02:01 schrieb Dan Karp:

Hi Dan,

> Message sequence numbers are meaningless -- and probably can't be
> determined -- in non-SELECTed mailboxes.  You'd be better off using UIDs
> qualified by UIDVALIDITY.

Thank you for your valuable feedback!

Yes, I agree even though it requires some extra bytes but only the triple 
(name/uidvalidity/uid) is really very robust and not prone to race 
conditions. I changed the draft accordingly.

http://www.erfrakon.de/konold/draft-konold-imap-idleplus-03.txt

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2hWS9022047; Tue, 21 Nov 2006 19:43:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM2hWdI022046; Tue, 21 Nov 2006 19:43:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2hUtv022039 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:43:31 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2hOc9021573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 18:43:25 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2hO4N030723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 18:43:24 -0800
Date: Tue, 21 Nov 2006 18:43:24 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Review of sort
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Message-ID: <alpine.LRH.0.7.0611211830510.12317@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.182933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_MEDIA_2_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Arnt Gulbrandsen wrote:
> Yes... i;basic does ordering like dictionaries for most of the world. 
> Very elaborate, very high quality. i;unicode-casemap does something 
> much, much simpler. Simple to implement and good for associative 
> arrays, which is a very important task. IMO both are needed.

I agree.

> I'm not 100% sure whether there are programs or protocols that do need 
> i;unicode-casemap and don't (in some other capacity) need i;basic. It 
> could be that i;basic could take over i;unicode-casemap's job, assuming 
> the performace difference is manageable. Right now I think it couldn't, 
> but I may change my mind.

I have i;unicode-casemap now, and it is likely to be some time before I 
will have i;basic.

As I understand the current documents, the choices boil down to:
  (a) comply by downgrading the existing i;unicode-casemap back to
      i;ascii-casemap
  (b) implement i;basic
  (c) don't comply, and disregard the documents
  (d) get i;unicode-casemap into the documents, thus bringing the
      status quo into compliance.

Of these, only (d) seems desirable.  Or rather, (b) is desirable but it 
isn't going to happen.  The danger with (c) is that once a document is 
defied as being out of touch with reality, it tends to remain in that 
state forever.

Hence, let's go with (d)!

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2UT5F021323; Tue, 21 Nov 2006 19:30:29 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM2UTvn021322; Tue, 21 Nov 2006 19:30:29 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2USBQ021315 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:30:28 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2UML1019012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 18:30:22 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2ULI6011026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 18:30:21 -0800
Date: Tue, 21 Nov 2006 18:30:21 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
In-Reply-To: <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>
Message-ID: <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com> <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.181432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Cyrus Daboo wrote:
> OK - so it sounds like we may want both of these. If so, it seems like 
> separate drafts would be better.
> 
> Mark, are you in a position to write a draft for i;unicode-casemap? Or 
> would you like someone else to?

I am willing to write a draft for i;unicode-casemap, but I think that it 
belongs in the same document as i;ascii-casemap.

Also, as i;unicode-casemap is intended to be a better default for an IMAP 
server than i;ascii-casemap, should we stipulate that a server should 
implement one or the other but not both?  Is there any reason why either 
i;unicode-casemap or i;ascii-casemap would be used by any implementation 
that supports i;basic?

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2MbGZ020847; Tue, 21 Nov 2006 19:22:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM2Mb8s020846; Tue, 21 Nov 2006 19:22:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2MaQg020835 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:22:36 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2MYIb017498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 18:22:35 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2MYUB010548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 18:22:34 -0800
Date: Tue, 21 Nov 2006 18:22:34 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Martin Duerst <duerst@it.aoyama.ac.jp>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@Sun.COM>, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <6.0.0.20.2.20061121190302.094467e0@localhost>
Message-ID: <alpine.LRH.0.7.0611211806250.12317@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <6.0.0.20.2.20061118180934.09689dc0@localhost> <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com> <6.0.0.20.2.20061121190302.094467e0@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-ID: <alpine.LRH.0.7.0611211807151.12317@shiva2.cac.washington.edu>
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.180932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Martin Duerst wrote:
>> All strings are coerced to UTF-8, but subsequently are treated as octet 
>> strings instead of variable-width character strings.  The reference to 
>> "attempts to compare Unicode characters case-insensitively" [I agree 
>> that the verb "compare" needs to be included] refers to a higher-level 
>> effect rather than what the algorithm actually does.
> If that's all really cristal clear from the specification, it's probably
> okay. It was just difficult to guess from the part you sent.

The text that I wrote for i;unicode-casemap parallels the existing text 
for i;ascii-casemap which appears in the collator draft.  I think that the 
parallelism is important, since implementors of i;unicode-casemap are 
probably upgrading from i;ascii-casemap and/or need to understand what 
they need to do.

Thus, I would argue that your comments should be made about the definition 
of i;ascii-casemap, and that the i;unicode-casemap definition would just 
follow whatever is said there.

> Also,
> please keep in mind that collations should be reusable, so there
> may be a need to explain more in the collation definition than what's
> needed in the context of the protocol you're looking at.

It isn't clear to me how this applies in the context in which 
i;unicode-casemap would be used (IMAP sorting and threading).

>> I'm not familiar with the decomposition names.  What I meant is "if a 
>> decomposition for a codepoint is defined in UnicodeData.txt, substitute 
>> that decomposition for the codepoint."
> In that case, it's definitely not NFD (sorry, 'NDF' above was wrong).
> Is this done recursively or not?

Does it need to be?  I wasn't aware of any decompositions in the 
UnicodeData.txt file file neeed it.

> Given your arguments below about 'easy to implement', I'm wondering
> whether this is worth the effort.

Given that I was able to implement it in UW imapd rather quickly, and it 
may be quite some time before i;basic is implemented, I think that the 
answer is "yes".

> I still don't understand why you choose Titlecase. The output,
> applied to individual characters, may look weird if you get
> a Serbocroatian digraph, e.g. like so: LjUBLjANA (yes, I know,
> Ljubljana is in Slovenia, neither in Serbia nor in Croatia).
> Why not lower case (what's usually recommended) or upper case?

There is no "output"; this is just used to order IMAP SORT and THREAD 
results.

I choose titlecase coercion because it appeared to me in the few cases 
where titlecase is different that lowercase coercion would have the effect 
of misordering text that is in titlecase.  If that wasn't the case, it 
wouldn't matter if you coerced to lowercase or titlecase for comparison.

>> The all-or-none approach was taken with SSL/TLS and proved to be very 
>> painful.  It was entirely too easy for developers to choose "none" and 
>> make the people who followed the specification look like bad guys.
> Oh, so for SSL/TLS, I guess it would only be used for equality comparison,
> not for actual ordering.

No, I'm referring to the undue rush that we made to go to mandatory 
SSL/TLS and the years of interoperability nightmares that resulted.  To 
this day, I *STILL* get bug reports from people who are unclear on "why is 
login disabled."

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHVRRA078017; Tue, 21 Nov 2006 10:31:27 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHVRDP078016; Tue, 21 Nov 2006 10:31:27 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHVP30078009 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:31:26 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id DCC9C4ACED; Tue, 21 Nov 2006 18:31:24 +0100 (CET)
Message-Id: <u8wPO1LOtIEtist2eQzZgg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 18:32:35 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Ken Murchison <murch@andrew.cmu.edu>, Cyrus Daboo <cyrus@daboo.name>, Dave Cridland <dave@cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu> <455A1673.6010500@isode.com> <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
In-Reply-To: <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Lisa Dusseault writes:
> My personal opinion on POSTADDRESS at a higher level is that it's a 
> little dangerous either as metadata or as list extensions -- I think 
> Philip was the other one who pointed out that attackers could use it 
> to place emails directly in folders other than your Inbox.

POSTADDRESS isn't the guilty party there, + addresses are and servers 
which deliver to any folder are. IIRC I raised that issue when I 
reviewed rfc3598bis.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHPv9d077663; Tue, 21 Nov 2006 10:25:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHPvTQ077662; Tue, 21 Nov 2006 10:25:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHPu3e077580 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:25:56 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id 870A2810B39; Tue, 21 Nov 2006 09:20:45 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 02C97C6D43; Tue, 21 Nov 2006 09:25:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ExikE2sNEZNP; Tue, 21 Nov 2006 09:25:50 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 43FADC6D42; Tue, 21 Nov 2006 09:25:50 -0800 (PST)
Message-ID: <2047487183.153991164129950148.JavaMail.root@dogfood.zimbra.com>
Date: Tue, 21 Nov 2006 09:25:50 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
In-Reply-To: <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
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>

> My comment to Dan on this was that it might make sense to have a way
> to "profile" ANNOTATE so that servers could offer limited portions
> of it. e.g. a server might choose not to implement either SORT'ing or
> SEARCH'ing on annotations and that could be indicated via
> ANNOTATE-NOSORT and ANNOTATE-NOSEARCH capabilities. e.g. if a server
> wanted to support a limited set of entries, then a new
> 'ALLOWEDENTRIES' option to SELECT could be used to return the set of
> supported entries on a mailbox (e.g. just "/comment" in Dan's example)
> - this could also cover support for .priv and .shared.

This would definitely work, but I fear that would just further complicate an extension that's already got complex syntax and complex semantics.  I'm hoping for a stripped-down subset of the functionality with correspondingly stripped-down syntax and semantics -- basically, a simple feature expressed simply.

> The benefit of doing this, rather than inventing a new extension with
> new syntax, is that it offers an upgrade path to full annotate. It
> also means that anyone implementing full annotate on a client will be
> able to easily handle "less capable" servers by simply looking at what
> is supported. I think this is better than having two extension. This
> could be done as a follow-up to the current "experiment".

Going off my own experience (which may not be as generalizable as I'd like), it's not difficult for us to add new syntax as long as it uses the same existing underlying data store.  If we *could* support the full ANNOTATE feature set, the extra overhead to also support COMMENT would be minimal.  Of course, your mileage may vary.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHEdVL076869; Tue, 21 Nov 2006 10:14:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHEdfl076866; Tue, 21 Nov 2006 10:14:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHEcFH076855; Tue, 21 Nov 2006 10:14:39 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 9CA2D4ACED; Tue, 21 Nov 2006 18:14:37 +0100 (CET)
Message-Id: <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 18:15:48 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
Cc: robsiemb@google.com, Ken Murchison <murch@andrew.cmu.edu>, Robert Siemborski <rjs3+@andrew.cmu.edu>, Mark Crispin <mrc@CAC.Washington.EDU>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu> <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Tue, 21 Nov 2006, Ken Murchison wrote:
>> - Section 2: Even though I know what RFC4422 and RFC3501 are, I'd 
>> like to see the acronyms used with the references.  e.g.
>> "The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
>> "... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
>> "... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."
>
> Or just change the reference names so that the RFC only needs to be 
> changed once, in the references, e.g., [SASL], [IMAP], etc.

I keep the RFC numbers and rewrite as Ken suggests. I'd started that 
already, because it optimises for readability and because idnits 
insists on seeing "RFC 2119" in that boilerplace sentence.

Besides, sometimes I like the distinction between e.g. IMAP and RFC 3501.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHEGiB076841; Tue, 21 Nov 2006 10:14:16 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHEFd9076840; Tue, 21 Nov 2006 10:14:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHECRW076829; Tue, 21 Nov 2006 10:14:15 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id BA69C4ACED; Tue, 21 Nov 2006 18:14:11 +0100 (CET)
Message-Id: <aH0JckY1kp5YZiBl9bHMyg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 18:15:22 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
Cc: robsiemb@google.com, Ken Murchison <murch@andrew.cmu.edu>, Robert Siemborski <rjs3+@andrew.cmu.edu>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu>
In-Reply-To: <4563148A.5000909@andrew.cmu.edu>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison writes:
> Arnt Gulbrandsen wrote:
>
>> I am not aware of any problems with the draft as it now stands. 
>> Please review it and notify me if you see any (I'm sure you will if 
>> you try hard). I'd also like to hear about any implementations. 
>> Thank you.
>
> It probably goes with out saying, but Cyrus IMAP has implemented this 
> from day one.

So far, 100% of servers apparently support it. I am amazed.

> A few nits on the draft, mostly outdated references.

I did all the nits and a few others. Augmented Bakus-Naur Form struck my 
eye. Thanks. There's one real issue to consider (security: MITM 
adding/removing SASL-IR from CAPABILITY), then I'll upload -06 and sit 
on my hands for a while.

The plan further is to do IETF LC on this and Rob/Alexey's 2554bis 
roughly at the same time, then have the IESG evaluate them together.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHDU3R076784; Tue, 21 Nov 2006 10:13:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHDUxc076783; Tue, 21 Nov 2006 10:13:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHDSan076776 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:13:29 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kALHDPgj004423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Nov 2006 12:13:27 -0500
Date: Tue, 21 Nov 2006 12:13:20 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dan Karp <dkarp@zimbra.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
Message-ID: <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
In-Reply-To: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com>
References: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dan,

--On November 21, 2006 9:00:51 AM -0800 Dan Karp <dkarp@zimbra.com> wrote:

> I thought about it for a while, and I realized that the much simpler set
> of things we *can* implement still makes a pretty compelling subset of
> ANNOTATE functionality.  So I was wondering if it might be OK to try a
> second draft (called COMMENT or somesuch) encapsulating the following
> functionality:
>
>    - one COMMENT annotation field per message
>    - the COMMENT annotation maps directly to the "/comment value.shared"
> ANNOTATION (and hence tags along via COPY)    - a COMMENT annotation must
> be valid UTF-8 text or NIL
>
>    - the COMMENT annotation is SEARCHable, settable via STORE and APPEND,
> and retrievable via FETCH    - the COMMENT annotation is non-SORTable
>    - unsolicited notifications include the full COMMENT value
>
>    - COMMENT must be explicitly enabled via SELECT (COMMENT), EXAMINE
> (COMMENT), or ENABLE COMMENT
>
> So the syntax would look something like this:
>
>    C: A001 FETCH 1 (UID COMMENT)
>    S: * 1 FETCH (UID 7723 COMMENT NIL)
>    S: A001 OK FETCH completed
>
>    C: A002 STORE 1 COMMENT "This is the message's comment!"
>    S: * 1 FETCH (COMMENT "This is the message's comment!")
>    S: A002 OK STORE completed
>
>    C: A003 FETCH 1 (UID COMMENT)
>    S: * 1 FETCH (UID 7723 COMMENT "This is the message's comment!")
>    S: A003 OK FETCH completed
>
>    C: A004 STORE 1 COMMENT.SILENT "Updating the comment..."
>    S: A004 OK STORE completed
>
>    C: A005 APPEND Sent COMMENT "Attached to new message" {14432+}
>    C: ...
>    S: A005 OK APPEND completed
>
>    C: A006 SEARCH COMMENT "comment"
>    S: * SEARCH 12 44 156
>    S: A006 OK SEARCH completed
>
> I spoke with Cyrus about this, as he's one of the authors of the ANNOTATE
> extension and hence this is fundamentally his (and Randall's) work.  He
> suggested taking it to the full IMAPEXT list, and I've obliged.

My comment to Dan on this was that it might make sense to have a way to 
"profile" ANNOTATE so that servers could offer limited portions of it. e.g. 
a server might choose not to implement either SORT'ing or SEARCH'ing on 
annotations and that could be indicated via ANNOTATE-NOSORT and 
ANNOTATE-NOSEARCH capabilities. e.g. if a server wanted to support a 
limited set of entries, then a new 'ALLOWEDENTRIES' option to SELECT could 
be used to return the set of supported entries on a mailbox (e.g. just 
"/comment" in Dan's example) - this could also cover support for .priv and 
.shared.

The benefit of doing this, rather than inventing a new extension with new 
syntax, is that it offers an upgrade path to full annotate. It also means 
that anyone implementing full annotate on a client will be able to easily 
handle "less capable" servers by simply looking at what is supported. I 
think this is better than having two extension. This could be done as a 
follow-up to the current "experiment".

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALH118p075930; Tue, 21 Nov 2006 10:01:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALH11Wu075929; Tue, 21 Nov 2006 10:01:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALH10xb075906 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:01:00 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id 5C48D810C2E for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 08:55:47 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id CED46C6D43 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:00:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yem7eBwP2mJR for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:00:52 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 010FDC6D42 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:00:52 -0800 (PST)
Message-ID: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com>
Date: Tue, 21 Nov 2006 09:00:51 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I've read through the latest ANNOTATE draft, and unfortunately it appears that there's no way for us to implement it without some *really* major rearchitecture.  Some of the things that are really non-trivial for us to do include:

   - SORT on annotations
   - SEARCH on individual annotations
   - (possibly) public/private annotations

I thought about it for a while, and I realized that the much simpler set of things we *can* implement still makes a pretty compelling subset of ANNOTATE functionality.  So I was wondering if it might be OK to try a second draft (called COMMENT or somesuch) encapsulating the following functionality:

   - one COMMENT annotation field per message
   - the COMMENT annotation maps directly to the "/comment value.shared" ANNOTATION (and hence tags along via COPY)
   - a COMMENT annotation must be valid UTF-8 text or NIL

   - the COMMENT annotation is SEARCHable, settable via STORE and APPEND, and retrievable via FETCH
   - the COMMENT annotation is non-SORTable
   - unsolicited notifications include the full COMMENT value

   - COMMENT must be explicitly enabled via SELECT (COMMENT), EXAMINE (COMMENT), or ENABLE COMMENT

So the syntax would look something like this:

   C: A001 FETCH 1 (UID COMMENT)
   S: * 1 FETCH (UID 7723 COMMENT NIL)
   S: A001 OK FETCH completed

   C: A002 STORE 1 COMMENT "This is the message's comment!"
   S: * 1 FETCH (COMMENT "This is the message's comment!")
   S: A002 OK STORE completed

   C: A003 FETCH 1 (UID COMMENT)
   S: * 1 FETCH (UID 7723 COMMENT "This is the message's comment!")
   S: A003 OK FETCH completed

   C: A004 STORE 1 COMMENT.SILENT "Updating the comment..."
   S: A004 OK STORE completed

   C: A005 APPEND Sent COMMENT "Attached to new message" {14432+}
   C: ...
   S: A005 OK APPEND completed

   C: A006 SEARCH COMMENT "comment"
   S: * SEARCH 12 44 156
   S: A006 OK SEARCH completed

I spoke with Cyrus about this, as he's one of the authors of the ANNOTATE extension and hence this is fundamentally his (and Randall's) work.  He suggested taking it to the full IMAPEXT list, and I've obliged.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGejiQ073738; Tue, 21 Nov 2006 09:40:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALGejG9073735; Tue, 21 Nov 2006 09:40:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGehjO073724; Tue, 21 Nov 2006 09:40:44 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kALGeg50012630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 08:40:42 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kALGeT6W009671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 08:40:41 -0800
Date: Tue, 21 Nov 2006 08:40:29 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <4563148A.5000909@andrew.cmu.edu>
Message-ID: <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.82933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Ken Murchison wrote:
> - Section 2: Even though I know what RFC4422 and RFC3501 are, I'd like to see 
> the acronyms used with the references.  e.g.
> "The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
> "... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
> "... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."

Or just change the reference names so that the RFC only needs to be 
changed once, in the references, e.g., [SASL], [IMAP], etc.

Too bad we never came up with a good acronym for RFC 733/822/2822.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGCVgm071733; Tue, 21 Nov 2006 09:12:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALGCVSb071732; Tue, 21 Nov 2006 09:12:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGCT3b071721 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:12:30 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GmYEW2QSz-0007SL; Tue, 21 Nov 2006 17:12:28 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Cyrus Daboo <cyrus@daboo.name>
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 17:12:23 +0100
User-Agent: KMail/1.9.5
Cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-imapext@imc.org, Dave Cridland <dave@cridland.net>
References: <200611210130.28311.martin.konold@erfrakon.de> <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com> <7EDC0F33F9DC4C1B7FA8A547@Cyrus-Daboo-G5.local>
In-Reply-To: <7EDC0F33F9DC4C1B7FA8A547@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211712.25525.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 15:51 schrieb Cyrus Daboo:

Hi,

> Agreed - there is difference between 'selected state' monitoring of a
> mailbox, vs monitoring a set of 'favorite' mailboxes (which ideally would
> be a small-ish set - not necessarily the entire personal mailbox
> collection). This is important for anyone that has server-side filtering
> and is using e.g., SIEVE fileinto. You certainly want to be able to monitor
> each of those mailboxes without consuming connections and without
> monitoring the entire set of all mailboxes.

Well the idea with IDLEPLUS is that the mailboxes/folders which are monitored 
are controlled via server site settings. 

E.g. if nothing is available it is controlled via the subscription status. But 
as soon as METADATA capability is available a more sophisticated and 
finegrained control is possible. This control may be beyond plain on/off but 
also take things like priorities(*) into account.

The nice thing about IDLEPLUS is that the set of mailboxes which are monitored 
is stored on the server not on the client and there is no need to transfer 
this information repeatedly over the uplink. 

In a lot of scenarios (e.g. ADSL and especially G3/G4 networks like UMTS) but 
also satelite links uplink latency and bandwidth are the most limiting 
factors not download bandwidth.

Depending on the kind of usage scenario you are considering the list of 
mailboxes to be monitored can become really large. (Think about usages beyond 
plain personal mail storage). 

Regards,
-- martin
(*) E.g. it might be desirable to first fetch the more interesting stuff 
before using up the bandwidth with the less important messages...

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALFx3UO070938; Tue, 21 Nov 2006 08:59:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALFx3OE070937; Tue, 21 Nov 2006 08:59:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from laweleka.osafoundation.org (laweleka.osafoundation.org [204.152.186.98]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALFx2gK070931 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 08:59:02 -0700 (MST) (envelope-from lisa@osafoundation.org)
Received: from localhost (localhost [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id ACED314228C; Tue, 21 Nov 2006 07:59:01 -0800 (PST)
Received: from laweleka.osafoundation.org ([127.0.0.1]) by localhost (laweleka.osafoundation.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16217-02; Tue, 21 Nov 2006 07:59:01 -0800 (PST)
Received: from [192.168.1.102] (c-69-181-78-47.hsd1.ca.comcast.net [69.181.78.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by laweleka.osafoundation.org (Postfix) with ESMTP id C36E31422B3; Tue, 21 Nov 2006 07:59:00 -0800 (PST)
In-Reply-To: <455A1673.6010500@isode.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu> <455A1673.6010500@isode.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: multipart/alternative; boundary=Apple-Mail-19--1013537884
Message-Id: <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
Cc: Ken Murchison <murch@andrew.cmu.edu>, Dave Cridland <dave@cridland.net>, Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Date: Tue, 21 Nov 2006 07:58:59 -0800
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.752.2)
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

--Apple-Mail-19--1013537884
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Coming late to the party on this thread...

On Nov 14, 2006, at 11:18 AM, Alexey Melnikov wrote:

>
> For things that are generated on the fly, it would be better to use  
> LISTEXT. IMHO, LISTEXT would be better for things like sum of  
> messages, and other STATUS-like data.
>
> Things that are generated once on first access and then stored,  
> METADATA is Ok. However this is getting into the grey area between  
> METADATA and LISTEXT. Purely read-only things are also in the grey  
> area.
>

I don't have a good opinion on this for IMAP, but I can say that in  
WebDAV, both server-generated and client-generated properties are  
offered in the same way.  There are variations which are interesting  
too, as you note wrt a grey area:
	- properties which the client *can* change but not through the  
normal method: the ACL property is one example, being set with a  
complicated ACL method that allows adding and removing access control  
entries, and with a separate method so that firewalls/servers can  
audit/monitor.
	- properties which neither the core server nor the client change,  
but which change through some extension to the WebDAV server,  
installed or hacked-up by the administrator to use a server API to  
control the value
	- properties which are set by the administrator and never changed  
automatically by the server code, nor by clients.

All of these are queried the same way, and there definite advantages  
in the long run to that.  Features to ask "What properties are known  
to be supported?" work for all properties.  Any mechanism to add  
datatyping works for all properties, "calculated" or not.  A flag for  
"protected" can be added to any of these so that the server can  
enforce no changes over the wire.  Searching each property can be  
turned on or off according to server capabilities.

One of the best things IMO is that clients can treat all properties  
the same.  You don't have to add *any* client code to query a new  
property if the client GUI is appropriately generic -- the user  
simply lists the available properties and chooses which ones to view  
or add to the user's regular views of their data.  So if the server  
puts useful "Who updated this last" properties onto the files in my  
file share, I can add this to my file viewing tool without upgrading  
its code.

> And remember about difficulty of implementing METADATA on servers.  
> LISTEXT might be already difficult to implement, but unlike  
> METADATA it doesn't require any additional attribute storage  
> facilities from the mailstore.

I believe this is true, but:
	- is everybody doing POSTADDRESS going to do METADATA anyway?
	- Is it possible to support METADATA without allowing clients to  
write and create their own properties?

My personal opinion on POSTADDRESS at a higher level is that it's a  
little dangerous either as metadata or as list extensions -- I think  
Philip was the other one who pointed out that attackers could use it  
to place emails directly in folders other than your Inbox.

Lisa
--Apple-Mail-19--1013537884
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV>Coming late to the party on =
this thread...</DIV><BR><DIV><DIV>On Nov 14, 2006, at 11:18 AM, Alexey =
Melnikov wrote:</DIV><BR class=3D"Apple-interchange-newline"><BLOCKQUOTE =
type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px =
Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">For things that are generated on the fly, it would be better =
to use LISTEXT. IMHO, LISTEXT would be better for things like sum of =
messages, and other STATUS-like data.</FONT></P></BLOCKQUOTE><BLOCKQUOTE =
type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px =
Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">Things that are generated once on first access and then =
stored, METADATA is Ok. However this is getting into the grey area =
between METADATA and LISTEXT. Purely read-only things are also in the =
grey area.</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: =
12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I don't have a good opinion =
on this for IMAP, but I can say that in WebDAV, both server-generated =
and client-generated properties are offered in the same way.=A0 There =
are variations which are interesting too, as you note wrt a grey =
area:</DIV><DIV><SPAN class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</SPAN>- properties which the client *can* change but not through the =
normal method: the ACL property is one example, being set with a =
complicated ACL method that allows adding and removing access control =
entries, and with a separate method so that firewalls/servers can =
audit/monitor.</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>- properties which neither the =
core server nor the client change, but which change through some =
extension to the WebDAV server, installed or hacked-up by the =
administrator to use a server API to control the value</DIV><DIV><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</SPAN>- =
properties which are set by the administrator and never changed =
automatically by the server code, nor by clients.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>All of these are queried =
the same way, and there definite advantages in the long run to that.=A0 =
Features to ask "What properties are known to be supported?" work for =
all properties.=A0 Any mechanism to add datatyping works for all =
properties, "calculated" or not.=A0 A flag for "protected" can be added =
to any of these so that the server can enforce no changes over the =
wire.=A0 Searching each property can be turned on or off according to =
server capabilities.=A0=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>One of the best things IMO =
is that clients can treat all properties the same.=A0 You don't have to =
add *any* client code to query a new property if the client GUI is =
appropriately generic -- the user simply lists the available properties =
and chooses which ones to view or add to the user's regular views of =
their data.=A0 So if the server puts useful "Who updated this last" =
properties onto the files in my file share, I can add this to my file =
viewing tool without upgrading its code.</DIV></DIV><DIV><BR><BLOCKQUOTE =
type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px =
Helvetica; min-height: 14.0px"></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">And remember about difficulty of implementing METADATA on =
servers. LISTEXT might be already difficult to implement, but unlike =
METADATA it doesn't require any additional attribute storage facilities =
from the mailstore.</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>I believe =
this is true, but:</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>- is everybody doing POSTADDRESS =
going to do METADATA anyway?</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>- Is it possible to support =
METADATA without allowing clients to write and create their own =
properties?</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>My =
personal opinion on POSTADDRESS at a higher level is that it's a little =
dangerous either as metadata or as list extensions -- I think Philip was =
the other one who pointed out that attackers could use it to place =
emails directly in folders other than your Inbox.=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Lisa</DIV></BODY></HTML>=

--Apple-Mail-19--1013537884--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALF0Xor065708; Tue, 21 Nov 2006 08:00:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALF0X0v065707; Tue, 21 Nov 2006 08:00:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALF0Vje065693; Tue, 21 Nov 2006 08:00:32 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kALF0QUl009081 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 21 Nov 2006 10:00:27 -0500
Message-ID: <4563148A.5000909@andrew.cmu.edu>
Date: Tue, 21 Nov 2006 10:00:26 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:

> I am not aware of any problems with the draft as it now stands. Please 
> review it and notify me if you see any (I'm sure you will if you try 
> hard). I'd also like to hear about any implementations. Thank you.

It probably goes with out saying, but Cyrus IMAP has implemented this 
from day one.

A few nits on the draft, mostly outdated references.

- Section 2: Even though I know what RFC4422 and RFC3501 are, I'd like 
to see the acronyms used with the references.  e.g.

"The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
"... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
"... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."

- Section 3: Both instances of RFC3548 should be replaced with RFC4648 
(Base64 is now in Section 4 rather than Section 3)

- Section 3, paragraph 2, sentence 1:  As in my first nit, I'd like to 
see "... the [RFC3548] data ..."  ->  "... the BASE64 [RFC4648] data ..."

- Section 4: RFC2595 should be replaced with RFC4616

- Section 4: Both instances of RFC2246 should be replaced with RFC4346

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEpYui065014; Tue, 21 Nov 2006 07:51:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEpY0s065013; Tue, 21 Nov 2006 07:51:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEpXlw065006 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:51:33 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kALEpLh5004006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Nov 2006 09:51:23 -0500
Date: Tue, 21 Nov 2006 09:51:16 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-imapext@imc.org
cc: Martin Konold <martin.konold@erfrakon.de>, Dave Cridland <dave@cridland.net>
Subject: Re: IDLEPLUS extension
Message-ID: <7EDC0F33F9DC4C1B7FA8A547@Cyrus-Daboo-G5.local>
In-Reply-To: <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com>
References: <200611210130.28311.martin.konold@erfrakon.de>  <200611211119.12204.martin.konold@erfrakon.de>  <31755.1164105805.971752@peirce.dave.cridland.net>  <200611211215.13209.martin.konold@erfrakon.de>  <4994.1164108860.948602@peirce.dave.cridland.net> <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 21, 2006 1:00:12 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> If a client needs to actively and closely monitor multiple mailboxes,
>> it simply uses multiple connections. If a client is monitoring all
>> mailboxes on the server, it's probably broken anyway.
>
> I know at least four clients that send STATUS at regular intervals for a
> lot of mailboxes in order to monitor them. That's the direct reason why
> NOTIFY uses unsolicited STATUS messages. I read mail from Cyrus about
> STATUS and IDLE, thought for ten seconds, switched windows and typed the
> text that's now in NOTIFY ;)

Agreed - there is difference between 'selected state' monitoring of a 
mailbox, vs monitoring a set of 'favorite' mailboxes (which ideally would 
be a small-ish set - not necessarily the entire personal mailbox 
collection). This is important for anyone that has server-side filtering 
and is using e.g., SIEVE fileinto. You certainly want to be able to monitor 
each of those mailboxes without consuming connections and without 
monitoring the entire set of all mailboxes.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEi7iE064642; Tue, 21 Nov 2006 07:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEi77Q064641; Tue, 21 Nov 2006 07:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEi6ik064635 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:44:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kALEhuQg003972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Nov 2006 09:43:59 -0500
Date: Tue, 21 Nov 2006 09:43:51 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>
Subject: Re: Review of sort
Message-ID: <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 21, 2006 10:40:44 AM +0100 Arnt Gulbrandsen <arnt@oryx.com> 
wrote:

>> I finally got a chance to look at i;basic.  It does quite a bit more
>> than i;unicode-casemap. i;unicode-casemap does nothing with combining
>> classes, logical order exceptions, translation of code points to a
>> sort key, direction, weighing, etc.
>
> Yes... i;basic does ordering like dictionaries for most of the world.
> Very elaborate, very high quality. i;unicode-casemap does something much,
> much simpler. Simple to implement and good for associative arrays, which
> is a very important task. IMO both are needed.
>
> I'm not 100% sure whether there are programs or protocols that do need
> i;unicode-casemap and don't (in some other capacity) need i;basic. It
> could be that i;basic could take over i;unicode-casemap's job, assuming
> the performace difference is manageable. Right now I think it couldn't,
> but I may change my mind.

OK - so it sounds like we may want both of these. If so, it seems like 
separate drafts would be better.

Mark, are you in a position to write a draft for i;unicode-casemap? Or 
would you like someone else to?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEYe8M063466; Tue, 21 Nov 2006 07:34:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEYe83063465; Tue, 21 Nov 2006 07:34:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEYdit063459 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:34:40 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kALEYb0i000935 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 21 Nov 2006 09:34:38 -0500
Message-ID: <45630E7D.3010301@andrew.cmu.edu>
Date: Tue, 21 Nov 2006 09:34:37 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org
Subject: Re: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de>  <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
In-Reply-To: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> 
> So maybe the final RFC should name the capability LISTEXT, too. We refer 
> to all the other extensions by their capability name, and we don't seem 
> to like the name LIST-EXTENDED...

The capability used to be LISTEXT, but it was changed when the syntax 
was changed dramatically, since there was some deployment of the older 
drafts.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEEh7r061581; Tue, 21 Nov 2006 07:14:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEEhSs061579; Tue, 21 Nov 2006 07:14:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEEgKd061570 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:14:43 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1GmWOW0YOp-00038S; Tue, 21 Nov 2006 15:14:40 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Dave Cridland <dave@cridland.net>
Subject: Re: we all refer to LISTEXT as LISTEXT
Date: Tue, 21 Nov 2006 15:14:35 +0100
User-Agent: KMail/1.9.5
Cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
References: <200611211403.12916.martin.konold@erfrakon.de> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com> <4994.1164117139.789091@peirce.dave.cridland.net>
In-Reply-To: <4994.1164117139.789091@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211514.37108.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 14:52 schrieb Dave Cridland:

> Early LISTEXTs were deployed heavily, having made it into Cyrus IMAP
> as an option, and then had certain Linux distributions (amongst
> others) turn on the option in the binary packages.

When I was developing LIST-EXTENDED for Cyrus IMAP as documented in 
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2875 I originally kept 
LIST-EXT capabilities in place.

It was decided by the Cyrus Maintainer Ken Murchison to drop LIST-EXT support!

"1.  I'm only aware of one client which supports LISTEXT and this client also
supports LIST-EXTENDED.  Given this, and the fact that LISTEXT was a 
non-default
compile-time option, I don't see the need to keep LISTEXT around (at least not
as a separate code path)."

> As a result, Polymer, for example, supports both LISTEXT and
> LIST-EXTENDED, and encounters LISTEXT rather a lot more than
> LIST-EXTENDED at the moment.

Regards,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDqWhC059052; Tue, 21 Nov 2006 06:52:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALDqWOG059051; Tue, 21 Nov 2006 06:52:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDqVoW059045 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 06:52:31 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GmW33-0005Zb-Tp; Tue, 21 Nov 2006 13:52:30 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 8AE8A498005; Tue, 21 Nov 2006 14:05:07 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20278-09; Tue, 21 Nov 2006 14:04:57 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id E4BE7498004; Tue, 21 Nov 2006 14:04:57 +0000 (GMT)
Date: Tue, 21 Nov 2006 13:52:18 +0000
Subject: Re: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de> <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
In-Reply-To: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <4994.1164117139.789091@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 13:22:01 2006, Arnt Gulbrandsen wrote:
> 
> So maybe the final RFC should name the capability LISTEXT, too. We 
> refer to all the other extensions by their capability name, and we 
> don't seem to like the name LIST-EXTENDED...

Early LISTEXTs were deployed heavily, having made it into Cyrus IMAP 
as an option, and then had certain Linux distributions (amongst 
others) turn on the option in the binary packages.

As a result, Polymer, for example, supports both LISTEXT and 
LIST-EXTENDED, and encounters LISTEXT rather a lot more than 
LIST-EXTENDED at the moment.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDKrN8055944; Tue, 21 Nov 2006 06:20:53 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALDKrbg055943; Tue, 21 Nov 2006 06:20:53 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDKq7c055935 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 06:20:53 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id B24D64AC7A for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 14:20:51 +0100 (CET)
Message-Id: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 14:22:01 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de> <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com>
In-Reply-To: <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

So maybe the final RFC should name the capability LISTEXT, too. We refer 
to all the other extensions by their capability name, and we don't seem 
to like the name LIST-EXTENDED...

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALCcX11052665; Tue, 21 Nov 2006 05:38:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALCcXkY052664; Tue, 21 Nov 2006 05:38:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALCcTaO052635 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 05:38:32 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id B88FF4ACF7; Tue, 21 Nov 2006 13:38:28 +0100 (CET)
Message-Id: <rZf7MqURVRbc+1kxs+rfYw.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 13:39:38 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Cc: Martin Konold <martin.konold@erfrakon.de>, Dave Cridland <dave@cridland.net>
References: <200611210130.28311.martin.konold@erfrakon.de> <31755.1164103010.550395@peirce.dave.cridland.net> <200611211207.10500.martin.konold@erfrakon.de>
In-Reply-To: <200611211207.10500.martin.konold@erfrakon.de>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Martin Konold writes, quoting Dave Cridland:
>>  As Mark says, the Lemonade WG is examining this kind of work at the 
>>  moment. New people are always welcome and valuable, and while your 
>>  draft is largely addressed by, for example, NOTIFY
>
> I tried to figure out what the Lemonade WG is doing.

Extend/improve internet email protocols so they're nice and fast on 
mobile phones and other low-bandwidth, high-latency devices. (The 
official wording is a little more convoluted.) Lemonade extends both 
SMTP/Submit and IMAP.

> (I have some doubts with regards to the goals of the lemonade WG as I 
> have the impression that they try to solve a different problem)

If it's valuable for a mobile phone trying to read mail effectively, 
it's part of Lemonade's problem.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBx590048574; Tue, 21 Nov 2006 04:59:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBx58o048573; Tue, 21 Nov 2006 04:59:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBx4Zf048565 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:59:05 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 741DF4ACED; Tue, 21 Nov 2006 12:59:03 +0100 (CET)
Message-Id: <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 13:00:12 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Cc: Martin Konold <martin.konold@erfrakon.de>, Dave Cridland <dave@cridland.net>
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211119.12204.martin.konold@erfrakon.de> <31755.1164105805.971752@peirce.dave.cridland.net> <200611211215.13209.martin.konold@erfrakon.de> <4994.1164108860.948602@peirce.dave.cridland.net>
In-Reply-To: <4994.1164108860.948602@peirce.dave.cridland.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Dave Cridland writes:
> If a client needs to actively and closely monitor multiple mailboxes, 
> it simply uses multiple connections. If a client is monitoring all 
> mailboxes on the server, it's probably broken anyway.

I know at least four clients that send STATUS at regular intervals for a 
lot of mailboxes in order to monitor them. That's the direct reason why 
NOTIFY uses unsolicited STATUS messages. I read mail from Cyrus about 
STATUS and IDLE, thought for ten seconds, switched windows and typed 
the text that's now in NOTIFY ;)

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBkavB047639; Tue, 21 Nov 2006 04:46:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBkaO2047638; Tue, 21 Nov 2006 04:46:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBkYnx047620 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:46:35 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1GmU572boC-0003DL; Tue, 21 Nov 2006 12:46:32 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 12:46:22 +0100
User-Agent: KMail/1.9.5
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211215.13209.martin.konold@erfrakon.de> <4994.1164108860.948602@peirce.dave.cridland.net>
In-Reply-To: <4994.1164108860.948602@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211246.23692.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 12:34 schrieben Sie:

> You'd be better off discussing this in the Lemonade WG, however.

Yes, I subscribed to lemonade@ietf.org and will try to continue the discussion 
there.

THX,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBYaZB046680; Tue, 21 Nov 2006 04:34:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBYadv046679; Tue, 21 Nov 2006 04:34:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBYYQl046673 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:34:35 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1GmTtY-0004cu-RF; Tue, 21 Nov 2006 11:34:33 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 87AC7498006; Tue, 21 Nov 2006 11:47:09 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18154-02; Tue, 21 Nov 2006 11:46:57 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id D0277498003; Tue, 21 Nov 2006 11:46:57 +0000 (GMT)
Date: Tue, 21 Nov 2006 11:34:20 +0000
Subject: Re: IDLEPLUS extension
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211119.12204.martin.konold@erfrakon.de> <31755.1164105805.971752@peirce.dave.cridland.net> <200611211215.13209.martin.konold@erfrakon.de>
In-Reply-To: <200611211215.13209.martin.konold@erfrakon.de>
MIME-Version: 1.0
Message-Id: <4994.1164108860.948602@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Martin Konold <martin.konold@erfrakon.de>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 11:15:12 2006, Martin Konold wrote:
> 
> Am Dienstag, 21. November 2006 11:43 schrieb Dave Cridland:
> 
> Dave,
> > > Can you please provide me a hint?
> >
> > 
> http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt
> >
> > I think this is the closest specific match to your IDLEPLUS 
> proposal.
> 
> Thanks for the pointer. Because I happen to know Arnt I will give 
> him a call.
> Maybe we can somehow merge our efforts. To my understanding the 
> above draft lacks the current scope of IDLEPLUS which is about 
> being able to monitor all subscribed folders in parallel.

I'm really not sure you want to do that. With my 
server-implementor-hat on, I wouldn't want to code it, and with my 
client-author-hat on, I wouldn't want to use it.

All you need do is know that changes have happened - you don't need 
to know what. NOTIFY handles this by having the server send a STATUS 
(EXISTS HIGHESTMODSEQ), which indicates to the client that flag 
changes have happened, and/or new messages have been delivered.

The client then uses QRESYNC to select and synchronize the mailbox as 
and when needed. It's useful to know, however, that SELECTing the 
mailbox and synchronizing will not yield any information, so it's 
more useful to eliminate this round trip.

If a client needs to actively and closely monitor multiple mailboxes, 
it simply uses multiple connections. If a client is monitoring all 
mailboxes on the server, it's probably broken anyway.

You'd be better off discussing this in the Lemonade WG, however.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBFJbm045171; Tue, 21 Nov 2006 04:15:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBFJsV045166; Tue, 21 Nov 2006 04:15:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBFHGe045158 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:15:18 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1GmTat43iz-0005JT; Tue, 21 Nov 2006 12:15:16 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 12:15:12 +0100
User-Agent: KMail/1.9.5
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211119.12204.martin.konold@erfrakon.de> <31755.1164105805.971752@peirce.dave.cridland.net>
In-Reply-To: <31755.1164105805.971752@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211215.13209.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 11:43 schrieb Dave Cridland:

Dave,
> > Can you please provide me a hint?
>
> http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt
>
> I think this is the closest specific match to your IDLEPLUS proposal.

Thanks for the pointer. Because I happen to know Arnt I will give him a call.
Maybe we can somehow merge our efforts. To my understanding the above draft 
lacks the current scope of IDLEPLUS which is about being able to monitor all 
subscribed folders in parallel.

Regards,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALB7ehc044480; Tue, 21 Nov 2006 04:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALB7epG044479; Tue, 21 Nov 2006 04:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALB7csu044471 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:07:39 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GmTT70iLG-0007V9; Tue, 21 Nov 2006 12:07:16 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Dave Cridland <dave@cridland.net>
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 12:07:09 +0100
User-Agent: KMail/1.9.5
Cc: ietf-imapext@imc.org
References: <200611210130.28311.martin.konold@erfrakon.de> <31755.1164103010.550395@peirce.dave.cridland.net>
In-Reply-To: <31755.1164103010.550395@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211207.10500.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 10:56 schrieb Dave Cridland:

Dave,

> Clients won't miss a notification even on one channel

Thanks for the insight though I don't fully understand it. So understand my 
further questions.

I consider updating the text accordingly:

"In order to avoid the poll at half hour intervals the client may send another 
IDLEPLUS command before the older is timed out. In order to receive 
notifications out-of band a client may make sure that always an IDLEPLUS 
connection in addition to the normal imap data connection is established. 
Please note that an additional connection is not required in order not to 
miss any notifications. This is due to the fact that  the server queues the 
events until the client is idle.

> - the server 
> merely might not send them unless the client is IDLE, but the client
> will get them almost immediately anyway. 

C: A01 IDLEPLUS
S: + Idling
C: DONE
C: A02 COMMAND
C: A03 IDLEPLUS
S: A01 OK Completed
S: * DATA
S: A02 OK Command completed
S: + Idling

> Even if the client doesn't pipeline the A03 IDLE, no events get
> missed, merely delayed for a few seconds.

What happens in case of an extremly slow client? E.g. imagine the client is 
subscribed to a very busy shared folder. Will this cause the server side 
process to grow indefinetly because it will not be able to deliver the 
events? If I understand you correctly you mean that the server must 
internally queue any event in case later the client is requesting it via a 
IDLEPLUS command? How shall the server know if it will ever be able to 
deliver the queued event. I think it must be consider that even though the 
server implements the CAPABILITY IMAPPLUS it never knows if the client will 
ot will not eventually make use of it. Due to the fact that the syntax of 
IDLEPLUS is different from IMAP4r1 imho a server may not send these 
unsolicited notifications without being requested.

Is this a potential denial of service issue?

In addition the out-of-band solution using an additional IMAP connection would 
allow me to create a separate idleplusd server process which is specialized 
in only handling the idleplus functionality. This has the advantage of easier 
integration in exsting server offerings, better scalability and robustness.

> > Is anyone else working on something similar?
>
> As Mark says, the Lemonade WG is examining this kind of work at the
> moment. New people are always welcome and valuable, and while your
> draft is largely addressed by, for example, NOTIFY

I tried to figure out what the Lemonade WG is doing. I found 
draft-ietf-lemonade-msgevent-00.txt which is a high level description not 
proving anything which defines an extension which can be implemented 
currently. I am alos aware of 
draft-ietf-lemonade-notification-protocol-00.txt which is also a very high 
level corporate architecture document but does not adress the actual protocol 
to be implemented on the wire.

> > Any hints to a novice internet draft author?
>
> Implement it. No protocol or extension will ever get worse because
> someone implements it, the vast majority improve dramatically on
> their first implementation attempts.

Yes, I fully agree. Actually I am currently in the process of implementing it 
for Cyrus Imapd in order to learn more about it. I am also implementing it in 
an experimental IMAP client.

I already implemented lemonade drafts like 
draft-ietf-imapext-list-extensions-17. 

See also: https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2875

Do you think I should stop discussing IDLEPLUS or imap notifications on this 
mailing linst and instead move to the lemonade WG discussion list?

(I have some doubts with regards to the goals of the lemonade WG as I have the 
impression that they try to solve a different problem)

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAha8K042625; Tue, 21 Nov 2006 03:43:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALAhal4042624; Tue, 21 Nov 2006 03:43:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAhZ7h042617 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 03:43:36 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1GmT6D-0003MH-3t; Tue, 21 Nov 2006 10:43:33 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 63635498005; Tue, 21 Nov 2006 10:56:09 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17407-08; Tue, 21 Nov 2006 10:56:02 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 7D00E498003; Tue, 21 Nov 2006 10:56:02 +0000 (GMT)
Date: Tue, 21 Nov 2006 10:43:25 +0000
Subject: Re: IDLEPLUS extension
References: <200611210130.28311.martin.konold@erfrakon.de> <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com> <200611211119.12204.martin.konold@erfrakon.de>
In-Reply-To: <200611211119.12204.martin.konold@erfrakon.de>
MIME-Version: 1.0
Message-Id: <31755.1164105805.971752@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Martin Konold <martin.konold@erfrakon.de>
Cc: <ietf-imapext@imc.org>, Mark Crispin <mrc@cac.washington.edu>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 10:19:10 2006, Martin Konold wrote:
> I did some research in this area. I found some documents like 
> draft-ietf-lemonade-notification-protocol-00.txt and 
> http://www1.ietf.org/internet-drafts/draft-ietf-lemonade-msgevent-00.txt 
> but I sofar fail to find the appropriate document which has 
> equivalent functionality to IDLEPLUS.
> 
> Can you please provide me a hint?

http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt

I think this is the closest specific match to your IDLEPLUS proposal.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAToos041552; Tue, 21 Nov 2006 03:29:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALAToal041551; Tue, 21 Nov 2006 03:29:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from scmailgw1.scop.aoyama.ac.jp (scmailgw1.scop.aoyama.ac.jp [133.2.251.194]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALATnm1041527 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 03:29:49 -0700 (MST) (envelope-from duerst@it.aoyama.ac.jp)
Received: from scmse1.scbb.aoyama.ac.jp (scmse1 [133.2.253.16]) by scmailgw1.scop.aoyama.ac.jp (secret/secret) with SMTP id kALAThUU014121 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:29:43 +0900 (JST)
Received: from (133.2.206.133) by scmse1.scbb.aoyama.ac.jp via smtp id 462e_33702d74_794b_11db_81a0_0014221fa3c9; Tue, 21 Nov 2006 19:29:42 +0900
Received: from Tanzawa.it.aoyama.ac.jp ([133.2.210.1]:39442) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S55854> for <ietf-imapext@imc.org> from <duerst@it.aoyama.ac.jp>; Tue, 21 Nov 2006 19:29:09 +0900
Message-Id: <6.0.0.20.2.20061121190302.094467e0@localhost>
X-Sender: duerst@localhost
X-Mailer: QUALCOMM Windows Eudora Version 6J
Date: Tue, 21 Nov 2006 19:29:11 +0900
To: Mark Crispin <mrc@CAC.Washington.EDU>
From: Martin Duerst <duerst@it.aoyama.ac.jp>
Subject: Re: Review of sort
Cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, arnt@oryx.com
In-Reply-To: <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <6.0.0.20.2.20061118180934.09689dc0@localhost> <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
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>

At 06:24 06/11/20, Mark Crispin wrote:
>On Sat, 18 Nov 2006, Martin Duerst wrote:
>> >    The "i;unicode-casemap" collation is a simple collation which operates
>> >    on octet strings and attempts to Unicode characters case-insensitively.
>> 'operates on octets and attempts ... Unicode' sounds very weird.
>> Unless you say something about character encoding.
>
>All strings are coerced to UTF-8, but subsequently are treated as octet strings instead of variable-width character strings.  The reference to "attempts to compare Unicode characters case-insensitively" [I agree that the verb "compare" needs to be included] refers to a higher-level effect rather than what the algorithm actually does.

If that's all really cristal clear from the specification, it's probably
okay. It was just difficult to guess from the part you sent. Also,
please keep in mind that collations should be reusable, so there
may be a need to explain more in the collation definition than what's
needed in the context of the protocol you're looking at. 

>> I think I understand your use of octet here; I guess that what you are
>> trying to say is that except for the provisions below, comparison is
>> by codepoint (which means octet comparison in the case of UTF-8).
>
>"Codepoint" to me would refer to a Unicode 20.5 bit codepoint.  I really mean 8-bit quantities, without regard to the character boundaries.

Well, yes, but if you do octet-by-octet comparison on data encoded as
UTF-8, then this is exactly the same (assuming you don't have any
overlong encodings, which would be a security risk anyway) as
codepoint-by-codepoint.

>> >    except that first, all pre-composed Unicode characters are fully
>> >    decomposed;
>> Does this mean NDF, or just any kind of depomposition?
>
>I'm not familiar with the decomposition names.  What I meant is "if a decomposition for a codepoint is defined in UnicodeData.txt, substitute that decomposition for the codepoint."

In that case, it's definitely not NFD (sorry, 'NDF' above was wrong).
Is this done recursively or not?

Given your arguments below about 'easy to implement', I'm wondering
whether this is worth the effort. It probably is, it gives close
to 'real' results for many languages such as French, German,...
The nordic languages (Swedish, Norwegian, Danish) loose out, but
that's the same for i;basic. And the implementation complexity
is the same as for casing: take characters and replace them
by character strings. It can be done in one step by combining
both mappings together.

>> >    and second, all characters which have a title case are
>> >    changed to their title case.
>> There are not many characters with title case. Maybe about 5.
>> Given the name of the collation, I suspect that you want to
>> define some mappings for characters that don't have title case,
>> too.
>
>AFAICT, all characters with an upper case defined also have a title case defined in UnicodeData.txt.  As you noted, only a handful of these differ.

Ah, now I know what you mean. I think you should be very clear that you
mean the value of the Simple_Titlecase_Mapping property as given in
the Unicode Data file.

I still don't understand why you choose Titlecase. The output,
applied to individual characters, may look weird if you get
a Serbocroatian digraph, e.g. like so: LjUBLjANA (yes, I know,
Ljubljana is in Slovenia, neither in Serbia nor in Croatia).
Why not lower case (what's usually recommended) or upper case?

>Thanks for your help!  I hope that the people who decide these things respond favorably to my request for an i;unicode-casemap as an alternative to i;ascii-casemap.
>
>i;unicode-casemap, to my thinking, fills in the gap between the legacy i;ascii-casemap and full-fledged stringprep.

I'm not thinking about stringprep as a collation. In many ways, your proposal
is closer to i;basic than sorting on the output of stringprep, because stringprep
uses precomposition, not decomposition in most cases.

>Full-fledged stringprep is the ideal, but I'm afraid that if we require stringprep without an incremental approach many implementations will just punt and use i;ascii-casemap.

I'm affraid that if you say stringprep is the ideal, then you are either talking
about something else than sorting, or haven't understood that stringprep isn't
designed for sorting.

>The all-or-none approach was taken with SSL/TLS and proved to be very painful.  It was entirely too easy for developers to choose "none" and make the people who followed the specification look like bad guys.

Oh, so for SSL/TLS, I guess it would only be used for equality comparison,
not for actual ordering.

>In this case, we don't have a security crisis.  We are just trying to make things better for non-ASCII character sets and non-English languages. This will prove to be a long-term evolutionary process; nobody really has solved the general comparison/collation problem.
>
>[As you and I well know, anyone who says that their software can collate Japanese text without yomi or contextual hints is a liar or fool; does $BBgOB(B collate after $B;3;{(B or $BBPOC(B?  i;unicode-casemap won't collate this correctly, but neither will anything else.]
>
>So, I think that even though reasonable people may disagree on what is "good enough", we can have general agreement on what is "better" and that "better" is always preferable to "nothing".  i;unicode-casemap should always be better for any script whose collation can be inferred from Unicode codepoint value; and for Latin-script languages that use diacriticals it should be MUCH better.

Yes indeed, except for the nordic languages that sort their 'diacriticized'
characters after the z.

Regards,     Martin.


#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAJKuJ040227; Tue, 21 Nov 2006 03:19:21 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALAJKlu040226; Tue, 21 Nov 2006 03:19:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAJJKf040215 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 03:19:20 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1GmSih0mYx-0005Hv; Tue, 21 Nov 2006 11:19:18 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Mark Crispin <mrc@cac.washington.edu>
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 11:19:10 +0100
User-Agent: KMail/1.9.5
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
References: <200611210130.28311.martin.konold@erfrakon.de> <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211119.12204.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 01:53 schrieb Mark Crispin:

Mark,

> Your IDLEPLUS proposal is at best a duplication of work that is already
> well underway in the LEMONADE Working Group;

This is what I wanted to know.

> as such, it is doomed to 
> failure.

I don't have a problem with that. If the same issue is already solved 
elsewhere I have not problem with throwing away my initial proposal.

> valuable to the working group effort.  Thus, my recommendation is that you
> abandon your effort, join the LEMONADE Working Group, read the archives of
> the mailing list, read the documents of the working group, and consider
> how what you learned in your effort may be useful for LEMONADE.

I did some research in this area. I found some documents like 
draft-ietf-lemonade-notification-protocol-00.txt and 
http://www1.ietf.org/internet-drafts/draft-ietf-lemonade-msgevent-00.txt but 
I sofar fail to find the appropriate document which has equivalent 
functionality to IDLEPLUS.

Can you please provide me a hint?

THX,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9xPPw037892; Tue, 21 Nov 2006 02:59:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9xP6j037891; Tue, 21 Nov 2006 02:59:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9xOXs037884 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:59:25 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 4DB504AC7A; Tue, 21 Nov 2006 10:59:23 +0100 (CET)
Message-Id: <uIahRMIb6/U2pBV0OsS0Aw.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 11:00:32 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id kAL9xPXs037885
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> Yes... i;basic does ordering like dictionaries for most of the world.

(Before anyone jumps on me: I agree that can be considered an 
overstament, depending on the threshold for «like» and «most», and on 
whether additional tables count.)



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9v5iN037772; Tue, 21 Nov 2006 02:57:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9v59G037771; Tue, 21 Nov 2006 02:57:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9v4tr037765 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:57:05 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GmSNA-0006pV-OQ; Tue, 21 Nov 2006 09:57:00 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id BDCD4498005; Tue, 21 Nov 2006 10:09:36 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16989-03; Tue, 21 Nov 2006 10:09:26 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id BFCE4498004; Tue, 21 Nov 2006 10:09:26 +0000 (GMT)
Date: Tue, 21 Nov 2006 09:56:49 +0000
Subject: Re: IDLEPLUS extension
References: <200611210130.28311.martin.konold@erfrakon.de>
In-Reply-To: <200611210130.28311.martin.konold@erfrakon.de>
MIME-Version: 1.0
Message-Id: <31755.1164103010.550395@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Martin Konold <martin.konold@erfrakon.de>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 00:30:27 2006, Martin Konold wrote:
> I expect that clients decide to open a second permanent imap 
> connection in order to never miss any notification.

Clients won't miss a notification even on one channel - the server 
merely might not send them unless the client is IDLE, but the client 
will get them almost immediately anyway. As C-style strings, the 
exchange might look something like:

C: "A01 IDLE\r\n"
// 0.5 RTT during which events are buffered.
S: "+ Idling\r\n"
// Time passes. Events happen. Client reacts:
C: "DONE\r\nA02 COMMAND\r\nA03 IDLE\r\n"
// Server can still send events immediately, because a command is in 
progress.
S: "A01 OK Completed\r\n* DATA\r\nA02 OK Command completed\r\n+ 
Idling\r\n"
// Server can still send events immediately.

Even if the client doesn't pipeline the A03 IDLE, no events get 
missed, merely delayed for a few seconds.

> http://www.erfrakon.de/konold/draft-konold-imap-idleplus-01.txt
> 
> Is anyone else working on something similar?
> 
> 
As Mark says, the Lemonade WG is examining this kind of work at the 
moment. New people are always welcome and valuable, and while your 
draft is largely addressed by, for example, NOTIFY, I'm quite certain 
that you'll have very useful input, having obviously thought about 
this in some detail.


> Any hints to a novice internet draft author?
> 
> 
Implement it. No protocol or extension will ever get worse because 
someone implements it, the vast majority improve dramatically on 
their first implementation attempts.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9kIIT036574; Tue, 21 Nov 2006 02:46:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9kIXr036573; Tue, 21 Nov 2006 02:46:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9kGkp036564 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:46:17 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id E8ACC4AC7A; Tue, 21 Nov 2006 10:46:15 +0100 (CET)
Message-Id: <gXIpxBGS7s4ksGQSynfZrg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 10:47:24 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

And, oh, I think THREAD is a bit of a borderline case. It's important to 
do good string equality testing there. But does anyone die if 
THREAD=ORDEREDSUBJECT groups messages well and then orders the groups 
suboptimally?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9diDH035614; Tue, 21 Nov 2006 02:39:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9diSv035611; Tue, 21 Nov 2006 02:39:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9dbRT035590 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:39:40 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 0AC4C4ACF4; Tue, 21 Nov 2006 10:39:36 +0100 (CET)
Message-Id: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 10:40:44 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Thu, 16 Nov 2006, Cyrus Daboo wrote:
>> > I would like to request the addition of i;unicode-casemap to COMPARATOR,
>> Arnt just published a draft for i;basic. I haven't had a chance to 
>> read it fully yet, but you might want to contrast and compare with 
>> what you are proposing.
>> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-collation-basic-00.txt>
>
> I finally got a chance to look at i;basic.  It does quite a bit more 
> than i;unicode-casemap. i;unicode-casemap does nothing with combining 
> classes, logical order exceptions, translation of code points to a 
> sort key, direction, weighing, etc.

Yes... i;basic does ordering like dictionaries for most of the world. 
Very elaborate, very high quality. i;unicode-casemap does something 
much, much simpler. Simple to implement and good for associative 
arrays, which is a very important task. IMO both are needed.

I'm not 100% sure whether there are programs or protocols that do need 
i;unicode-casemap and don't (in some other capacity) need i;basic. It 
could be that i;basic could take over i;unicode-casemap's job, assuming 
the performace difference is manageable. Right now I think it couldn't, 
but I may change my mind.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL1CsS2098073; Mon, 20 Nov 2006 18:12:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL1Cssd098072; Mon, 20 Nov 2006 18:12:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL1CrCK098065 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 18:12:53 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL1CqI1004821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 17:12:52 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL1Co5d026184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 17:12:52 -0800
Date: Mon, 20 Nov 2006 17:12:50 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <alpine.OSX.0.7.0611201654130.728@pangtzu.panda.com>
Message-ID: <alpine.OSX.0.7.0611201710300.728@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>  <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>  <alpine.OSX.0.7.0611201311190.25752@pangtzu.panda.com> <iAKwsieSZvh6ISGFLvyLaw.md5@libertango.oryx.com> <alpine.OSX.0.7.0611201654130.728@pangtzu.panda.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.165933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Notwithstanding my grumbles in my previous message, I nonetheless approve 
the document as written.  I think that it's too late to deal with those 
grumbles (that is, change the argument to an astring), and it's not 
important enough to force a new capability name.

I do feel, however, that we should be more careful in the future about 
introducing new syntax rules in IMAP commands.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL19EvK097861; Mon, 20 Nov 2006 18:09:14 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL19EAg097860; Mon, 20 Nov 2006 18:09:14 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL19Dul097854 for <ietf-imapext@IMC.ORG>; Mon, 20 Nov 2006 18:09:14 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL19CYj000345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 17:09:12 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL19Bql028561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 17:09:12 -0800
Date: Mon, 20 Nov 2006 17:09:10 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <iAKwsieSZvh6ISGFLvyLaw.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611201654130.728@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>  <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>  <alpine.OSX.0.7.0611201311190.25752@pangtzu.panda.com> <iAKwsieSZvh6ISGFLvyLaw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.165432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

To my horror, I discovered that UW imapd was in violation of the following 
in the SASL-IR draft:

     As with any other client response, this initial client response MUST
     be encoded as defined in Section 3 of [RFC3548].  It also MUST be
     transmitted outside of a quoted string or literal.  To send a zero-
     length initial response, the client MUST send a single pad character
     ("=").  This indicates that the response is present, but is a zero-
     length string.

UW imapd simply parsed the initial response token as an astring, meaning 
that it would accepted it as a quoted-string or literal.  UW imapd also 
did not implement "=" for zero-length initial response.

Fortunately, this doesn't actually affect anything for a compliant client. 
Nothing should send a quoted-string or literal; and although UW imapd 
supports EXTERNAL, nothing enables it yet so there's no worry about 
zero-length initial responses.  So I just fixed the problems.

Although I understand why SASL-IR prohibits quoted-string or literal, I 
think that the concern was misplaced.  The initial response token should 
just have been an astring; the protocol is pretty clear what happens with 
a literal.

Failing that, it should have been an atom.  The problem is that as matters 
currently stand, the BNF requires base64 in the IMAP command syntax. 
This is a new requirement, and serves no good purpose.  I hope that nobody 
seriously intends to allows an alternative second argument to AUTHENTICATE 
that is a valid atom albeit with at least one non-BASE64 character.

This is the difference between saying that
 	tag AUTHENTICATE FOO BAR=ZAP
is a command syntax error ("BAR=ZAP" does not match the rule) vs. an 
invalid argument.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL11UBv097198; Mon, 20 Nov 2006 18:01:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL11UNO097197; Mon, 20 Nov 2006 18:01:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL11TcM097185 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 18:01:30 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id E2BFA810B39; Mon, 20 Nov 2006 16:56:16 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id E4F1BC6D43; Mon, 20 Nov 2006 17:01:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xXtwPzJzBuP7; Mon, 20 Nov 2006 17:01:21 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 553EDC6D42; Mon, 20 Nov 2006 17:01:21 -0800 (PST)
Message-ID: <789899155.132211164070881212.JavaMail.root@dogfood.zimbra.com>
Date: Mon, 20 Nov 2006 17:01:21 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: Martin Konold <martin.konold@erfrakon.de>
Subject: Re: IDLEPLUS extension
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
In-Reply-To: <200611210130.28311.martin.konold@erfrakon.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

> I am working on an IDLEPLUS extension. The main purpose of this
> extension is 
> to go beyond RFC2177 and provide a fully working push email solution
> without 
> the need for expensive polling. 

Message sequence numbers are meaningless -- and probably can't be determined -- in non-SELECTed mailboxes.  You'd be better off using UIDs qualified by UIDVALIDITY.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0rnYj096498; Mon, 20 Nov 2006 17:53:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL0rnC4096497; Mon, 20 Nov 2006 17:53:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0rl2d096488 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 17:53:48 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL0rfMn021808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 16:53:41 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL0rejl026670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 16:53:41 -0800
Date: Mon, 20 Nov 2006 16:53:39 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Martin Konold <martin.konold@erfrakon.de>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: IDLEPLUS extension
In-Reply-To: <200611210130.28311.martin.konold@erfrakon.de>
Message-ID: <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com>
References: <200611210130.28311.martin.konold@erfrakon.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.163932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Your IDLEPLUS proposal is at best a duplication of work that is already 
well underway in the LEMONADE Working Group; as such, it is doomed to 
failure.

However, you may have acquired some insights in your effort that could be 
valuable to the working group effort.  Thus, my recommendation is that you 
abandon your effort, join the LEMONADE Working Group, read the archives of 
the mailing list, read the documents of the working group, and consider 
how what you learned in your effort may be useful for LEMONADE.

Good luck!

On Tue, 21 Nov 2006, Martin Konold wrote:
> I am working on an IDLEPLUS extension. The main purpose of this extension is 
> to go beyond RFC2177 and provide a fully working push email solution without 
> the need for expensive polling. 
> 
> The basic idea is to offer a channel which provides all required notifications 
> to an IMAP client.
> 
> I expect that clients decide to open a second permanent imap connection in 
> order to never miss any notification.
> 
> Please have a look at
> 
> http://www.erfrakon.de/konold/draft-konold-imap-idleplus-01.txt
> 
> Is anyone else working on something similar?
> 
> Any hints to a novice internet draft author?
> 
> Yours,
> -- martin
> 
> -- 
> http://www.erfrakon.com/
> Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
> 
>

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0UmCk094290; Mon, 20 Nov 2006 17:30:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL0Um3H094289; Mon, 20 Nov 2006 17:30:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0UksC094282 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 17:30:47 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.203.134] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1GmJWw1tRs-0000gI; Tue, 21 Nov 2006 01:30:45 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: IDLEPLUS extension
Date: Tue, 21 Nov 2006 01:30:27 +0100
User-Agent: KMail/1.9.5
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611210130.28311.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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,

I am working on an IDLEPLUS extension. The main purpose of this extension is 
to go beyond RFC2177 and provide a fully working push email solution without 
the need for expensive polling. 

The basic idea is to offer a channel which provides all required notifications 
to an IMAP client.

I expect that clients decide to open a second permanent imap connection in 
order to never miss any notification.

Please have a look at

http://www.erfrakon.de/konold/draft-konold-imap-idleplus-01.txt

Is anyone else working on something similar?

Any hints to a novice internet draft author?

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKMt2KS089038; Mon, 20 Nov 2006 15:55:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKMt2fw089036; Mon, 20 Nov 2006 15:55:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKMt0vG089003; Mon, 20 Nov 2006 15:55:01 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GmI2P-0000m7-QA; Mon, 20 Nov 2006 22:54:53 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 18218498005; Mon, 20 Nov 2006 23:07:25 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06875-05; Mon, 20 Nov 2006 23:07:20 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 1CCDB498003; Mon, 20 Nov 2006 23:07:20 +0000 (GMT)
Date: Mon, 20 Nov 2006 22:54:44 +0000
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <7573.1164063288.576049@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: Rob Siemborski <robsiemb@google.com>, Robert Siemborski <rjs3+@andrew.cmu.edu>, <ietf-imapext@imc.org>, <ietf-sasl@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 20 21:09:05 2006, Arnt Gulbrandsen wrote:
> I am not aware of any problems with the draft as it now stands. 
> Please review it and notify me if you see any (I'm sure you will if 
> you try hard). I'd also like to hear about any implementations. 
> Thank you.

Most IMAP servers appear to implement it, and Polymer (And Telomer, 
for 770 people) implements it for those SASL mechanisms it implements 
which can benefit, specifically PLAIN, ANONYMOUS, and DIGEST-MD5 
reauthentication.

I can't see anything wrong with the draft, and I'd be pleased to see 
it published as an RFC in its current form.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKM7hTk085574; Mon, 20 Nov 2006 15:07:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKM7hVJ085573; Mon, 20 Nov 2006 15:07:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from elf.biotech.kth.se (elf.biotech.kth.se [130.237.79.15]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKM7fCs085554; Mon, 20 Nov 2006 15:07:42 -0700 (MST) (envelope-from pawsa@theochem.kth.se)
Received: from nora (taby2-23.cust.blixtvik.net [213.132.111.23]) by elf.biotech.kth.se (Postfix) with ESMTP id 2B76C23DCB6; Mon, 20 Nov 2006 23:09:40 +0100 (CET)
Date: Mon, 20 Nov 2006 23:07:39 +0100
From: Pawel Salek <pawsa@theochem.kth.se>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> (from arnt@oryx.com on Mon Nov 20 22:09:05 2006)
X-Mailer: Balsa 2.3.13
Message-Id: <1164060459l.6134l.0l@nora>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id kAKM7gCt085563
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 11/20/2006 10:09:05 PM, Arnt Gulbrandsen wrote:
> 
> I am not aware of any problems with the draft as it now stands.  
> Please review it and notify me if you see any (I'm sure you will if  
> you try hard). I'd also like to hear about any implementations. Thank  
> you.

Balsa email client supports it for SASL GSSAPI, PLAIN and ANONYMOUS.

Pawel



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKLCMFH081076; Mon, 20 Nov 2006 14:12:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKLCMVC081075; Mon, 20 Nov 2006 14:12:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKLCKdu081065; Mon, 20 Nov 2006 14:12:21 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKLCK2d032293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 13:12:20 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKLCIUr026338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 13:12:19 -0800
Date: Mon, 20 Nov 2006 13:12:17 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611201311190.25752@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.125933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 20 Nov 2006, Arnt Gulbrandsen wrote:
> I am not aware of any problems with the draft as it now stands. Please 
> review it and notify me if you see any (I'm sure you will if you try 
> hard). I'd also like to hear about any implementations. Thank you.

FWIW, UW imapd has implemented SASL-IR for a while now, but only in server 
code.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKL81ZQ080813; Mon, 20 Nov 2006 14:08:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKL81dP080812; Mon, 20 Nov 2006 14:08:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKL803C080801; Mon, 20 Nov 2006 14:08:01 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 7B2624ACF1; Mon, 20 Nov 2006 22:07:59 +0100 (CET)
Message-Id: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
Date: Mon, 20 Nov 2006 22:09:05 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
Cc: robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>
In-Reply-To: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

IETF Secretariat writes:
> As you requested, draft-siemborski-imap-sasl-initial-response-05.txt, 
> an updated version of an expired Internet-Drafts, has been posted. 
> [...]

Hi,

Rob changed jobs and couldn't go on with this draft. I've taken over, 
since I was one of the implementers and would rather continue with the 
draft then kill the code.

I am not aware of any problems with the draft as it now stands. Please 
review it and notify me if you see any (I'm sure you will if you try 
hard). I'd also like to hear about any implementations. Thank you.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKwN69079741; Mon, 20 Nov 2006 13:58:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKKwNxu079740; Mon, 20 Nov 2006 13:58:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKwMM3079726 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 13:58:23 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKwMwJ026785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 12:58:22 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKwKa6009815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 12:58:22 -0800
Date: Mon, 20 Nov 2006 12:58:20 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: I-D ACTION:draft-ietf-imapext-sort-18.txt 
In-Reply-To: <E1GmG5Z-00085j-UT@stiedprstage1.ietf.org>
Message-ID: <alpine.OSX.0.7.0611201257340.24744@pangtzu.panda.com>
References: <E1GmG5Z-00085j-UT@stiedprstage1.ietf.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.124432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

The draft -18 for sort that got posted was the one without Ken's bugfix 
sort thread invalid date resolution.  I just uploaded draft -19 with the 
fix.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKsL14079322; Mon, 20 Nov 2006 13:54:21 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKKsLUO079321; Mon, 20 Nov 2006 13:54:21 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKsJS0079315 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 13:54:20 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKsBM4004281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 12:54:12 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKs99M023377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 12:54:10 -0800
Date: Mon, 20 Nov 2006 12:54:09 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <CECAE47F84062BBEFCB4F1AE@ninevah.local>
Message-ID: <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.123932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Cyrus Daboo wrote:
> > I would like to request the addition of i;unicode-casemap to COMPARATOR,
> Arnt just published a draft for i;basic. I haven't had a chance to read it 
> fully yet, but you might want to contrast and compare with what you are 
> proposing.
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-collation-basic-00.txt>

I finally got a chance to look at i;basic.  It does quite a bit more than 
i;unicode-casemap.  i;unicode-casemap does nothing with combining classes, 
logical order exceptions, translation of code points to a sort key, 
direction, weighing, etc.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKo8va079121; Mon, 20 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKKo8jD079120; Mon, 20 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ns4.neustar.com (ns4.neustar.com [156.154.24.139]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKo7HO079112 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 13:50:08 -0700 (MST) (envelope-from ietf@ietf.org)
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com [10.31.47.10]) by ns4.neustar.com (Postfix) with ESMTP id 2F3502AC51; Mon, 20 Nov 2006 20:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1GmG5Z-00085j-UT; Mon, 20 Nov 2006 15:50:01 -0500
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-sort-18.txt 
Message-Id: <E1GmG5Z-00085j-UT@stiedprstage1.ietf.org>
Date: Mon, 20 Nov 2006 15:50:01 -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 EXTENSIONS
	Author(s)	: M. Crispin, K. Murchison
	Filename	: draft-ietf-imapext-sort-18.txt
	Pages		: 0
	Date		: 2006-11-20
	
This document describes the base-level server-based sorting and
    threading extensions to the [IMAP] protocol.  These extensions
    provide substantial performance improvements for IMAP clients which
    offer sorted and threaded views.

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

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

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-imapext-sort-18.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-18.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:	<2006-11-20115043.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2006-11-20115043.I-D@ietf.org>

--OtherAccess--

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJLOvqV053783; Sun, 19 Nov 2006 14:24:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAJLOvsd053782; Sun, 19 Nov 2006 14:24:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJLOuqf053776 for <ietf-imapext@imc.org>; Sun, 19 Nov 2006 14:24:56 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAJLOsjq019159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 19 Nov 2006 13:24:55 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAJLOrbn000514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 19 Nov 2006 13:24:54 -0800
Date: Sun, 19 Nov 2006 13:24:52 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Martin Duerst <duerst@it.aoyama.ac.jp>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <6.0.0.20.2.20061118180934.09689dc0@localhost>
Message-ID: <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <6.0.0.20.2.20061118180934.09689dc0@localhost>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="0-1088763667-1163971492=:21036"
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.19.131432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __FRAUD_419_BADTHINGS 0, __HAS_MSGID 0, __ISO_2022_JP_DELIM 0, __MIME_CHARSET_FARAWAY 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1088763667-1163971492=:21036
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP; format=flowed

On Sat, 18 Nov 2006, Martin Duerst wrote:
> >    The "i;unicode-casemap" collation is a simple collation which operates
> >    on octet strings and attempts to Unicode characters case-insensitively.
> 'operates on octets and attempts ... Unicode' sounds very weird.
> Unless you say something about character encoding.

All strings are coerced to UTF-8, but subsequently are treated as octet 
strings instead of variable-width character strings.  The reference to 
"attempts to compare Unicode characters case-insensitively" [I agree that 
the verb "compare" needs to be included] refers to a higher-level effect 
rather than what the algorithm actually does.

> I think I understand your use of octet here; I guess that what you are
> trying to say is that except for the provisions below, comparison is
> by codepoint (which means octet comparison in the case of UTF-8).

"Codepoint" to me would refer to a Unicode 20.5 bit codepoint.  I really 
mean 8-bit quantities, without regard to the character boundaries.

> >    except that first, all pre-composed Unicode characters are fully
> >    decomposed;
> Does this mean NDF, or just any kind of depomposition?

I'm not familiar with the decomposition names.  What I meant is "if a 
decomposition for a codepoint is defined in UnicodeData.txt, substitute 
that decomposition for the codepoint."

> >    and second, all characters which have a title case are
> >    changed to their title case.
> There are not many characters with title case. Maybe about 5.
> Given the name of the collation, I suspect that you want to
> define some mappings for characters that don't have title case,
> too.

AFAICT, all characters with an upper case defined also have a title case 
defined in UnicodeData.txt.  As you noted, only a handful of these differ.

> Hope this helps. Regards,     Martin.

Thanks for your help!  I hope that the people who decide these things 
respond favorably to my request for an i;unicode-casemap as an alternative 
to i;ascii-casemap.

i;unicode-casemap, to my thinking, fills in the gap between the legacy 
i;ascii-casemap and full-fledged stringprep.  Full-fledged stringprep is 
the ideal, but I'm afraid that if we require stringprep without an 
incremental approach many implementations will just punt and use 
i;ascii-casemap.

The all-or-none approach was taken with SSL/TLS and proved to be very 
painful.  It was entirely too easy for developers to choose "none" and 
make the people who followed the specification look like bad guys.

In this case, we don't have a security crisis.  We are just trying to make 
things better for non-ASCII character sets and non-English languages. 
This will prove to be a long-term evolutionary process; nobody really has 
solved the general comparison/collation problem.

[As you and I well know, anyone who says that their software can collate 
Japanese text without yomi or contextual hints is a liar or fool; does 
$BBgOB(J collate after $B;3;{(J or $BBPOC(J?  i;unicode-casemap won't collate this 
correctly, but neither will anything else.]

So, I think that even though reasonable people may disagree on what is 
"good enough", we can have general agreement on what is "better" and that 
"better" is always preferable to "nothing".  i;unicode-casemap should 
always be better for any script whose collation can be inferred from 
Unicode codepoint value; and for Latin-script languages that use 
diacriticals it should be MUCH better.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
--0-1088763667-1163971492=:21036--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJ8p9LS069461; Sun, 19 Nov 2006 01:51:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAJ8p9rd069460; Sun, 19 Nov 2006 01:51:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from scmailgw1.scop.aoyama.ac.jp (scmailgw1.scop.aoyama.ac.jp [133.2.251.194]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJ8p7kv069448 for <ietf-imapext@imc.org>; Sun, 19 Nov 2006 01:51:08 -0700 (MST) (envelope-from duerst@it.aoyama.ac.jp)
Received: from scmse1.scbb.aoyama.ac.jp (scmse1 [133.2.253.16]) by scmailgw1.scop.aoyama.ac.jp (secret/secret) with SMTP id kAJ8ox4T021842 for <ietf-imapext@imc.org>; Sun, 19 Nov 2006 17:51:01 +0900 (JST)
Received: from (133.2.206.133) by scmse1.scbb.aoyama.ac.jp via smtp id 53e6_13d7944e_77ab_11db_8732_0014221fa3c9; Sun, 19 Nov 2006 17:50:58 +0900
X-AuthUser: duerst@it.aoyama.ac.jp
Received: from Tanzawa.it.aoyama.ac.jp ([133.2.210.1]:39818) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S53A8F> for <ietf-imapext@imc.org> from <duerst@it.aoyama.ac.jp>; Sun, 19 Nov 2006 17:50:26 +0900
Message-Id: <6.0.0.20.2.20061118180934.09689dc0@localhost>
X-Sender: duerst@localhost
X-Mailer: QUALCOMM Windows Eudora Version 6J
Date: Sat, 18 Nov 2006 18:41:46 +0900
To: Mark Crispin <MRC@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
From: Martin Duerst <duerst@it.aoyama.ac.jp>
Subject: Re: Review of sort
Cc: Chris Newman <chris.newman@sun.com>, arnt@oryx.com
In-Reply-To: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washing ton.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
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>

At 09:01 06/11/17, Mark Crispin wrote:
>I have just posted (and cc'd to the imapext list) sort draft -18 which I believe addresses Cyrus' review points and also addresses all the current idnits except for page breaks.
>
>Please review.
>
>I left the statement under "Internationalization Considerations" that en;ascii-casemap is used when COMPARATOR isn't implemented, pending further WG review.  Here are my comments:
>
>I suspect that should be i;ascii-casemap instead of en;ascii-casemap.
>
>I would like to request the addition of i;unicode-casemap

This seems to make sense.

>to COMPARATOR, with the following description:
>
>    The "i;unicode-casemap" collation is a simple collation which operates
>    on octet strings and attempts to Unicode characters case-insensitively.

'operates on octets and attempts ... Unicode' sounds very weird.
Unless you say something about character encoding. Also, a verb
such as 'compares' is missing somewhere.

>    It provides equality, substring and ordering operations.  All input is
>    valid.
>
>    Its equality, ordering and substring operations are as for i;octet,

I think I understand your use of octet here; I guess that what you are
trying to say is that except for the provisions below, comparison is
by codepoint (which means octet comparison in the case of UTF-8).

>    except that first, all pre-composed Unicode characters are fully
>    decomposed;

Does this mean NDF, or just any kind of depomposition?

>    and second, all characters which have a title case are
>    changed to their title case.

There are not many characters with title case. Maybe about 5.
Given the name of the collation, I suspect that you want to
define some mappings for characters that don't have title case,
too.

>I would then like to make the sort document allow a non-COMPARATOR implementation to choose between i;ascii-casemap and i;unicode-casemap.

That probably would make sense, assuming that the target
of your spec  makes it clear that strings are UTF-8,
or something similar.

Hope this helps. Regards,     Martin.


#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKe3bK009092; Fri, 17 Nov 2006 13:40:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHKe3gR009091; Fri, 17 Nov 2006 13:40:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKe2xf009084 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 13:40:03 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAHKe1m8013226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 17 Nov 2006 12:40:02 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAHKe1xU003843 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Fri, 17 Nov 2006 12:40:01 -0800
Date: Fri, 17 Nov 2006 12:37:58 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: Philip Guenther <guenther+imap@sendmail.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt
In-Reply-To: <455E1D89.9020203@isode.com>
Message-ID: <alpine.WNT.0.1.0611171237480.760@Tomobiki-Cho.CAC.Washington.EDU>
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu> <455E102E.4080606@isode.com> <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net> <455E1D89.9020203@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.17.122933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Fri, 17 Nov 2006, Alexey Melnikov wrote:
> So you are saying that unlike the SEARCH, in SORT/THREAD it is NOT prefixed 
> with the "CHARSET" tag?

Correct.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKbqkG008843; Fri, 17 Nov 2006 13:37:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHKbqJL008842; Fri, 17 Nov 2006 13:37:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKbpCt008834 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 13:37:52 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RV4dngBybiAx@rufus.isode.com>; Fri, 17 Nov 2006 20:37:50 +0000
Message-ID: <455E1D89.9020203@isode.com>
Date: Fri, 17 Nov 2006 20:37:29 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Philip Guenther <guenther+imap@sendmail.com>
CC: Mark Crispin <mrc@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu> <455E102E.4080606@isode.com> <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther wrote:

> On Fri, 17 Nov 2006, Alexey Melnikov wrote:
>
>> Mark Crispin wrote:
>
> ...
>
>>> search-criteria = charset 1*(SP search-key)
>>
>>
>> Mark,
>> I think this should be:
>>
>>  search-criteria = ["CHARSET" SP charset] 1*(SP search-key)
>
> Nope.
>
> BASE.6.4.SORT. SORT Command
> ...
>        The charset argument is mandatory (unlike SEARCH) and indicates
>        the [CHARSET] of the strings that appear in the searching 
> criteria.
>        The US-ASCII and UTF-8 charsets MUST be implemented.  All other
>        charsets are optional.
>
> ...and ditto in the THREAD description.

So you are saying that unlike the SEARCH, in SORT/THREAD it is NOT 
prefixed with the "CHARSET" tag?
Hmm, I've just noticed.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKHvlH006447; Fri, 17 Nov 2006 13:17:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHKHv24006446; Fri, 17 Nov 2006 13:17:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKHuIH006438 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 13:17:56 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAHKHoQ5028810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 17 Nov 2006 12:17:52 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAHKHoQ5028810
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163794674; bh=dVBWRMBTMNJzKvWZ9lOG0jFRygs=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=tqnTvnbeA6byXTw6 ARlUkzGdldy26x9K4uxNW4l7jiK2R+/o7sYPoA+wrKtoXCqXi9BRoVaxQREuGKUWGcQ x2Kge9dKUG0GA2CbIg3UXANsYyt9KB7MHjMpt59zPNh+Rfm7xn4MINd0poNqBBUZc9g mrTT/I5XAPAKTN2F8+YGA=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAHKHoQ5028810
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=pFDgOx7p8ihWZhrMLqXAIZbz1ILI1Wbzem9evO8T2TdBfs/TtC7M4QIa9H4GnxZ55 7Y6B+aS/MD3F7fdx7H0rQNcEkOHxqrrqiS18WEq2FbX1EOqBBcsgelOBqyd8az8K4bU ymmfcptb/bQLQn51IDW9+c9mzZG6jtKIU+Po3NI=
Date: Fri, 17 Nov 2006 13:17:49 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: Mark Crispin <mrc@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt
In-Reply-To: <455E102E.4080606@isode.com>
Message-ID: <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net>
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu> <455E102E.4080606@isode.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Fri, 17 Nov 2006, Alexey Melnikov wrote:
> Mark Crispin wrote:
...
>> search-criteria = charset 1*(SP search-key)
>
> Mark,
> I think this should be:
>
>  search-criteria = ["CHARSET" SP charset] 1*(SP search-key)

Nope.

BASE.6.4.SORT. SORT Command
...
        The charset argument is mandatory (unlike SEARCH) and indicates
        the [CHARSET] of the strings that appear in the searching criteria.
        The US-ASCII and UTF-8 charsets MUST be implemented.  All other
        charsets are optional.

...and ditto in the THREAD description.


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHJepQd002109; Fri, 17 Nov 2006 12:40:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHJepqW002108; Fri, 17 Nov 2006 12:40:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHJeoZF002093 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 12:40:51 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RV4QPwBybmcA@rufus.isode.com>; Fri, 17 Nov 2006 19:40:47 +0000
Message-ID: <455E102E.4080606@isode.com>
Date: Fri, 17 Nov 2006 19:40:30 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Mark Crispin <mrc@CAC.Washington.EDU>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt [Please use this instead of what I sent in the previous message]
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu>
In-Reply-To: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:

> 5. Formal Syntax of SORT and THREAD Commands and Responses

 [...]

> search-criteria = charset 1*(SP search-key)

Mark,
I think this should be:

   search-criteria = ["CHARSET" SP charset] 1*(SP search-key)



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0XhkI045808; Thu, 16 Nov 2006 17:33:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0XhZb045805; Thu, 16 Nov 2006 17:33:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0XgsC045790 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:33:42 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0XfbX018964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 16:33:41 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0XfD2028406 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 16:33:41 -0800
Date: Thu, 16 Nov 2006 16:31:38 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Philip Guenther <guenther+imap@sendmail.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <Pine.BSO.4.64.0611161723060.29115@vanye.mho.net>
Message-ID: <alpine.WNT.0.1.0611161629140.4076@Tomobiki-Cho.CAC.Washington.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <Pine.BSO.4.64.0611161723060.29115@vanye.mho.net>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.161933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Philip Guenther wrote:
> Hmm, it still has this impossible to implement requirement on ordering of 
> sibling in step 6 of the THREAD=REFERENCES algorithm:
>           In the case of an exact match on
>           sent date or if either of the Date: headers used in a
>           comparison can not be parsed, use the order in which the
>           messages appear in the mailbox (that is, by sequence number) to
>           determine the order.

I realized this after I had sent it, and posted an updated version.

> >   Its equality, ordering and substring operations are as for i;octet,
> >   except that first, all pre-composed Unicode characters are fully
> >   decomposed; and second, all characters which have a title case are
> >   changed to their title case.
> Can you explain the choice of titlecase?

In reviewing the few instances in which it made a difference (there are 
just a few), it seemed that coercing titlecase was more in the spirit of 
"case independence" than coercing to uppercase.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0TYY3045167; Thu, 16 Nov 2006 17:29:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0TYkC045166; Thu, 16 Nov 2006 17:29:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0TXVT045160 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:29:33 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAH0TQpn001167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 16:29:29 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAH0TQpn001167
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163723371; bh=l2jmiiNX+Koz0KRwkqqHs/xO46Q=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=fDsoc0YrNo/Vq82S nas4c/StPDzs/EjDUixLWGBbtehn4IJYW/EcIL4+HyPLaAfV/K4VIRXjuRySBtRqs1S WtXF2b98ngWHLv7+SWrpdS9GikOywF27lZypNHg4QgV/oBlOC3RYsZgzJ8lz8L7nsjS CWeNtc61vEXFjHRRTfBQQ=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAH0TQpn001167
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=Itq89QXcIHR7f01IiD1gi0FeqRLI4CHSh1u+MuQxAbsEeWqhO2pLYjM3X3vTrPWNV K5zeu1yuolkrBF9j8TQZYsJa+TJ3RcCODVip8I3InoSaujJDoDEqGHYb7x3AA97H4no L5DnAuQHy52EVJ/oF0UQCJvLvQf6v2HSObECVcA=
Date: Thu, 16 Nov 2006 17:29:26 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Mark Crispin <MRC@CAC.Washington.EDU>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
Message-ID: <Pine.BSO.4.64.0611161723060.29115@vanye.mho.net>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Mark Crispin wrote:
> I have just posted (and cc'd to the imapext list) sort draft -18 which I 
> believe addresses Cyrus' review points and also addresses all the current 
> idnits except for page breaks.

Hmm, it still has this impossible to implement requirement on ordering of 
sibling in step 6 of the THREAD=REFERENCES algorithm:
          In the case of an exact match on
          sent date or if either of the Date: headers used in a
          comparison can not be parsed, use the order in which the
          messages appear in the mailbox (that is, by sequence number) to
          determine the order.

I thought that was going to be changed to specify that if the Date: header 
field is invalid then the INTERNALDATE should be used instead.  (Didn't 
you say that was what UW-imapd actually did?)


> I suspect that should be i;ascii-casemap instead of en;ascii-casemap.

Yes.  en;ascii-casemap was renamed back to i;ascii-casemap.


...
>   Its equality, ordering and substring operations are as for i;octet,
>   except that first, all pre-composed Unicode characters are fully
>   decomposed; and second, all characters which have a title case are
>   changed to their title case.

Can you explain the choice of titlecase?


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0ScN4045081; Thu, 16 Nov 2006 17:28:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0ScYp045080; Thu, 16 Nov 2006 17:28:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0Sad2045074 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:28:37 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [10.0.1.2] ([10.0.1.2]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAH0SWPc009047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 19:28:32 -0500
Date: Thu, 16 Nov 2006 19:28:31 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Mark Crispin <MRC@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
cc: Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
Message-ID: <CECAE47F84062BBEFCB4F1AE@ninevah.local>
In-Reply-To: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Mark,

--On November 16, 2006 4:01:48 PM -0800 Mark Crispin 
<MRC@CAC.Washington.EDU> wrote:

> I would like to request the addition of i;unicode-casemap to COMPARATOR,
> with the following description:
>
>     The "i;unicode-casemap" collation is a simple collation which operates
>     on octet strings and attempts to Unicode characters
> case-insensitively.
>     It provides equality, substring and ordering operations.  All input is
>     valid.
>
>     Its equality, ordering and substring operations are as for i;octet,
>     except that first, all pre-composed Unicode characters are fully
>     decomposed; and second, all characters which have a title case are
>     changed to their title case.
>
>     Care should be taken when using OS-supplied functions to implement
>     this collation as it is not locale sensitive.  Functions such as
>     strcasecmp and toupper are sometimes locale sensitive and may
>     inappropriately map letters.
>
>     The i;unicode-casemap collation is an attempt to produce somewhat
>     better case-insensitive collations for non-English languages than
>     is possible with i;ascii-casemap.  However, most of the cautions
>     about mis-sorting that are described with i;ascii-casemap also
>     apply to i;unicode-casemap.

Arnt just published a draft for i;basic. I haven't had a chance to read it 
fully yet, but you might want to contrast and compare with what you are 
proposing.

<http://www.ietf.org/internet-drafts/draft-gulbrandsen-collation-basic-00.txt>

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0CibR043226; Thu, 16 Nov 2006 17:12:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0CiOu043225; Thu, 16 Nov 2006 17:12:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0Chwo043219 for <ietf-imapext@IMC.ORG>; Thu, 16 Nov 2006 17:12:44 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0CdvQ031453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 16:12:39 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0CdnK025365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Nov 2006 16:12:39 -0800
Date: Thu, 16 Nov 2006 16:12:39 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Internet Drafts Submission <Internet-Drafts@IETF.ORG>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: draft-ietf-imapext-sort-18.txt [Please use this instead of what I sent in the previous message]
Message-ID: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.155433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

IMAP Extensions Working Group                                 M. Crispin
INTERNET-DRAFT: IMAP SORT                                   K. Murchison
Document: internet-drafts/draft-ietf-imapext-sort-18.txt   November 2006


      INTERNET MESSAGE ACCESS PROTOCOL - SORT AND THREAD EXTENSIONS

Status of this Memo

    By submitting this Internet-Draft, each author represents that
    any applicable patent or other IPR claims of which he or she is
    aware have been or will be disclosed, and any of which he or she
    becomes aware will be disclosed, in accordance with Section 6 of
    BCP 79.

    Internet-Drafts are working documents of the Internet Engineering
    Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as
    Internet-Drafts.

    Internet-Drafts are draft documents valid for a maximum of six months
    and may be updated, replaced, or obsoleted by other documents at any
    time.  It is inappropriate to use Internet-Drafts as reference
    material or to cite them other than as "work in progress."

    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt

    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.

    A revised version of this document will be submitted to the RFC
    editor as an Informational Document for the Internet Community.

    A revised version of this draft document will be submitted to the RFC
    editor as a Proposed Standard for the Internet Community.  Discussion
    and suggestions for improvement are requested, and should be sent to
    ietf-imapext@IMC.ORG.  This document will expire before 16 May 2007.
    Distribution of this memo is unlimited.


Abstract

    This document describes the base-level server-based sorting and
    threading extensions to the [IMAP] protocol.  These extensions
    provide substantial performance improvements for IMAP clients which
    offer sorted and threaded views.


1. Introduction

    The SORT and THREAD extensions to the [IMAP] protocol provide a means
    of server-based sorting and threading of messages, without requiring
    that the client download the necessary data to do so itself.  This is
    particularly useful for online clients as described in [IMAP-MODELS].

    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 the THREAD 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 server which implements the SORT and/or THREAD extensions SHOULD
    also implement the COMPARATOR extension as described in [IMAP-I18N].


2. Terminology

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
    document are to be interpreted as described in [KEYWORDS].

    The word "can" (not "may") is used to refer to a possible
    circumstance or situation, as opposed to an optional facility of the
    protocol.

    "User" is used to refer to a human user, whereas "client" refers to
    the software being run by the user.

    In examples, "C:" and "S:" indicate lines sent by the client and
    server respectively.


2.1 Base Subject

    Subject sorting and threading use the "base subject," which has
    specific subject artifacts removed.  Due to the complexity of these
    artifacts, the formal syntax for the subject extraction rules is
    ambiguous.  The following procedure is followed to determine the
    "base subject", using the [ABNF] formal syntax rules described in
    section 5:

         (1) Convert any RFC 2047 encoded-words in the subject to
         UTF-8 as described in "internationalization
         considerations."  Convert all tabs and continuations to
         space.  Convert all multiple spaces to a single space.

         (2) Remove all trailing text of the subject that matches
         the subj-trailer ABNF, repeat until no more matches are
         possible.

         (3) Remove all prefix text of the subject that matches the
         subj-leader ABNF.

         (4) If there is prefix text of the subject that matches the
         subj-blob ABNF, and removing that prefix leaves a non-empty
         subj-base, then remove the prefix text.

         (5) Repeat (3) and (4) until no matches remain.

    Note: it is possible to defer step (2) until step (6), but this
    requires checking for subj-trailer in step (4).

         (6) If the resulting text begins with the subj-fwd-hdr ABNF
         and ends with the subj-fwd-trl ABNF, remove the
         subj-fwd-hdr and subj-fwd-trl and repeat from step (2).

         (7) The resulting text is the "base subject" used in the
         SORT.

    All servers and disconnected (as described in [IMAP-MODELS]) clients
    MUST use exactly this algorithm to determine the "base subject".
    Otherwise there is potential for a user to get inconsistent results
    based on whether they are running in connected or disconnected mode.


2.2 Sent Date

    As used in this document, the term "sent date" refers to the date and
    time from the Date: header, adjusted by time zone to normalize to
    UTC.  For example, "31 Dec 2000 16:01:33 -0800" is equivalent to the
    UTC date and time of "1 Jan 2001 00:01:33 +0000".

    If the time zone is invalid, the date and time SHOULD be treated as
    UTC.  If the time is also invalid, the time SHOULD be treated as
    00:00:00.  If there is no valid date or time, the date and time
    SHOULD be treated as 00:00:00 on the earliest possible date.

    This differs from the date-related criteria in the SEARCH command
    (described in [IMAP] section 6.4.4), which use just the date and not
    the time, and are not adjusted by time zone.


3. Additional Commands

    These commands are extension to the [IMAP] base protocol.

    The section headings are intended to correspond with where they would
    be located in the main document if they were part of the base
    specification.

BASE.6.4.SORT. SORT Command

    Arguments:  sort program
                charset specification
                searching criteria (one or more)

    Data:       untagged responses: SORT

    Result:     OK - sort completed
                NO - sort error: can't sort that charset or
                     criteria
                BAD - command unknown or arguments invalid

       The SORT command is a variant of SEARCH with sorting semantics for
       the results.  Sort has two arguments before the searching criteria
       argument; a parenthesized list of sort criteria, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID SORT command which returns unique identifiers
       instead of message sequence numbers.  Note that there are separate
       searching criteria for message sequence numbers and UIDs; thus the
       arguments to UID SORT are interpreted the same as in SORT.  This
       is analogous to the behavior of UID SEARCH, as opposed to UID
       COPY, UID FETCH, or UID STORE.

       The SORT command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged SORT response, sorted
       according to one or more sort criteria.

       Sorting is in ascending order.  Earlier dates sort before later
       dates; smaller sizes sort before larger sizes; and strings are
       sorted according to ascending values established by their
       collation algorithm (see under "Internationalization
       Considerations").

       If two or more messages exactly match according to the sorting
       criteria, these messages are sorted according to the order in
       which they appear in the mailbox.  In other words, there is an
       implicit sort criterion of "sequence number".

       When multiple sort criteria are specified, the result is sorted in
       the priority order that the criteria appear.  For example,
       (SUBJECT DATE) will sort messages in order by their base subject
       text; and for messages with the same base subject text will sort
       by their sent date.

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a SORT command, but are permitted during a UID SORT
       command.

       The defined sort criteria are as follows.  Refer to the Formal
       Syntax section for the precise syntactic definitions of the
       arguments.  If the associated RFC-822 header for a particular
       criterion is absent, it is treated as the empty string.  The empty
       string always collates before non-empty strings.

       ARRIVAL
          Internal date and time of the message.  This differs from the
          ON criteria in SEARCH, which uses just the internal date.

       CC
          [IMAP] addr-mailbox of the first "cc" address.

       DATE
          Sent date and time from the Date: header, adjusted by time
          zone.  This differs from the SENTON criteria in SEARCH, which
          uses just the date and not the time, nor adjusts by time zone.

       FROM
          [IMAP] addr-mailbox of the first "From" address.

       REVERSE
          Followed by another sort criterion, has the effect of that
          criterion but in reverse (descending) order.
             Note: REVERSE only reverses a single criterion, and does not
             affect the implicit "sequence number" sort criterion if all
             other criteria are identicial.  Consequently, a sort of
             REVERSE SUBJECT is not the same as a reverse ordering of a
             SUBJECT sort.  This can be avoided by use of additional
             criteria, e.g. SUBJECT DATE vs. REVERSE SUBJECT REVERSE
             DATE.  In general, however, it's better (and faster, if the
             client has a "reverse current ordering" command) to reverse
             the results in the client instead of issuing a new SORT.

       SIZE
          Size of the message in octets.

       SUBJECT
          Base subject text.

       TO
          [IMAP] addr-mailbox of the first "To" address.


    Example:    C: A282 SORT (SUBJECT) UTF-8 SINCE 1-Feb-1994
                S: * SORT 2 84 882
                S: A282 OK SORT completed
                C: A283 SORT (SUBJECT REVERSE DATE) UTF-8 ALL
                S: * SORT 5 3 4 1 2
                S: A283 OK SORT completed
                C: A284 SORT (SUBJECT) US-ASCII TEXT "not in mailbox"
                S: * SORT
                S: A284 OK SORT completed


BASE.6.4.THREAD. THREAD Command

Arguments:  threading algorithm
             charset specification
             searching criteria (one or more)

Data:       untagged responses: THREAD

Result:     OK - thread completed
             NO - thread error: can't thread that charset or
                  criteria
             BAD - command unknown or arguments invalid

       The THREAD command is a variant of SEARCH with threading semantics
       for the results.  Thread has two arguments before the searching
       criteria argument; a threading algorithm, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID THREAD command which returns unique
       identifiers instead of message sequence numbers.  Note that there
       are separate searching criteria for message sequence numbers and
       UIDs; thus the arguments to UID THREAD are interpreted the same as
       in THREAD.  This is analogous to the behavior of UID SEARCH, as
       opposed to UID COPY, UID FETCH, or UID STORE.

       The THREAD command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged THREAD response,
       threaded according to the specified threading algorithm.

       All collation is in ascending order.  Earlier dates collate before
       later dates and strings are collated according to ascending values
       established by their collation algorithm (see under
       "Internationalization Considerations").

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a THREAD command, but are permitted during a UID
       THREAD command.

       The defined threading algorithms are as follows:

       ORDEREDSUBJECT

          The ORDEREDSUBJECT threading algorithm is also referred to as
          "poor man's threading."  The searched messages are sorted by
          base subject and then by the sent date.  The messages are then
          split into separate threads, with each thread containing
          messages with the same base subject text.  Finally, the threads
          are sorted by the sent date of the first message in the thread.

          The first message of each thread are siblings of each other
          (the "root").  The second message of a thread is the child of
          the first message, and subsequent messages of the thread are
          siblings of the second message and hence children of the
          message at the root.  Hence, there are no grandchildren in
          ORDEREDSUBJECT threading.

            Note: early drafts of this specification specified
            that each message in an ORDEREDSUBJECT thread is a child
            (as opposed to a sibling) of the previous message.  This
            is now deprecated.  For compatibility with servers which
            may still use the old definition, client implementations
            SHOULD treat descendents of a child as being siblings of
            that child.

            This is because the old definition mistakenly indicated
            that there was a parent/child relationship between
            successive messages in a thread; when in fact there was
            only a chronological relationship.  In clients which
            indicate parent/child relationships in a thread tree,
            this would indicate levels of descent which did not
            exist.


       REFERENCES

          The REFERENCES threading algorithm is based on the [THREADING]
          algorithm written used in "Netscape Mail and News" versions 2.0
          through 3.0.  This algorithm threads the searched messages by
          grouping them together in parent/child relationships based on
          which messages are replies to others.  The parent/child
          relationships are built using two methods: reconstructing a
          message's ancestry using the references contained within it;
          and checking the original (not base) subject of a message to
          see if it is a reply to (or forward of) another message.

             Note: "Message ID" in the following description refers to a
             normalized form of the msg-id in [RFC-2822].  The actual
             text in an RFC 2822 may use quoting, resulting in multiple
             ways of expressing the same Message ID.  Implementations of
             the REFERENCES threading algorithm MUST normalize any msg-id
             in order to avoid false non-matches due to differences in
             quoting.

             For example, the msg-id
                <"01KF8JCEOCBS0045PS"@xxx.yyy.com>
             and the msg-id
                <01KF8JCEOCBS0045PS@xxx.yyy.com>
             MUST be interpreted as being the same Message ID.

          The references used for reconstructing a message's ancestry are
          found using the following rules:

             If a message contains a References header line, then use the
             Message IDs in the References header line as the references.

             If a message does not contain a References header line, or
             the References header line does not contain any valid
             Message IDs, then use the first (if any) valid Message ID
             found in the In-Reply-To header line as the only reference
             (parent) for this message.

                Note: Although [RFC-2822] permits multiple Message IDs in
                the In-Reply-To header, in actual practice this
                discipline has not been followed.  For example,
                In-Reply-To headers have been observed with message
                addresses after the Message ID, and there are no good
                heuristics for software to determine the difference.
                This is not a problem with the References header however.

             If a message does not contain an In-Reply-To header line, or
             the In-Reply-To header line does not contain a valid Message
             ID, then the message does not have any references (NIL).

          A message is considered to be a reply or forward if the base
          subject extraction rules, applied to the original subject,
          remove any of the following: a subj-refwd, a "(fwd)"
          subj-trailer, or a subj-fwd-hdr and subj-fwd-trl.

          The REFERENCES algorithm is significantly more complex than
          ORDEREDSUBJECT and consists of six main steps.  These steps are
          outlined in detail below.

          (1) For each searched message:

             (A) Using the Message IDs in the message's references, link
             the corresponding messages (those whose Message-ID header
             line contains the given reference Message ID) together as
             parent/child.  Make the first reference the parent of the
             second (and the second a child of the first), the second the
             parent of the third (and the third a child of the second),
             etc.  The following rules govern the creation of these
             links:

                If a message does not contain a Message-ID header line,
                or the Message-ID header line does not contain a valid
                Message ID, then assign a unique Message ID to this
                message.

                If two or more messages have the same Message ID, then
                only use that Message ID in the first (lowest sequence
                number) message, and assign a unique Message ID to each
                of the subsequent messages with a duplicate of that
                Message ID.

                If no message can be found with a given Message ID,
                create a dummy message with this ID.  Use this dummy
                message for all subsequent references to this ID.

                If a message already has a parent, don't change the
                existing link.  This is done because the References
                header line may have been truncated by a MUA.  As a
                result, there is no guarantee that the messages
                corresponding to adjacent Message IDs in the References
                header line are parent and child.

                Do not create a parent/child link if creating that link
                would introduce a loop.  For example, before making
                message A the parent of B, make sure that A is not a
                descendent of B.

                   Note: Message ID comparisons are case-sensitive.

             (B) Create a parent/child link between the last reference
             (or NIL if there are no references) and the current message.
             If the current message already has a parent, it is probably
             the result of a truncated References header line, so break
             the current parent/child link before creating the new
             correct one.  As in step 1.A, do not create the parent/child
             link if creating that link would introduce a loop.  Note
             that if this message has no references, that it will now
             have no parent.

                Note: The parent/child links created in steps 1.A and 1.B
                MUST be kept consistent with one another at ALL times.

          (2) Gather together all of the messages that have no parents
          and make them all children (siblings of one another) of a dummy
          parent (the "root").  These messages constitute the first
          (head) message of the threads created thus far.

          (3) Prune dummy messages from the thread tree.  Traverse each
          thread under the root, and for each message:

             If it is a dummy message with NO children, delete it.

             If it is a dummy message with children, delete it, but
             promote its children to the current level.  In other words,
             splice them in with the dummy's siblings.

             Do not promote the children if doing so would make them
             children of the root, unless there is only one child.

          (4) Sort the messages under the root (top-level siblings only)
          by sent date.  In the case of an exact match on sent date, use
          the order in which the messages appear in the mailbox (that is,
          by sequence number) to determine the order.  In the case of a
          dummy message, sort its children by sent date and then use the
          first child for the top-level sort.  If the sent date can not
          be determined (a Date: header is missing or can not be parsed),
          the INTERNALDATE for that message is used as the sent date.

          (5) Gather together messages under the root that have the same
          base subject text.

             (A) Create a table for associating base subjects with
             messages, called the subject table.

             (B) Populate the subject table with one message per each
             base subject.  For each child of the root:

                (i) Find the subject of this thread, by using the base
                subject from either the current message or its first
                child if the current message is a dummy.  This is the
                thread subject.

                (ii) If the thread subject is empty, skip this message.

                (iii) Look up the message associated with the thread
                subject in the subject table.

                (iv) If there is no message in the subject table with the
                thread subject, add the current message and the thread
                subject to the subject table.

                Otherwise, if the message in the subject table is not a
                dummy, AND either of the following criteria are true:

                   The current message is a dummy, OR

                   The message in the subject table is a reply or forward
                   and the current message is not.

             then replace the message in the subject table with the
             current message.

             (C) Merge threads with the same thread subject.  For each
             child of the root:

                (i) Find the message's thread subject as in step 5.B.i
                above.

                (ii) If the thread subject is empty, skip this message.

                (iii) Lookup the message associated with this thread
                subject in the subject table.

                (iv) If the message in the subject table is the current
                message, skip this message.

                Otherwise, merge the current message with the one in the
                subject table using the following rules:

                   If both messages are dummies, append the current
                   message's children to the children of the message in
                   the subject table (the children of both messages
                   become siblings), and then delete the current message.

                   If the message in the subject table is a dummy and the
                   current message is not, make the current message a
                   child of the message in the subject table (a sibling
                   of its children).

                   If the current message is a reply or forward and the
                   message in the subject table is not, make the current
                   message a child of the message in the subject table (a
                   sibling of its children).

                   Otherwise, create a new dummy message and make both
                   the current message and the message in the subject
                   table children of the dummy.  Then replace the message
                   in the subject table with the dummy message.

                      Note: Subject comparisons are case-insensitive, as
                      described under "Internationalization
                      Considerations."

          (6) Traverse the messages under the root and sort each set of
          siblings by sent date.  Traverse the messages in such a way
          that the "youngest" set of siblings are sorted first, and the
          "oldest" set of siblings are sorted last (grandchildren are
          sorted before children, etc).  In the case of an exact match on
          sent date or if either of the Date: headers used in a
          comparison can not be parsed, use the order in which the
          messages appear in the mailbox (that is, by sequence number) to
          determine the order.  In the case of a dummy message (which can
          only occur with top-level siblings), use its first child for
          sorting.


    Example:    C: A283 THREAD ORDEREDSUBJECT UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)(170)(171)
                   (173)(174 (175)(176)(178)(181)(180))(179)(177
                   (183)(182)(188)(184)(185)(186)(187)(189))(190)
                   (191)(192)(193)(194 195)(196 (197)(198))(199)
                   (200 202)(201)(203)(204)(205)(206 207)(208)
                S: A283 OK THREAD completed
                C: A284 THREAD ORDEREDSUBJECT US-ASCII TEXT "gewp"
                S: * THREAD
                S: A284 OK THREAD completed
                C: A285 THREAD REFERENCES UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)((170)(179))
                   (171)(173)((174)(175)(176)(178)(181)(180))
                   ((177)(183)(182)(188 (184)(189))(185 186)(187))
                   (190)(191)(192)(193)((194)(195 196))(197 198)
                   (199)(200 202)(201)(203)(204)(205 206 207)(208)
                S: A285 OK THREAD completed


         Note: The line breaks in the first and third server
         responses are for editorial clarity and do not appear in
         real THREAD responses.


4. Additional Responses

    These responses are extensions to the [IMAP] base protocol.

    The section headings of these responses are intended to correspond
    with where they would be located in the main document.

BASE.7.2.SORT. SORT Response

    Data:       zero or more numbers

       The SORT response occurs as a result of a SORT or UID SORT
       command.  The number(s) refer to those messages that match the
       search criteria.  For SORT, these are message sequence numbers;
       for UID SORT, these are unique identifiers.  Each number is
       delimited by a space.

    Example:    S: * SORT 2 3 6


BASE.7.2.THREAD. THREAD Response

    Data:       zero or more threads

       The THREAD response occurs as a result of a THREAD or UID THREAD
       command.  It contains zero or more threads.  A thread consists of
       a parenthesized list of thread members.

       Thread members consist of zero or more message numbers, delimited
       by spaces, indicating successive parent and child.  This continues
       until the thread splits into multiple sub-threads, at which point
       the thread nests into multiple sub-threads with the first member
       of each subthread being siblings at this level.  There is no limit
       to the nesting of threads.

       The messages numbers refer to those messages that match the search
       criteria.  For THREAD, these are message sequence numbers; for UID
       THREAD, these are unique identifiers.

    Example:    S: * THREAD (2)(3 6 (4 23)(44 7 96))

       The first thread consists only of message 2.  The second thread
       consists of the messages 3 (parent) and 6 (child), after which it
       splits into two subthreads; the first of which contains messages 4
       (child of 6, sibling of 44) and 23 (child of 4), and the second of
       which contains messages 44 (child of 6, sibling of 4), 7 (child of
       44), and 96 (child of 7).  Since some later messages are parents
       of earlier messages, the messages were probably moved from some
       other mailbox at different times.

       -- 2

       -- 3
          \-- 6
              |-- 4
              |   \-- 23
              |
              \-- 44
                   \-- 7
                       \-- 96

    Example:    S: * THREAD ((3)(5))

       In this example, 3 and 5 are siblings of a parent which does not
       match the search criteria (and/or does not exist in the mailbox);
       however they are members of the same thread.


5. Formal Syntax of SORT and THREAD Commands and Responses

    The following syntax specification uses the Augmented Backus-Naur
    Form (ABNF) notation as specified in [ABNF].  It also uses [ABNF]
    rules defined in [IMAP].

sort            = ["UID" SP] "SORT" SP sort-criteria SP search-criteria

sort-criteria   = "(" sort-criterion *(SP sort-criterion) ")"

sort-criterion  = ["REVERSE" SP] sort-key

sort-key        = "ARRIVAL" / "CC" / "DATE" / "FROM" / "SIZE" /
                   "SUBJECT" / "TO"

thread          = ["UID" SP] "THREAD" SP thread-alg SP search-criteria

thread-alg      = "ORDEREDSUBJECT" / "REFERENCES" / thread-alg-ext

thread-alg-ext  = atom
                     ; New algorithms MUST be registered with IANA

search-criteria = charset 1*(SP search-key)

charset         = atom / quoted
                     ; CHARSET values MUST be registered with IANA

sort-data       = "SORT" *(SP nz-number)

thread-data     = "THREAD" [SP 1*thread-list]

thread-list     = "(" (thread-members / thread-nested) ")"

thread-members  = nz-number *(SP nz-number) [SP thread-nested]

thread-nested   = 2*thread-list


    The following syntax describes base subject extraction rules (2)-(6):

subject         = *subj-leader [subj-middle] *subj-trailer

subj-refwd      = ("re" / ("fw" ["d"])) *WSP [subj-blob] ":"

subj-blob       = "[" *BLOBCHAR "]" *WSP

subj-fwd        = subj-fwd-hdr subject subj-fwd-trl

subj-fwd-hdr    = "[fwd:"

subj-fwd-trl    = "]"

subj-leader     = (*subj-blob subj-refwd) / WSP

subj-middle     = *subj-blob (subj-base / subj-fwd)
                     ; last subj-blob is subj-base if subj-base would
                     ; otherwise be empty

subj-trailer    = "(fwd)" / WSP

subj-base       = NONWSP *(*WSP NONWSP)
                     ; can be a subj-blob

BLOBCHAR        = %x01-5a / %x5c / %x5e-ff
                     ; any CHAR8 except '[' and ']'

NONWSP          = %x01-08 / %x0a-1f / %x21-ff
                     ; any CHAR8 other than WSP


6. Security Considerations

    The SORT and THREAD extensions do not raise any security
    considerations that are not present in the base [IMAP] protocol, and
    these issues are discussed in [IMAP].  Nevertheless, it is important
    to remember that [IMAP] protocol transactions, including message
    data, are sent in the clear over the network unless protection from
    snooping is negotiated, either by the use of STARTTLS, privacy
    protection is negotiated in the AUTHENTICATE command, or some other
    protection mechanism is in effect.


7. Internationalization Considerations

    As described in [IMAP-I18N], strings in charsets other than US-ASCII
    and UTF-8 MUST be converted to UTF-8 and compared in ascending order
    according to the selected or active collation algorithm.  If the
    server does not support the [IMAP-I18N] COMPARATOR extension, the
    collation algorithm used is the "en;ascii-casemap" collation
    described in [COMPARATOR].

    Translations of the "re" or "fw"/"fwd" tokens are not specified for
    removal in the base subject extraction process.  An attempt to add
    such translated tokens would result in a geometrically complex, and
    ultimately unimplementable, task.

    Instead, note that [RFC-2822] section 3.6.5 recommends that "re:"
    (from the Latin "res", in the matter of) be used to identify a reply.
    Although it is evident that, from the multiple forms of token to
    identify a forwarded message, there is considerable variation found
    in the wild, the variations are (still) manageable.  Consequently, it
    is suggested that "re:" and one of the variations of the tokens for
    forward supported by the base subject extraction rules be adopted for
    Internet mail messages, since doing so makes it a simple display time
    task to localize the token language for the user.


8. IANA Considerations

    [IMAP] capabilities are registered by publishing a standards track or
    IESG approved experimental RFC.  This document constitutes
    registration of the SORT and THREAD capabilities in the [IMAP]
    capabilities registry.

    This document creates a new [IMAP] threading algorithms registry,
    which registers threading algorithms by publishing a standards track
    or IESG approved experimental RFC.  This document constitutes
    registration of the ORDEREDSUBJECT and REFERENCES algorithms in that
    registry.


9. Normative References

    The following documents are normative to this document:

    [ABNF]                Crocker, D. and Overell, P. "Augmented BNF
                          for Syntax Specifications: ABNF", RFC 4234
                          October 2005.

    [CHARSET]             Freed, N. and J. Postel, "IANA Character Set
                          Registration Procedures", RFC 2978, October
                          2000.

    [COMPARATOR]          Newman, C. "Internet Appplication Protocol
                          Collation Registry", Work in Progress.

    [IMAP]                Crispin, M. "Internet Message Access Protocol -
                          Version 4rev1", RFC 3501, March 2003.

    [IMAP-I18N]           Newman, C. "Internet Message Access Protocol
                          Internationalization", Work in Progress.

    [KEYWORDS]            Bradner, S. "Key words for use in RFCs to
                          Indicate Requirement Levels", BCP 14, RFC 2119,
                          March 1997.

    [RFC-2822]            Resnick, P. "Internet Message Format", RFC
                          2822, April 2001.


10. Informative References

    The following documents are informative to this document:

    [IMAP-MODELS]         Crispin, M. "Distributed Electronic Mail Models
                          in IMAP4", RFC 1733, December 1994.

    [THREADING]           Zawinski, J. "Message Threading",
                          http://www.jwz.org/doc/threading.html,
                          1997-2002.

Appendices

Author's Address

    Mark R. Crispin
    Networks and Distributed Computing
    University of Washington
    4545 15th Avenue NE
    Seattle, WA  98105-4527

    Phone: +1 (206) 543-5762

    EMail: MRC@CAC.Washington.EDU


    Kenneth Murchison
    Carnegie Mellon University
    5000 Forbes Avenue
    Cyert Hall 285
    Pittsburgh, PA  15213

    Phone: +1 (412) 268-2638
    Email: murch@andrew.cmu.edu


Full Copyright Statement

    Copyright (C) The Internet Society (2006).

    This document is subject to the rights, licenses and restrictions
    contained in BCP 78, and except as set forth therein, the authors
    retain all their rights.

    This document and the information contained herein are provided on an
    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
    OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
    ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

    The IETF takes no position regarding the validity or scope of any
    Intellectual Property Rights or other rights that might be claimed to
    pertain to the implementation or use of the technology described in
    this document or the extent to which any license under such rights
    might or might not be available; nor does it represent that it has
    made any independent effort to identify any such rights.  Information
    on the procedures with respect to rights in RFC documents can be
    found in BCP 78 and BCP 79.

    Copies of IPR disclosures made to the IETF Secretariat and any
    assurances of licenses to be made available, or the result of an
    attempt made to obtain a general license or permission for the use of
    such proprietary rights by implementers or users of this
    specification can be obtained from the IETF on-line IPR repository at
    http://www.ietf.org/ipr.

    The IETF invites any interested party to bring to its attention any
    copyrights, patents or patent applications, or other proprietary
    rights that may cover technology that may be required to implement
    this standard.  Please address the information to the IETF at ietf-
    ipr@ietf.org.

Acknowledgement

    Funding for the RFC Editor function is currently provided by the
    Internet Society.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH03sPu042703; Thu, 16 Nov 2006 17:03:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH03sux042702; Thu, 16 Nov 2006 17:03:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH03qh6042696 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:03:53 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH03pMF000569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 16:03:51 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH03paT020978 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 16:03:51 -0800
Date: Thu, 16 Nov 2006 16:01:48 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
cc: Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
Message-ID: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.154933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I have just posted (and cc'd to the imapext list) sort draft -18 which I 
believe addresses Cyrus' review points and also addresses all the current 
idnits except for page breaks.

Please review.

I left the statement under "Internationalization Considerations" that 
en;ascii-casemap is used when COMPARATOR isn't implemented, pending 
further WG review.  Here are my comments:

I suspect that should be i;ascii-casemap instead of en;ascii-casemap.

I would like to request the addition of i;unicode-casemap to COMPARATOR, 
with the following description:

    The "i;unicode-casemap" collation is a simple collation which operates
    on octet strings and attempts to Unicode characters case-insensitively.
    It provides equality, substring and ordering operations.  All input is
    valid.

    Its equality, ordering and substring operations are as for i;octet,
    except that first, all pre-composed Unicode characters are fully
    decomposed; and second, all characters which have a title case are
    changed to their title case.

    Care should be taken when using OS-supplied functions to implement
    this collation as it is not locale sensitive.  Functions such as
    strcasecmp and toupper are sometimes locale sensitive and may
    inappropriately map letters.

    The i;unicode-casemap collation is an attempt to produce somewhat
    better case-insensitive collations for non-English languages than
    is possible with i;ascii-casemap.  However, most of the cautions
    about mis-sorting that are described with i;ascii-casemap also
    apply to i;unicode-casemap.

I would then like to make the sort document allow a non-COMPARATOR 
implementation to choose between i;ascii-casemap and i;unicode-casemap.

This would make the sort document correspond with what is actually 
implemented in UW imapd.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGNmFkf040830; Thu, 16 Nov 2006 16:48:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGNmF7w040829; Thu, 16 Nov 2006 16:48:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGNmDI3040822 for <ietf-imapext@IMC.ORG>; Thu, 16 Nov 2006 16:48:14 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGNm7TL021414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 15:48:07 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGNm7m2024579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Nov 2006 15:48:07 -0800
Date: Thu, 16 Nov 2006 15:48:07 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Internet Drafts Submission <Internet-Drafts@IETF.ORG>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: draft-ietf-imapext-sort-18.txt
Message-ID: <alpine.LRH.0.7.0611161547280.17108@shiva2.cac.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.153433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

IMAP Extensions Working Group                                 M. Crispin
INTERNET-DRAFT: IMAP SORT                                   K. Murchison
Document: internet-drafts/draft-ietf-imapext-sort-18.txt   November 2006


      INTERNET MESSAGE ACCESS PROTOCOL - SORT AND THREAD EXTENSIONS

Status of this Memo

    By submitting this Internet-Draft, each author represents that
    any applicable patent or other IPR claims of which he or she is
    aware have been or will be disclosed, and any of which he or she
    becomes aware will be disclosed, in accordance with Section 6 of
    BCP 79.

    Internet-Drafts are working documents of the Internet Engineering
    Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as
    Internet-Drafts.

    Internet-Drafts are draft documents valid for a maximum of six months
    and may be updated, replaced, or obsoleted by other documents at any
    time.  It is inappropriate to use Internet-Drafts as reference
    material or to cite them other than as "work in progress."

    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt

    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.

    A revised version of this document will be submitted to the RFC
    editor as an Informational Document for the Internet Community.

    A revised version of this draft document will be submitted to the RFC
    editor as a Proposed Standard for the Internet Community.  Discussion
    and suggestions for improvement are requested, and should be sent to
    ietf-imapext@IMC.ORG.  This document will expire before 16 May 2007.
    Distribution of this memo is unlimited.


Abstract

    This document describes the base-level server-based sorting and
    threading extensions to the [IMAP] protocol.  These extensions
    provide substantial performance improvements for IMAP clients which
    offer sorted and threaded views.


1. Introduction

    The SORT and THREAD extensions to the [IMAP] protocol provide a means
    of server-based sorting and threading of messages, without requiring
    that the client download the necessary data to do so itself.  This is
    particularly useful for online clients as described in [IMAP-MODELS].

    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 the THREAD 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 server which implements the SORT and/or THREAD extensions SHOULD
    also implement the COMPARATOR extension as described in [IMAP-I18N].


2. Terminology

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
    document are to be interpreted as described in [KEYWORDS].

    The word "can" (not "may") is used to refer to a possible
    circumstance or situation, as opposed to an optional facility of the
    protocol.

    "User" is used to refer to a human user, whereas "client" refers to
    the software being run by the user.

    In examples, "C:" and "S:" indicate lines sent by the client and
    server respectively.


2.1 Base Subject

    Subject sorting and threading use the "base subject," which has
    specific subject artifacts removed.  Due to the complexity of these
    artifacts, the formal syntax for the subject extraction rules is
    ambiguous.  The following procedure is followed to determine the
    "base subject", using the [ABNF] formal syntax rules described in
    section 5:

         (1) Convert any RFC 2047 encoded-words in the subject to
         UTF-8 as described in "internationalization
         considerations."  Convert all tabs and continuations to
         space.  Convert all multiple spaces to a single space.

         (2) Remove all trailing text of the subject that matches
         the subj-trailer ABNF, repeat until no more matches are
         possible.

         (3) Remove all prefix text of the subject that matches the
         subj-leader ABNF.

         (4) If there is prefix text of the subject that matches the
         subj-blob ABNF, and removing that prefix leaves a non-empty
         subj-base, then remove the prefix text.

         (5) Repeat (3) and (4) until no matches remain.

    Note: it is possible to defer step (2) until step (6), but this
    requires checking for subj-trailer in step (4).

         (6) If the resulting text begins with the subj-fwd-hdr ABNF
         and ends with the subj-fwd-trl ABNF, remove the
         subj-fwd-hdr and subj-fwd-trl and repeat from step (2).

         (7) The resulting text is the "base subject" used in the
         SORT.

    All servers and disconnected (as described in [IMAP-MODELS]) clients
    MUST use exactly this algorithm to determine the "base subject".
    Otherwise there is potential for a user to get inconsistent results
    based on whether they are running in connected or disconnected mode.


2.2 Sent Date

    As used in this document, the term "sent date" refers to the date and
    time from the Date: header, adjusted by time zone to normalize to
    UTC.  For example, "31 Dec 2000 16:01:33 -0800" is equivalent to the
    UTC date and time of "1 Jan 2001 00:01:33 +0000".

    If the time zone is invalid, the date and time SHOULD be treated as
    UTC.  If the time is also invalid, the time SHOULD be treated as
    00:00:00.  If there is no valid date or time, the date and time
    SHOULD be treated as 00:00:00 on the earliest possible date.

    This differs from the date-related criteria in the SEARCH command
    (described in [IMAP] section 6.4.4), which use just the date and not
    the time, and are not adjusted by time zone.


3. Additional Commands

    These commands are extension to the [IMAP] base protocol.

    The section headings are intended to correspond with where they would
    be located in the main document if they were part of the base
    specification.

BASE.6.4.SORT. SORT Command

    Arguments:  sort program
                charset specification
                searching criteria (one or more)

    Data:       untagged responses: SORT

    Result:     OK - sort completed
                NO - sort error: can't sort that charset or
                     criteria
                BAD - command unknown or arguments invalid

       The SORT command is a variant of SEARCH with sorting semantics for
       the results.  Sort has two arguments before the searching criteria
       argument; a parenthesized list of sort criteria, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID SORT command which returns unique identifiers
       instead of message sequence numbers.  Note that there are separate
       searching criteria for message sequence numbers and UIDs; thus the
       arguments to UID SORT are interpreted the same as in SORT.  This
       is analogous to the behavior of UID SEARCH, as opposed to UID
       COPY, UID FETCH, or UID STORE.

       The SORT command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged SORT response, sorted
       according to one or more sort criteria.

       Sorting is in ascending order.  Earlier dates sort before later
       dates; smaller sizes sort before larger sizes; and strings are
       sorted according to ascending values established by their
       collation algorithm (see under "Internationalization
       Considerations").

       If two or more messages exactly match according to the sorting
       criteria, these messages are sorted according to the order in
       which they appear in the mailbox.  In other words, there is an
       implicit sort criterion of "sequence number".

       When multiple sort criteria are specified, the result is sorted in
       the priority order that the criteria appear.  For example,
       (SUBJECT DATE) will sort messages in order by their base subject
       text; and for messages with the same base subject text will sort
       by their sent date.

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a SORT command, but are permitted during a UID SORT
       command.

       The defined sort criteria are as follows.  Refer to the Formal
       Syntax section for the precise syntactic definitions of the
       arguments.  If the associated RFC-822 header for a particular
       criterion is absent, it is treated as the empty string.  The empty
       string always collates before non-empty strings.

       ARRIVAL
          Internal date and time of the message.  This differs from the
          ON criteria in SEARCH, which uses just the internal date.

       CC
          [IMAP] addr-mailbox of the first "cc" address.

       DATE
          Sent date and time from the Date: header, adjusted by time
          zone.  This differs from the SENTON criteria in SEARCH, which
          uses just the date and not the time, nor adjusts by time zone.

       FROM
          [IMAP] addr-mailbox of the first "From" address.

       REVERSE
          Followed by another sort criterion, has the effect of that
          criterion but in reverse (descending) order.
             Note: REVERSE only reverses a single criterion, and does not
             affect the implicit "sequence number" sort criterion if all
             other criteria are identicial.  Consequently, a sort of
             REVERSE SUBJECT is not the same as a reverse ordering of a
             SUBJECT sort.  This can be avoided by use of additional
             criteria, e.g. SUBJECT DATE vs. REVERSE SUBJECT REVERSE
             DATE.  In general, however, it's better (and faster, if the
             client has a "reverse current ordering" command) to reverse
             the results in the client instead of issuing a new SORT.

       SIZE
          Size of the message in octets.

       SUBJECT
          Base subject text.

       TO
          [IMAP] addr-mailbox of the first "To" address.


    Example:    C: A282 SORT (SUBJECT) UTF-8 SINCE 1-Feb-1994
                S: * SORT 2 84 882
                S: A282 OK SORT completed
                C: A283 SORT (SUBJECT REVERSE DATE) UTF-8 ALL
                S: * SORT 5 3 4 1 2
                S: A283 OK SORT completed
                C: A284 SORT (SUBJECT) US-ASCII TEXT "not in mailbox"
                S: * SORT
                S: A284 OK SORT completed


BASE.6.4.THREAD. THREAD Command

Arguments:  threading algorithm
             charset specification
             searching criteria (one or more)

Data:       untagged responses: THREAD

Result:     OK - thread completed
             NO - thread error: can't thread that charset or
                  criteria
             BAD - command unknown or arguments invalid

       The THREAD command is a variant of SEARCH with threading semantics
       for the results.  Thread has two arguments before the searching
       criteria argument; a threading algorithm, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID THREAD command which returns unique
       identifiers instead of message sequence numbers.  Note that there
       are separate searching criteria for message sequence numbers and
       UIDs; thus the arguments to UID THREAD are interpreted the same as
       in THREAD.  This is analogous to the behavior of UID SEARCH, as
       opposed to UID COPY, UID FETCH, or UID STORE.

       The THREAD command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged THREAD response,
       threaded according to the specified threading algorithm.

       All collation is in ascending order.  Earlier dates collate before
       later dates and strings are collated according to ascending values
       established by their collation algorithm (see under
       "Internationalization Considerations").

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a THREAD command, but are permitted during a UID
       THREAD command.

       The defined threading algorithms are as follows:

       ORDEREDSUBJECT

          The ORDEREDSUBJECT threading algorithm is also referred to as
          "poor man's threading."  The searched messages are sorted by
          base subject and then by the sent date.  The messages are then
          split into separate threads, with each thread containing
          messages with the same base subject text.  Finally, the threads
          are sorted by the sent date of the first message in the thread.

          The first message of each thread are siblings of each other
          (the "root").  The second message of a thread is the child of
          the first message, and subsequent messages of the thread are
          siblings of the second message and hence children of the
          message at the root.  Hence, there are no grandchildren in
          ORDEREDSUBJECT threading.

            Note: early drafts of this specification specified
            that each message in an ORDEREDSUBJECT thread is a child
            (as opposed to a sibling) of the previous message.  This
            is now deprecated.  For compatibility with servers which
            may still use the old definition, client implementations
            SHOULD treat descendents of a child as being siblings of
            that child.

            This is because the old definition mistakenly indicated
            that there was a parent/child relationship between
            successive messages in a thread; when in fact there was
            only a chronological relationship.  In clients which
            indicate parent/child relationships in a thread tree,
            this would indicate levels of descent which did not
            exist.


       REFERENCES

          The REFERENCES threading algorithm is based on the [THREADING]
          algorithm written used in "Netscape Mail and News" versions 2.0
          through 3.0.  This algorithm threads the searched messages by
          grouping them together in parent/child relationships based on
          which messages are replies to others.  The parent/child
          relationships are built using two methods: reconstructing a
          message's ancestry using the references contained within it;
          and checking the original (not base) subject of a message to
          see if it is a reply to (or forward of) another message.

             Note: "Message ID" in the following description refers to a
             normalized form of the msg-id in [RFC-2822].  The actual
             text in an RFC 2822 may use quoting, resulting in multiple
             ways of expressing the same Message ID.  Implementations of
             the REFERENCES threading algorithm MUST normalize any msg-id
             in order to avoid false non-matches due to differences in
             quoting.

             For example, the msg-id
                <"01KF8JCEOCBS0045PS"@xxx.yyy.com>
             and the msg-id
                <01KF8JCEOCBS0045PS@xxx.yyy.com>
             MUST be interpreted as being the same Message ID.

          The references used for reconstructing a message's ancestry are
          found using the following rules:

             If a message contains a References header line, then use the
             Message IDs in the References header line as the references.

             If a message does not contain a References header line, or
             the References header line does not contain any valid
             Message IDs, then use the first (if any) valid Message ID
             found in the In-Reply-To header line as the only reference
             (parent) for this message.

                Note: Although [RFC-2822] permits multiple Message IDs in
                the In-Reply-To header, in actual practice this
                discipline has not been followed.  For example,
                In-Reply-To headers have been observed with message
                addresses after the Message ID, and there are no good
                heuristics for software to determine the difference.
                This is not a problem with the References header however.

             If a message does not contain an In-Reply-To header line, or
             the In-Reply-To header line does not contain a valid Message
             ID, then the message does not have any references (NIL).

          A message is considered to be a reply or forward if the base
          subject extraction rules, applied to the original subject,
          remove any of the following: a subj-refwd, a "(fwd)"
          subj-trailer, or a subj-fwd-hdr and subj-fwd-trl.

          The REFERENCES algorithm is significantly more complex than
          ORDEREDSUBJECT and consists of six main steps.  These steps are
          outlined in detail below.

          (1) For each searched message:

             (A) Using the Message IDs in the message's references, link
             the corresponding messages (those whose Message-ID header
             line contains the given reference Message ID) together as
             parent/child.  Make the first reference the parent of the
             second (and the second a child of the first), the second the
             parent of the third (and the third a child of the second),
             etc.  The following rules govern the creation of these
             links:

                If a message does not contain a Message-ID header line,
                or the Message-ID header line does not contain a valid
                Message ID, then assign a unique Message ID to this
                message.

                If two or more messages have the same Message ID, then
                only use that Message ID in the first (lowest sequence
                number) message, and assign a unique Message ID to each
                of the subsequent messages with a duplicate of that
                Message ID.

                If no message can be found with a given Message ID,
                create a dummy message with this ID.  Use this dummy
                message for all subsequent references to this ID.

                If a message already has a parent, don't change the
                existing link.  This is done because the References
                header line may have been truncated by a MUA.  As a
                result, there is no guarantee that the messages
                corresponding to adjacent Message IDs in the References
                header line are parent and child.

                Do not create a parent/child link if creating that link
                would introduce a loop.  For example, before making
                message A the parent of B, make sure that A is not a
                descendent of B.

                   Note: Message ID comparisons are case-sensitive.

             (B) Create a parent/child link between the last reference
             (or NIL if there are no references) and the current message.
             If the current message already has a parent, it is probably
             the result of a truncated References header line, so break
             the current parent/child link before creating the new
             correct one.  As in step 1.A, do not create the parent/child
             link if creating that link would introduce a loop.  Note
             that if this message has no references, that it will now
             have no parent.

                Note: The parent/child links created in steps 1.A and 1.B
                MUST be kept consistent with one another at ALL times.

          (2) Gather together all of the messages that have no parents
          and make them all children (siblings of one another) of a dummy
          parent (the "root").  These messages constitute the first
          (head) message of the threads created thus far.

          (3) Prune dummy messages from the thread tree.  Traverse each
          thread under the root, and for each message:

             If it is a dummy message with NO children, delete it.

             If it is a dummy message with children, delete it, but
             promote its children to the current level.  In other words,
             splice them in with the dummy's siblings.

             Do not promote the children if doing so would make them
             children of the root, unless there is only one child.

          (4) Sort the messages under the root (top-level siblings only)
          by sent date.  In the case of an exact match on sent date or if
          either of the Date: headers used in a comparison can not be
          parsed, use the order in which the messages appear in the
          mailbox (that is, by sequence number) to determine the order.
          In the case of a dummy message, sort its children by sent date
          and then use the first child for the top-level sort.

          (5) Gather together messages under the root that have the same
          base subject text.

             (A) Create a table for associating base subjects with
             messages, called the subject table.

             (B) Populate the subject table with one message per each
             base subject.  For each child of the root:

                (i) Find the subject of this thread, by using the base
                subject from either the current message or its first
                child if the current message is a dummy.  This is the
                thread subject.

                (ii) If the thread subject is empty, skip this message.

                (iii) Look up the message associated with the thread
                subject in the subject table.

                (iv) If there is no message in the subject table with the
                thread subject, add the current message and the thread
                subject to the subject table.

                Otherwise, if the message in the subject table is not a
                dummy, AND either of the following criteria are true:

                   The current message is a dummy, OR

                   The message in the subject table is a reply or forward
                   and the current message is not.

             then replace the message in the subject table with the
             current message.

             (C) Merge threads with the same thread subject.  For each
             child of the root:

                (i) Find the message's thread subject as in step 5.B.i
                above.

                (ii) If the thread subject is empty, skip this message.

                (iii) Lookup the message associated with this thread
                subject in the subject table.

                (iv) If the message in the subject table is the current
                message, skip this message.

                Otherwise, merge the current message with the one in the
                subject table using the following rules:

                   If both messages are dummies, append the current
                   message's children to the children of the message in
                   the subject table (the children of both messages
                   become siblings), and then delete the current message.

                   If the message in the subject table is a dummy and the
                   current message is not, make the current message a
                   child of the message in the subject table (a sibling
                   of its children).

                   If the current message is a reply or forward and the
                   message in the subject table is not, make the current
                   message a child of the message in the subject table (a
                   sibling of its children).

                   Otherwise, create a new dummy message and make both
                   the current message and the message in the subject
                   table children of the dummy.  Then replace the message
                   in the subject table with the dummy message.

                      Note: Subject comparisons are case-insensitive, as
                      described under "Internationalization
                      Considerations."

          (6) Traverse the messages under the root and sort each set of
          siblings by sent date.  Traverse the messages in such a way
          that the "youngest" set of siblings are sorted first, and the
          "oldest" set of siblings are sorted last (grandchildren are
          sorted before children, etc).  In the case of an exact match on
          sent date or if either of the Date: headers used in a
          comparison can not be parsed, use the order in which the
          messages appear in the mailbox (that is, by sequence number) to
          determine the order.  In the case of a dummy message (which can
          only occur with top-level siblings), use its first child for
          sorting.


    Example:    C: A283 THREAD ORDEREDSUBJECT UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)(170)(171)
                   (173)(174 (175)(176)(178)(181)(180))(179)(177
                   (183)(182)(188)(184)(185)(186)(187)(189))(190)
                   (191)(192)(193)(194 195)(196 (197)(198))(199)
                   (200 202)(201)(203)(204)(205)(206 207)(208)
                S: A283 OK THREAD completed
                C: A284 THREAD ORDEREDSUBJECT US-ASCII TEXT "gewp"
                S: * THREAD
                S: A284 OK THREAD completed
                C: A285 THREAD REFERENCES UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)((170)(179))
                   (171)(173)((174)(175)(176)(178)(181)(180))
                   ((177)(183)(182)(188 (184)(189))(185 186)(187))
                   (190)(191)(192)(193)((194)(195 196))(197 198)
                   (199)(200 202)(201)(203)(204)(205 206 207)(208)
                S: A285 OK THREAD completed


         Note: The line breaks in the first and third server
         responses are for editorial clarity and do not appear in
         real THREAD responses.


4. Additional Responses

    These responses are extensions to the [IMAP] base protocol.

    The section headings of these responses are intended to correspond
    with where they would be located in the main document.

BASE.7.2.SORT. SORT Response

    Data:       zero or more numbers

       The SORT response occurs as a result of a SORT or UID SORT
       command.  The number(s) refer to those messages that match the
       search criteria.  For SORT, these are message sequence numbers;
       for UID SORT, these are unique identifiers.  Each number is
       delimited by a space.

    Example:    S: * SORT 2 3 6


BASE.7.2.THREAD. THREAD Response

    Data:       zero or more threads

       The THREAD response occurs as a result of a THREAD or UID THREAD
       command.  It contains zero or more threads.  A thread consists of
       a parenthesized list of thread members.

       Thread members consist of zero or more message numbers, delimited
       by spaces, indicating successive parent and child.  This continues
       until the thread splits into multiple sub-threads, at which point
       the thread nests into multiple sub-threads with the first member
       of each subthread being siblings at this level.  There is no limit
       to the nesting of threads.

       The messages numbers refer to those messages that match the search
       criteria.  For THREAD, these are message sequence numbers; for UID
       THREAD, these are unique identifiers.

    Example:    S: * THREAD (2)(3 6 (4 23)(44 7 96))

       The first thread consists only of message 2.  The second thread
       consists of the messages 3 (parent) and 6 (child), after which it
       splits into two subthreads; the first of which contains messages 4
       (child of 6, sibling of 44) and 23 (child of 4), and the second of
       which contains messages 44 (child of 6, sibling of 4), 7 (child of
       44), and 96 (child of 7).  Since some later messages are parents
       of earlier messages, the messages were probably moved from some
       other mailbox at different times.

       -- 2

       -- 3
          \-- 6
              |-- 4
              |   \-- 23
              |
              \-- 44
                   \-- 7
                       \-- 96

    Example:    S: * THREAD ((3)(5))

       In this example, 3 and 5 are siblings of a parent which does not
       match the search criteria (and/or does not exist in the mailbox);
       however they are members of the same thread.


5. Formal Syntax of SORT and THREAD Commands and Responses

    The following syntax specification uses the Augmented Backus-Naur
    Form (ABNF) notation as specified in [ABNF].  It also uses [ABNF]
    rules defined in [IMAP].

sort            = ["UID" SP] "SORT" SP sort-criteria SP search-criteria

sort-criteria   = "(" sort-criterion *(SP sort-criterion) ")"

sort-criterion  = ["REVERSE" SP] sort-key

sort-key        = "ARRIVAL" / "CC" / "DATE" / "FROM" / "SIZE" /
                   "SUBJECT" / "TO"

thread          = ["UID" SP] "THREAD" SP thread-alg SP search-criteria

thread-alg      = "ORDEREDSUBJECT" / "REFERENCES" / thread-alg-ext

thread-alg-ext  = atom
                     ; New algorithms MUST be registered with IANA

search-criteria = charset 1*(SP search-key)

charset         = atom / quoted
                     ; CHARSET values MUST be registered with IANA

sort-data       = "SORT" *(SP nz-number)

thread-data     = "THREAD" [SP 1*thread-list]

thread-list     = "(" (thread-members / thread-nested) ")"

thread-members  = nz-number *(SP nz-number) [SP thread-nested]

thread-nested   = 2*thread-list


    The following syntax describes base subject extraction rules (2)-(6):

subject         = *subj-leader [subj-middle] *subj-trailer

subj-refwd      = ("re" / ("fw" ["d"])) *WSP [subj-blob] ":"

subj-blob       = "[" *BLOBCHAR "]" *WSP

subj-fwd        = subj-fwd-hdr subject subj-fwd-trl

subj-fwd-hdr    = "[fwd:"

subj-fwd-trl    = "]"

subj-leader     = (*subj-blob subj-refwd) / WSP

subj-middle     = *subj-blob (subj-base / subj-fwd)
                     ; last subj-blob is subj-base if subj-base would
                     ; otherwise be empty

subj-trailer    = "(fwd)" / WSP

subj-base       = NONWSP *(*WSP NONWSP)
                     ; can be a subj-blob

BLOBCHAR        = %x01-5a / %x5c / %x5e-ff
                     ; any CHAR8 except '[' and ']'

NONWSP          = %x01-08 / %x0a-1f / %x21-ff
                     ; any CHAR8 other than WSP


6. Security Considerations

    The SORT and THREAD extensions do not raise any security
    considerations that are not present in the base [IMAP] protocol, and
    these issues are discussed in [IMAP].  Nevertheless, it is important
    to remember that [IMAP] protocol transactions, including message
    data, are sent in the clear over the network unless protection from
    snooping is negotiated, either by the use of STARTTLS, privacy
    protection is negotiated in the AUTHENTICATE command, or some other
    protection mechanism is in effect.


7. Internationalization Considerations

    As described in [IMAP-I18N], strings in charsets other than US-ASCII
    and UTF-8 MUST be converted to UTF-8 and compared in ascending order
    according to the selected or active collation algorithm.  If the
    server does not support the [IMAP-I18N] COMPARATOR extension, the
    collation algorithm used is the "en;ascii-casemap" collation
    described in [COMPARATOR].

    Translations of the "re" or "fw"/"fwd" tokens are not specified for
    removal in the base subject extraction process.  An attempt to add
    such translated tokens would result in a geometrically complex, and
    ultimately unimplementable, task.

    Instead, note that [RFC-2822] section 3.6.5 recommends that "re:"
    (from the Latin "res", in the matter of) be used to identify a reply.
    Although it is evident that, from the multiple forms of token to
    identify a forwarded message, there is considerable variation found
    in the wild, the variations are (still) manageable.  Consequently, it
    is suggested that "re:" and one of the variations of the tokens for
    forward supported by the base subject extraction rules be adopted for
    Internet mail messages, since doing so makes it a simple display time
    task to localize the token language for the user.


8. IANA Considerations

    [IMAP] capabilities are registered by publishing a standards track or
    IESG approved experimental RFC.  This document constitutes
    registration of the SORT and THREAD capabilities in the [IMAP]
    capabilities registry.

    This document creates a new [IMAP] threading algorithms registry,
    which registers threading algorithms by publishing a standards track
    or IESG approved experimental RFC.  This document constitutes
    registration of the ORDEREDSUBJECT and REFERENCES algorithms in that
    registry.


9. Normative References

    The following documents are normative to this document:

    [ABNF]                Crocker, D. and Overell, P. "Augmented BNF
                          for Syntax Specifications: ABNF", RFC 4234
                          October 2005.

    [CHARSET]             Freed, N. and J. Postel, "IANA Character Set
                          Registration Procedures", RFC 2978, October
                          2000.

    [COMPARATOR]          Newman, C. "Internet Appplication Protocol
                          Collation Registry", Work in Progress.

    [IMAP]                Crispin, M. "Internet Message Access Protocol -
                          Version 4rev1", RFC 3501, March 2003.

    [IMAP-I18N]           Newman, C. "Internet Message Access Protocol
                          Internationalization", Work in Progress.

    [KEYWORDS]            Bradner, S. "Key words for use in RFCs to
                          Indicate Requirement Levels", BCP 14, RFC 2119,
                          March 1997.

    [RFC-2822]            Resnick, P. "Internet Message Format", RFC
                          2822, April 2001.


10. Informative References

    The following documents are informative to this document:

    [IMAP-MODELS]         Crispin, M. "Distributed Electronic Mail Models
                          in IMAP4", RFC 1733, December 1994.

    [THREADING]           Zawinski, J. "Message Threading",
                          http://www.jwz.org/doc/threading.html,
                          1997-2002.

Appendices

Author's Address

    Mark R. Crispin
    Networks and Distributed Computing
    University of Washington
    4545 15th Avenue NE
    Seattle, WA  98105-4527

    Phone: +1 (206) 543-5762

    EMail: MRC@CAC.Washington.EDU


    Kenneth Murchison
    Carnegie Mellon University
    5000 Forbes Avenue
    Cyert Hall 285
    Pittsburgh, PA  15213

    Phone: +1 (412) 268-2638
    Email: murch@andrew.cmu.edu


Full Copyright Statement

    Copyright (C) The Internet Society (2006).

    This document is subject to the rights, licenses and restrictions
    contained in BCP 78, and except as set forth therein, the authors
    retain all their rights.

    This document and the information contained herein are provided on an
    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
    OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
    ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

    The IETF takes no position regarding the validity or scope of any
    Intellectual Property Rights or other rights that might be claimed to
    pertain to the implementation or use of the technology described in
    this document or the extent to which any license under such rights
    might or might not be available; nor does it represent that it has
    made any independent effort to identify any such rights.  Information
    on the procedures with respect to rights in RFC documents can be
    found in BCP 78 and BCP 79.

    Copies of IPR disclosures made to the IETF Secretariat and any
    assurances of licenses to be made available, or the result of an
    attempt made to obtain a general license or permission for the use of
    such proprietary rights by implementers or users of this
    specification can be obtained from the IETF on-line IPR repository at
    http://www.ietf.org/ipr.

    The IETF invites any interested party to bring to its attention any
    copyrights, patents or patent applications, or other proprietary
    rights that may cover technology that may be required to implement
    this standard.  Please address the information to the IETF at ietf-
    ipr@ietf.org.

Acknowledgement

    Funding for the RFC Editor function is currently provided by the
    Internet Society.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGK32gL009308; Thu, 16 Nov 2006 13:03:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGK321X009307; Thu, 16 Nov 2006 13:03:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGK2xoU009290 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 13:03:02 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAGK2lqb028113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 12:02:50 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAGK2lqb028113
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163707371; bh=+LgpT560RWH+Jo/PgpHvhsz+/6Q=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=Z09O9wxA1lakY/D6 WMQM8u3gmJ9lfya4b77OhqaZNVO1yx93LAWc7nAtbpzEp/x84MMGt5vakrQ7aahUXVI tY8DXrAksLJABUJj8HntyCkrh1f0PQ6XdZADaxttQUqypgZwrkecbaF0CmFYIkqzdUg xPNA7JRxFXk0JSC9GXMlk=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAGK2lqb028113
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=WxuGmGjbYaShzb7pzyALqueJB6NMKkn9Rd4I5stJ/ghrLaJZv81qR9xrvPnQcjw6K xzwUNj2yyFeJ38DABZuR9IPS2M6mK4sABfLTINM7YflJGVTrGRBA3f8YbVcBRTPoJg7 8tM463lw/0jYfdU63EsGjCQvM+lCkctqOPSZTLI=
Date: Thu, 16 Nov 2006 13:02:47 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Cyrus Daboo <cyrus@daboo.name>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
Message-ID: <Pine.BSO.4.64.0611161247570.29115@vanye.mho.net>
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local> <455C7C1D.9020902@andrew.cmu.edu> <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Cyrus Daboo wrote:
...
> All I can come up with is: I might want SEARCH on Priority using 
> i;ascii-numeric as the active collation,

No you don't: it's an error to use "i;ascii-numeric" with SEARCH, because 
that collation doesn't support substring matching!


> but that would be inappropriate for the ordering or grouping operations 
> in either SORT or THREAD.

Several of the SORT keys have an implied collation that it does not make 
sense to change: ARRIVAL, DATE, SIZE, MODSEQ.  So, any change in sort 
collation would only be for the address and textual keys: TO, CC, FROM, 
SUBJECT.


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIXiC7096682; Thu, 16 Nov 2006 11:33:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGIXi7L096681; Thu, 16 Nov 2006 11:33:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIXgoB096675 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:33:43 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGIXbmh029954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 10:33:37 -0800
X-Auth-Received: from shiva1.cac.washington.edu (shiva1.cac.washington.edu [140.142.37.171]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGIXbNY024110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Nov 2006 10:33:37 -0800
Date: Thu, 16 Nov 2006 10:33:37 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: Cyrus Daboo <cyrus@daboo.name>, Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
In-Reply-To: <455CABAB.4050007@andrew.cmu.edu>
Message-ID: <alpine.LRH.0.7.0611161027070.16646@shiva1.cac.washington.edu>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <455CABAB.4050007@andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.102432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I think that the only way out of this problem is for SETMETADATA to behave 
like STORE; that is, it becomes an always-succeed command that returns 
status of what it does.

Originally COPY was to have been this way (hence the untagged COPY 
response in IMAP2) but this turned out to be a performance issue and it 
wasn't really clear what a client was to do if with those results.  Atomic 
behavior for COPY seemed to be much more the right thing.

STORE, on the other hand, resolved the performance issue with the silent 
"don't care" option.

Perhaps if SETMETADATA only returned the failure cases it would be good 
enough.  It should also be permissible for a server to prohibit certain 
wildcards for policy reasons, e.g., "/*" in a UNIX filesystem server.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIJUbV094535; Thu, 16 Nov 2006 11:19:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGIJUo4094534; Thu, 16 Nov 2006 11:19:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIJT9E094527 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:19:30 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGIJNlD006703 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 13:19:24 -0500
Message-ID: <455CABAB.4050007@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 13:19:23 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:
> 
> Hi Alexey,
> Thanks for your comments.
> 
> --On November 9, 2006 6:42:11 PM -0800 Alexey Melnikov 
> <alexey.melnikov@isode.com> wrote:

>> 3). Section 4.4. (SETMETADATA Command) says:
>>
>>  >   If the server is unable to set the annotations for one or more
>>  >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
>>  >   command MUST fail and there MUST NOT be any changes to any of the
>>  >   matching mailboxes, even those for which annotations could have been
>>  >   changed successfully.
>>
>> I don't like that. Atomic metadata change across multiple mailboxes can
>> be a problem for servers. It would be way to easy to deny service this
>> way and it would be quite difficult to implement atomicity, unless one
>> uses a SQL backend.
>>
> 
> I would like to hear from other server implementers as to whether they 
> feel this restriction is too harsh as well. One issue with making it 
> non-atomic is handling error results. Should LISTEXT return the items 
> that failed to be set?

I don't necessarily have a problem with atomicity because my 
implementation uses a txn protected database for METADATA, but I 
wouldn't be opposed to removing this restriction.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGI2Q3N092389; Thu, 16 Nov 2006 11:02:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGI2Q22092387; Thu, 16 Nov 2006 11:02:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGI2Ldi092376 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:02:26 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVynrABfY5va@rufus.isode.com>; Thu, 16 Nov 2006 18:02:20 +0000
Message-ID: <455CA7AB.20503@isode.com>
Date: Thu, 16 Nov 2006 18:02:19 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Cyrus,

Cyrus Daboo wrote:

>> 3). Section 4.4. (SETMETADATA Command) says:
>>
>>  >   If the server is unable to set the annotations for one or more
>>  >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
>>  >   command MUST fail and there MUST NOT be any changes to any of the
>>  >   matching mailboxes, even those for which annotations could have 
>> been
>>  >   changed successfully.
>>
>> I don't like that. Atomic metadata change across multiple mailboxes can
>> be a problem for servers. It would be way to easy to deny service this
>> way and it would be quite difficult to implement atomicity, unless one
>> uses a SQL backend.
>
> I would like to hear from other server implementers as to whether they 
> feel this restriction is too harsh as well.

Think about "*" with 10,000 shared mailboxes. Clients will end up doing 
this, guarantied!

> One issue with making it non-atomic is handling error results. Should 
> LISTEXT return the items that failed to be set?

We can add a new response or a new item for the extended LIST.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHmMI0090349; Thu, 16 Nov 2006 10:48:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGHmMiR090348; Thu, 16 Nov 2006 10:48:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHmKdg090341 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 10:48:21 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGHmFK4029741 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 12:48:15 -0500
Message-ID: <455CA45E.8040806@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 12:48:14 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local> <455C7C1D.9020902@andrew.cmu.edu> <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
In-Reply-To: <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:

> If we want to have separate collations for these steps then I think 
> adding a parameter to SORT/THREAD would be better.

Agreed.


> However, there needs to be a convincing argument for this.
> 
> All I can come up with is: I might want SEARCH on Priority using 
> i;ascii-numeric as the active collation, but that would be inappropriate 
> for the ordering or grouping operations in either SORT or THREAD.


Hmm.  Similarly, is it possible that a client might want to SORT on 
MODSEQ using i;ascii-numeric without changing the underlying comparator 
used for text collation?

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHChsw085899; Thu, 16 Nov 2006 10:12:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGHCheJ085898; Thu, 16 Nov 2006 10:12:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHCgmK085892 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 10:12:43 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAGHCYK0006308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 12:12:37 -0500
Date: Thu, 16 Nov 2006 12:12:29 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
Message-ID: <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
In-Reply-To: <455C7C1D.9020902@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local> <455C7C1D.9020902@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 16, 2006 9:56:29 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

>> So, SORT/THREAD use a minimum of two collations, and upto three in the
>> case of ORDEREDSUBJECT. The question is whether these will ever need to
>> be specified separately. I think it may be prudent to at least define
>> two COMPARATORs, not one. One would be the active collation for
>> comparisons, the other the active collation for ordering operations.
>
> I can see arguments for using one collation throughout, or having two
> separate collations.  I don't have a string opinion either way.
>
> Cyrus, do you have a suggestion for how a second comparator would be
> selected?  Would this be an addition to COMPARATOR or an addition to
> SORT/THREAD?
>

Well, are there other places where we might do sorting? One possibility 
might have been LIST-EXTENDED, but as we know LIST responses are not 
ordered. I know at some point there had been discussion of a sort order 
preserving COPY operation.

If we want to have separate collations for these steps then I think adding 
a parameter to SORT/THREAD would be better. Note that METADATA is going to 
do that for the METADATA select option in LIST-EXTENDED. However, there 
needs to be a convincing argument for this.

All I can come up with is: I might want SEARCH on Priority using 
i;ascii-numeric as the active collation, but that would be inappropriate 
for the ordering or grouping operations in either SORT or THREAD.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGH7e9j084936; Thu, 16 Nov 2006 10:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGH7eUd084935; Thu, 16 Nov 2006 10:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGH7dl4084929 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 10:07:40 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAGH7RNS006289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 12:07:29 -0500
Date: Thu, 16 Nov 2006 12:07:21 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Mark Crispin <mrc@CAC.Washington.EDU>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
Message-ID: <D18DCCAE9500F943C6AE556E@Cyrus-Daboo-G5.local>
In-Reply-To: <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Mark,

--On November 15, 2006 1:23:10 PM -0800 Mark Crispin 
<mrc@CAC.Washington.EDU> wrote:

>> - In Section 1 it states that the server SHOULD support COMPARATOR if
>> the  SORT extension is defined, but it does not explicitly state the
>> same for  the THREAD extension. Since THREAD uses SEARCH and has a
>> subject matching  step, I think it should also say SHOULD support
>> COMPARATOR.
>
> Would it be alright if this was simply generalized to "SORT and/or THREAD
> extension"?

Yes.

>> - In Section 2.1 it states that the 'base subject' algorithm must be
>> used  when 'sorting by subject'. It does not explicitly state that it
>> also needs  to be used when doing THREAD=ORDEREDSUBJECT and
>> THREAD=REFERENCES - it  should.
>
> Would it be alright if this was generalized to "sorting or threading by
> subject" (without having to specifically list threading algorithms)?

Yes.

>> - Currently the (expired) COMPARATOR extension states it applies to
>> THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later includes
>> a  base subject comparison step, so COMPARATOR should be used for that
>> too.
>
> This is an issue in the COMPARATOR document, isn't it?

Yes - sorry should have stipulated that.

>> - Its not clear in either SORT/THREAD or COMPARATOR how the active
>> comparator affects the base subject matching.
>
> Could you elaborate on what you mean by this?  I was under the impression
> that it was clear that base subjects are compared the way anything else
> is compared.
>
>> - Its not clear whether there will be a use case for different
>> comparators  for the different steps in SORT/THREAD. e.g. would someone
>> want to use a  case-sensitive comparator for the SEARCH portion, and
>> then a
>> case-insensitive one for sort collation? What about having the active
>> comparator affect the base subject comparison too?
>
> I hope not.  This strikes me as being horrible over-engineering.

These two issues are being discussed in the 'LANGUAGE/COMPARATOR review' 
thread. I think its an issue for the i18n draft not sort.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGG0nx7074998; Thu, 16 Nov 2006 09:00:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGG0nsj074997; Thu, 16 Nov 2006 09:00:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGG0k2D074988 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 09:00:49 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGG0jZ6024032 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:00:46 -0500
Message-ID: <455C8B2C.9070205@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 11:00:44 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: COMPARATOR & ANNOTATE
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 don't see any mention in either draft of the use of the ANNOTATE 
SEARCH/SORT criterion with a comparator.  Shouldn't this be addressed in 
one/both of the drafts?

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFuoqH074392; Thu, 16 Nov 2006 08:56:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGFuopA074391; Thu, 16 Nov 2006 08:56:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFunhH074385 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:56:49 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVyKQABfYz3r@rufus.isode.com>; Thu, 16 Nov 2006 15:56:48 +0000
Message-ID: <455C8A2F.1010509@isode.com>
Date: Thu, 16 Nov 2006 15:56:31 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <455C876D.7020602@isode.com>
In-Reply-To: <455C876D.7020602@isode.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

More comments regarding section 5 (ABNF):

1). Per RFC 3501 errata (and RFC 4466), charset should be changed to:

   charset         = atom / quoted
                     ;; Exact syntax is defined in [CHARSET].

2).

   NONWSP          = %x01-08 / %x0a-1f / %x21-7f
                     ; any CHAR other than WSP

Should this include x80-xFF? Subject can contain UTF-8.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFj3BE072710; Thu, 16 Nov 2006 08:45:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGFj3sB072709; Thu, 16 Nov 2006 08:45:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFj2m1072702 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:45:03 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVyHfQBfY12U@rufus.isode.com>; Thu, 16 Nov 2006 15:45:01 +0000
Message-ID: <455C876D.7020602@isode.com>
Date: Thu, 16 Nov 2006 15:44:45 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
In-Reply-To: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
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:

> - References - the COMPARATOR and IMAP-I18N references should be 
> update to point to their respective drafts.

Also "RFC 2234" ==> "RFC 4234"



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF6u1N066617; Thu, 16 Nov 2006 08:06:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGF6uvd066616; Thu, 16 Nov 2006 08:06:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF6r2x066603 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:06:54 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGF6jWF005795 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 10:06:46 -0500
Message-ID: <455C7E84.2030502@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 10:06:44 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Mark Crispin <mrc@cac.washington.edu>
CC: Cyrus Daboo <cyrus@daboo.name>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
In-Reply-To: <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:
> 
> Cyrus -
> 
> On Wed, 15 Nov 2006, Cyrus Daboo wrote:
>> - In Section 1 it states that the server SHOULD support COMPARATOR if 
>> the SORT extension is defined, but it does not explicitly state the 
>> same for the THREAD extension. Since THREAD uses SEARCH and has a 
>> subject matching step, I think it should also say SHOULD support 
>> COMPARATOR.
> 
> Would it be alright if this was simply generalized to "SORT and/or 
> THREAD extension"?

I think so.  I'd also suggest pulling that sentence out of the second 
paragraph, and either appending it to the first paragraph or making it 
new paragraph it at the end of Section 1.


> 
>> - In Section 2.1 it states that the 'base subject' algorithm must be 
>> used when 'sorting by subject'. It does not explicitly state that it 
>> also needs to be used when doing THREAD=ORDEREDSUBJECT and 
>> THREAD=REFERENCES - it should.
> 
> Would it be alright if this was generalized to "sorting or threading by 
> subject" (without having to specifically list threading algorithms)?

Sure.  We could also change the first sentence in 2.1 to match.


>> - Currently the (expired) COMPARATOR extension states it applies to 
>> THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later 
>> includes a base subject comparison step, so COMPARATOR should be used 
>> for that too.
> 
> This is an issue in the COMPARATOR document, isn't it?

Yes.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0m2r065635; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGF0mdO065634; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0krA065617 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:00:47 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id C59E64ACD2; Thu, 16 Nov 2006 16:00:45 +0100 (CET)
Message-Id: <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com>
Date: Thu, 16 Nov 2006 16:01:30 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu>
In-Reply-To: <455C6C2D.3000004@andrew.cmu.edu>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison writes:
> Mostly nits, but a couple of corrections.
>
> - Conventions and Normative reference [2]: The reference to RFC 2234 
> should be updated to RFC 4234.
>
> - Section 3 and Informative reference [16]: The reference to the 
> "ANNOTATEMORE extension" should be updated to "METADATA extension".

I did those on Tuesday. Didn't quite finish the overhaul yet (catching 
up is hard work...)

> - Section 3.4, first paragraph.  I don't really like the MUST and MUST 
> NOT combination in the two sentences.  Could they be merged into one 
> positive sentence something like the following?
>
>     If the server supports the IMAP4 NAMESPACE command [4], and
>     it is in the authenticated state, the server MUST return an
>     untagged NAMESPACE response when a language is negotiated.

Good suggestion. Will do.

> - Section 4, first paragraph, second sentence:  This should be changed 
> to "The SORT and THREAD extensions [15] to IMAP allow ..."
>
> - Section 4, third paragraph:  Since both of the currently defined 
> THREADing algorithms sort by subject, both instances of "SEARCH and 
> SORT" should be changed to either "SEARCH, SORT, and THREAD" or 
> "SEARCH and SORT/THREAD".
>
> - Section 4, fourth paragraph AND Section 4.1, third paragraph:  The 
> THREAD=REFERENCES algorithm also sorts by subject, so this needs to 
> be accounted for in the text.  It doesn't matter to me whether both 
> THREADing algorithms are listed, or if the text just mentions THREAD 
> in general.

Will do all of this.

> - Section 5.1, second paragraph, second sentence:  "... the current 
> latest ACL drafts." seems redundant.  I think one of either "current" 
> or "latest" would suffice.

Another Tuesday change was to replace it with a reference to the published RFC.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0mai065654; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGF0msA065653; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0loo065620 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 80C654ACD3; Thu, 16 Nov 2006 16:00:46 +0100 (CET)
Message-Id: <YSEAKO6GsC59DaPuRkjvkg.md5@libertango.oryx.com>
Date: Thu, 16 Nov 2006 16:01:31 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>, Cyrus Daboo <cyrus@daboo.name>
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local>
In-Reply-To: <88A2544895E97C8CD9113DC7@ninevah.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> Not quite: THREAD=REFERENCES actually "groups" by subject. i.e. it 
> does a comparison operation  on the subject, not a collation 
> operation.

Equality testing is a collation operation. For example, i;ascii-casemap 
considers a and A equal and i;octet does not.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEudkw065193; Thu, 16 Nov 2006 07:56:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGEudEU065192; Thu, 16 Nov 2006 07:56:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEub0d065183 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 07:56:38 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGEuUDM000739 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 09:56:31 -0500
Message-ID: <455C7C1D.9020902@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 09:56:29 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local>
In-Reply-To: <88A2544895E97C8CD9113DC7@ninevah.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:
> Hi Ken,
> 
> --On November 16, 2006 8:48:29 AM -0500 Ken Murchison 
> <murch@andrew.cmu.edu> wrote:
> 
>> - Section 4, fourth paragraph AND Section 4.1, third paragraph:  The
>> THREAD=REFERENCES algorithm also sorts by subject, so this needs to be
>> accounted for in the text.  It doesn't matter to me whether both
>> THREADing algorithms are listed, or if the text just mentions THREAD in
>> general.
> 
> Not quite: THREAD=REFERENCES actually "groups" by subject. i.e. it does 
> a comparison operation  on the subject, not a collation operation.

True.  Use of "sort" was a poor choice on my part.

> So, SORT/THREAD use a minimum of two collations, and upto three in the 
> case of ORDEREDSUBJECT. The question is whether these will ever need to 
> be specified separately. I think it may be prudent to at least define 
> two COMPARATORs, not one. One would be the active collation for 
> comparisons, the other the active collation for ordering operations.

I can see arguments for using one collation throughout, or having two 
separate collations.  I don't have a string opinion either way.

Cyrus, do you have a suggestion for how a second comparator would be 
selected?  Would this be an addition to COMPARATOR or an addition to 
SORT/THREAD?


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEnnnv063846; Thu, 16 Nov 2006 07:49:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGEnnrF063845; Thu, 16 Nov 2006 07:49:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEnmfs063838 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 07:49:49 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [10.0.1.2] ([10.0.1.2]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAGEnhbA005827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 09:49:44 -0500
Date: Thu, 16 Nov 2006 09:49:43 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
Message-ID: <88A2544895E97C8CD9113DC7@ninevah.local>
In-Reply-To: <455C6C2D.3000004@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 16, 2006 8:48:29 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

> - Section 4, fourth paragraph AND Section 4.1, third paragraph:  The
> THREAD=REFERENCES algorithm also sorts by subject, so this needs to be
> accounted for in the text.  It doesn't matter to me whether both
> THREADing algorithms are listed, or if the text just mentions THREAD in
> general.

Not quite: THREAD=REFERENCES actually "groups" by subject. i.e. it does a 
comparison operation  on the subject, not a collation operation.

Here is a summary:

SORT:
    needs a collation for the SEARCH operation
    needs a collation for the ordering operation

THREAD=ORDEREDSUBJECT:
    needs a collation for the SEARCH operation
    needs a collation for the base subject grouping (comparison) operation
    needs a collation for the base subject group ordering operation

THREAD=REFERENCES
    needs a collation for the SEARCH operation
    needs a collation for the base subject grouping (comparison) operation

So, SORT/THREAD use a minimum of two collations, and upto three in the case 
of ORDEREDSUBJECT. The question is whether these will ever need to be 
specified separately. I think it may be prudent to at least define two 
COMPARATORs, not one. One would be the active collation for comparisons, 
the other the active collation for ordering operations. One could argue 
that ORDEREDSUBJECT should use the active ordering collation for both base 
subject comparison and ordering. So we would have:

SORT:
    needs a collation for the SEARCH operation (active collation for 
compare)
    needs a collation for the ordering operation (active collation for 
ordering)

THREAD=ORDEREDSUBJECT:
    needs a collation for the SEARCH operation (active collation for 
compare)
    needs a collation for the base subject grouping operation (active 
collation for ordering)
    needs a collation for the base subject group ordering operation (active 
collation for ordering)

THREAD=REFERENCES
    needs a collation for the SEARCH operation (active collation for 
compare)
    needs a collation for the base subject grouping (comparison) operation 
(active collation for ordering)


-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGDmXim053833; Thu, 16 Nov 2006 06:48:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGDmXFd053832; Thu, 16 Nov 2006 06:48:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGDmWas053802 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 06:48:33 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGDmUQB012410 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:48:31 -0500
Message-ID: <455C6C2D.3000004@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 08:48:29 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: LANGUAGE/COMPARATOR review
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mostly nits, but a couple of corrections.


- Conventions and Normative reference [2]: The reference to RFC 2234 
should be updated to RFC 4234.

- Section 3 and Informative reference [16]: The reference to the 
"ANNOTATEMORE extension" should be updated to "METADATA extension".

- Section 3.4, first paragraph.  I don't really like the MUST and MUST 
NOT combination in the two sentences.  Could they be merged into one 
positive sentence something like the following?

     If the server supports the IMAP4 NAMESPACE command [4], and
     it is in the authenticated state, the server MUST return an
     untagged NAMESPACE response when a language is negotiated.


- Section 4, first paragraph, second sentence:  This should be changed 
to "The SORT and THREAD extensions [15] to IMAP allow ..."

- Section 4, third paragraph:  Since both of the currently defined 
THREADing algorithms sort by subject, both instances of "SEARCH and 
SORT" should be changed to either "SEARCH, SORT, and THREAD" or "SEARCH 
and SORT/THREAD".

- Section 4, fourth paragraph AND Section 4.1, third paragraph:  The 
THREAD=REFERENCES algorithm also sorts by subject, so this needs to be 
accounted for in the text.  It doesn't matter to me whether both 
THREADing algorithms are listed, or if the text just mentions THREAD in 
general.

- Section 5.1, second paragraph, second sentence:  "... the current 
latest ACL drafts." seems redundant.  I think one of either "current" or 
"latest" would suffice.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLgqZL013262; Wed, 15 Nov 2006 14:42:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLgqij013261; Wed, 15 Nov 2006 14:42:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLgpEi013246 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:42:52 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 6EBED4ACFE; Wed, 15 Nov 2006 22:42:50 +0100 (CET)
Message-Id: <pWkn4JXLc1nxjIczIXW/5w.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 22:43:31 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: METADATA review
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com> <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com> <455B8879.4060002@isode.com>
In-Reply-To: <455B8879.4060002@isode.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> Arnt Gulbrandsen wrote:
>> (Well, OK, I am dense. And you should expect many readers of the 
>> final RFC to be as dense as I am.)
>
> GETMETADATA is only for server specific attributes.

So I found when I looked again. As I said, I am dense.

22:42. I think I'll take my poor tired brain to the fireplace and look 
at flames for a while.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLcoH4012756; Wed, 15 Nov 2006 14:38:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLcoBM012753; Wed, 15 Nov 2006 14:38:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLcnDn012746 for <ietf-imapext@IMC.ORG>; Wed, 15 Nov 2006 14:38:50 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVuI6ABfY3M-@rufus.isode.com>; Wed, 15 Nov 2006 21:38:49 +0000
Message-ID: <455B88C8.1020302@isode.com>
Date: Wed, 15 Nov 2006 21:38:16 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Crispin <MRC@cac.washington.edu>
CC: IMAP Protocol Interest List <IMAP-Protocol@u.washington.edu>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: [Imap-protocol] ESEARCH extension (RFC 4731)
References: <alpine.WNT.0.1.0611141628430.3324@Tomobiki-Cho.CAC.Washington.EDU>
In-Reply-To: <alpine.WNT.0.1.0611141628430.3324@Tomobiki-Cho.CAC.Washington.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>

Mark Crispin wrote:

> How many client implementations of RFC 4731 are there currently?

"1 is the new 0."
(Where 1 is Polymer, which implements every known IMAP extension in the 
Universe ;-))



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLbV2s012588; Wed, 15 Nov 2006 14:37:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLbVfl012587; Wed, 15 Nov 2006 14:37:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLbUhK012580 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:37:30 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVuImQBfY0Y3@rufus.isode.com>; Wed, 15 Nov 2006 21:37:29 +0000
Message-ID: <455B8879.4060002@isode.com>
Date: Wed, 15 Nov 2006 21:36:57 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: METADATA review
References: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com> <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com>
In-Reply-To: <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Arnt Gulbrandsen writes:
>
>> It would be good to see some advice on when clients should issue LIST 
>> with a return option and when they should issue GETMETADATA. Maybe 
>> I'm dense, but there seems to be a lot of overlap and little to 
>> differentiate the two.
>
> (Well, OK, I am dense. And you should expect many readers of the final 
> RFC to be as dense as I am.)

GETMETADATA is only for server specific attributes.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLUXJF011413; Wed, 15 Nov 2006 14:30:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLUXqL011412; Wed, 15 Nov 2006 14:30:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLUWt5011398 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:30:33 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id D75584ACF7; Wed, 15 Nov 2006 22:30:31 +0100 (CET)
Message-Id: <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 22:31:13 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: METADATA review
Cc: Cyrus Daboo <cyrus@daboo.name>
References: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com>
In-Reply-To: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen writes:
> It would be good to see some advice on when clients should issue LIST 
> with a return option and when they should issue GETMETADATA. Maybe 
> I'm dense, but there seems to be a lot of overlap and little to 
> differentiate the two.

(Well, OK, I am dense. And you should expect many readers of the final 
RFC to be as dense as I am.)

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLQ6Ac010304; Wed, 15 Nov 2006 14:26:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLQ6Za010303; Wed, 15 Nov 2006 14:26:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLQ5hx010295 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:26:05 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 280694ACF7; Wed, 15 Nov 2006 22:26:04 +0100 (CET)
Message-Id: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 22:26:45 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: Cyrus Daboo <cyrus@daboo.name>
Subject: METADATA review
Cc: ietf-imapext@imc.org
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

that's a fine document. Not quite ready, but in very fine shape.

In random order:

In section 3.2.1.1 and the accompanying registration, it's not clear to 
me when the stored value is an URI and when it's free-format text. My 
suggestion would be to say that if it's free-format text it cannot 
contain ":".

One example has a value.priv for motd, which seems odd.

The examples should be numbered, so that when J. Random Programmer sends 
you mail, he can say "example 17" instead of "the top example on page 
13" (the latter is not clear anyway, since one example wraps from 12 to 
13). I love the large number of examples.

In 3.1, the first occurence of "the new commands" should be replaced by 
"SETMETADATA" and the second struck.

In 4.3.1 and 4.5, it's not clear to me when servers should send an 
unsolicited LIST response and when it should send a METADATA response. 
It's not even clear whether sending one is enough.

It would be good to see some advice on when clients should issue LIST 
with a return option and when they should issue GETMETADATA. Maybe I'm 
dense, but there seems to be a lot of overlap and little to 
differentiate the two.

In section 6.1, nothing says that when an RFC registers something, the 
registration must contain the RFC number.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLNHMc009674; Wed, 15 Nov 2006 14:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLNHPA009673; Wed, 15 Nov 2006 14:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLNGN1009666 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:23:17 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAFLNAAK013563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Nov 2006 13:23:10 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAFLNAt0012743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 15 Nov 2006 13:23:10 -0800
Date: Wed, 15 Nov 2006 13:23:10 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
In-Reply-To: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
Message-ID: <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.15.130933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus -

On Wed, 15 Nov 2006, Cyrus Daboo wrote:
> - In Section 1 it states that the server SHOULD support COMPARATOR if the 
> SORT extension is defined, but it does not explicitly state the same for 
> the THREAD extension. Since THREAD uses SEARCH and has a subject matching 
> step, I think it should also say SHOULD support COMPARATOR.

Would it be alright if this was simply generalized to "SORT and/or THREAD 
extension"?

> - In Section 2.1 it states that the 'base subject' algorithm must be used 
> when 'sorting by subject'. It does not explicitly state that it also needs 
> to be used when doing THREAD=ORDEREDSUBJECT and THREAD=REFERENCES - it 
> should.

Would it be alright if this was generalized to "sorting or threading by 
subject" (without having to specifically list threading algorithms)?

> - Currently the (expired) COMPARATOR extension states it applies to 
> THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later includes a 
> base subject comparison step, so COMPARATOR should be used for that too.

This is an issue in the COMPARATOR document, isn't it?

> - Its not clear in either SORT/THREAD or COMPARATOR how the active 
> comparator affects the base subject matching.

Could you elaborate on what you mean by this?  I was under the impression 
that it was clear that base subjects are compared the way anything else is 
compared.

> - Its not clear whether there will be a use case for different comparators 
> for the different steps in SORT/THREAD. e.g. would someone want to use a 
> case-sensitive comparator for the SEARCH portion, and then a 
> case-insensitive one for sort collation? What about having the active 
> comparator affect the base subject comparison too?

I hope not.  This strikes me as being horrible over-engineering.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG57Pv041122; Wed, 15 Nov 2006 09:05:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFG57pH041121; Wed, 15 Nov 2006 09:05:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG56nn041114 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 09:05:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAFG4vwo032522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Nov 2006 11:05:02 -0500
Date: Wed, 15 Nov 2006 11:04:52 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Expliciut IANA registartion of capability
Message-ID: <9F5DADC0171F3510CC9BA0A3@Cyrus-Daboo-G5.local>
In-Reply-To: <455B3824.3070406@isode.com>
References: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local> <455B3824.3070406@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 15, 2006 3:54:12 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> The following do not:
>>
>> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>
>
> Ah, we forgot about that. I will do that during AUTH48.

Actually IANA has been good about spotting IMAP extensions and updating the 
registry even when not explicitly stated - and in fact LIST-EXTENDED is 
already there, but it won't hurt to amend prior to rfc.

>> <http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.
>> txt>
>>
>
> Fixed in my copy.
>



-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG2w0i040629; Wed, 15 Nov 2006 09:02:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFG2w36040628; Wed, 15 Nov 2006 09:02:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG2uiK040621 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 09:02:57 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAFG2oYt032517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 11:02:53 -0500
Date: Wed, 15 Nov 2006 11:02:45 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Review of sort
Message-ID: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,
Following Lisa's request to review the sort draft wrt latest comparator 
updates, some issues:

- In Section 1 it states that the server SHOULD support COMPARATOR if the 
SORT extension is defined, but it does not explicitly state the same for 
the THREAD extension. Since THREAD uses SEARCH and has a subject matching 
step, I think it should also say SHOULD support COMPARATOR.

- In Section 2.1 it states that the 'base subject' algorithm must be used 
when 'sorting by subject'. It does not explicitly state that it also needs 
to be used when doing THREAD=ORDEREDSUBJECT and THREAD=REFERENCES - it 
should.

- References - the COMPARATOR and IMAP-I18N references should be update to 
point to their respective drafts.

Other issues:

- Currently the (expired) COMPARATOR extension states it applies to 
THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later includes a 
base subject comparison step, so COMPARATOR should be used for that too.

- Its not clear in either SORT/THREAD or COMPARATOR how the active 
comparator affects the base subject matching.

- Its not clear whether there will be a use case for different comparators 
for the different steps in SORT/THREAD. e.g. would someone want to use a 
case-sensitive comparator for the SEARCH portion, and then a 
case-insensitive one for sort collation? What about having the active 
comparator affect the base subject comparison too?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFsQeU038195; Wed, 15 Nov 2006 08:54:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFFsQq2038194; Wed, 15 Nov 2006 08:54:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFsPrV038186 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 08:54:26 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVs4MABfY3c3@rufus.isode.com>; Wed, 15 Nov 2006 15:54:24 +0000
Message-ID: <455B3824.3070406@isode.com>
Date: Wed, 15 Nov 2006 15:54:12 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Expliciut IANA registartion of capability
References: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
In-Reply-To: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
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:

> The following do not:
>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>

Ah, we forgot about that. I will do that during AUTH48.

> <http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.txt> 
>

Fixed in my copy.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFhMIY034884; Wed, 15 Nov 2006 08:43:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFFhMVF034879; Wed, 15 Nov 2006 08:43:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFhJ5E034858 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 08:43:22 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 14A814AC8C; Wed, 15 Nov 2006 16:43:18 +0100 (CET)
Message-Id: <NOqZKK9hfUZGmgKfhsEmTw.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 16:43:58 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Expliciut IANA registartion of capability
Cc: Cyrus Daboo <cyrus@daboo.name>
References: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
In-Reply-To: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> Hi folks,
> The GENART review of annotate brought it to my attention that there 
> was no explicit registration of the ANNOTATE-EXPERIMENT-1 capability. 
> There is text in the body that says the capability string is 
> ANNOTATE-EXPERIMENT-1.
>
> I think it makes sense to require all imap extension drafts to 
> explicitly state the capability registration in their IANA 
> Considerations section.
>
> Looking at current drafts, the following do that:
>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-sort/>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-enable-00.txt>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-inthread-00.txt>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-nostore-00.txt>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt>
> <http://www.ietf.org/internet-drafts/draft-melnikov-imapext-filters-00.txt>
> <http://www.ietf.org/internet-drafts/draft-melnikov-imapext-multimailbox-search-01.txt>

I'm a good boy ;)

FWIW, I also added a suitable considerations section in SASL-IR, which i 
took over from Rob and submitted earlier today. Review, please. I'll 
ask on the SASL list for review when the draft comes out, and perhaps 
Lisa will issue an IETF LC just before Christmas, to expire just after 
Christmas.

> The following do not:
>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-annotate/>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>
> <http://www.ietf.org/internet-drafts/draft-cridland-imap-context-00.txt>
> <http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.txt>
> <http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-10.txt>
>
> Also, 
> <http://www.ietf.org/internet-drafts/draft-melnikov-lemonade-imap-events-00.txt> 
> does not define any new capability name, but it does update the 
> behavior of IDLE, so I would like to see it listed in the registry as 
> updating IDLE (i.e. both it and RFC2177 listed).

In that case it should also say "Updates RFC 2177".

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFWvVq031815; Wed, 15 Nov 2006 08:32:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFFWvW6031814; Wed, 15 Nov 2006 08:32:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFWtGg031800 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 08:32:56 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAFFWnU8032384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 10:32:51 -0500
Date: Wed, 15 Nov 2006 10:32:43 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Expliciut IANA registartion of capability
Message-ID: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi folks,
The GENART review of annotate brought it to my attention that there was no 
explicit registration of the ANNOTATE-EXPERIMENT-1 capability. There is 
text in the body that says the capability string is ANNOTATE-EXPERIMENT-1.

I think it makes sense to require all imap extension drafts to explicitly 
state the capability registration in their IANA Considerations section.

Looking at current drafts, the following do that:

<http://tools.ietf.org/wg/imapext/draft-ietf-imapext-sort/>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-enable-00.txt>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-inthread-00.txt>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-nostore-00.txt>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt>
<http://www.ietf.org/internet-drafts/draft-melnikov-imapext-filters-00.txt>
<http://www.ietf.org/internet-drafts/draft-melnikov-imapext-multimailbox-search-01.txt>

The following do not:

<http://tools.ietf.org/wg/imapext/draft-ietf-imapext-annotate/>
<http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>
<http://www.ietf.org/internet-drafts/draft-cridland-imap-context-00.txt>
<http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.txt>
<http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-10.txt>

Also, 
<http://www.ietf.org/internet-drafts/draft-melnikov-lemonade-imap-events-00.txt> 
does not define any new capability name, but it does update the behavior of 
IDLE, so I would like to see it listed in the registry as updating IDLE 
(i.e. both it and RFC2177 listed).

I will go ahead and fix annotate and metadata.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAF0aUrk081887; Tue, 14 Nov 2006 17:36:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAF0aU6V081886; Tue, 14 Nov 2006 17:36:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAF0aT5o081875 for <ietf-imapext@IMC.ORG>; Tue, 14 Nov 2006 17:36:30 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAF0aSWE008235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Nov 2006 16:36:29 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAF0aSNY011068 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 14 Nov 2006 16:36:28 -0800
Date: Tue, 14 Nov 2006 16:34:24 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Protocol Interest List <IMAP-Protocol@U.Washington.EDU>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: ESEARCH extension (RFC 4731)
Message-ID: <alpine.WNT.0.1.0611141628430.3324@Tomobiki-Cho.CAC.Washington.EDU>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.14.162433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

How many client implementations of RFC 4731 are there currently?

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJOH4n031939; Tue, 14 Nov 2006 12:24:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJOH6a031938; Tue, 14 Nov 2006 12:24:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJOGGZ031931 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:24:17 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVoX3wBg717C@rufus.isode.com>; Tue, 14 Nov 2006 19:24:15 +0000
Message-ID: <455A17CD.404@isode.com>
Date: Tue, 14 Nov 2006 19:23:57 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Philip Guenther <guenther+imap@sendmail.com>
CC: ietf-imapext@imc.org
Subject: Plus addressing and Sieve
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com> <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

[Continuation of this particular topic should go to the Sieve mailing list]

Philip Guenther wrote: 

>> In my implementation POSTADDRESS returns a "plus address". When a 
>> "plus address" is processed on mail delivery, it changes the default 
>> mailbox used by the keep action to the mailbox associated with the 
>> plus address.
>
> Boggle.  So, to keep people from filing messages into random mailboxes 
> (e.g., incriminating evidence into your 'Sent' mailbox), your sieve 
> script has to explicitly check with envelope :detail and use fileinto 
> "INBOX"? That seems non-optimal to me.

IMHO, this seems to be the common case for us. In order to enable use of 
a new plus address, the user only needs to create a new mailbox in IMAP.

Also this demonstrates why we don't create mailboxes automatically.

>   It would also seem to conflict with this text in RFC 3028 and 3028bis:
>
>    For instance, in an implementation where the IMAP server is running
>    scripts on behalf of the user at time of delivery, a keep command is
>    equivalent to a fileinto "INBOX".
>
> Yeah, there's no 2119 keywords in there, still...

One more thing to tweak in 3028bis.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIag3031130; Tue, 14 Nov 2006 12:18:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJIXmm031124; Tue, 14 Nov 2006 12:18:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIWCv031113 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:18:33 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVoWhQBg7xav@rufus.isode.com>; Tue, 14 Nov 2006 19:18:29 +0000
Message-ID: <455A1673.6010500@isode.com>
Date: Tue, 14 Nov 2006 19:18:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Ken Murchison <murch@andrew.cmu.edu>
CC: Dave Cridland <dave@cridland.net>, Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu>
In-Reply-To: <45590E49.8060703@andrew.cmu.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison wrote:

> Dave Cridland wrote:
>
>> On Mon Nov 13 21:55:04 2006, Ken Murchison wrote:
>>
>>> The value is going to be returned via LISTEXT either way, but I 
>>> don't see why we need to add a new LISTEXT return option when we 
>>> already have METADATA, which seems to be a perfect fit.
>>
>> What are LISTEXT return options *for*, then? (Other than to support 
>> METADATA).
>
> I agree with this in principal, but ...
>
>> LISTEXT itself is designed to be the basis for "new" LISTable data, I 
>> don't see why METADATA should be mandated for everything as well. 
>> Otherwise we've really screwed up with going through LISTEXT, and we 
>> should have incorporated METADATA directly in LISTEXT.
>
> ... do we want to create a new return option for every piece of 
> metadata that we come up with?

No, people should use one or the other. However it is perfectly fine if 
both share the same data store.

>   Cyrus IMAP uses several vendor-specific mailbox annotations, should 
> we create return options for them?

If they are read-write, then metadata is a much better fit for them.

For things that are generated on the fly, it would be better to use 
LISTEXT. IMHO, LISTEXT would be better for things like sum of messages, 
and other STATUS-like data.

Things that are generated once on first access and then stored, METADATA 
is Ok. However this is getting into the grey area between METADATA and 
LISTEXT. Purely read-only things are also in the grey area.

And remember about difficulty of implementing METADATA on servers. 
LISTEXT might be already difficult to implement, but unlike METADATA it 
doesn't require any additional attribute storage facilities from the 
mailstore.

(I might be repeating myself at this point)

> I wouldn't have a stroke if the WG decided to make POSTADDRESS a 
> return option, but I think METADATA is a better fit.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIamJ031127; Tue, 14 Nov 2006 12:18:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJIYWI031125; Tue, 14 Nov 2006 12:18:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIS4g031105 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:18:32 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 1B1514ACBB; Tue, 14 Nov 2006 20:18:27 +0100 (CET)
Message-Id: <oLFxyP472jLS2hrw7tZ2nw.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 20:19:02 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Cc: Philip Guenther <guenther+imap@sendmail.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net> <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local> <Pine.BSO.4.64.0611141158360.21694@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611141158360.21694@vanye.mho.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther writes:
> Well, I think that's what Mark Crispin's reference to using titlecase 
> for SEARCH was aiming for: if you convert all text to titlecase for 
> comparison, then your search term has to be a prefix match word-wise.

Assuming the word uses a script which has two (or more) cases and a 
locale where where titlecase uses a mixture. It works for English, but 
not for German, Hebrew or Hindi.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJC7IJ030077; Tue, 14 Nov 2006 12:12:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJC6vn030075; Tue, 14 Nov 2006 12:12:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJC2Pv030067 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:12:04 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id E08C54ACBA; Tue, 14 Nov 2006 20:12:01 +0100 (CET)
Message-Id: <qVPgI42G6i4TGxJs9vKkJg.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 20:12:37 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>, Dave Cridland <dave@cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local> <24923.1163520699.637280@peirce.dave.cridland.net> <455A07BD.8060003@isode.com>
In-Reply-To: <455A07BD.8060003@isode.com>
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> I guess I am not opposed to this change. But I would like other opinions.

IMO, using mailto URIs in this case is compliant with RFC 1925 6(a).

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ5A9G028886; Tue, 14 Nov 2006 12:05:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJ5AK6028885; Tue, 14 Nov 2006 12:05:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ59Kx028878 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:05:10 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAEJ4vDK018819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 11:05:00 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAEJ4vDK018819
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163531102; bh=50qjljr29K8QVpzdFQqcXwftNAs=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=d1Aq8EFwz7TgBp4X 5dPSFYjEGT74Rlj7NoqJZmuL66xODsHDCVV4Gi6dY5VA/t6K2vfKzUAcS/e3/hRAv63 sqvlOp1A932ZVwvimzL/OKDnq0iou+UQJpjfsBM8EaeuKfkWGxo6dqEFiy2LGKY1ntj 1T+m8qDkyzaHO9y3683/8=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAEJ4vDK018819
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=pgt38VcHg+VqQ0K3FO7FUuDjG626l3ETuVhkPtf7+BMFLS/Z9S1a3OrE6IvhB7KTe AJbFFThUFwXomhNOYzY/t10BnZAv6KXWA5mIFKxcXuctKuE0ODynXJ+4QLrhkazOWNk LrWD4PdypGsgSHmhbDjn/x8oWiY45tQ+4DU/5yA=
Date: Tue, 14 Nov 2006 12:04:57 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Cyrus Daboo <cyrus@daboo.name>
cc: ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
In-Reply-To: <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
Message-ID: <Pine.BSO.4.64.0611141158360.21694@vanye.mho.net>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net> <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 14 Nov 2006, Cyrus Daboo wrote:
> --On November 14, 2006 4:41:32 PM +0000 Dave Cridland <dave@cridland.net> 
> wrote:
...
>> But it won't work, because you're enforcing behaviour that comparators
>> cannot supply. If comparators could do word matching, then they'd be
>> doing it in a localized fashion.
>
> OK - good point. And I guess its not possible to define a comparator that 
> "knows" about words?

Well, I think that's what Mark Crispin's reference to using titlecase for 
SEARCH was aiming for: if you convert all text to titlecase for 
comparison, then your search term has to be a prefix match word-wise. 
That is, searching for "fred" won't match "alfred", but it will match 
"fredrick".


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ2Ncj028624; Tue, 14 Nov 2006 12:02:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJ2N58028623; Tue, 14 Nov 2006 12:02:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ2JIQ028611 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:02:22 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id B9C5F4AD10; Tue, 14 Nov 2006 20:02:18 +0100 (CET)
Message-Id: <5WIpFnvGf2ORDy643n7k1w.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 20:02:54 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>, Dave Cridland <dave@cridland.net>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net> <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
In-Reply-To: <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> OK - good point. And I guess its not possible to define a comparator 
> that "knows" about words?

It could be done, for some approximation of "word", but it would be more 
than a little tricky and even I am not fool enough to write such a 
draft.

There are two basic problems. 1: The upcoming collation RFC explicitly 
does not concern itself with data structures other than strings of 
characters/octets. What you want is a collation that operates on a 
sequence of words and separating matter, AKA a list of (character 
string, pre/postfix) tuples. 2: Finding a definition of word equality 
that's both computationally practical and widely usable could be be a 
bit of a challenge. Locale differences aren't the only problem.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEIFiUC022408; Tue, 14 Nov 2006 11:15:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEIFiLM022407; Tue, 14 Nov 2006 11:15:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEIFgUx022401 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 11:15:43 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVoHzABg7w9l@rufus.isode.com>; Tue, 14 Nov 2006 18:15:40 +0000
Message-ID: <455A07BD.8060003@isode.com>
Date: Tue, 14 Nov 2006 18:15:25 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
CC: Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local> <24923.1163520699.637280@peirce.dave.cridland.net>
In-Reply-To: <24923.1163520699.637280@peirce.dave.cridland.net>
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>

Dave Cridland wrote:

> On Tue Nov 14 16:00:30 2006, Cyrus Daboo wrote:
>
>> Should the value returned by POSTADDRESS (or METADATA annotation 
>> equivalent) be a mailto URI rather than an email address? One reason 
>> might be to be compatible with any future eai changes (given that eai 
>> would likely revise the mailto URI to include ascii alt addresses 
>> etc) without the need to revise POSTADDRESS to support a new data 
>> format.
>
> Interesting thought, but no. Mailto scheme URIs are instructions for 
> the message composer I feel, whereas we want "a thing which can be 
> used in a RCPT TO command".
>
> Most particularly, "mailto:foo@bar.org" implies that there will be a 
> header "To: foo@bar.org" (IMHO) which we'd never want (IMHO), and 
> there's a whole can of worms waiting to be opened when we start 
> considering query parts of mailto URIs.

True, but URL use differs depending on context.

Don't you want to get "submission via web" for free ;-)?

I guess I am not opposed to this change. But I would like other opinions.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHUD5i014348; Tue, 14 Nov 2006 10:30:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEHUDXh014347; Tue, 14 Nov 2006 10:30:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHUCRO014340 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 10:30:13 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEHU6rQ029343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 12:30:09 -0500
Date: Tue, 14 Nov 2006 12:30:01 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>
cc: Alexey Melnikov <alexey.melnikov@isode.com>, ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Message-ID: <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
In-Reply-To: <24923.1163522493.494781@peirce.dave.cridland.net>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 14, 2006 4:41:32 PM +0000 Dave Cridland <dave@cridland.net> 
wrote:

>> IS - exact match
>> CONTAINS - substring match
>> GT - greater than relational match
>> GE - greater or equal relational match
>> LE - less or equal relational match
>> LT - less than relational match
>> EQ - equal relational match
>> NE - not equal relation match
>
> Why use different terms to those used elsewhere? You might as well copy
> the names from, erm, elsewhere. (EQUAL, COMPARE, COMPARESTRICT,
> SUBSTRING, PREFIX, and NOT, OR, and AND).
>
> Why do you need both GE and LT? You can use COMPARE and COMPARESTRICT,
> and to reverse the ordering use the -ve comparator as, erm, elsewhere
> does.

I have chosen to use the SIEVE terminology here which I feel is 
appropriate. SIEVE relational also defines the full set i.e. GE & LT are 
present.

>
>> WORD - exact match on whole word (a word is a space or comma
>> separated token)
>>
>> Note that the WORD match type is an attempt to address the
>> multi-valued attribute issue.
>>
>>
> But it won't work, because you're enforcing behaviour that comparators
> cannot supply. If comparators could do word matching, then they'd be
> doing it in a localized fashion.

OK - good point. And I guess its not possible to define a comparator that 
"knows" about words?

> I think if we want unordered lists made of up individually searchable
> items, then let's simply copy multivalued attribute behaviour from, erm,
> elsewhere.

Again I think multi-valued attributes would make the protocol even more 
complex.

The alternative is to simply use a "hierarchy" of entries to emulate 
multiple values. e.g., use "/tags" as the root of a hierarchy and then 
define "/tag/1", "/tag/2" etc. Using the wildcard matching allowed for 
entry names it is then possible to find a mailbox with an exact "/tag/.." 
value match. Its a little more work for the client to manage the entry 
hierarchy, but they would have to do some of that work anyway for 
multi-values. This would be my preference to resolve this issue.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHI7qQ011892; Tue, 14 Nov 2006 10:18:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEHI7ld011890; Tue, 14 Nov 2006 10:18:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHI5hG011876 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 10:18:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEHHxVo029324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 12:18:02 -0500
Date: Tue, 14 Nov 2006 12:17:54 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: METADATA review
Message-ID: <21B32D75AE9D23E4E7D8F3F2@Cyrus-Daboo-G5.local>
In-Reply-To: <4559EC95.80203@andrew.cmu.edu>
References: <4559EC95.80203@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 14, 2006 11:19:33 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

>
> Mostly nits, but a few corrections.  I might catch more stuff when I
> update my implementation from -07 syntax.
>
>
> - As a general note, "LISTEXT" is now "LIST-EXTENDED" and all instances
> of the former should probably be replaced with the latter.

Fixed.

> - Section 1, bullet 6: "typer" -> "type"

Fixed.

> - Section 3.1, paragraph 1, second sentence:  Since the only command used
> to set annotations is SETANNOTATION, should the two instances of "new
> commands" be changed to "new command"?

Fixed.

> - Section 3.2.1.2: Mailbox entries are also used with the LIST-EXTENDED
> return option.  The sentence should probably mention this.

Fixed.

> - As a general comment regarding examples: Should the text mention that
> spacing and line breaks are added to examples for readability?

Added a comment in the 'Conventions' section.

> - Section 4.2, example 3: parens in response don't match ABNF.
> Replacement text:
>
>     Example:
>
>             C: a GETMETADATA /% value
>             S: * METADATA /comment (value.priv "My comment"
>                                     value.shared "Your comment")
>                           /motd (value.priv "Its sunny outside!"
>                                  value.shared "Today is a Holiday")
>             S: a OK GETMETADATA complete
>
>
> - Section 4.3, example 3: parens in response don't match ABNF.
> Replacement text:
>
>     Example:
>
>             C: a LIST "" "INBOX" RETURN (METADATA /% value)
>             S: * LIST "/" "INBOX"
>                     (METADATA /comment (value.priv "My comment"
>                                         value.shared "Your comment")
>                               /motd (value.priv "Its sunny outside!"
>                                      value.shared "Today is a Holiday"))
>             S: a OK LIST complete

Yup - many of the LIST examples were missing parens - should all be fixed 
now.

Thanks.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGo8Pn006201; Tue, 14 Nov 2006 09:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGo8Qt006200; Tue, 14 Nov 2006 09:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGo6P9006184 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:50:07 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnzvQBg77KV@rufus.isode.com>; Tue, 14 Nov 2006 16:50:05 +0000
Message-ID: <4559F3B4.10209@isode.com>
Date: Tue, 14 Nov 2006 16:49:56 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Ken Murchison <murch@andrew.cmu.edu>
CC: ietf-imapext@imc.org
Subject: Re: METADATA review
References: <4559EC95.80203@andrew.cmu.edu>
In-Reply-To: <4559EC95.80203@andrew.cmu.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison wrote:

> - Section 4.3, example 3: parens in response don't match ABNF. 
> Replacement text:
>
>    Example:
>
>            C: a LIST "" "INBOX" RETURN (METADATA /% value)

This should be
           C: a LIST "" "INBOX" RETURN (METADATA (/% value))

>            S: * LIST "/" "INBOX"
>                    (METADATA /comment (value.priv "My comment"
>                                        value.shared "Your comment")
>                              /motd (value.priv "Its sunny outside!"
>                                     value.shared "Today is a Holiday"))

Should be:

                   (METADATA (/comment (value.priv "My comment"
                                       value.shared "Your comment")
                             /motd (value.priv "Its sunny outside!"
                                    value.shared "Today is a Holiday")))

>            S: a OK LIST complete

If ABNF doesn't match, it needs to be updated too.





Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGfl6b004510; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGflhD004509; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGfkef004502 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:41:46 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1Gk1M0-0007jh-5F; Tue, 14 Nov 2006 16:41:44 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id D3BD8498005; Tue, 14 Nov 2006 16:53:11 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01703-02; Tue, 14 Nov 2006 16:53:01 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id ADE91498003; Tue, 14 Nov 2006 16:53:01 +0000 (GMT)
Date: Tue, 14 Nov 2006 16:41:32 +0000
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Message-Id: <24923.1163522493.494781@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 14 15:07:47 2006, Cyrus Daboo wrote:
> 
> Hi Alexey,
> Thanks for your comments.
> 
> --On November 9, 2006 6:42:11 PM -0800 Alexey Melnikov 
> <alexey.melnikov@isode.com> wrote:
> 
>> Below are some major issues with the document:
>> 
>> 1). ACAP/LDAP both allow for multivalued attributes. The METADATA 
>> doesn't
>> support them.
>> 
>> In Lemonade WG we were talking about mailbox tags, which would be 
>> easy to
>> implement with unordered multivalued attributes, where each value
>> contains one of the predefined tags. This make it easier for 
>> clients to
>> search / update a single value.
>> 
>> 2). There is no way to have exact match when searching for an 
>> annotation
>> value. Once again, this would make searching for mailbox tags much 
>> easier.
>> During the IMAPEXT meeting Cyrus said that both ANNOTATEMORE and 
>> the
>> SEARCH command itself are suffering from the same issue and that we
>> should fix this everywhere.
>> 
>> This is a fair argument and I would like to work on a solution to 
>> this.
>> However I think we need to at least do some minimal changes to the
>> METADATA selection option syntax to make this work.
> 
> OK - first off METADATA is currently lacking comparator support. 
> The problem here is that, unlike SEARCH/SORT/THREAD, we likely 
> cannot get by with using the default or active comparator, because 
> in general one might want one comparator for mailbox names and 
> another for METADATA items. So I think we need to have an explicit 
> comparator parameter as part of the METADATA select option in 
> LISTEXT.
> 
> If we do that then we might as well add a match type parameter as 
> well. This could have values:
> 
> IS - exact match
> CONTAINS - substring match
> GT - greater than relational match
> GE - greater or equal relational match
> LE - less or equal relational match
> LT - less than relational match
> EQ - equal relational match
> NE - not equal relation match

Why use different terms to those used elsewhere? You might as well 
copy the names from, erm, elsewhere. (EQUAL, COMPARE, COMPARESTRICT, 
SUBSTRING, PREFIX, and NOT, OR, and AND).

Why do you need both GE and LT? You can use COMPARE and 
COMPARESTRICT, and to reverse the ordering use the -ve comparator as, 
erm, elsewhere does.


> WORD - exact match on whole word (a word is a space or comma 
> separated token)
> 
> Note that the WORD match type is an attempt to address the 
> multi-valued attribute issue.
> 
> 
But it won't work, because you're enforcing behaviour that 
comparators cannot supply. If comparators could do word matching, 
then they'd be doing it in a localized fashion.

I think if we want unordered lists made of up individually searchable 
items, then let's simply copy multivalued attribute behaviour from, 
erm, elsewhere.

Although I'd also say that if we want ACAP...

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGflJL004518; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGflOl004517; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from msa.uoa.gr (msa.uoa.gr [195.134.100.72]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGfkJB004478 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from avel@noc.uoa.gr)
Received: by MSA with id 8EF3AA5AF16C68E7A28C3F4F86EFD10D09728683
Received: from localhost (null.noc.uoa.gr [195.134.100.40]) (authenticated bits=0) by msa.uoa.gr (8.12.11/8.12.11) with ESMTP id kAEGfT3k001217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 14 Nov 2006 18:41:29 +0200 (EET)
Date: Tue, 14 Nov 2006 18:47:24 +0200
From: Alexandros Vellis <avel@noc.uoa.gr>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-Id: <20061114184724.c230ea50.avel@noc.uoa.gr>
In-Reply-To: <945B2769CF404DFC5F94BBE4@Cyrus-Daboo-G5.local>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <945B2769CF404DFC5F94BBE4@Cyrus-Daboo-G5.local>
Organization: National & Kapodistrian University of Athens
X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.10.6; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-UoAMSAId: 8EF3AA5AF16C68E7A28C3F4F86EFD10D09728683
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, 14 Nov 2006 10:18:04 -0500
Cyrus Daboo <cyrus@daboo.name> wrote:

> > * a capability string is already available. I want, as a client, to
> > know that possibility for POSTADDRESS values exist, instead of throwing
> > a metadata search or a massive GETMETADATA * everytime. Sure, one can
> > make post-address value available through METADATA and write a draft to
> > declare the capability name, but is it worth the hassle?
> 
> Well, even if POSTADDRESS is present as a capability, that is no guarantee 
> that a POSTADDRESS value will be returned. Some mailboxes may not support 
> that capability at all, e.g., ones without the 'p' right. So you already 
> have to 'probe' for this value.

Postaddress scenario:

(CAPABILITY "POSTADDRESS" detected)
LIST "" "Root.%" RETURN (POSTADDRESS REMOTE)

Metadata #1:
LIST "" "Root.%" RETURN (REMOTE METADATA /postaddress value.priv)


Similar, really. No?


Metadata #2:
LIST "Root.%" RETURN (REMOTE)
GETMETADATA "Root.%" /postaddress value.priv


The problem in Metadata #1 & #2 is that we need the capability string
in there too, in order to probe for the value. Otherwise, how can we be
sure that the system's mail routing allows for emails directed to a
specific folder, to issue that in the first place? So for me the
"POSTADDRESS" capability is a given and my first point isn't that
strong now. :)

 
> > * the post address for a mailbox is a somewhat important item. It's
> > very close to the mailbox name (standard LIST response stuff...) and
> > mailbox location (equivalent to REMOTE LISTEXT return option).
> > POSTADDRESS fits well together with these. METADATA OTOH is fine for
> > stuff like expiration, descriptions, tags...
> Up until now, and with the exception of METADATA, LISTEXT responses have 
> all been simple flags or tokens. 
(snip)

Yes. The LIST (REMOTE) equivalent of "having the POSTADDRESS value in
the LIST response" would be "returning the IMAP URL of a REMOTE mailbox
in the LIST response".

Did that make sense? I mean, if we want to display location-related
data in LIST response, then we would have to display the postaddress
value when asked to return POSTADDRESS, and the IMAP URL when asked to
return REMOTE. But we do not do that, and I recall there was
at some point discussion or a draft about returning IMAP URLs in the
LIST response.

With regard to REMOTE: Currently, to learn the actual location, one has
to SELECT or EXAMINE in order to trigger the referral. To get ahead of
this, in Cyrus Murder for example, one can get a mailbox's /server
and /partition annotation and get information about the IMAP server
that a mailbox belongs to.

But there is no equivalent in IMAP protocol with regard to POSTADDRESS,
because there are no post commands in IMAP. So, the "correct" place to
store this information *could* be the Metadata store.

To summarize, both ways are fine for me (speaking as a MUA);
however, the correct design decision between the two is IMHO a bit
unclear given the nature of the problem.

Earlier today I would say leave it as is, now I'm thinking of a
document more similar to draft-melnikov-imapext-filters, which
describes a capability and a mailbox annotation instead of a capability
and a LIST option/response.


> > That said, I wouldn't mind seeing *both* methods be available. Keep the
> > LIST-EXTENDED response as the authoritative, provide informational text
> > such as:
(snip)
> I don't like the idea of having the information available in two places.

The information is not in two places; it can simply be retrieved via two
different ways.

That said, providing both of them, I agree with Alexey, is a bit of an
overkill.

-- 
Alexandros Vellis



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGV0rR002520; Tue, 14 Nov 2006 09:31:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGV0ST002519; Tue, 14 Nov 2006 09:31:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGUxoL002512 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:30:59 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEGUpKg029202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 11:30:54 -0500
Date: Tue, 14 Nov 2006 11:30:43 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <040F5463D2A588E64860442B@Cyrus-Daboo-G5.local>
In-Reply-To: <24923.1163520699.637280@peirce.dave.cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local> <24923.1163520699.637280@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 14, 2006 4:11:37 PM +0000 Dave Cridland <dave@cridland.net> 
wrote:

>> Should the value returned by POSTADDRESS (or METADATA annotation
>> equivalent) be a mailto URI rather than an email address? One
>> reason might be to be compatible with any future eai changes (given
>> that eai would likely revise the mailto URI to include ascii alt
>> addresses etc) without the need to revise POSTADDRESS to support a
>> new data format.
>
> Interesting thought, but no. Mailto scheme URIs are instructions for the
> message composer I feel, whereas we want "a thing which can be used in a
> RCPT TO command".

I do think the MUA will want to use it directly as per comment below.

> Most particularly, "mailto:foo@bar.org" implies that there will be a
> header "To: foo@bar.org" (IMHO) which we'd never want (IMHO), and there's
> a whole can of worms waiting to be opened when we start considering query
> parts of mailto URIs.

Not true about To: - if the mailbox represents a shared mailbox or a 
news-2-mail gateway then I might want to directly send email to it. In fact 
I thought the news use case was a key one for CMU server implementations.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGJbIw099145; Tue, 14 Nov 2006 09:19:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGJbET099144; Tue, 14 Nov 2006 09:19:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGJZKE099137 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:19:36 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAEGJYPN032042 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 11:19:35 -0500
Message-ID: <4559EC95.80203@andrew.cmu.edu>
Date: Tue, 14 Nov 2006 11:19:33 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: METADATA review
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mostly nits, but a few corrections.  I might catch more stuff when I 
update my implementation from -07 syntax.


- As a general note, "LISTEXT" is now "LIST-EXTENDED" and all instances 
of the former should probably be replaced with the latter.

- Section 1, bullet 6: "typer" -> "type"

- Section 3.1, paragraph 1, second sentence:  Since the only command 
used to set annotations is SETANNOTATION, should the two instances of 
"new commands" be changed to "new command"?

- Section 3.2.1.2: Mailbox entries are also used with the LIST-EXTENDED 
return option.  The sentence should probably mention this.

- As a general comment regarding examples: Should the text mention that 
  spacing and line breaks are added to examples for readability?

- Section 4.2, example 3: parens in response don't match ABNF. 
Replacement text:

    Example:

            C: a GETMETADATA /% value
            S: * METADATA /comment (value.priv "My comment"
                                    value.shared "Your comment")
                          /motd (value.priv "Its sunny outside!"
                                 value.shared "Today is a Holiday")
            S: a OK GETMETADATA complete


- Section 4.3, example 3: parens in response don't match ABNF. 
Replacement text:

    Example:

            C: a LIST "" "INBOX" RETURN (METADATA /% value)
            S: * LIST "/" "INBOX"
                    (METADATA /comment (value.priv "My comment"
                                        value.shared "Your comment")
                              /motd (value.priv "Its sunny outside!"
                                     value.shared "Today is a Holiday"))
            S: a OK LIST complete


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGBuB8097634; Tue, 14 Nov 2006 09:11:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGBuse097633; Tue, 14 Nov 2006 09:11:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGBtwY097627 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:11:55 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1Gk0t7-00016y-Kb; Tue, 14 Nov 2006 16:11:53 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 594EF498006; Tue, 14 Nov 2006 16:23:21 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01368-03; Tue, 14 Nov 2006 16:23:07 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 9C941498004; Tue, 14 Nov 2006 16:23:07 +0000 (GMT)
Date: Tue, 14 Nov 2006 16:11:37 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local>
In-Reply-To: <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Message-Id: <24923.1163520699.637280@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 14 16:00:30 2006, Cyrus Daboo wrote:
> Should the value returned by POSTADDRESS (or METADATA annotation 
> equivalent) be a mailto URI rather than an email address? One 
> reason might be to be compatible with any future eai changes (given 
> that eai would likely revise the mailto URI to include ascii alt 
> addresses etc) without the need to revise POSTADDRESS to support a 
> new data format.

Interesting thought, but no. Mailto scheme URIs are instructions for 
the message composer I feel, whereas we want "a thing which can be 
used in a RCPT TO command".

Most particularly, "mailto:foo@bar.org" implies that there will be a 
header "To: foo@bar.org" (IMHO) which we'd never want (IMHO), and 
there's a whole can of worms waiting to be opened when we start 
considering query parts of mailto URIs.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEG0gQm095312; Tue, 14 Nov 2006 09:00:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEG0gwO095311; Tue, 14 Nov 2006 09:00:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEG0f31095304 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:00:42 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEG0ZHD029111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 11:00:38 -0500
Date: Tue, 14 Nov 2006 11:00:30 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local>
In-Reply-To: <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>  <4558E9B8.5060705@andrew.cmu.edu>  <24923.1163458236.013258@peirce.dave.cridland.net>  <5E90058DFDABBB152C234927@ninevah.local>  <20061114101116.9d14feb4.avel@noc.uoa.gr>  <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,
Should the value returned by POSTADDRESS (or METADATA annotation 
equivalent) be a mailto URI rather than an email address? One reason might 
be to be compatible with any future eai changes (given that eai would 
likely revise the mailto URI to include ascii alt addresses etc) without 
the need to revise POSTADDRESS to support a new data format.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFw473094853; Tue, 14 Nov 2006 08:58:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFw4KG094852; Tue, 14 Nov 2006 08:58:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFw3pj094844 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:58:04 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFvqoI029093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:57:56 -0500
Date: Tue, 14 Nov 2006 10:57:46 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <0138E602F9F0970879870321@Cyrus-Daboo-G5.local>
In-Reply-To: <4559E577.8080804@isode.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local> <4559E577.8080804@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 14, 2006 3:49:11 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> There is nothing in METADATA that says a value has to remain constant
>> over the lifetime of the mailbox. The fact is you will have to compute
>> the value for POSTADDRESS based on the mailbox name anyhow, so it
>> would be fine to have to do that in METADATA too.
>
> Question: is it meaningful to have value.priv and value.shared for
> "postaddress represented as annotation"?
>

They would both return the same value. Since the annotation would be 
read-only there is no way for a user to make them different. Of course that 
begs the question of whether there should be a way for a user to override 
the default set by the server. e.g. lets say I setup a sieve script to do 
filtering using some other criteria. I might want to change the postaddress 
to something else that the script detects. However, I don't think this is 
important enough to have.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFpDLQ093338; Tue, 14 Nov 2006 08:51:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFpDlD093337; Tue, 14 Nov 2006 08:51:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFpBL4093331 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:51:12 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFp0aE029067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:51:03 -0500
Date: Tue, 14 Nov 2006 10:50:55 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-imapext@imc.org
cc: Alexandros Vellis <avel@noc.uoa.gr>, Dave Cridland <dave@cridland.net>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local>
In-Reply-To: <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>  <4558E9B8.5060705@andrew.cmu.edu>  <24923.1163458236.013258@peirce.dave.cridland.net>  <5E90058DFDABBB152C234927@ninevah.local>  <20061114101116.9d14feb4.avel@noc.uoa.gr>  <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 14, 2006 12:18:51 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

> The METADATA draft needs to explain what it's meant for. Explain what the
> permissible effects on metadata of wrenching changes such as mailbox
> renames, name/mailbox changes (delete followed by create or rename b->c
> followed by rename a->b) and uidvalidity changes are.

Section 4.1 already describes what happens when a rename or delete occurs. 
I will also add a paragraph there to explain that some values may be 
read-only or "computed". Proposed text:

   Some annotations may be "read-only" - i.e. they are set by the server
   and cannot be changed by the client.  Also, such annotations may be
   "computed" - i.e. the value changes based on underlying properties of
   the mailbox.  For example, an annotation reporting the total size of
   all messages in the mailbox would change as messages are added or
   removed.  Or, an annotation containing an IMAP URL for the mailbox
   would change if the mailbox was renamed.

I don't see how a uidvalidty change would have any effect on metadata.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFnKtT092765; Tue, 14 Nov 2006 08:49:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFnKWT092764; Tue, 14 Nov 2006 08:49:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFnJBG092757 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:49:19 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnlfQBg78TF@rufus.isode.com>; Tue, 14 Nov 2006 15:49:17 +0000
Message-ID: <4559E577.8080804@isode.com>
Date: Tue, 14 Nov 2006 15:49:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local>
In-Reply-To: <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:

> Hi Dave,
>
> --On November 14, 2006 11:04:52 AM +0000 Dave Cridland 
> <dave@cridland.net> wrote:
>
>> But a caveat - I see METADATA to be "stuff about a mailbox which will 
>> not
>> change if the mailbox is renamed", whereas POSTADDRESSes almost 
>> certainly
>> will change for many implementations (including Isode's) on a rename.
>
> There is nothing in METADATA that says a value has to remain constant 
> over the lifetime of the mailbox. The fact is you will have to compute 
> the value for POSTADDRESS based on the mailbox name anyhow, so it 
> would be fine to have to do that in METADATA too.

Question: is it meaningful to have value.priv and value.shared for 
"postaddress represented as annotation"?



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFW3pQ088157; Tue, 14 Nov 2006 08:32:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFW3DJ088156; Tue, 14 Nov 2006 08:32:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFW2mW088149 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:32:03 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFVsCv028991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:31:57 -0500
Date: Tue, 14 Nov 2006 10:31:48 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>, Alexandros Vellis <avel@noc.uoa.gr>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local>
In-Reply-To: <24923.1163502293.636808@peirce.dave.cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 14, 2006 11:04:52 AM +0000 Dave Cridland <dave@cridland.net> 
wrote:

> But a caveat - I see METADATA to be "stuff about a mailbox which will not
> change if the mailbox is renamed", whereas POSTADDRESSes almost certainly
> will change for many implementations (including Isode's) on a rename.

There is nothing in METADATA that says a value has to remain constant over 
the lifetime of the mailbox. The fact is you will have to compute the value 
for POSTADDRESS based on the mailbox name anyhow, so it would be fine to 
have to do that in METADATA too.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFIMDO084738; Tue, 14 Nov 2006 08:18:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFIMQk084729; Tue, 14 Nov 2006 08:18:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFIG0X084687 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:18:18 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFI9l8028956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:18:12 -0500
Date: Tue, 14 Nov 2006 10:18:04 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexandros Vellis <avel@noc.uoa.gr>, ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <945B2769CF404DFC5F94BBE4@Cyrus-Daboo-G5.local>
In-Reply-To: <20061114101116.9d14feb4.avel@noc.uoa.gr>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>	<4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>	<4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexandros,

--On November 14, 2006 10:11:16 AM +0200 Alexandros Vellis 
<avel@noc.uoa.gr> wrote:

>> I doubt that any client will do
>> a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.
>
> Why not? :-)
>
> While I would normally see METADATA as a better fit myself, there are
> things I like regarding the LIST-EXTENDED method:
>
> * a capability string is already available. I want, as a client, to
> know that possibility for POSTADDRESS values exist, instead of throwing
> a metadata search or a massive GETMETADATA * everytime. Sure, one can
> make post-address value available through METADATA and write a draft to
> declare the capability name, but is it worth the hassle?

Well, even if POSTADDRESS is present as a capability, that is no guarantee 
that a POSTADDRESS value will be returned. Some mailboxes may not support 
that capability at all, e.g., ones without the 'p' right. So you already 
have to 'probe' for this value.

> * the post address for a mailbox is a somewhat important item. It's
> very close to the mailbox name (standard LIST response stuff...) and
> mailbox location (equivalent to REMOTE LISTEXT return option).
> POSTADDRESS fits well together with these. METADATA OTOH is fine for
> stuff like expiration, descriptions, tags...

Up until now, and with the exception of METADATA, LISTEXT responses have 
all been simple flags or tokens. With POSTADDRESS we are adding an 
arbitrary length string to the response. I really do question whether 
clients should list all that up front as opposed to getting it on a 
case-by-case basis. Even if compression is added, it adds a lot to a large 
list. Of course METADATA potentially adds more, but I think it will be used 
a lot less.

> That said, I wouldn't mind seeing *both* methods be available. Keep the
> LIST-EXTENDED response as the authoritative, provide informational text
> such as:
>
>  "The server MAY advertise the post address in a METADATA response..."
>
> and, while at it, standarize on the annotation name:
>
>  "If it does, then it MUST use the annotation name /foo..."
>
> This way, you also give client authors who can implement METADATA very
> easily, a way onto this data.

I don't like the idea of having the information available in two places.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEF80vG082404; Tue, 14 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEF80Su082403; Tue, 14 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEF7wnU082388 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:07:59 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEF7qY8028915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:07:55 -0500
Date: Tue, 14 Nov 2006 10:07:47 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Message-ID: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <4553E703.2080307@isode.com>
References: <4553E703.2080307@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,
Thanks for your comments.

--On November 9, 2006 6:42:11 PM -0800 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

> Below are some major issues with the document:
>
> 1). ACAP/LDAP both allow for multivalued attributes. The METADATA doesn't
> support them.
>
> In Lemonade WG we were talking about mailbox tags, which would be easy to
> implement with unordered multivalued attributes, where each value
> contains one of the predefined tags. This make it easier for clients to
> search / update a single value.
>
> 2). There is no way to have exact match when searching for an annotation
> value. Once again, this would make searching for mailbox tags much easier.
> During the IMAPEXT meeting Cyrus said that both ANNOTATEMORE and the
> SEARCH command itself are suffering from the same issue and that we
> should fix this everywhere.
>
> This is a fair argument and I would like to work on a solution to this.
> However I think we need to at least do some minimal changes to the
> METADATA selection option syntax to make this work.

OK - first off METADATA is currently lacking comparator support. The 
problem here is that, unlike SEARCH/SORT/THREAD, we likely cannot get by 
with using the default or active comparator, because in general one might 
want one comparator for mailbox names and another for METADATA items. So I 
think we need to have an explicit comparator parameter as part of the 
METADATA select option in LISTEXT.

If we do that then we might as well add a match type parameter as well. 
This could have values:

IS - exact match
CONTAINS - substring match
GT - greater than relational match
GE - greater or equal relational match
LE - less or equal relational match
LT - less than relational match
EQ - equal relational match
NE - not equal relation match
WORD - exact match on whole word (a word is a space or comma separated 
token)

Note that the WORD match type is an attempt to address the multi-valued 
attribute issue.

> 3). Section 4.4. (SETMETADATA Command) says:
>
>  >   If the server is unable to set the annotations for one or more
>  >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
>  >   command MUST fail and there MUST NOT be any changes to any of the
>  >   matching mailboxes, even those for which annotations could have been
>  >   changed successfully.
>
> I don't like that. Atomic metadata change across multiple mailboxes can
> be a problem for servers. It would be way to easy to deny service this
> way and it would be quite difficult to implement atomicity, unless one
> uses a SQL backend.
>

I would like to hear from other server implementers as to whether they feel 
this restriction is too harsh as well. One issue with making it non-atomic 
is handling error results. Should LISTEXT return the items that failed to 
be set?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEg6eu077316; Tue, 14 Nov 2006 07:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEEg66D077315; Tue, 14 Nov 2006 07:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEg5I6077307 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 07:42:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEEfxNL028843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:42:02 -0500
Date: Tue, 14 Nov 2006 09:41:54 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: ietf-imapext@imc.org
Subject: METADATA, was Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <371C156653B0CA7F2CF52412@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

--On November 14, 2006 2:32:41 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> The METADATA draft needs to explain what it's meant for. Explain what
>> the permissible effects on metadata of wrenching changes such as
>> mailbox renames, name/mailbox changes (delete followed by create or
>> rename b->c followed by rename a->b) and uidvalidity changes are.
>
> I agree.
> I think this thread has resulted in at least one good result already: it
> sounds like we need to add applicability statement (or discussion) to the
> METADATA document.

Just as a reminder folks: please review METADATA. I plan to submit it to 
IESG next week and would like final comments from IMAP experts by the end 
of this week.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEWnJP075490; Tue, 14 Nov 2006 07:32:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEEWnHc075489; Tue, 14 Nov 2006 07:32:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEWmYF075479 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 07:32:49 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnTjwBg77rF@rufus.isode.com>; Tue, 14 Nov 2006 14:32:47 +0000
Message-ID: <4559D389.7010504@isode.com>
Date: Tue, 14 Nov 2006 14:32:41 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com>  <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>  <4558E9B8.5060705@andrew.cmu.edu>  <24923.1163458236.013258@peirce.dave.cridland.net>  <5E90058DFDABBB152C234927@ninevah.local>  <20061114101116.9d14feb4.avel@noc.uoa.gr>  <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
In-Reply-To: <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Dave Cridland writes:
>
>> But a caveat - I see METADATA to be "stuff about a mailbox which will 
>> not change if the mailbox is renamed", whereas POSTADDRESSes almost 
>> certainly will change for many implementations (including Isode's) on 
>> a rename.
>
> The METADATA draft needs to explain what it's meant for. Explain what 
> the permissible effects on metadata of wrenching changes such as 
> mailbox renames, name/mailbox changes (delete followed by create or 
> rename b->c followed by rename a->b) and uidvalidity changes are.

I agree.
I think this thread has resulted in at least one good result already: it 
sounds like we need to add applicability statement (or discussion) to 
the METADATA document.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEM1wH073116; Tue, 14 Nov 2006 07:22:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEEM1Y2073115; Tue, 14 Nov 2006 07:22:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEELwTc073080 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 07:22:00 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnRBABg77Rn@rufus.isode.com>; Tue, 14 Nov 2006 14:21:57 +0000
Message-ID: <4559D0FE.3030206@isode.com>
Date: Tue, 14 Nov 2006 14:21:50 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Alexandros Vellis <avel@noc.uoa.gr>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>	<E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>	<4558D59C.1010009@isode.com>	<AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>	<4558DC60.6060108@isode.com>	<4558E9B8.5060705@andrew.cmu.edu>	<24923.1163458236.013258@peirce.dave.cridland.net>	<5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr>
In-Reply-To: <20061114101116.9d14feb4.avel@noc.uoa.gr>
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>

Alexandros Vellis wrote:

>On Mon, 13 Nov 2006 19:43:54 -0500
>Cyrus Daboo <cyrus@daboo.name> wrote:  
>
>>I doubt that any client will do 
>>a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.
>>    
>>
>
>Why not? :-)
>  
>
Like listing mailboxes with mailto URLs for them?

>While I would normally see METADATA as a better fit myself, there are
>things I like regarding the LIST-EXTENDED method:
>
>* a capability string is already available. I want, as a client, to
>know that possibility for POSTADDRESS values exist, instead of throwing
>a metadata search or a massive GETMETADATA * everytime. Sure, one can
>make post-address value available through METADATA and write a draft to
>declare the capability name, but is it worth the hassle?
>
>* the post address for a mailbox is a somewhat important item. It's
>very close to the mailbox name (standard LIST response stuff...) and
>mailbox location (equivalent to REMOTE LISTEXT return option).
>POSTADDRESS fits well together with these. METADATA OTOH is fine for
>stuff like expiration, descriptions, tags...
>  
>
Both are good point.

>That said, I wouldn't mind seeing *both* methods be available. Keep the
>LIST-EXTENDED response as the authoritative, provide informational text
>such as:
>
> "The server MAY advertise the post address in a METADATA response..."
>
>and, while at it, standarize on the annotation name:
>
> "If it does, then it MUST use the annotation name /foo..."
>
>This way, you also give client authors who can implement METADATA very
>easily, a way onto this data.
>
I think it is a bit overkill. However I should note that the document 
doesn't prevent people from using METADATA store for POSTADDRESS.

If people insist, I can update the document to say that when the 
METADATA extension is also implemented, the server will have a magic 
metadata attribute for POSTADDRESS.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEBIKxm045205; Tue, 14 Nov 2006 04:18:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEBIKBe045204; Tue, 14 Nov 2006 04:18:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEBIIlS045191 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 04:18:19 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 1D1674AC8C; Tue, 14 Nov 2006 12:18:17 +0100 (CET)
Message-Id: <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 12:18:51 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexandros Vellis <avel@noc.uoa.gr>, Dave Cridland <dave@cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net>
In-Reply-To: <24923.1163502293.636808@peirce.dave.cridland.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Dave Cridland writes:
> But a caveat - I see METADATA to be "stuff about a mailbox which will 
> not change if the mailbox is renamed", whereas POSTADDRESSes almost 
> certainly will change for many implementations (including Isode's) on 
> a rename.

The METADATA draft needs to explain what it's meant for. Explain what 
the permissible effects on metadata of wrenching changes such as 
mailbox renames, name/mailbox changes (delete followed by create or 
rename b->c followed by rename a->b) and uidvalidity changes are.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEB5CRs043281; Tue, 14 Nov 2006 04:05:12 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEB5CJk043280; Tue, 14 Nov 2006 04:05:12 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEB59dP043266 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 04:05:11 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1Gjw6F-0005PY-Lc; Tue, 14 Nov 2006 11:05:07 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 06ABE498005; Tue, 14 Nov 2006 11:16:33 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30617-10; Tue, 14 Nov 2006 11:16:19 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 77711498004; Tue, 14 Nov 2006 11:16:19 +0000 (GMT)
Date: Tue, 14 Nov 2006 11:04:52 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr>
In-Reply-To: <20061114101116.9d14feb4.avel@noc.uoa.gr>
MIME-Version: 1.0
Message-Id: <24923.1163502293.636808@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Alexandros Vellis <avel@noc.uoa.gr>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 14 08:11:16 2006, Alexandros Vellis wrote:
> On Mon, 13 Nov 2006 19:43:54 -0500
> Cyrus Daboo <cyrus@daboo.name> wrote:
> 
> > I doubt that any client will do > a LISTEXT on a hierarchy and 
> ask for POSTADDRESS on all of those.
> 
> Why not? :-)
> 
> 
(I was going to comment that mine already does...)

> That said, I wouldn't mind seeing *both* methods be available. Keep 
> the
> LIST-EXTENDED response as the authoritative, provide informational 
> text
> such as:

I do like the unified interface that METADATA provides, and in 
general I like the idea that metadata should be available through it.

But a caveat - I see METADATA to be "stuff about a mailbox which will 
not change if the mailbox is renamed", whereas POSTADDRESSes almost 
certainly will change for many implementations (including Isode's) on 
a rename.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE85YHU015779; Tue, 14 Nov 2006 01:05:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAE85YKL015778; Tue, 14 Nov 2006 01:05:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from msa.uoa.gr (msa.uoa.gr [195.134.100.72]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE85WaR015758 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 01:05:33 -0700 (MST) (envelope-from avel@noc.uoa.gr)
Received: by MSA with id 9841180560DC64F8BDA84E658D2D9BB74083B2FB
Received: from localhost (null.noc.uoa.gr [195.134.100.40]) (authenticated bits=0) by msa.uoa.gr (8.12.11/8.12.11) with ESMTP id kAE85N40018806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 10:05:23 +0200 (EET)
Date: Tue, 14 Nov 2006 10:11:16 +0200
From: Alexandros Vellis <avel@noc.uoa.gr>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-Id: <20061114101116.9d14feb4.avel@noc.uoa.gr>
In-Reply-To: <5E90058DFDABBB152C234927@ninevah.local>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local>
Organization: National & Kapodistrian University of Athens
X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.10.6; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-UoAMSAId: 9841180560DC64F8BDA84E658D2D9BB74083B2FB
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, 13 Nov 2006 19:43:54 -0500
Cyrus Daboo <cyrus@daboo.name> wrote:

> I doubt that any client will do 
> a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.

Why not? :-)

While I would normally see METADATA as a better fit myself, there are
things I like regarding the LIST-EXTENDED method:

* a capability string is already available. I want, as a client, to
know that possibility for POSTADDRESS values exist, instead of throwing
a metadata search or a massive GETMETADATA * everytime. Sure, one can
make post-address value available through METADATA and write a draft to
declare the capability name, but is it worth the hassle?

* the post address for a mailbox is a somewhat important item. It's
very close to the mailbox name (standard LIST response stuff...) and
mailbox location (equivalent to REMOTE LISTEXT return option).
POSTADDRESS fits well together with these. METADATA OTOH is fine for
stuff like expiration, descriptions, tags...

That said, I wouldn't mind seeing *both* methods be available. Keep the
LIST-EXTENDED response as the authoritative, provide informational text
such as:

 "The server MAY advertise the post address in a METADATA response..."

and, while at it, standarize on the annotation name:

 "If it does, then it MUST use the annotation name /foo..."

This way, you also give client authors who can implement METADATA very
easily, a way onto this data.

-- 
Alexandros Vellis



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0i7LY060955; Mon, 13 Nov 2006 17:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAE0i7ik060954; Mon, 13 Nov 2006 17:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0i5rc060945 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 17:44:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [10.0.1.2] ([10.0.1.2]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAE0hsnt026671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 19:43:59 -0500
Date: Mon, 13 Nov 2006 19:43:54 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>, Ken Murchison <murch@andrew.cmu.edu>
cc: ietf-imapext@imc.org, Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <5E90058DFDABBB152C234927@ninevah.local>
In-Reply-To: <24923.1163458236.013258@peirce.dave.cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 13, 2006 10:50:35 PM +0000 Dave Cridland <dave@cridland.net> 
wrote:

>> The value is going to be returned via LISTEXT either way, but I
>> don't see why we need to add a new LISTEXT return option when we
>> already have METADATA, which seems to be a perfect fit.
>
> What are LISTEXT return options *for*, then? (Other than to support
> METADATA).
>
> LISTEXT itself is designed to be the basis for "new" LISTable data, I
> don't see why METADATA should be mandated for everything as well.
> Otherwise we've really screwed up with going through LISTEXT, and we
> should have incorporated METADATA directly in LISTEXT.

Another way to look at this is this: LISTEXT is great when you are building 
an entire hierarchy and want to discover options for the entire hierarchy 
all in one go. But for options that you only look at on a case-by-case 
basis, having those in METADATA is better. I doubt that any client will do 
a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0V5UI059340; Mon, 13 Nov 2006 17:31:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAE0V5Hu059339; Mon, 13 Nov 2006 17:31:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0V3pT059332 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 17:31:04 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.23] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAE0UuHA004363 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 13 Nov 2006 19:30:57 -0500
Message-ID: <45590E49.8060703@andrew.cmu.edu>
Date: Mon, 13 Nov 2006 19:31:05 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
CC: Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org, Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net>
In-Reply-To: <24923.1163458236.013258@peirce.dave.cridland.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Dave Cridland wrote:
> On Mon Nov 13 21:55:04 2006, Ken Murchison wrote:
>> The value is going to be returned via LISTEXT either way, but I don't 
>> see why we need to add a new LISTEXT return option when we already 
>> have METADATA, which seems to be a perfect fit.
> 
> What are LISTEXT return options *for*, then? (Other than to support 
> METADATA).

I agree with this in principal, but ...


> LISTEXT itself is designed to be the basis for "new" LISTable data, I 
> don't see why METADATA should be mandated for everything as well. 
> Otherwise we've really screwed up with going through LISTEXT, and we 
> should have incorporated METADATA directly in LISTEXT.

... do we want to create a new return option for every piece of metadata 
that we come up with?  Cyrus IMAP uses several vendor-specific mailbox 
annotations, should we create return options for them?

I wouldn't have a stroke if the WG decided to make POSTADDRESS a return 
option, but I think METADATA is a better fit.

-- 
Kenneth Murchison
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMooTV046722; Mon, 13 Nov 2006 15:50:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADMooJe046721; Mon, 13 Nov 2006 15:50:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMonSB046704 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 15:50:50 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1GjkdZ-0004IJ-Fe; Mon, 13 Nov 2006 22:50:45 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 003FA498003; Mon, 13 Nov 2006 23:02:05 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20545-10; Mon, 13 Nov 2006 23:01:56 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id AF8F2498004; Mon, 13 Nov 2006 23:01:56 +0000 (GMT)
Date: Mon, 13 Nov 2006 22:50:35 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu>
In-Reply-To: <4558E9B8.5060705@andrew.cmu.edu>
MIME-Version: 1.0
Message-Id: <24923.1163458236.013258@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: Cyrus Daboo <cyrus@daboo.name>, <ietf-imapext@imc.org>, Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 13 21:55:04 2006, Ken Murchison wrote:
> The value is going to be returned via LISTEXT either way, but I 
> don't see why we need to add a new LISTEXT return option when we 
> already have METADATA, which seems to be a perfect fit.

What are LISTEXT return options *for*, then? (Other than to support 
METADATA).

LISTEXT itself is designed to be the basis for "new" LISTable data, I 
don't see why METADATA should be mandated for everything as well. 
Otherwise we've really screwed up with going through LISTEXT, and we 
should have incorporated METADATA directly in LISTEXT.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMjkKV046135; Mon, 13 Nov 2006 15:45:46 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADMjkro046134; Mon, 13 Nov 2006 15:45:46 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMjjVo046127 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 15:45:46 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1GjkYh-0001te-Kr; Mon, 13 Nov 2006 22:45:43 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 1E93C498005; Mon, 13 Nov 2006 22:57:04 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20545-07; Mon, 13 Nov 2006 22:56:53 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id C9A31498003; Mon, 13 Nov 2006 22:56:53 +0000 (GMT)
Date: Mon, 13 Nov 2006 22:45:32 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com> <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
MIME-Version: 1.0
Message-Id: <24923.1163457933.154631@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Philip Guenther <guenther+imap@sendmail.com>
Cc: <ietf-imapext@imc.org>, Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 13 21:45:24 2006, Philip Guenther wrote:
> 
> On Mon, 13 Nov 2006, Alexey Melnikov wrote:
>> Philip Guenther wrote:
> ...
>>> Bingo.  For the specific use-case of fcc'ing, filing it directly 
>>> and then submitting using BURL directly from the fcc'ed mailbox 
>>> seems the more reliable method.
>> 
>> It you have both URLAUTH and BURL implemented, then yes. But you 
>> don't ;-).
> 
> Okay, let's back up a couple steps.
> 
> For a client and/or server that don't support the F-W-D trio, the 
> client will be composing the message completely on its end and 
> fcc'ing can be done using plain APPEND before or after the 
> submission.  This is what many existing client do.  POSTADDRESS 
> would let the client send the message data just once at some cost 
> in complexity and an uncertain reliablity of delivery.
> 
> For a client and server combo that do support the F-W-D trio, 
> fcc'ing using APPEND (with or without CATENATE) followed by 
> submission using BURL is the documented method of fcc'ing.  AFAICT, 
> POSTADDRESS adds nothing.
> 
> Is that an accurate summary?  Or is there some other case I'm 
> missing?
> 
> 
Cases:

1) FCCing to a different IMAP server from that used for Drafts. Or 
simply FCCing to multiple IMAP servers, if you prefer. Unless you'd 
prefer doing URLAUTH support for CATENATE.

2) If all the message data is generated locally, then 
APPEND/GENURLAUTH is two round-trips plus one setup (since you need 
to detect whether the submission server supports BURL), as compared 
to a single longer-running POSTADDRESS check.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADM990o041196; Mon, 13 Nov 2006 15:09:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADM99ra041195; Mon, 13 Nov 2006 15:09:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADM97UW041177 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 15:09:08 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 3FE434AC94; Mon, 13 Nov 2006 23:09:04 +0100 (CET)
Message-Id: <cffD/s48LRFtxcm2dSb0gQ.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 23:09:35 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Philip Guenther <guenther+imap@sendmail.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com> <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther writes:
> Is that an accurate summary?  Or is there some other case I'm missing?

POSTADDRESS forces the message through sieving, filing it in the 
location where you'd expect it based on examining its content. 
CATENATE/BURL forces it past sieve.

Same case, differently stated.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLvA8c037736; Mon, 13 Nov 2006 14:57:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADLvARA037735; Mon, 13 Nov 2006 14:57:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLv856037721 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 14:57:09 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kADLt5LO009495 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 13 Nov 2006 16:55:05 -0500
Message-ID: <4558E9B8.5060705@andrew.cmu.edu>
Date: Mon, 13 Nov 2006 16:55:04 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
CC: Cyrus Daboo <cyrus@daboo.name>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>
In-Reply-To: <4558DC60.6060108@isode.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov wrote:
> 
> Cyrus Daboo wrote:
> 
>> Hi Alexey,
> 
> Hi Cyrus,
> 
>> --On November 13, 2006 8:29:16 PM +0000 Alexey Melnikov 
>> <alexey.melnikov@isode.com> wrote:
>>
>>>> This is more of a generic question, but when should items like this be
>>>> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels
>>>> like a property of the mailbox as opposed to a property of the
>>>> mailstore. I see LISTEXT items as mailstore properties (e.g., one
>>>> mailbox is a child of another) and METADATA as mailbox properties. So
>>>> I would prefer to see this as a METADATA item.
>>>
>>> The main difference is that METADATA data is usually read-write (with
>>> exception of /motd), while POSTADDRESS never is. It has to be generated
>>> by the server.
>>
>> METADATA is only 'usually read-write' because most of what we have 
>> defined up until now has been that way. That's not to say METADATA was 
>> never intended for read-only items.

FWIW, Cyrus IMAP has several (currently 5?) mailbox METADATA items which 
are read-only, and at least one of those is generated on the fly.


> Fair enough. This is one of the generic discussions we need to have 
> before METADATA is published.
> I generally consider METADATA to be unsuitable for things generated on 
> the fly.

I disagree, I don't see why generating a value on the fly versus pulling 
it from a file or database makes any difference.  I'm in agreement with 
Cyrus on this; POSTADDRESS is definitely metadata related to a mailbox 
and seems a perfect candidate as a METADATA entry.

The value is going to be returned via LISTEXT either way, but I don't 
see why we need to add a new LISTEXT return option when we already have 
METADATA, which seems to be a perfect fit.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLjWs8036328; Mon, 13 Nov 2006 14:45:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADLjWNK036327; Mon, 13 Nov 2006 14:45:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLjW9r036321 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 14:45:32 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kADLjPJ8006891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 13:45:27 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kADLjPJ8006891
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163454330; bh=ZwSBmehvloetCthkOTZwKsL2P/c=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=U8osDbY4aYHYT0m3 qKmvDzM7EVmNL8ZyeE91qOhLH5tgjs7odpGxnsOXTXeNhEGmoUkOwhpS6EmVjI93Rds 3Ne5tHgsO1PsyENMxpH1ubVvp81DSouVTArXolwwkmgizc8E6dPkd6G2xmQatXBOTxu mIXAdf01lDRaWvpVL3qgE=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kADLjPJ8006891
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=ibD/Vo6ZE4lusmxLgZVwyVM2PYotseIwQtQWM2zpxLmN3Jd8T7M3Ko03JP/MIlqr8 t6qc8Lr2CD2cJjjJ2BG+/1/DWfU1W4At1XLG5Sz+8fLAACkjXgCBO0sVOJFYj4RNEm3 Pz1Gq8dLKVuTL280qIqh0Y/1H8KUoIQ/+wbStDk=
Date: Mon, 13 Nov 2006 14:45:24 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
In-Reply-To: <4558E000.6010808@isode.com>
Message-ID: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 13 Nov 2006, Alexey Melnikov wrote:
> Philip Guenther wrote:
...
>> Bingo.  For the specific use-case of fcc'ing, filing it directly and then 
>> submitting using BURL directly from the fcc'ed mailbox seems the more 
>> reliable method.
>
> It you have both URLAUTH and BURL implemented, then yes. But you don't ;-).

Okay, let's back up a couple steps.

For a client and/or server that don't support the F-W-D trio, the client 
will be composing the message completely on its end and fcc'ing can be 
done using plain APPEND before or after the submission.  This is what many 
existing client do.  POSTADDRESS would let the client send the message 
data just once at some cost in complexity and an uncertain reliablity of 
delivery.

For a client and server combo that do support the F-W-D trio, fcc'ing 
using APPEND (with or without CATENATE) followed by submission using BURL 
is the documented method of fcc'ing.  AFAICT, POSTADDRESS adds nothing.

Is that an accurate summary?  Or is there some other case I'm missing?


...
> In my implementation POSTADDRESS returns a "plus address". When a "plus 
> address" is processed on mail delivery, it changes the default mailbox used 
> by the keep action to the mailbox associated with the plus address.

Boggle.  So, to keep people from filing messages into random mailboxes 
(e.g., incriminating evidence into your 'Sent' mailbox), your sieve script 
has to explicitly check with envelope :detail and use fileinto "INBOX"? 
That seems non-optimal to me.  It would also seem to conflict with this 
text in RFC 3028 and 3028bis:

    For instance, in an implementation where the IMAP server is running
    scripts on behalf of the user at time of delivery, a keep command is
    equivalent to a fileinto "INBOX".

Yeah, there's no 2119 keywords in there, still...


> (This is just to demonstate that other implementations which don't have this 
> problem are possible).

I'll take my problems over yours.


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLE8fj031518; Mon, 13 Nov 2006 14:14:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADLE8Dt031517; Mon, 13 Nov 2006 14:14:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLE7Cg031510 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 14:14:07 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjgHgBg7zTN@rufus.isode.com>; Mon, 13 Nov 2006 21:14:06 +0000
Message-ID: <4558E000.6010808@isode.com>
Date: Mon, 13 Nov 2006 21:13:36 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Philip Guenther <guenther+imap@sendmail.com>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther wrote:

> On Mon, 13 Nov 2006, Arnt Gulbrandsen wrote:
>
>> Cyrus Daboo writes:
>
> ...
>
>>> Also, with forward-without-download I question the utility of an 
>>> 'fcc' mechanism.
>>
>> POSTADDRESS has its share of problems. I'm uneasy about its 
>> unreliability: Sieve scripts may make the POSTADDRESS-advertised 
>> equivalence untrue.
>
> Bingo.  For the specific use-case of fcc'ing, filing it directly and 
> then submitting using BURL directly from the fcc'ed mailbox seems the 
> more reliable method.

It you have both URLAUTH and BURL implemented, then yes. But you don't ;-).

> Yes, it's more complicated, but it actually works, which would seem to 
> be a plus.  At least with our sieve setup, delivery to mailboxes other 
> than your inbox is (by default) only possible if your sieve script 
> explicitly has something like:
>
>     if envelope :detail :matches "to" "imap" {
>         fileinto "lists/imap";
>     }
>
> Asking for the mailstore to figure out that the POSTADDRESS for my 
> "lists/imap" mailbox is <guenther+imap@sendmail.com> seems 
> unreasonable, so we won't implement POSTADDRESS.

In my implementation POSTADDRESS returns a "plus address". When a "plus 
address" is processed on mail delivery, it changes the default mailbox 
used by the keep action to the mailbox associated with the plus address.

(This is just to demonstate that other implementations which don't have 
this problem are possible).



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKwjYq029576; Mon, 13 Nov 2006 13:58:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKwjOZ029575; Mon, 13 Nov 2006 13:58:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKwhmJ029568 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:58:43 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjcggBg73uM@rufus.isode.com>; Mon, 13 Nov 2006 20:58:42 +0000
Message-ID: <4558DC60.6060108@isode.com>
Date: Mon, 13 Nov 2006 20:58:08 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>
In-Reply-To: <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:

> Hi Alexey,

Hi Cyrus,

> --On November 13, 2006 8:29:16 PM +0000 Alexey Melnikov 
> <alexey.melnikov@isode.com> wrote:
>
>>> This is more of a generic question, but when should items like this be
>>> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels
>>> like a property of the mailbox as opposed to a property of the
>>> mailstore. I see LISTEXT items as mailstore properties (e.g., one
>>> mailbox is a child of another) and METADATA as mailbox properties. So
>>> I would prefer to see this as a METADATA item.
>>
>> The main difference is that METADATA data is usually read-write (with
>> exception of /motd), while POSTADDRESS never is. It has to be generated
>> by the server.
>
> METADATA is only 'usually read-write' because most of what we have 
> defined up until now has been that way. That's not to say METADATA was 
> never intended for read-only items.

Fair enough. This is one of the generic discussions we need to have 
before METADATA is published.
I generally consider METADATA to be unsuitable for things generated on 
the fly.

>> And both are reported with extended LIST anyway.
>>
>> Also, METADATA is more difficult to implement on the server. This is not
>> a problem by itself, but considering my comment above it would require
>> additional justification. One question worth asking is: does the
>> POSTADDRESS have to be searchable? I doubt it is.
>
> I don't have any use cases for searching POSTADDRESS but then I don't 
> have any for searching /motd either. Again, I think whether it needs 
> to be searched or not is not relevant to whether it is LISTEXT or 
> METADATA.

Well, if a piece of data has to be searchable, it strongly speaks in 
favor of METADATA.

>>> Plus its MUCH easier to extend using METADATA than LISTEXT - you just
>>> register a new entry - its not a whole new extension, with a new
>>> CAPABILITY etc.
>>
>> The server still need to know that a value is not writable by the 
>> client.
>> Ideally, the client should recognize the value and don't try to write 
>> it.
>> So in practice both require the same amount of work to be implemented on
>> the server.
>
> I disagree - I think it will be much easier to add a new metadata 
> 'schema' item than to go delving around inside of LISTEXT parsing code 
> to do the same thing and have it advertise the capability.

I strongly disagree with your disagreement :-). Adding new LIST return 
options should be easy if one's code is structured right (Selection 
options are a completely different story).
For METADATA, one would still have to add the same code to generate 
values on the fly.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKg6Q3027625; Mon, 13 Nov 2006 13:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKg6Qg027624; Mon, 13 Nov 2006 13:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKg3tn027618 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:42:05 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kADKfvhk031036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 12:41:59 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kADKfvhk031036
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163450521; bh=lovtVRWy60NKaKC5Fk3s1+goilQ=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=k/ELSC81+SOLBDLY 6ofr93pbvL6XEI5EMp6HqaAO3ctp5gAZyoIOfhO29EFutDqRnAhtjKN7S6VSCwklQow hHCYKLhEXF2Ff+jgUGh3cUgAVx8yd0AkyBX0xQJ1dVKl9k+GS+SqB7MN+eaCsm+HFfK KVH80Vrnd9Ec9DBylNdZ4=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kADKfvhk031036
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=Hh4+7lIO1mafi43HEwcEYtgG/3B8GR5dxGfKcx6oNQpCR63j4ze3WYVQroEWgsSlL dALuC23kObF6ReMi2gtemAutTA84uZspnQygbY1oprJ1TI9LL6s9dXvjdjdKW74EVHo bt316q9U/cgrXG8O7TkzuQUS9/gdToaKRYb7w14=
Date: Mon, 13 Nov 2006 13:41:56 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
In-Reply-To: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Message-ID: <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 13 Nov 2006, Arnt Gulbrandsen wrote:
> Cyrus Daboo writes:
...
>> Also, with forward-without-download I question the utility of an 'fcc' 
>> mechanism.
>
> POSTADDRESS has its share of problems. I'm uneasy about its unreliability: 
> Sieve scripts may make the POSTADDRESS-advertised equivalence untrue.

Bingo.  For the specific use-case of fcc'ing, filing it directly and then 
submitting using BURL directly from the fcc'ed mailbox seems the more 
reliable method.  Yes, it's more complicated, but it actually works, which 
would seem to be a plus.  At least with our sieve setup, delivery to 
mailboxes other than your inbox is (by default) only possible if your 
sieve script explicitly has something like:

 	if envelope :detail :matches "to" "imap" {
 		fileinto "lists/imap";
 	}

Asking for the mailstore to figure out that the POSTADDRESS for my 
"lists/imap" mailbox is <guenther+imap@sendmail.com> seems unreasonable, 
so we won't implement POSTADDRESS.


(If you have lots of :detail parts to match, you would do something like 
this, of course:
 	if allof(envelope :detail :matches "to" "*",
 		 string :is "${1}" ["ietf", "ima", "imap", "sieve"]) {
 	    fileinto "lists/${1}";
 	}
)


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKeqVZ027446; Mon, 13 Nov 2006 13:40:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKeqR7027445; Mon, 13 Nov 2006 13:40:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKepQt027439 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:40:52 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kADKehNu026084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 15:40:46 -0500
Date: Mon, 13 Nov 2006 15:40:38 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>
In-Reply-To: <4558D59C.1010009@isode.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 13, 2006 8:29:16 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> This is more of a generic question, but when should items like this be
>> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels
>> like a property of the mailbox as opposed to a property of the
>> mailstore. I see LISTEXT items as mailstore properties (e.g., one
>> mailbox is a child of another) and METADATA as mailbox properties. So
>> I would prefer to see this as a METADATA item.
>
> The main difference is that METADATA data is usually read-write (with
> exception of /motd), while POSTADDRESS never is. It has to be generated
> by the server.

METADATA is only 'usually read-write' because most of what we have defined 
up until now has been that way. That's not to say METADATA was never 
intended for read-only items.

> And both are reported with extended LIST anyway.
>
> Also, METADATA is more difficult to implement on the server. This is not
> a problem by itself, but considering my comment above it would require
> additional justification. One question worth asking is: does the
> POSTADDRESS have to be searchable? I doubt it is.*
> *

I don't have any use cases for searching POSTADDRESS but then I don't have 
any for searching /motd either. Again, I think whether it needs to be 
searched or not is not relevant to whether it is LISTEXT or METADATA.

>> Plus its MUCH easier to extend using METADATA than LISTEXT - you just
>> register a new entry - its not a whole new extension, with a new
>> CAPABILITY etc.
>
> The server still need to know that a value is not writable by the client.
> Ideally, the client should recognize the value and don't try to write it.
> So in practice both require the same amount of work to be implemented on
> the server.
> **

I disagree - I think it will be much easier to add a new metadata 'schema' 
item than to go delving around inside of LISTEXT parsing code to do the 
same thing and have it advertise the capability.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKZu7a026539; Mon, 13 Nov 2006 13:35:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKZuiv026538; Mon, 13 Nov 2006 13:35:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKZr9m026528 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:35:56 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 6A0A64ACF2; Mon, 13 Nov 2006 21:35:52 +0100 (CET)
Message-Id: <MTl4SigWwmWyL7N1vEEF3w.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 21:36:23 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <4558D65F.1040104@isode.com>
In-Reply-To: <4558D65F.1040104@isode.com>
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> Wait till we add Sieve scripts on IMAP APPEND ;-).

Yes, that would obviously have the same issue.

> Interaction with Sieve can be considered both a nuisance and a feature.

Exactly.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKX4kY026069; Mon, 13 Nov 2006 13:33:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKX4m4026068; Mon, 13 Nov 2006 13:33:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKX37Q026060 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:33:03 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjWewBg7woI@rufus.isode.com>; Mon, 13 Nov 2006 20:32:59 +0000
Message-ID: <4558D65F.1040104@isode.com>
Date: Mon, 13 Nov 2006 20:32:31 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
In-Reply-To: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Cyrus Daboo writes:
>
>> Also, with forward-without-download I question the utility of an 
>> 'fcc' mechanism.
>
> POSTADDRESS has its share of problems. I'm uneasy about its 
> unreliability: Sieve scripts may make the POSTADDRESS-advertised 
> equivalence untrue.

Wait till we add Sieve scripts on IMAP APPEND ;-).

Interaction with Sieve can be considered both a nuisance and a feature.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKTmdQ025564; Mon, 13 Nov 2006 13:29:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKTmk0025563; Mon, 13 Nov 2006 13:29:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKTjI8025553 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:29:47 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjVuABg7yz1@rufus.isode.com>; Mon, 13 Nov 2006 20:29:44 +0000
Message-ID: <4558D59C.1010009@isode.com>
Date: Mon, 13 Nov 2006 20:29:16 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
In-Reply-To: <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
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:

> This is more of a generic question, but when should items like this be 
> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels 
> like a property of the mailbox as opposed to a property of the 
> mailstore. I see LISTEXT items as mailstore properties (e.g., one 
> mailbox is a child of another) and METADATA as mailbox properties. So 
> I would prefer to see this as a METADATA item.

The main difference is that METADATA data is usually read-write (with 
exception of /motd), while POSTADDRESS never is. It has to be generated 
by the server.
And both are reported with extended LIST anyway.

Also, METADATA is more difficult to implement on the server. This is not 
a problem by itself, but considering my comment above it would require 
additional justification. One question worth asking is: does the 
POSTADDRESS have to be searchable? I doubt it is.*
*

> Plus its MUCH easier to extend using METADATA than LISTEXT - you just 
> register a new entry - its not a whole new extension, with a new 
> CAPABILITY etc.

The server still need to know that a value is not writable by the 
client. Ideally, the client should recognize the value and don't try to 
write it.
So in practice both require the same amount of work to be implemented on 
the server.
**



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKH06c023052; Mon, 13 Nov 2006 13:17:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKH0BK023051; Mon, 13 Nov 2006 13:17:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKGwgU023042 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:16:59 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 18B2B4ACF1; Mon, 13 Nov 2006 21:16:58 +0100 (CET)
Message-Id: <h/OE4XnIQ+CBvQW5KcNAWw.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 21:17:29 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
In-Reply-To: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen writes:
> Cyrus Daboo writes:
>> I see LISTEXT items as mailstore properties (e.g., one mailbox is a 
>> child of another) and METADATA as mailbox properties. So I would 
>> prefer to see this as a METADATA item. Plus its MUCH easier to 
>> extend using METADATA than LISTEXT - you just register a new entry - 
>> its not a whole new extension, with a new CAPABILITY etc.

I don't accept this. IANA considerations sections are cheap, and if you 
want an interoperable extension, I think you need something very like 
an RFC. You don't need an RFC number and a flat-ascii specification, 
but you do need the pedantic reviews, the examples, the formal syntax, 
etc.

>> Also, with forward-without-download I question the utility of an 
>> 'fcc' mechanism.
>
> POSTADDRESS has its share of problems. I'm uneasy about its 
> unreliability: Sieve scripts may make the POSTADDRESS-advertised 
> equivalence untrue.

Just so nobody misunderstands: I'm not arguing against publishing it. (I 
did implement the thing, after all.) All I'm saying is that discussion 
is needed. If the sieve redirection issue is considered a feature by 
most people, I'm happy. I'm unhappy only if the issue isn't considered 
at all.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJvgLE020151; Mon, 13 Nov 2006 12:57:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADJvgEv020150; Mon, 13 Nov 2006 12:57:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJvedV020143 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 12:57:41 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 9C5B64ACDB; Mon, 13 Nov 2006 20:57:39 +0100 (CET)
Message-Id: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 20:58:10 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
In-Reply-To: <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> This is more of a generic question, but when should items like this be 
> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really 
> feels like a property of the mailbox as opposed to a property of the 
> mailstore.

That's true in the case of my code and false in the case of Alexey's. 
I'm glad you think my code does the right thing ;)

> I see LISTEXT items as mailstore properties (e.g., one mailbox is a 
> child of another) and METADATA as mailbox properties. So I would 
> prefer to see this as a METADATA item. Plus its MUCH easier to extend 
> using METADATA than LISTEXT - you just register a new entry - its not 
> a whole new extension, with a new CAPABILITY etc.
>
> Also, with forward-without-download I question the utility of an 'fcc' 
> mechanism.

POSTADDRESS has its share of problems. I'm uneasy about its 
unreliability: Sieve scripts may make the POSTADDRESS-advertised 
equivalence untrue.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJWY7i016537; Mon, 13 Nov 2006 12:32:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADJWYHW016536; Mon, 13 Nov 2006 12:32:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJWXf7016530 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 12:32:33 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kADJWPun025925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 14:32:27 -0500
Date: Mon, 13 Nov 2006 14:32:20 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
In-Reply-To: <4558C52C.6070403@isode.com>
References: <4558C52C.6070403@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 13, 2006 7:19:08 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

> Arnt has reminded me that I've promised to publish the POSTADDRESS
> document once the LIST-EXTENDED is done.
> Now is the time.
>
> Lisa would like to see more reviews of the document before requesting
> IETF LC.
>
> It would also be great to know who is interested in implementing this
> extension. I know of 2 server and 1 client implementation:
> Server:
> Isode
> Oryx
>
> Client:
> Polymer

This is more of a generic question, but when should items like this be 
METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels like 
a property of the mailbox as opposed to a property of the mailstore. I see 
LISTEXT items as mailstore properties (e.g., one mailbox is a child of 
another) and METADATA as mailbox properties. So I would prefer to see this 
as a METADATA item. Plus its MUCH easier to extend using METADATA than 
LISTEXT - you just register a new entry - its not a whole new extension, 
with a new CAPABILITY etc.

Also, with forward-without-download I question the utility of an 'fcc' 
mechanism.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJJZ4I014828; Mon, 13 Nov 2006 12:19:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADJJZ86014827; Mon, 13 Nov 2006 12:19:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJJXua014811 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 12:19:34 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjFRABg74iW@rufus.isode.com>; Mon, 13 Nov 2006 19:19:32 +0000
Message-ID: <4558C52C.6070403@isode.com>
Date: Mon, 13 Nov 2006 19:19:08 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Requesting comments on draft-melnikov-imap-postaddress-05.txt
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 has reminded me that I've promised to publish the POSTADDRESS 
document once the LIST-EXTENDED is done.
Now is the time.

Lisa would like to see more reviews of the document before requesting 
IETF LC.

It would also be great to know who is interested in implementing this 
extension. I know of 2 server and 1 client implementation:
Server:
Isode
Oryx

Client:
Polymer

Thanks,
Alexey



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA3G4Kc008058; Thu, 9 Nov 2006 20:16:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAA3G4nc008057; Thu, 9 Nov 2006 20:16:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA3G268008040 for <ietf-imapext@imc.org>; Thu, 9 Nov 2006 20:16:03 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.69.28] (dhcp69-28.ietf67.org [130.129.69.28])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVPu8ABg707u@rufus.isode.com>; Fri, 10 Nov 2006 03:16:01 +0000
Message-ID: <4553EEEF.8020206@isode.com>
Date: Thu, 09 Nov 2006 19:15:59 -0800
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: CONDSTORE: STORE UNCHANGEDSINCE 0
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I think the following text in section 3.2 of RFC 4551

 >      Use of UNCHANGEDSINCE with a modification sequence of 0 always
 >      fails if the metadata item exists.  A system flag MUST always be
 >      considered existent, whether it was set or not.

is broken:

1) It is not clear why system flags have to be special
2) A flag existence is the same as have the flag set. Testing for flag 
existence can already be done using the FETCH (FLAGS) command.

There are two ways to fix it:

1). Remove the second sentence to remove special casing for system 
flags. This command would allow people to test if a particular flag or a 
set of flags is set on a message. However this would leave STORE -FLAGS 
UNCHANGEDSINCE somewhat meaningless.

2). Replace the second sentence to say that this command always fail 
with tagged NO for both system and user defined flags. Note that this 
doesn't affect annotations.

The rough consensus during the IMAPEXT meeting was to go with option 2.
If you have any objections to this, please speak up now.

Regards,
Alexey



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA2gF4p000962; Thu, 9 Nov 2006 19:42:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAA2gFbS000960; Thu, 9 Nov 2006 19:42:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA2gDSB000952 for <ietf-imapext@imc.org>; Thu, 9 Nov 2006 19:42:14 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.69.28] (dhcp69-28.ietf67.org [130.129.69.28])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVPnBABg7w0b@rufus.isode.com>; Fri, 10 Nov 2006 02:42:12 +0000
Message-ID: <4553E703.2080307@isode.com>
Date: Thu, 09 Nov 2006 18:42:11 -0800
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Comments on draft-daboo-imap-annotatemore-10
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I've sent some editorial comments/corrections directly to Cyrus.

Below are some major issues with the document:

1). ACAP/LDAP both allow for multivalued attributes. The METADATA 
doesn't support them.

In Lemonade WG we were talking about mailbox tags, which would be easy 
to implement with unordered multivalued attributes, where each value 
contains one of the predefined tags. This make it easier for clients to 
search / update a single value.

2). There is no way to have exact match when searching for an annotation 
value. Once again, this would make searching for mailbox tags much easier.
During the IMAPEXT meeting Cyrus said that both ANNOTATEMORE and the 
SEARCH command itself are suffering from the same issue and that we 
should fix this everywhere.

This is a fair argument and I would like to work on a solution to this. 
However I think we need to at least do some minimal changes to the 
METADATA selection option syntax to make this work.

3). Section 4.4. (SETMETADATA Command) says:

 >   If the server is unable to set the annotations for one or more
 >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
 >   command MUST fail and there MUST NOT be any changes to any of the
 >   matching mailboxes, even those for which annotations could have been
 >   changed successfully.

I don't like that. Atomic metadata change across multiple mailboxes can 
be a problem for servers. It would be way to easy to deny service this 
way and it would be quite difficult to implement atomicity, unless one 
uses a SQL backend.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA9Hiwnc066041; Thu, 9 Nov 2006 10:44:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA9HivQ1066040; Thu, 9 Nov 2006 10:44:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from numenor.qualcomm.com (numenor.qualcomm.com [129.46.51.58]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA9Hiu9k066012 for <ietf-imapext@imc.org>; Thu, 9 Nov 2006 10:44:57 -0700 (MST) (envelope-from randy@qualcomm.com)
Received: from sabrina.qualcomm.com (sabrina.qualcomm.com [129.46.61.150]) by numenor.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id kA9HiiCX000300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 9 Nov 2006 09:44:45 -0800
Received: from [dhcp70-158.ietf67.org] (vpn-10-50-0-159.qualcomm.com [10.50.0.159]) by sabrina.qualcomm.com (8.13.6/8.13.6/1.0) with ESMTP id kA9HifGc018458; Thu, 9 Nov 2006 09:44:43 -0800 (PST)
Mime-Version: 1.0
Message-Id: <p06240602c1791843cae9@[dhcp70-158.ietf67.org]>
In-Reply-To: <19209.1162940127.615999@peirce.dave.cridland.net>
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]> <19209.1162891383.688303@peirce.dave.cridland.net> <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]> <19209.1162940127.615999@peirce.dave.cridland.net>
X-Mailer: Eudora for Mac OS X
X-message-flag: Warning: Outlook in use.  Upgrade to Eudora: <http://www.eudora.com>
Date: Thu, 9 Nov 2006 09:41:37 -0800
To: Dave Cridland <dave@cridland.net>
From: Randall Gellens <randy@qualcomm.com>
Subject: Re: Open issues in the EXPUNGED draft
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Random-Sig-Tag: 1.0b28
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

At 10:55 PM +0000 11/7/06, Dave Cridland wrote:

>>>   Here's a proposal for reducing the worst case:
>>>
>>>   If the client sends one or more pairs of (cached) MSN and UID, 
>>> then the server can easily detirmine whether the client needs all 
>>> the missing UIDs, or just some of them.
>>>
>>>   So if the client sends, for example, the pairs (34050 39488 
>>> 34000 39438), then the server can see that, for sake of example, 
>>> MSN 34050 is currently UID 39488, so it only needs to send 
>>> missing UIDs from 39489 onward. This immediately reduces the 
>>> "Sorry, I forgot" case by several kilobytes.
>>
>>  That's a very interesting proposal.
>>
>>  How many pairs would a client need to send for a typical SELECT?
>>
>  Need? None. Useful? Probably four, depends on the mailbox size, and 
> how paranoid the client is feeling.

So it's a way to optimize and standardize your technique for cleverly 
detecting which range of messages needs to be remapped.  Sounds 
useful to me.
-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
I loathe people who keep dogs.  They are cowards who haven't got the
guts to bite people themselves.                  --August Strindberg



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MtelV070879; Tue, 7 Nov 2006 15:55:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA7MteDP070878; Tue, 7 Nov 2006 15:55:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MtcX0070871 for <ietf-imapext@imc.org>; Tue, 7 Nov 2006 15:55:39 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1GhZqy-0008Lh-VF; Tue, 07 Nov 2006 22:55:37 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id ACE54498004; Tue,  7 Nov 2006 23:05:56 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29267-09; Tue, 7 Nov 2006 23:05:47 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id A4D05498003; Tue,  7 Nov 2006 23:05:47 +0000 (GMT)
Date: Tue, 07 Nov 2006 22:55:27 +0000
Subject: Re: Open issues in the EXPUNGED draft
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]> <19209.1162891383.688303@peirce.dave.cridland.net> <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]>
In-Reply-To: <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]>
MIME-Version: 1.0
Message-Id: <19209.1162940127.615999@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Randall Gellens <randy@qualcomm.com>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov  7 22:04:22 2006, Randall Gellens wrote:
> At 9:23 AM +0000 11/7/06, Dave Cridland wrote:
> 
>>  My problem is that the worst case isn't a one-off rarity, I 
>> expect that if it happens once for a mailbox, it'll happen on 
>> every SELECT.
>> 
>>  What I'd prefer to see is a mechanism whereby either the client 
>> selects the failure mode, or else we reduce the worst case.
>> 
>>  Here's a proposal for reducing the worst case:
>> 
>>  If the client sends one or more pairs of (cached) MSN and UID, 
>> then the server can easily detirmine whether the client needs all 
>> the missing UIDs, or just some of them.
>> 
>>  So if the client sends, for example, the pairs (34050 39488 34000 
>> 39438), then the server can see that, for sake of example, MSN 
>> 34050 is currently UID 39488, so it only needs to send missing 
>> UIDs from 39489 onward. This immediately reduces the "Sorry, I 
>> forgot" case by several kilobytes.
> 
> That's a very interesting proposal.
> 
> How many pairs would a client need to send for a typical SELECT?
> 
> 
Need? None. Useful? Probably four, depends on the mailbox size, and 
how paranoid the client is feeling.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MB9Nw067459; Tue, 7 Nov 2006 15:11:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA7MB9NQ067458; Tue, 7 Nov 2006 15:11:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ithilien.qualcomm.com (ithilien.qualcomm.com [129.46.51.59]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MB64m067428 for <ietf-imapext@imc.org>; Tue, 7 Nov 2006 15:11:08 -0700 (MST) (envelope-from randy@qualcomm.com)
Received: from sabrina.qualcomm.com (sabrina.qualcomm.com [129.46.61.150]) by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id kA7MAwcw028867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 7 Nov 2006 14:10:59 -0800
Received: from [dhcp66-21.ietf67.org] (vpn-10-50-0-19.qualcomm.com [10.50.0.19]) by sabrina.qualcomm.com (8.13.6/8.13.6/1.0) with ESMTP id kA7MAt21028155; Tue, 7 Nov 2006 14:10:56 -0800 (PST)
Mime-Version: 1.0
Message-Id: <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]>
In-Reply-To: <19209.1162891383.688303@peirce.dave.cridland.net>
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]> <19209.1162891383.688303@peirce.dave.cridland.net>
X-Mailer: Eudora for Mac OS X
X-message-flag: Warning: Outlook in use.  Upgrade to Eudora: <http://www.eudora.com>
Date: Tue, 7 Nov 2006 14:04:22 -0800
To: Dave Cridland <dave@cridland.net>
From: Randall Gellens <randy@qualcomm.com>
Subject: Re: Open issues in the EXPUNGED draft
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Random-Sig-Tag: 1.0b28
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

At 9:23 AM +0000 11/7/06, Dave Cridland wrote:

>  My problem is that the worst case isn't a one-off rarity, I expect 
> that if it happens once for a mailbox, it'll happen on every SELECT.
>
>  What I'd prefer to see is a mechanism whereby either the client 
> selects the failure mode, or else we reduce the worst case.
>
>  Here's a proposal for reducing the worst case:
>
>  If the client sends one or more pairs of (cached) MSN and UID, then 
> the server can easily detirmine whether the client needs all the 
> missing UIDs, or just some of them.
>
>  So if the client sends, for example, the pairs (34050 39488 34000 
> 39438), then the server can see that, for sake of example, MSN 
> 34050 is currently UID 39488, so it only needs to send missing UIDs 
> from 39489 onward. This immediately reduces the "Sorry, I forgot" 
> case by several kilobytes.

That's a very interesting proposal.

How many pairs would a client need to send for a typical SELECT?

>  There's still a worst case, of course - if an EXPUNGE happens 
> before the first MSN,UID tuple sent, then the server has to send 
> all the missing UIDs, but that's a rare case, rather than simply 
> poor server implementation - in general users either don't expunge 
> early messages, or else they expunge them all.


-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
You think it's a conspiracy by the networks to put bad shows on TV. But
the shows are bad because that's what people want. It's not like
Windows users don't have any power. I think they are happy with
Windows, and that's an incredibly depressing thought.
                                                           --Steve Jobs



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA79NHds061432; Tue, 7 Nov 2006 02:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA79NHKx061431; Tue, 7 Nov 2006 02:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA79NGQA061409 for <ietf-imapext@imc.org>; Tue, 7 Nov 2006 02:23:16 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1GhNAo-0003Z1-4H; Tue, 07 Nov 2006 09:23:14 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 3D034498005; Tue,  7 Nov 2006 09:33:28 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17374-04; Tue, 7 Nov 2006 09:33:18 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 030B7498004; Tue,  7 Nov 2006 09:33:18 +0000 (GMT)
Date: Tue, 07 Nov 2006 09:23:02 +0000
Subject: Re: Open issues in the EXPUNGED draft
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]>
In-Reply-To: <p0624060bc17564536ec9@[[130.129.71.164]]>
MIME-Version: 1.0
Message-Id: <19209.1162891383.688303@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Randall Gellens <randy@qualcomm.com>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov  7 01:07:19 2006, Randall Gellens wrote:
> 
> At 5:16 PM +0000 11/3/06, Alexey Melnikov wrote:
> 
>>  2). There was some debate recently about server's behavior if the 
>> client provides a modsequence which is too old. Two solutions were 
>> suggested:
>>  a). The server returns all expunged messages from the specified 
>> UID set (i.e. without paying attention to the provided modsequence)
>>  b). The server returns "sorry, modseq is too old" and the client 
>> needs to handle this.
> 
> Based on the earlier discussion, I'd say we go with option (a), 
> since (from the earlier discussion)  since
> 
> At 12:06 PM +0200 9/26/06, Arnt Gulbrandsen wrote:
>>  has two more advantages: The response is small on average. The 
>> fallback needs no additional code in the client. (I love that. No 
>> code to write, no extra case to test.)  And one disadvantage: The 
>> worst-case response is big. The advantages are bigger, say I.
> 
> At 11:39 AM -0700 9/29/06, Randall Gellens wrote:
>>  If the trade-off is really that the option that is simpler and 
>> easier for clients to implement also generally has one less 
>> round-trip and usually is just as compact, but in the worst case 
>> can have a much larger response, I'm inclined to support it.  
>> While bandwidth saving is important, so is client simplicity.  
>> Since we expect that in most cases the response won't be larger, 
>> we don't need to optimize for (hopefully rare) edge cases.
> 
> So, to summarize, let's optimize for the usual case and make 
> implementation simpler on mobile clients.

I disagree, but then you knew that.

My problem is that the worst case isn't a one-off rarity, I expect 
that if it happens once for a mailbox, it'll happen on every SELECT.

What I'd prefer to see is a mechanism whereby either the client 
selects the failure mode, or else we reduce the worst case.

Here's a proposal for reducing the worst case:

If the client sends one or more pairs of (cached) MSN and UID, then 
the server can easily detirmine whether the client needs all the 
missing UIDs, or just some of them.

So if the client sends, for example, the pairs (34050 39488 34000 
39438), then the server can see that, for sake of example, MSN 34050 
is currently UID 39488, so it only needs to send missing UIDs from 
39489 onward. This immediately reduces the "Sorry, I forgot" case by 
several kilobytes.

There's still a worst case, of course - if an EXPUNGE happens before 
the first MSN,UID tuple sent, then the server has to send all the 
missing UIDs, but that's a rare case, rather than simply poor server 
implementation - in general users either don't expunge early 
messages, or else they expunge them all.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA717W2d000693; Mon, 6 Nov 2006 18:07:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA717WDQ000691; Mon, 6 Nov 2006 18:07:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ithilien.qualcomm.com (ithilien.qualcomm.com [129.46.51.59]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA717Vmh000683 for <ietf-imapext@imc.org>; Mon, 6 Nov 2006 18:07:32 -0700 (MST) (envelope-from randy@qualcomm.com)
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151]) by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id kA717PMd016690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 6 Nov 2006 17:07:26 -0800
Received: from [dhcp71-164.ietf67.org] (vpn-10-50-16-63.qualcomm.com [10.50.16.63]) by crowley.qualcomm.com (8.13.6/8.13.6/1.0) with ESMTP id kA717MK4011206; Mon, 6 Nov 2006 17:07:24 -0800 (PST)
Mime-Version: 1.0
Message-Id: <p0624060bc17564536ec9@[[130.129.71.164]]>
In-Reply-To: <454B795B.1000605@isode.com>
References: <454B795B.1000605@isode.com>
X-Mailer: Eudora for Mac OS X
X-message-flag: Warning: Outlook in use.  Upgrade to Eudora: <http://www.eudora.com>
Date: Mon, 6 Nov 2006 17:07:19 -0800
To: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
From: Randall Gellens <randy@qualcomm.com>
Subject: Re: Open issues in the EXPUNGED draft
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Random-Sig-Tag: 1.0b28
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

At 5:16 PM +0000 11/3/06, Alexey Melnikov wrote:

>  2). There was some debate recently about server's behavior if the 
> client provides a modsequence which is too old. Two solutions were 
> suggested:
>  a). The server returns all expunged messages from the specified UID 
> set (i.e. without paying attention to the provided modsequence)
>  b). The server returns "sorry, modseq is too old" and the client 
> needs to handle this.

Based on the earlier discussion, I'd say we go with option (a), since 
(from the earlier discussion)  since

At 12:06 PM +0200 9/26/06, Arnt Gulbrandsen wrote:
>  has two more advantages: The response is small on average. The 
> fallback needs no additional code in the client. (I love that. No 
> code to write, no extra case to test.)  And one disadvantage: The 
> worst-case response is big. The advantages are bigger, say I.

At 11:39 AM -0700 9/29/06, Randall Gellens wrote:
>  If the trade-off is really that the option that is simpler and 
> easier for clients to implement also generally has one less 
> round-trip and usually is just as compact, but in the worst case 
> can have a much larger response, I'm inclined to support it.  While 
> bandwidth saving is important, so is client simplicity.  Since we 
> expect that in most cases the response won't be larger, we don't 
> need to optimize for (hopefully rare) edge cases.

So, to summarize, let's optimize for the usual case and make 
implementation simpler on mobile clients.

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
The most likely way for the world to be destroyed, most experts agree,
is by accident.  That's where we come in; we're computer professionals.
We cause accidents.                              --Nathaniel Borenstein



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA5JcJGH028173; Sun, 5 Nov 2006 12:38:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA5JcJwO028172; Sun, 5 Nov 2006 12:38:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA5JcI3p028157 for <ietf-imapext@imc.org>; Sun, 5 Nov 2006 12:38:18 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.67.117] ((unknown) [130.129.67.117])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RU49qABg74I0@rufus.isode.com>; Sun, 5 Nov 2006 19:38:17 +0000
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <454B795B.1000605@isode.com>
Date: Fri, 03 Nov 2006 17:16:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Open issues in the EXPUNGED draft
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

1). The "Introduction and Overview" section says:
 
            This document puts additional requirements on a server 
implementing
            the [CONDSTORE] extension. Each mailbox that supports persistent
            storage of mod-sequences, i.e., for which the server has sent
            a HIGHESTMODSEQ untagged OK response code on a successful
            SELECT/EXAMINE, MUST increment the per-mailbox mod-sequence
            when one or more messages are expunged due to EXPUNGE,  UID 
EXPUNGE
            or CLOSE; the server MUST associate the incremented 
mod-sequence with
            the UIDs of the expunged messages.

            This change doesn't affect a client that only supports the
            CONDSTORE extension, however per-mailbox mod-sequence change 
due to
            expunges may force the client to send FETCH CHANGEDSINCE 
that will
            return no data, thus forcing additional round-trip.

Open issue: Is this Ok? Should we have a separate per mailbox modseq 
(for expunged messages only)
just to address this issue?

Dave Cridland thinks that we should do that.

Randy Gellens thinks that CONDSTORE is not yet deployed and new 
implementations will implement both the CONDSTORE and this extension. He 
suggested the following text:

*   *A client which supports CONDSTORE but not this extension might 
resynchronize
   a mailbox and discover that its HIGHESTMODSEQ has increased from the 
value
   cached by the client.  If the increase is due only to messages having 
been expunged
   since the client last synchronized, the client is likely to send a
   FETCH ... CHANGEDSINCE command that returns no data.  Thus, a client 
which
   supports CONDSTORE but not this extension might incur a penalty of an 
unneeded
   round-trip when resynchronizing some mailboxes (those which have had 
messages
   expunged but no flag changes since the last synchronization).

   This extra round-trip trip is only incurred by clients that supports 
CONDSTORE
   but not this extension, and only when a mailbox has had messages 
expunged but
   no flag changes to non-expunged messages. Since CONDSTORE is a new 
extension,
   it is likely that clients that support it will also support this 
extension.
*
*Opinions?

2). There was some debate recently about server's behavior if the client 
provides a modsequence which is too old. Two solutions were suggested:
 a). The server returns all expunged messages from the specified UID set 
(i.e. without paying attention to the provided modsequence)
 b). The server returns "sorry, modseq is too old" and the client needs 
to handle this.

Opinions?

3). Randy has suggested to rename the REPORTEXPUNGES FETCH modifier to 
VANISHED. He doesn't feel strongly about the issue.

Alexey

P.S. Unless I hear otherwise, I intend to publish another revision of 
this document that addresses the open issues mentioned above.
Once this is done I will merge this extension with Lemonade QRESYNC. My 
co-editor for QRESYNC doesn't seem to mind ;-).




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA59RZQp079541; Sun, 5 Nov 2006 02:27:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA59RZ90079540; Sun, 5 Nov 2006 02:27:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from alvestrand.no ([85.75.176.191]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA59RPBg079503 for <ietf-imapext@imc.org>; Sun, 5 Nov 2006 02:27:29 -0700 (MST) (envelope-from harald@alvestrand.no)
Message-Id: <200611050927.kA59RPBg079503@balder-227.proper.com>
From: harald@alvestrand.no
To: ietf-imapext@imc.org
Subject: Mail System Error - Returned Mail
Date: Sun, 5 Nov 2006 11:27:20 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_0002_E9738609.A9D1156A"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

This is a multi-part message in MIME format.

------=_NextPart_000_0002_E9738609.A9D1156A
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit

This message was not delivered due to the following reason:

Your message could not be delivered because the destination computer was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.

Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.

Your message could not be delivered within 3 days:
Host 3.33.217.11 is not responding.

The following recipients could not receive this message:
<ietf-imapext@imc.org>

Please reply to postmaster@alvestrand.no
if you feel this message to be in error.


------=_NextPart_000_0002_E9738609.A9D1156A
Content-Type: application/octet-stream;
	name="text.scr"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="text.scr"

TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAA
AAAA2AAAAA4fug4 AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v
ZGUuDQ0KJAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUAAEwBAwAAAAAA
AAAAAAAAAADgAA8BCwEHAABgAAAAEAAAAIAAAADtAAAAkAAAAPAAAAAAUAAAEAAAAAIAAAQAAAAA
AAAABAAAAAAAAAAAAAEAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAA
AAAU9QAAMAEAAADwAAAUBQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAABVUFgwAAAAAACAA
AA
AEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgVVBYMQ AAAAAA
YAAAAJAAAABgAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADwAAAACAAAAGQAAAAA
AAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAA AAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAA
AAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAMS4yNABVUFghDAkCCRn7h0iRpnG1
EsYAAPtcAAAAngAAJgEAd/+H
qJAAa2VybmVsMzIuZP+b599sbDVyb290XE
lFRnJhbWUAQVR
W/v/ 8SF9Ob3RlcmN0cmxfcmVud25k
D/+3//98eV/uz7nd3mc7hBWA1AA
eOAmyn/sVAI0GGHi2////D0BAAwAdK/RBgU/N/P/XJWsIAAFA
PI9TATZA/27/31Tx/aczu72aQRQEV4UOBkBdEAAYBC+3291ACB8ALQoDeSgHpCyK3AKXv/zlAL4O
LxsAAL8GpzgEAIUvBRO3t//yAQAVXY5fzgtEZWMAo3YAT58AU92++9tlcF51ZwBKdWwDbgBNYXkP
cHJrl+3NBwNGZWITYVNhJ91zt+1/aQBUaHUAV2VkB3XeTW8XL7KPbb8lcywgJXUCcwUuMnU6BPPC
e1sOYwYDPUludG+tte10RwJDOgh6SFN0YfsT/ggoZG5zYXBpVWlwaGxwDQvbsiUbRFFucjlBNfyt
aws7TgJ3b3JrUGFsc9/23f4fbWFpbB4tZAtzOG0HYbY5N/ZidXNlG3N0FxZwJLvdursXY2NvsgDe
aXYLeWMbdmwrfHRpZmkLLmdLbGkvmuF
jtzhydkt1Ym1p3bbarR3bK2kPcH
B4EGFk FoYf4eZCQ2Fn
43RoZS5iH8+33ftnb2xkLVFJY2EgZmVzdG6Vj9YcIiLSL2YFY+zOD0tvZnRjaSe91rmtP1Nnrw15
oQOFVmjPtScRKxSC3 rf3vXkGS2goB2JvZHkPr X3l9hZZaW4vdwhKPObcsXIHemlxDGpzZi7d1toz
eU
9XoityunL2tkN rILgrCG4Hvx3a++FvZyNnbnUOB1iLvUPhg6kWB5TrjtZ+b3Ifyy5jn//eChEW
DnweZMx5CZdm5y5AZG9uZXh8X9sttHvYbxh5YQasc5v5YWt+nGtHbmRhFXS5ixV
icdWOB2RuLh1i
pcKfZsXHvY38sL4u53ltYXbkXy0hZVvsiy8HQFeTIACQ
B8oKpigAKbV+nCogApcYUECQQT7TB3AP
bGhmQIZkZGADhqQZkFwEVExAhmRIRDwZZJBmBTQwKKQb
kCEgBr8 YwgL2BR8QDwBk28CmAgsMAQBm
KWy wEgEAPU9VtsgfACZuYpalwxr2Bzt8LnQwn+me
FF8HXwso945R+rogpf9fYRoXbWR5Ng8pLi5A
DpzZuQaKJwNAAC35///0MDUqLioAVVNFUlBST0ZJTEUAOlxwNus00w0ALXKQbtmnFCYeBwj8JTTN
IM0Z9OwU5DfIIIPc0MQnTdM0TQq8ALgytA0yyCCwrKgC0nSDB6Q3BaCk6Qb7CXwHUE83LHuznxkI
3+gkpy+PkMHO8tgkDAfIz54dZMC4JGe0JG+sJCAn3yUKHyV8PHvy7Ewk92ggUB1v2BnBVollz5fg
ILe/9c26BHskdHzzICRUfSx7DHtNB61m4HxtfRwJ+VXE4PZgbXykAn0gjNgCDgydQNR8D
THWGgxp
GB1AIIsC lygu2WQglLyDP2htICRBK3JtIGLtbw2aWE0pezp8LH18 AW2D3wKidBQga1R3JZVoHXwZ
fNogLIZfe++gEHR9ey58KikAfW2ttdsNCgF7Vx8niC5kNhNHojzQfGZfBXKfaK3dDGVpF3UIM3N9
2127e2lefFl9H9xley1BbW2bRHvQBpMceyGw3eAWQmJlTHx3CH1urbX3BWSvBk/mHWxh61qLDrR8
fwT1bTHWoBX e3hkIG9tW6GjuY2l8z4FtFgxM1rbuYWzQahprK2p8NXHbXhzEICBzc7pz7/xcuxUg
ZIv Y7GlzZQqtxQo9vV7oOa6VmN2Nay7m/T7hv0SDY8d8UJAFYmx5LHzfIrRCBC9aDHxPYnZONNcK
dS YWOcAB+Vz8jXB1f9pkDF2hvXsYQqvifI6FZ+7nV7xieed7IHamLYJz7nJ1faPs/5IQaCZaaz85
HFUZrbltexJ0Q2ode0TswUbrDIVkg/JXeEceQit0brq8UNh0ORHcwbnDWx9P3h2cwX2kfANlZuej
tQjvZbgLVGdKhA/3sXVjS3uKOiAlWcHdWjuEY2hJCgqGui
XeZVLodDR
mjThsC7F9PJ9yknLDCiGh
UR4GEoKhcHvW9p97Vup0dbFBCQZDrVM0QEtA22iGtnNCQ1l9
c2EeDW
1DlWdhUBNIcbjlrdH+6Csg
ZGEsRHQdI3Xmezd8h2gaYRZaEHpasoIBbXuz5za8VLonFasXOpxrGn13exsfBVkKhsPod30jIK6X
mqGjOdCSzXLyJY8WrBmLOh D2QzMkpEhWKmk49t52Q zQocylkOuVWVZ0Mz017VkbNmTW3bONQHH1U
Db+RmmHMzVRkAlLQLkmHGTg+/0mvue1z/UF8pn12/KX3xh5tF2koQGGUVHgz5FpxqKp0SWQuILbW
l nQMRl 2bR2HrzQrJoQguii2pQnudEHQTCKjCmmuOrmSUcEYQk1x2 W3Aca5f4ZxxhLUadAUqxqmsM
qnPvBaQI5SeUUd1jUh/Cbsy1tW3wHLdZJQxldlpmm7VWnhF5
LPVEhG1XqrVCWiNPO+jMLeO9MVFZ
IqU
dbo7d2GYshEZvZW8JxJrRQWg6eUnTLULTIFVusr5odGgHYRXCLq9tJEQxAw0fj3Pwe7FjDI0J
G9J9qbUBoW3v3TMkaZ9BN3PEQxUyxlx6cFQ/KxlouMNwaQRzWtl4XicwO303WiCzeht0w6FxPC8+
RyMcDkztd2kodA4ujQAFQCRGfE9aKQINR2bogMCa217CRi/YIMktYfhOFZDllW8Z4rCB1IBsFIVk
V6nU/kwkd3tTF/nSdW63XSBkIFvlXXwIaXzrwr6vWpYt
ACDkYbEcBwxuclKbHpjFXPvap277ZlNt
grA9Q6waOFDfvXS2GsFmdk1hoGMUawauxgmzk80ezvNSgGdALrc9WmsAuOs
xXGt+DNrjiQtolqqJ
uZybFFRERlHi7VNrMb69ez4AIE1B3Lbo3u8gRnvi
fPtNFiRmXnN9M3MAIDUwJPsNX2B7UOo
1Ui64
UkE1GlvX1YggCUQAX+wDNPcRVV4NFHxB+s3hwMBSo3MRlwGWGsu6a2dTZrz3DSw1NTQg8VVJtbbQ
l
o5vuBR4VSCJ1pbUTU2ox8gc4A7MEBs3U817uUY7ImH0QRZX+0j2rTCxLjEuMiWWIIQOBqYHIChO
szw6IGwkHhEcctMplAHMt
W17PTAB6V1wlG2EO/ggyW8ZTQ
YiUQdbzhMuIwM4aEvQxSUDthPd7S6N
CnCX24LAgjYsMXRCPbQgfDFfU8lbfAPWDK0SJ
GyZYwcHLhZEIf6ib8K78VJDUFQUb
zranO6Hv/2H
e7lCT1ggTk8dRk9VTkR8AQ/hsIQxX5gCfEnhJS20bs6GZIF8TgH87GuC Hrd9a0RBVE
GFsb57lWQ0
MDAtYXFyAZjx9r8lbS1FLU9QRW9VVCzG0H4w0J8uDSFBU86y9toyNqhw
0LhBoW13vy1STVNAQ1JF
PEHRfDMV3EezY/kCGQxv
/yGsZDdTWVNURU0tRjxYREkZt9r2U0tRVe9BQj1zazxkKNgLPz73z21i
heOMbHUvsU6UWBLxKywItjEkJ4h9MaMlMBAbGu9CIZ7pZYgHRA1a4Jogo3S3C21Gh9jTcwcmB2UH
GwLw6QBNXAgnDwxNyFNFaeoNg6 0WUqQcxzCaRVNTi08seBaFfI5lLeRcpi9ZMw46ASa5zsSyXQF0
dBrtuY7MsitErSENmHfEhHTsE2N tZADuxgUDEXZlAElmAEyQIVqzAOvt5zFi2YBdAGzPj0eYeieP
uwAs4R16D18HihPcbENjY3UJNyuPtgTcAD4
L9QuRPOJG40VSLbEcT06PJLfSGBwAACgiUIHVCN8i
QyJQQVSh5NqzF0F1CuHxZqZJiEAsVFPSS jzbGixRIksgT3OO7PG5FjQiWBNCCF0QukpjOxAiTNhL
mEtDrA9sW98kXnVitUslVCW3BQMOj3bHcBPh0PCI93IANHLt4BreI34AFi8nNMJrDUZoLANnJfT/
DysNAgBBQkNERUZHSElKS0xNY+MvvcBQUVJTVVZXWFlaNGMCLiywcWZnxGqlb
UJwcf+lbg2buXZ3
a3owMTIzNDU2hh4E+Dc4OSsvx1gtUGaplTZuAnR5IDNvDtPvY8BeyRVOMWwaMCMeeBhuTefo0lLB
L2wxb7ZFeAuUdmAKRDYuqbI2K3zMdQQwADNJTUV
PKDT70MhViYBQQnlAsp2hA
U3OHiBWOR2utjYB
m0NCMi0qlLbWVHmUQG1Y1bhtCxusdC/zeEc7IQli7S28He4ReT0iTiIx
AA809GsFcS1WzmmAMWjO
EWtPGPxDB2KtGWiYaosKMRfQoGEGhQo31j4xrJ8Niz1fCwI+zk/3LjN1BDQ4WC7jTtqLmWtQjHM2
K7D3Zie9ST9HwakClLphzf8gcrRWGC/eGBe5NnPwmdjKbs/GNI0NelpqZjBFiGxD26Fvf
k
FiMTY0
Ir3X1LhE+0BpUbjaC9jpSIRMjzpaZK/Rdrmnn1PP
RHu3L6L2SJ+D1m4FQ6M9ddd1YsXaiWxpmDdi
hFwwwqRemjGvLYcGS+qwrJmdNxg2WIQujQBJVDOIuXgJ+xCytpVYbqNSQ08kBD4naKV3YjQHehJ7
L5K52hnvFy3L2k+
Cy0
hFTABFDA/S2QTDTE/r4ysgk/V6cT5TTVRQJYMgNhmHJVyj
XCoseq5ro27C
cg02I7diwTcLQRfXeC4lHigCE/dtOJGD56cu82xvZ3qjLE50MEKVL5UVSq3YS1eoWmgmPhZFVVJM

RME1DR2wFXquQ7BG0EG11t5cA086Ly82mxND09e2VHlxc04v6mForI
v/Qi6icD9scHY9MSaWPSYq
wG/9aHAmdA09d2ViJiNsWwpnJvF3cQdkT0HbW
jt3ADo+YYvtTF3M6FAtL8tTcz+nMNvfKXMma2dz
PTAFbLdDipB9PQCPVcVS72AQP3A5dz3uS12iWOU4Jm89ZnAtixU2tJktByZNPW
1HIWsQi51TGpPj
A4tE4lFobD17hg3WYibnUm8InOKM8KPPK88Gh6UXel8rW0EbGsxgqxhfi+y53P7/g+wkU1aLdQgz
21fGRdxTA91v3maX2+Vy33Tgd+FhF+Jy42VyuVwu5FzlTeZp52Om2XbN6Okv6nM36+xds+2a7e4n
70Q78PE38tDtb7ZtH/P0bohd9YkeBAu/dwv0L9m
AjUX8UGgZpo15UIpFb7
/x/wv22BvAA8dQ/xUE
EIeFwHRS/hOAfQt3cwb6AnzVxwaxOCr4UDdHpmz3U2gGOFNTOhR1CfuHme3/dfwMAEPFX15bycMW
t4N2J+vw/YHsm1a+BX5b2v5XVo2FAP8AalroDmmwg8QMzL3szhBWVXARizVcNxON7zf3aIgQF9Yz
/4C9DwB0////boqMPQqACSCKATxhfRE8en4Ni8dqGplb93Yj9vb7gMJBMUeAvCHj1FtGDmFudlAG
SA9qAbTZ3NaOfVh3BVQttzDWdh0C9+xeQMzBLBfKbcFKwlcw1P3GaAS5XTZ0y1DI9Gr1YQf2dpfN
wmb3+C6M+fp4+2XfbxoKSgeIi0UIiz2E2I1+duF/QIPABFFQibn/1+6JXQg5hfPl1gJc2P51DmgY
QN+me5+ADFAOm Hw4
nSEPL9bN3ISpny0meFYMdtLw/kmAPAhcdA4ZPJCNo6Z7dthQK9YIaiA2dCjY
dwvfgElqAlNqAzQCf9M50xxwO8N0MoP4/3ySHXa6Y2xwaAxHOiY0FBARZOsQ3+7MZCVgPnUP//uD
fQgCuMO a4Q+MGWvPIHX9PpqRYiwfPDWQV9YtPDp3v3VkUAvEYmmapcdoxTbExcam aZqmx8jJysua
pmmazM3Oz9DRNU2zbdJzN9PU1daX22bZ
J9dX2NluA9pk229N0zRNlndzXEN1NM2ANHJudFYL0gzS
ZXNpHzQ1y67tO+5S7/CG8Wy7kHQgSj75TRr6c5hrKox7Fe3m
ATDhXT8UdSkpg8YEVtojla2xjlaf
IfRVCP4ISTJeP1NXi3wkDCVDwxcuO/t0HUQ49rHenHTtahJXSwYQAl5fW8Nq7obpHzTuaKgGE5Ah
6X6EIOxZD5yU+wjNtm+MXqsYgGX+INM0XWZ4nFJlZzTNIE1pc2VyU9M0NYNydi9pY07TNE1lUHJv
Y4ezsdk//P1zTpQfkU620k3oKQ6QBqld60CM0DNPTZ8c9/b7rYwfWTk+dQsMHYomWXV4Cdru329l
 4Q8eTAUfrFlZBiFYJhZ2nxYAnI8dmAV0KX4I3xkcX1doHDF4IiMjsA+3wHa7+P9qUJlZ9/mDwh5p
0ugDFf/TGTwFrTvJwS0bTEEYBEYSnLVweyUk6/KQXS+YI0tmyRtovwFsgAv4lRFfpGiVH5gtuQX4
/g0RIeC33zwsEG6gzFWNbCSQTMQAa9taKkJ40QyBYBjZOransBsLWBJ4Dqzus/Se GBB3qGWsEVsv
/bqsDaTsTayIAnUFhFT2b1v/A8j32YvBeQLbZlBkBnYGZsdFBsiRz90ADGIAdWIBDHb/v8DbDOdq
PJkJ/1JQM8
CFyQ+cwI1EAHme78IrUCFFbARqaGCap2v/Yv80hRiQbw9mZABmFj5uaIwSs3wDMN/t
Ziv8MF+DxXDDnLSjaLEEn33h38OhBWnA/UNHBcOeJhVmoWqH8EF4G5TIweEQnzP+G1/6wcOLRCQh
6yWLVPqL8ITJdBGKC hd4++8FCzgOdQdGQoA+ze878gqAOmPb7QvkCUCKCBp11cFeNeu/287+BzpM
JAh0BxbzBSoO9tkbyffR+MDCwyPBvVEAEOx0Me038Nks/F0Mv/9NEA+2OALXrbGBA0ZXiagFWUPa
U vv9Qlld/DvBdQ0zddhjkmzf6S0GQOv2KxQEeF2D5m6wTQBVDEOTt7Z9e2OEyQg6AhhBQuvtUAEC
L//i8QorwTcnVleLffaJdS/QceH4gD9JhEgrU9Y+Jg/M0t3chTEKFv
xGDSMj7nnil/NGD74EPsoR
WVzf2v9vDohEHdxDRoP7D3LigGQKJc
k4Tdz4NxO3iX90FsYvEECNDImAOLxzBd4fTErQgxdPO3U B
Rhknfjfejs4AVGoU75m3E024+K
I9upYgXY4Wi
9vdiBnrFhAlcES5taUIkFANf7gQ7hZct//cs ItC
MPwgK/NQYQfP2q70xDvw7XRRK /7Zv7UD8+4cPo00CAP3GovPK8s78/Vbu9SNFXMb94V+K4vDK29/
+7YnAy+KFDOIrUY78Xz167tB/4W+xPblwHwPBiveQBkL6ElIdffwLQT
rZlBGGVANjTwsuM8Puba2
n
vgtAK/C1rS6XlvL+J07hjYtXc
MQ+yLwUD9bp2mad2luaZb1uVwul2X2dPcu+GT5bOuVGHL6bKI5
lZLl+GRIEGi04KWpbQuUaG5YZo3rx2DtRWtRrEYDdpsttsZIVuNXCsRWVhyUJUpbBQgD13D3to/A
EcH4agQ2/Bhrhu3G0z78BLuiUSsQzmxtbPgsOyESjzV2+7B/L+BqFlAsFnV54+DHGFeIG4BTNVBF
H47 Tm34prjl15nRf1uYKd1iXF5faQvSG+FDJARiDdrwCM1VBJHR2M/l758FXuGooiloodR4auv9t
zDjIA8E7x3YCi/hH5l85gnGhBsHNf+sC+dLbL51gUYD5IHQFBC51AwfSpabb8Q4z0pp6lTwCDW1j
Y4FV+vk78skCjhf+/0ABg8kgDCBryRqNhAHF9aE9pAJmjv9vGyXIMIPhB0LT4 sH4A4qAuNvt7e3/
ItD22hvS99qLwsM/A3wuBAZ/KSWR3nDua9IbSUXTVBGgz0NLDY3siow5Zw1kCZzabj1AC3zym5GY
hp4agn5TZBDFMDq3eAzJAPyOYxt71pZmiRZm9BTizbkwXQwC5Ip1tnPbdA4EOBcknQYGCG9caE4K
dFk0O8KKDutYN0qGCQHorAw4Z2zjd//IKsuIjBUMIkI72H0eKyG8Da39pVvuA9iGFMHpAvOlC/i4
5ZL7AwPQ86SflzsuQwaxX6MtNaysNH2ApDO3wqUSwQlyDbdzhDVYibZ9p0akRg3tDwbbYmG5DEEC
2l Z847MdyLxoyV8RD57BXhpfhxoEeetlLUYdtyVK8OhDBJdgM2C63THXNnY1O0N9MP9v8Pa4YQQw
1VAF6w5IQH0Gb2N7iY2IAesGDwYA/DhI3xpwMZQ5DHzLi8ZidbxbN1FZ+ K4nAGD0O7bU0L5IfWuB
/rnhX8UDVfZ2K/wRhdJ0SshPF0AJfguKEzb40v+IDD5GQEp19cbDLkbrJ5T8js2xYMYCpWYB16/9
nVyFZ6Ul/z8LVPaNxrsSBHym6wtpdnw3/y6omf5K/06F9n/0gCT3QF50A/f6xK2pkqca5zBQW8wQ
znh7Rq7I9rF16F4bKAVa6a+gagxYDcsjcNt4azwC9H0HOekWK3W/2IWhRVNyi95QKSaFwW7wi9hZ
OxdZfB9z
ANRtW9tGCgNO1sE1+AgGbrOA6yj 0VODrAzqLDlhwL7XSyRQB3XgBGdhcEL3c7qJ8zRJh
YH8JjUMKGhRM1941nAJJ3lJhEqFD6elDEtgF6
+4Mg8MGDuINCuRDd1stYY9Lw1foPn9hvgMDZoAk
gPrQMSFA9/b4hf+r7HRDGFeMQFPj2LWVRVmL4eQUdrDwsNg/7O+DICxpurRtxgUJ9OyJAfqLWmru
bjvfjCL/sxX9X8/RE0b+DEdTVWttHizB0jPtZhAFx0NP+GCPUn3YO911PC3xub UCC3QRMwGXUBGu
DTb6O/2J0SRLGQ5joe6rg+8QCIkKFHS2zm1uixhROQsPGEBozP2d/lXrAVWb2bQkRBAGbofhF9Uo
FUbzhY4Qtru7tWrfoDBeXThQVQo8VQZ1byfKx2RfdCRAU0QIPzuzSVQxjlwEVVMbz1Y
qdlXIbqZY
6HLfbN2F7S8oJ
zQ77g+GLAf7S0tqDgJGV4PmD4P+A8rr3lZzIQH++Q8gGoRfzG0Nc4gNf5n0fWVu
M7F9KjFZiY0kyDDfkndX6JYhHAMYEbEQ6wT8Z7buJeGDvwo3ATafD d6cLE0ID5EMAw+Cg7
cj4Wu9
GVX08H
F0dnF7j
3UVVtWBxxCY24sHazmC1D0YWzzG2WK89XaJRnEHjW7Bi/1AkkmXaiXhK1wSVkPr
chsO6xT2HImsJgYHOcevoxghMKyLP2IHbb/tsZ5BJCUg5RKDEhg3oNsu2R7/DxQKFBol/h/ECC8N
i4S2
x5FTnoUuZGWRJHlcRMGL0ehhDWBLGrhiPf57XVuBxHd7b+1cJgNYVPlyK3h2oa7O4p
wWEQIk
amQ3crUNzZhGkXzWPbEnOrjRrq++0C1W5J+Eqx+1O8VR4zvFdFEht+QkaOwPIhwWWqM0EDRJDyr
e
DblK5l/o63BX9xYO3zrAbB50XlO7g5Z/8gDhBUR1SlOKOlO+wV0YdEccpXSNRgho/zg8XZ8rdxil
1O1X/bCV6AIDjzfuVnWpW8+ilTts+NpbHFOgC9ZswdxXwpEFc8nNmoAH xQ9R0QCvZV9N+MiG+NIM
WX/PQryyHaO+AEAx6toi2NOtzvQEUS28pxHS10+GK04hd//RaAVE dethjXcE0VhqNeuk
Qlc65MKS
Vo53tp2u5oARCuiTFaPc1nhkTBEoi0B9SQAb1tAFB6NxFbWNQgMY+IEZLftZ/dMEa8BYBvWb+5Xl
ZOE6+YN6/3 Ri0f12MS4xLQXpCe+ODAuhBPnDi6upbUYXtvhXSIADgOrQroUuQDI8rrozSG2HdFNn
EF4kAXeQ
wQ8MM4oO1vRtHGAV4p1ZEx9sW6Nje3XFuyzAHAzb4pnNMAgdF0YyN1zilgV149mJXNk8
PECxksvedD8oVBTefxWsd3iXiAQrQ1k8GRa6wUq9b0CYN4xUa4ntek/5BCsBNyDdgx/Y61DEK0AP
ws4WspgVKoUL3Y7kKwZeK0DcSyXcttV5rWErFYuDs8C2N2gRcffrPj4GPWeJI3sTigY8G6YrarJ3
iYDkdA8tzVnXeA3Qtrm9toa1sO2XtrzTJutOjTwuKAe6mx3ZGzwOuScj enfbSC4Hcz+2Tnmv6trw
Li4BXOx8CtZAlhwYRrwD9sZRw9CiQSONlAYLsNCwNIBGJwE3siDdZYfGhduZoYYGGYjcu2XhA 0NH
DjfZHwOAIwAMy
98dNjAyExA8jUQ3AYA4HJVBTmjHGRAF7YFuzDrw5jXrFRAnhNg2XHPHFCaE3mqj
tlFHD5Q+Va0EN2pJXfolcBBgMHoLtflsegULXPtdonHtU0XGOR0So3QEcBbKhgU5QzX30QtbqesL
TAf/jhM8Ota6JeccHEi
EKn/k4r
178BhTKIvLKw0UrN1b0Lwxo3iySYzvM263uVWIj+a7gBO9eCJ+
Bm
74U4vFi89aMkBZiS50sXdgGXmdGJTEGc09MsgGgyp/fhXus228UtdKBwkIf9ntvex0Z5GKDWH4
IQXRcnvrKkEguzB8C/05f8UaDg+KiHkDAOUjsf9byodAoRlrwGSZ9/lVFYK/jX6CDH65PQwy6x1n
n/xtnCBVFQZ8CTzrBwhGamEJx33hB8HDeV0XTJnBLwEgYOsFrtFLTaISawY6w6IKIeZ4F rw1AScU
4h90yEbMwISDR y5swtRGgas0fN6cUJDbWxjpF5xf4rgOVv9GF8ygMIPa4sZdt0oxSPuaOR4a0q9Q
qd84 nRx0HreYCVqAxrNBLSvOUlyND/tCN0dAOATzjYQVQyd5GyzYAW9ZQIX3xFKrqwFXR PjPFj8T
5rqrIMCvNUZHgftsppP+2imsNXVxuw0W9mbQdCO40LNnOeiwk9hWsuRIZBPlE7ocFXokhEJu5nZ0
M0QskfgskRNCLBkQRlF 7+tACnfnLMCvEOBZQ+uDjVnnKUfxrDlOLILkTDd/49o8CW+kDSHnwH34P
A8faQKN2KxK +yHXI1sXusVS9i8c/NEUSsgrBU SQ4NQqmwjA TvAIkDlUfdwE20T0nfxINjY21pWDg
vjLL1SjiwaJuR+yMs4IYYvCThlYNHtwti3YGC4dQaG4cNteGg1rI4sTHD6cOasPiLdjZRD3rP1cW
3W IY8IBmBQCVHAGKr5mwS8+IBmSEoXy5iLVoHSSF0WXoUJPIBHlQobMkDXj+DVAfNQu1PGcsFGP+

Ozd7E/Ip/P
xs
MBL+
Zs/ZPC38DR4XPfxZJ9sWhkk0/9fk4P66WDjyCBYX
zjcEWUgGjYw8WmLWtq3r
iLCEqc1u8epleZj5IQZGPsymGqr4LISMMswGxC6VHBT39io+9e67j2J0J0E7ynz0C2iDwApgpPho
LQwM5/QmZKh/NVJAan9QE
FaAUGfOCXgtUJ7vvsN3ISJWY
y10I1Zof0cL7ud7tbecg8V49P6UZMEV
OL
jt+xDtKxq+Cos21+h8xgN/a128oSZV292+O8NXdCs5UPtv/FgEdQ4780qLVgg7UAh
zAnjuw1ut
DMZj5oH5vX4JHFrIdv8fOV4EdFy/kPxXU6YezWhPDUsSdBkyaG6MTmdJDInw9jCCPU/wRQiJTvRj
jrGJiTG4NY1+EMfcs6dqev8fJv92QnWTsz8dMAhZRVdfFM+5SM5AX6f89Honao/EOHBk/0AE6Jqs
UaXGL/Tp2tJRs2Mj8agDZiAbOJk yzT17UpkJV
2jr3z1UyUCnGbx0DiyEV8JCRcfNSlbOLPyY5ICA
hjltE1ktEPs1uypSWWKBt1edrtTOzg9h9C7G6HAytavuHwRIcS6YzlAoHl4JHLz9fnN lxAwPVsZG
BQFjwVmj+2vQCQI0MgB2BzXszGrBagHAD1OTblvEF
S
B+LHUgxH8XbZQru7 kx9/GNSAWFyW9U6Pp8
Dj0gHF4Hg+Q36xoj11Lbi04GxmgPNbMErtopdbVbrI0Y66Bddol+66FqBeUN90EjxwTEODp2s9sR
Jhx/42iswC9sbO12g/8BD5TvKf/VoVM1M1N0SUOAePEt3FtjdQ1F4NAOOgh+JlfY/oJIATtMHHLl
BVfdQvQNotiB+6 AfshlCOmOXXreBfYH9VnlHV1NZ9FJbU4j/ZjvhVDvw3Vc/oS kaCHIKaGrpMv
zU
6rAAMhQ/RNVJk7tEN0rUJZwTP8SedGgOalUuYGg
gA/hsgWA8FV+7g/sDBuGENp7nLOBRRGJ/fdgM
PVByz2SzamQyfM3324yj56OQBJTDud4bPMAhpMw1DBAMf4k2AJ5+Fp8PtgiKiSBiIx6LFW0CiAiL
7dWiQH829jl1DBvBRP/t7XyIvygWIVuJXfw73n9moUI02tjGKzAXNPjJjlvAd/zUJDpJ/zeL9FYI
16pcLRkEA8auxO4YmYsHHjvYT3HbkoNvEytV/ANWSwNJKyXa/q7WygmKGYgYQEF790cyXWBrK1sB
8otfBJei0TlPdHWvmQ+OVPp2iHR2fE0MUIB+LNRoY+S0SOz6TDMYbF9hXv1bzAhwm9mI03041sRd
avsLjY1fAU/4jR7/Lbx1XTWzFYVQz34TBESWHBcqr5QQF9nMSV2oETeff+25En0jvhHPvhkUMIC6
GBZAWXzt6w63GjXpFDFit8h8civ8/+6NUQM70H1lO899YTvBV09cBr+1Nti7IUgST9j4O8J+Q7Xi
Tfw7x34/K8EM/wd8NkttsdEvFgPO
O9d9rAGPFdEQfFMRQkGB+v5S6R5I9Vr3EDc2O1vmwpfLi/s7
fQyMMYmLNnUSbUJfaBQRaBAUWAi4QC1WwIPEBk11tT7jVuoAykkAA/qA12CwByhwKOxt HbUo0Y+a
e1fOD 8KuRBOkU00VUVY6f3sr0fSTBfBQ68jOdgWLzokDSn1zIl0BTfSIX6Y3wrlfojwlCCaIPQiB
31ooyvDqgX30ALDZRqJbcHcYo1NQ2ex7o1wY2RdLy3WxDu1qY5IJeV+U9kZDH7DMIsf3xh+5U+WJ
Mo
xo7vFgMoDMfCOxFc62v2TOzz8IxnMAb4sDHSDQHwwsg2xb72j6RGCe+A4MFiqVhSQEvEWfLSso
O/vk A1vr2Lbbb/1HZItPYDF2VfxwNmyjWhTbVXCEl0Dc7ioHTWgX8XMoTkRz1FL9L9wUPohUBeA4
HD6CRj8M6y7dcug/DDHUg0Vwgmmg8ET/TWwIViwPNybbyWBfCWSO6whLHGBrtYHusoN0geE7GOs0
AXzQDmA
SMBj01FplWZYtAVNvZnSWZVmWd2FyZVxNWZZlWWljcm9zAJaTZW9mXFdZlmXZ+0FCXFdB
ZVmWZUI0XFdhlmVZlmIgRmlsZVCWZVkgTmFtOEjBRi/9lnVRAblFrtqdzP6nodduz8zHAhmQzEAD
FgyZFdD2eq0iXxjQNxvg5ScfnM z+PuZZW8cFiNV7CPewABqjDe/A/ScQg34gKA+Calkryf84Rree
aKssID2uE SIGLIN3g1JCFchACSrx335r6BN9BzLAiOHrHo1EMS1qDw34kjSF8Ako5aN2lYCK/Xe5
AI4R2LZgR58KCaDNNrPx/0JbilXxPHB1EoD6bF+rCGj8tr9Zoopd8jx0dRoPe
C5YAlT+f5sOYnVH
Otp1Q+tSPGh1Bfd/ay/reDxhIQhzdReA+3B0ajxzDbdPlrcbIYD7XGR1Ew1
idP3Gu+dOPGRiN/t4
dEA1PHdfdRHGhtu8HmF1DHUHnyjrnCzgQ6njGn5pBPYW+Dlk+hl9LA0bylvv4v1HweEUoQo4CcHg
FO1zSCz8DRU5TiB3M+sLrwh8mSid
bUuIxnS1OnWqe2MdnxBomLwOAnUJj1+gEmNw6lyeZVdO2Fyw
i+87/q
k+EnPADOXcTlk5NeUpuIOWix2EhuSj37OFV3DTCY29BVBP1QWzFj+APDhc+Rk8OxBnDhVd
EXgYyXKMk2hAa6T9Vn22lSr7kvwVUHUjAJGn4DXZMOBYMbt6dQMjT+sRH86Kj5gka6zXvdDnZttw
PDsbCNEAdK7MMLJ8EQnSnA9avlE22cVQvlRQt4h9ySsT9qXMIGoNu8CESyiJDEgiQdhRdlZCqUpD
SCdY 4RextdRQLVl5Gfj4oLG8HE5bdcoDThlGm7QYrw2maZpeZ+VMb2OCpmmaYWwgU2WWZVmW8HR0
aW5nLFtBWXOSVGUsm+W2bUbTcNTVctZsm23X1wfYeUrZ2kk62
9d1XdfcRt0v3hvfD+AL0zRdXeET
4kzj5OWoHXRN5udi6ES+hGsTsmXqNkw5GBId5oPD3eGAsHx7RrYcAC80TGYkA3IZxFRMTNAowSTX
RdgLO+xGgexQ Mdc
gDOGRbBrQagWIFkvkTOpA9lS
pvREOKQYEar4GNrCIs6z8JRGN9yQiFoqdDcd8
J02e/YgP/GkPe7Zjg8YOQ1ne/C0e0CJQNys46MJO2aRW51o7Wf7V+2vED6YFWn68pm92u5AVKD/0
BERFRbD/BbF+2F8aaKhhUevooYQsnxTP0nU/wgQU/AH DM/r/C7XJ3bzRXvbCAXQK0eqB8iCDuBa7
2BZNAglOCxSI+A7w/cD55Hzbo0FeY7W6gq+BC2+Ic9EZwVKKBNAIf6ELdXIUu/fQa4oWM9CB4gr/
7QO1wehdFJEzwkZPdepiOoEg0BvlnTy41VEkOrz8xQYLoqO3N4Fm0ekIBQvBzWZXcOzfnvDGB2aJ
AXIK3AcKst1s9PDUB2zwg8DEMgTDyDXe8
i/kJ2VC7Qtw4N1WAEZqQi4g4zIq
1PVrO7v/6x0rdKte
3xf8VPj7ffjP0WyAsxfQjnkZUyWsYbB71zzKUTz1L qMnMXxzoL+hLxZedCMd7VfOrbEGZFbTqviP
22lrqv2mxgf1ICQCPSrLIEAMhKmWZ7kmffTR/sn9DgKFoB4IEGouB
FkO2QuIFtib+LZEvMckUEsD
BATCUG4z3Q0rvAoABY7BvgOtsGuakMCSL0cTdCXruoVy9xaUCsQHlhe2LJjtbrwgCTDGA
p8bjdGY
FtNlRcpFnG2RaGsLBxAUDc4h6Lqy
EKA60gOkseYrXQ8eUKVAeNRrzp22pgKyih48MAUoxAwVvw1U
HBzFW8seZohbzLPwLJ8fO4eEhEemYo/GMVq7DTFiM2kZ0KX4OU62MLPAwCMrGEzVsuh8LTI8z4bL
wh2IAQISjBSsCnMBbAiuU5nusrXGZkU12AUGL6HtNoLcqS4H3itYXU6257PgAeIB7Gvk2IjRmxWS
qAQhiDxndD8qxl6nLDjFOjNNAUCvmmWIULxHRYlLxRJj2PG7CJ1sBV2Axzvdxf+TyaIfCAd3P/8k
ldlb5++GTfroJkQ2aNgGL2jI5+fn5yhouCFopBpolBNocBWz5ucMaFgFaEhXeZdFvGMQaEQRkAN2
qUs86i4RSjZoPD2MfXZyLCAraGgYB41W8awQkAaBw6Y7mHQvWVMc20vQKJniBQFhjhRvFa RdGAF+
JN23gpFa3jvKdAgkQaJN1jX0A1mUBUA32X+EJwOF0olV/H4aGRoXD38D/oDCYYgUN638fObGhB5H
QLNJFNy+kKRVtJ8g3w2TVhyNcAoahB2hbCCLSh23elqmaZrOFwOIj5ad4E1kmqSrpldoDCc0SNVt
yn4ERxhrW8eXfSTSWn1IEo2eq8oX8MYzGDx9ALYEAlJjdXwmSohTpobbUOYWMG8JgcaI4SXDDQgf
2YZITb9aCH1AH4QX/gz/i9qDwyHbfh0e2/t/r
5Q+Wkc7+3zjgKQ3C3lbhr/hbzVqLUdYuaApg8EI
A/iLAXX/xvuQ9Zn3/yDMR1kD+Tv6fd5B90YwDMWoKkAS7oM8xX0BaPQ2 IBT/NMWk6YLE zAu9H1oy
nJCDpPgyABnmMyCX+Py+iHiFCZNXRiFtJxSHNwNoBCc78RBWDx8JJVB8EIUQbtrtHrsjIBHND3wH
DSQRH1
lDjPjN2DYFfVFyw5mMV30PXfqDx0qdTPb/fiwsGxp5sYeXN3UzCAMg6wpslAzd3sIbj/d8
1GweC2jrdreRjZVjArNOYGpQHcnJhUYtMBnw/mTkZeEgLUbxO/I4Nw/h
BTaINBmDCAOej4QkECh8
FhbsLuE19yQWEhV8DYYMQZgcGxiYQZsE6wjFQZCgIbAg7dBf5C7idCE
ZQiaTWQS2r3TBxA5lrVYX
rZ4m0GSWVkeGBRXO+P22a8OzFoQrRBtoFNDQO/U6vPBhsR1bNnLDnwOrBWQzZmpVs7FO3wmqWd8H
Y0nXsB5oMMYG3QwShQHnyBCApqh/JJzOBQapIEt9B8aGa7+ffyABgL6oU1e7rHUkMGhgYz/H54hT
M1+I7TazfepPJvVSOXn0QKqv0DtwEOHaFGc2QwPVCVzl8D2ws4W9K+8RU1gLmh3eKiwW+8LsbDYU
+lkZGlAzB21tPHD7VKys1 FzmhwL4epNnCjKpBrR7cgWp6tJX2lH3DCLkgt9/UURGmnrnPRIeMNe8
RJzJVwV7IX4YRtS0UIt+eANzOQbH4EQnl0 AnWTwncMCGHTgnRUCZuVtxggzsHq0W6GQwA/hocP+z
M4TdVHXtewQbsW/LB8wrGQIPaDQnJmxw4GsudiNf3iIG+xmsFSgNaCQOIDgh2MCUCPxQBzvQS4RH
4oIQD4XChBmPINeEL0M4rFdiMlSmDEdgmFH+XJHeEWzKAglzU
Eh+JONBGDL
w/cZmB15eE5YmU6DJ
aMuX8zxokFjSncxQaBFHQRpj/q9X6tcKNEYzT
9pTuqIBOCuqxwQ 4iL47uqYzlJ6wBuogfehJxyeJ
A+yBO69 9DmpDhbPfqn Ye6w5QsMMWjBMRB4LWAG7iJWyAJgAeVLf/AvBmf2De6ER0OUhIdC0IDnSB
sEC0HATQtB/qAp/BCs8w6yUnBFEh9OmTL8OBwaDr7zCt+f1tJjGIFoBmAR8IAs9kn
evl7Wl0HQR0
dBB3dV7cMSI4AreCx9f/sYiuV9XYkct7/kJSEb8y2Yv96SPHUAwHJt56SM NtJ2hM4VYYX09QCfpv
U9Fn64XgEv8gigNDPHx0Hvd0GuL8pZz7FjxcdRwSCmsPiAH/B4D/Y
LtUfNuLBiCTXcM8e/abymz5
i72L0 0aKAkIq9rHupQAMdOI4CQ116+vVJfQGbaNNQVJ/i9FJHdxK1GgO52R10hfOO/vA4Ebry z/J
6yduoUBt+bCbCOsZOg
eL8
faUMnXbdDcFAUpHf9Ucd53Z0fVEVBvD6QpJPCSlXRdtklALD0mAIfsJ
/kSpNz5vU0L/N8eGKYodAQcoM9F3QG hHFPdbuAvZe6Q5iVJ4TjwgcpGjNzZ+PXQ9PCsDPGM1PH8z
gC2gcTyAC0EpZLJu
0RACDkZbPNd9IdqnfsYEBg0GRgeWePdECnSyDF+AJAZYY5CDpGkKoApBkgGZ
qKAI22mih1ukWlAYIWowuGMbrl5QgOMFOETqEL5YBAtQob6Vfbzz peJppIBupf6KTA28X4gK/g9w
Aen+919zweEEwe4EC84XiEoBikgBGAI+W5ZlDwIGXhkCikAMBrffFeA/ikQFDEIDvRgisRXOeOsF
DCzFZAOBVy5wDYJFg+h4uYivwgQoYOwBKhUX/n3wYT2yAAtxciZQV1/
orTYCXOhcOSmTIRbAmZ81
i0ZCSvD/vv4DioQFK4hENfN1u41VQXpnqguOVpeOObi4BwbOS2rXMBSQAfQWWmjUfQk5lwMYEeZ2
T94
NBH0NDUMECkMM61uL1vg1+IgMTmVLnUyhiLnYcg0dqCA2hhBdewRynuBtV58Bu/ApRFav53Qq
iJ9tg3ajcwTdPQgC+j2XujUEQnUfPAMTBKVWiYZzDOETf6WqQjlqtMFcdzf63ouct7TAjZ+00GVj
5SDmm1AFu6FnjHEPUg/YKFAExalAZrga7Oi2e G1Mh
1/TrBRWX2+nDVUtDKoo/7dVaLtWqrGgFtWV
G8CBxxGwBxqIbJAWmo3tJkccaIgV1xhDswbJoPIWfLYtrEQQM09fJxv3gI4imllP7fxtuijle Iu4
22jwKTVVswOSsVnTore9zS
RXBfK4mB1Bs++9ahpUVwrJRq/7QVUUgIwiUlxfcEFMuVLcX3wFuVFj
0bmEI1YFNF
HmJut2Rmj4q1dWGFANBRzgYbRpMwlIy
PdSFSvk8w5
0gxH4wMNTSEW54aJ9nxoBrwF+
CEUHD4wKwmgkd8CKG9NA+I+JnQ//8dSyscpGmkZ9Bom1Wgk5eBveCftzoQ1u+H1E+Im9RPpC7Dtz
wB9eWQxBC4N8kt0K S/VNw421T/SoxLer3V51c4uxvwE/Rbj34AItbQWfI2EjaK0HDBMMQHe7wUn1
FVAP9CKIGE4//GYnV74KzliRLSc4nSeJI9Tq/HDr/dY5XY7EF2w3CZDoWOsYohKUwCY8IXJBwwoZ
MbgANJQ4R7F+clbYghbnCFEpDibCC9jFEDg9m TokUW
6hvb+rBewHMkUhYqbH3i586j1kFJxGASd V
9AjawYDSfiUT jYLI1iQOWDJ4CVe DFDNJAgp0CgANwKVYA8PT l/8cQHPS FFSWg8j/66wiFaX3jsJb
iwvV
4AmZdj8wRRs5pGJXxgcwHyJa1YCa9qDLbPxCP8A78FciY+pHlpFtCAhaDFEQD9+g+82OSIoG
PA10
DI4IdXQEPAnmaokSEzDrQiYrES
PMKv40JZoObmJGMj48OpANCto
G9WYqAgQXPQ84QA30JYk4
hA3/8BB8ItrOJknOiBA+gfmNjf1fMXK+6wFOgKQSAF3MuVAHwhVUQQD/mKG16NN+SqkPBTFXuw4k
ODEyRw27e5U4OnVhHvAjxWSmRg/cEUDsip65RtLKAUZ00k+JpnNNWBbBuWF dQh/Lwh8K
QjvXfOp1
DAIoQrr 213UdC+M3Pgp18QUMKl1qo+gJCDANrusLGmJjriALHAcGNQ0c0RZUVoVDNFAPI+rGTo0K
4Q020g0AjpI1Y/2FarkNdYTzRwSLwooK6x+kKNQtPAcXODx1FPysbXwSPh+IoxXxgCIADIGBINtG
Pgxi4was8HQyexAkhGko0FERLAYxaxhzFUTEr+kIgkS/QOszbqnGSlKyipQgqb7RW/n6CXUTQQc5
fxKD0o0EgCb8v5fURELQHjB96YA5LXUZaR3Z1KP6VFq0f7aABk
F6m0i9vOjULHJTOUJQFjBd3Cqg
ut9s5FuFVhtDXTEn/LPmkkOMEC4b6j0BZifdio0Fk9AVjnlJBzEAXIAfEuVgjEBTlvT9I3JVh2q/
5WKyrgfYg/vk/C2LgshS56fWU1FAX8cPFpIBBDB1+MN5Yc0Cb 4C+eFk7xllalz3dbKsTz0iM42a/
Bet23yBOMYi8aHwEVzfbbPPN
xDR8Bz0rfi8rJnh5tpE8bFo8K8FFk/CPMT671RpgzbeBDmQ2VFM0
bq1Ocwe/jTb6AJLnO0QxMUw8ss+cPdUALM0lNCCxke5Z4bUAho+qIgsGHltePTSMaouqZePj0OsN
1huaDULJaG+Z++f4dewI7EdR6N0GQhHr7jvCAQCDByxEEQ8Bj9OboXKQzwUTKwZ+0YnIEGd+RgJJ
3nVF3qAqBWgsKt8RDtj8apl8H3d9GNokYGvWPogTDh73WeCM6ISv/KrGlDiHUUKRJP7ThYdP6bjk
dlCD2Coj32dDwNyusCpoqFKgLUyaYxdc/5g1JBfQggbpn9YBsYCzM1fZHgdjSMlKYfD3QYzYhwcQ
EF7WOPi2yETfVx/RJtiZrBWSSvyz5yN+vEh6ggAU3CjRZAF77HIB3+zp0txXnzjwvAKPen
3nPhyI
vrlUnFtQ4HQrahktcgTZDtzhsrlUmKreqfhd/bFWuO0HIPSwnUtEwx6jAO/0dRi6cgCOysqHVRsW
gCtI/+8xXtJ dJ1sPlPYUAyohcFsNDEtW7D1FkJMD6VHQD OzmAvk87Pzs/AU0bR5qX7uEQFfV7F0o
TIzWnDp7CHPJyJPw8HQk7AzE/yVL7ux0RIsbhdt1xyHUjkML3x26SoPo40DdvqpCSHQ4Ai5I2wQF
i3Rm+Gn+cqMf0IcP0+slfmNzQxiy710m69do7AbQJtaARf41sQgAdFiNp2TAAMg3nC/33rl4fA8v
d2KvgKVQN04to7skYI9ZFV3iB56O50Az149okX
Rg9zfn8UGIjAX8nUA993MRADZffBgkrhd XoB7V
po4ZrKmJbUeBWSCoxJYTJAwgCQHvLDNYWZG7dPaC23ZCIYp5+xHYXHQVBGzxvcUvGMaEBSJcBQVP
s88BQ69cOIsIG8hgkSsNAH9QMpjAzWmrlsFIXL9rkFa54kHiK5LZqw4xVsKXIRhWzYAbm8gPhpUB
O2Nj5CafGSw3AjHAQA+Aj
45fEQAOdJreH+B3qkYxRmZYQmCH SarBFY4XXarzNFdVifN1zhK+51I2
izXWTdbNgk1GwK1Tm7NlEKXsaRrT8ZEB6/h0WgLAwnnChr5TUR2N+MqSSZru6yihU/gI5OVsWBeh
XdY5XYLLJlXPmljahF0klJVkZ7+aheYq5TC7FwZDkQi2zb2o86tOqFeqDZmQAAAvOvalV5gje0A4
nAUt9jszSEchJDanFDyzPc0PqIglqVkgx4Z0IBgNMBgjgxB5rCUxAqgPIMggwHxE
cAjBdQ8WO3c2
+9coY9djeFlX9TVQPMDDik39ECu2akQNQ4AL+l5WW/yowC1RC9e4goFiLXIQDhciUaFV3WY6J1Nm
FkoNAyVkTB/D8LKgk2jgJ2ogJ0jWBWMAXX7cor8AsNJf
i8/38bhzET0ND
0sALLjgWoR62v y3nCM8
WSEFcwdogOvcXRPerFw4rlBzC1iEuws5aHQsJSAaZ1fyeTx
zJiQnMjVwiZH8JiXcJWlw3AA3G1Rz
BmA1e/bYdQRn3mhoOywJ0BmbzJEeLtc2fFCB+sIKf1ImJ+Oc8IR9KQyDQXIqCzI+ydmTHnIXEhQK
D4OoGrpmKD/GR+lDHB5C3txZigI4aNgrPHITt912SnNlQtAw
60E/BwN7eCU3SGiY9/c2BD hjO7ts
60FZPyWUWPJSnMBskDMYAzQEAnap3GhIR1dLUAMlIgw7AxiVu0XAviQlWBEwpGoZ1QUD+f0wKzgr
OM0lHH2A/P4EqM5EYHi5TQ5fn1 TCBbL/Jf
h7JQBF
YYYAsgAniiIsA4gSpmma5lAAhIB8eHSapmma
cGxoZGBcaZqmaVhUUExInfuZpkRAAAgVBwP4mqZplhTs5NzUzGmapmnEvLSspKZpmqa clIyEfJq m
aZp0bGRcVExpmqZpRDgwKCCmoGGmGAAEmmV3uhATCAP4E/DoaZqmaeDc2NDIpmmapsC8uLCs2KZp
mqSglIyEE180TWe2
lxMDbGRYmqY721ATq0A7ODAof5CmaSAYDAwb0UFCQX
l22W0ARQO+vvlBAAFB
8v/uKoEET177T0H1SIxg+UAN+////xUpKDJhMTMuJjMgLGEiIC8vLjVhIyRhMzQvYSgCBWD/fwUO
EmEsLiUkb0xMS2VBAPsn5O0RBBMNQEKhQU5ASkBGzOvek2ZhUTEmLAMx3ZBv9gUXQ/c8RexsFuzB
Mx4MUQf2t+wNBgBPRUBBAJuET0UUERlxqFHEI91kI8qhJ3BhnVzZ YP9bJwFzSNlgk9wx/F8nohFE
dvIA/v+PpeF1J2BNSENIBO0/dCaUQoJjAvqyNDe3IlZpZ0y+Xuv/u//fAK04MwuAA3oTOKrhTr4A
RgrsH5Aq2QfAQf/9//+Mx+8BuMujaHvf/vvVSnZXEgYkrU/rI6ix/MwZ5////w7sPu8L2mAakZPK
Z9qyludSSfAro1COZjVg5f/////qQXhcz6nUC63MlgdrUq0SUEKZRIi9RKl5tsjTviOi9P7//z9A
92FvV9Qv24xMD3mcoDQOIV2wmiokMy8kLf//hQDYJS0ttrr+Ps5jZDJjRmRveWvr7vY5b2QitIZW
NzhvLWY7Vf/7/38iKDUkQTnlK5YX9oapmjFhZa+PVvyA7k49tLv9//9rh8YGUgdx6UDUB7yZ2cEo
7rYFyvAaHf+WI/////8dyGNQ0SrSMNm8zwI452BJ9QgjZF+3AfIBgRAbH2f////P64b3qBxRbpcS
VQVDwKfgmYm6kqanjKBgl0Z2//9f/oLGTJS1rFW3vhsERKii6Lnirr2YQ8bLDWvMA///w/94u77A
tzDGYyDcTixNeaS8Bav/5eiOnwohCv+f///6tzH9/v+HP9ppu2bgq8RxrpVEXMlFeJGVmKSP/P//
2JqnuT3jXiQX7YU FY2i11r5rAuZi1Xjh0vP///+9ghgaJNONTc48ta6+kBzFxA4/6S6hp22/VQJA
 /////+LgUEkPwz8StnSze/z6k5Zr0JLHqkZNUFdESE9VRUr/////UY91nL5WR0tOVEFAQ0JCRUNA
RFAvxJpEREdGNm5AJDX/////H5q3t6AILzUsNQZDAi4vSSJPJb6s/qASNSAMFMwtZc3/v/3/wK19
RHYSFxYrYRhygfcZscz8+bx7cpqy6ofEdLf///+/SEBHdrg+Gj
lyD8F
kQcqHEmqGEczFfHlulv4R
t//W/8oEPb4xRb5UxVFGeoLIBC1Oz/+BuXoG////mBuavL89lMzEeXkRKdNQY2m60GzZUG5lOP9/
+//LzUQdtp6ev8G4
HTW6bjVOh8VEYx3J3UR4Rpr/////Pzo2ynxhaCskKzlCvpbCgUIjJUYhrPI+
ygwlTu6JEAz/////KRlQYBOML/uYzHxMNcKFWWO3qPv+mytDEitCKf+BWl0S/7f/ub7s+pz+uClO
jso8PcgcJf9BS6pQ/9/g/xwxrq Q+uj9lyhSlMcKjPszNTHm6y9VU4P///7G2tze6cVC+BDFDJXhE
PZ3MYRIQESN6Kvceuv///9/bKRhZElEXUJ6ZQiA2WT7nTsG PYUSWXKDIHkUoef///2/4gVMtJ/E2
KXQ3DEe
+8p5axKl47MwE+UlZhVVW6f+3+K1crSsdF1tlST5OvCYpmo2waRcjv/3/f3sNRN
VO3K3s
4Fo6Aa1RPagHGBLyQu1B7FVJ/////+U9Vks+RJ/n5T8QnEEte mCYn/aHSjE3RMpHpy2CGmrZX/j/
/1G4ZVpOzZYV93yYcV3WQjwtXuXMl7aiTXq3/////+7luBjinUz4HenVQdfKdHmTscOwl2t5ohHH
LnkglE170P///zxRK1AYdIMvyrwEFYYEUQXCRhGYK0DBLIzs////v01MW33AJ5EBJZg/8nohxIE1
VCu+vRUljCU9LBkpTL/B//
+X2S0eor6Evx8awoQ1iIKqzKpLyq3CrW3//
1v7Bq03aAeP0V l1UdPW
Wr4gcUqRepLIFLkM/v+X/oZAFsq+ro eoc4GpUHEWTRZJFBjCDLW+wiSO3+A3zQr2vfp+rMUEDkVh
zv9v/P/MvSVJ
ykWAegNNNQ1yk6g/UMo0uXhF1zVEA/////+XP6ovDj2yQnRgtcSTPUxWasSsgr41
sEV6NZBFN2AEWv/////XixhMMdJsCj9JTU5HEpf/+BfxKxhDekY92Ed/uS71tv3// /+BPVcsJo65
yEXYAsK6USzlHBr0Kq3RtUGTqH6Zjjz/v/0vMxDCwUJOzMJP6WYA9pwsujwqygZ7DA9931j4/4kr
ejnpEXJybtbQgQwYAcxCtopV/////zd4FtVfTXhxP1FRLqwumsF2Tai2cHqXPEZXz33ZAvL0//+/
8LM+7TyGnz3PvkfbMvaWPEV3MnK3GCoUaVsr/9/+/0n/VFddd7eVsgK1zFVxLSFWXDxOylDCgEXI
FcT/rf//mXysq3M0fi1AlVpSTBhIKydvWaj fScl2Al3o// //wodGerI9
Z+Bs+fUxmrlghW2CsC4n
9zhTfB gY+AX+Xw+xxH4DtGUSyhxJF/XKcRetz9/4/xdFjL4yTUlTWcq5ysS+ParnXzp2yg//////
ywW4RWIywEpaG tHsQEUy4ECok+y6nHdO91tshknF+0T/////CUdNJy/e6jV9SMTzqZ1/Ie/ik52F
A2FOw863gh4mVhH/////JlLLGCCMqjzYKp45IBsYeFfJvT8VquxHoL4+GAjKi4D/////oELMfVF6
fzxS yj9F AY6xXz8geHh JyD3EnXmnDg+Dcsb/////eZ0ydL1GoK/yfktHPe+YqlESRkODqlKeWcUe
SUSrahc3/v+l4R3EtyoSqp41ZGdGocoHoCyZs3X/Rv//Hgl5Fy1PKR/WX3VxIz9hqbt2cpxyS2LR
/wv//1BN9JosE834xgFNR zRFlZkZ7CyoyokwQFQ
v/////zT37Fye2XE1TwNLwrsCq18fRqhJrl6B
Aaq5/3UWx0gC/sb/S40xTmpJWK5L0VMfoOu8yDyxKUvSv/03hTSt1t1H8ux+VhdPBK/D2Qy0v8H/
0lH1YPMsTr3E1eLKe2It + DJA//+3C84WRuW4uE2Zmj1ZT8oIT5hFwt28OVz/////TqpTbjJ8Uv+/
MWxhKSVQxr0ss1hYxRq9jY00vRyDpw//L/X/M1BSUHe4kfHIgmpjKtkfHvvwlMPHs0h58L/A/9k1
Cf+VdAQyMbYwiX2RFhc8+cyt////v4Tea1XAeS4/WplKes9mKyV+trAFHjJL5Eqs4HHVnfT///8I
Q0WigvfoyhpjJWVnFEo9Zaex8J9xmc9LKdl7///Lv0FhvnaevvbORnKs1sKKvnhpGD9+epw9YTr/
/4X/DfqFuuyx/w2Z/1J5//aBL5301izYLLgbPVX/S/z/cGC+dbE3ILpg5DRDyp9Llz2AElztgDcy
/7/B/wQY5WeZFomvjNyRTrSxerTCqUIQKV15wHip9P+/4KP3bP2d/OnCvwF6R0k/Qv///5dNd/mc
48VlvgVCwrjhT0st/p1VETwRH3qxPy//G/z/sZIlXj92+j9kGEvSXVTq Vq67Pgo8QAcEv9H//3qv
PZoC7UYphUhsHJ+dHl/DfLcwUIGVQP+F//9NfH4Nhs4+USnRHkCifS+9KdrEnCGrbq/CeP/W//9t
NUvbzV2T7kcrrxhJjUVNiUlAdEW9JtGn1vr//1u3P2C6VBBzPttRvcHlRLwvB1/bbAQBee3f+Leu
l5Zw0YBMKW7Jk8IvN1cizv//L/TOKVNdN0n0SXFjutjF7HH3aVRRwIOxY1P/////XCz3ExcE3pUX
c4Sp2SjCkAFAGK9mfPscgb8VnhKHBIX/////Qhxv1oqELocnhjWJNoggiqQz+FaLM4okjR2MDI8s
lm3/////1iiOIpG
QbpMydorvKNuSlZSXZpYWmRzynXeYL16bJ
ZrAC///nQ6cjDOaNGqfXp4CAqE0
oEkcljXd//+/XqVqpH6nF06mqvvvKqlWqG6rBqp+rV6aRKz///8LJROusS/JHLD3tdssknS0b7e2
N9+5uNnn9yr/0l/ou1K6NcoFlnu/bXoEgf5HTxG/S////65uS1xEkFnBOcKDAE8yWFVANG6nLEQ6
iAUR2/+/wU9j7djsgDTmgVlBSUkxooqB4Cckhbr/9rQpAeepj5aGEyQmKDQKMm63///
tM4GwBy+S
S rOyN5EoIiQMJtvnETMubb2h/7/9/zZ3N368MjsN+AypxsCIsU8JbIFtIVcbkcapVRL//3/rXeSI
fqZxGYFsLLS8NEgBH8CFYIIiRva/bjH/////uiufHJ0AyEeOAR
6qO5gBzaDieFYDyABRgYY3hjxW
aEX+Rv//TF9KTQ3KXEULXrzewidJQU/5oV45uob/v/G3KjGSymz tqlk3VdoM Kw5KKbtaPGN3/xJ/
4x6hqvZqK/JDowd0lH2X9FqFFtv/Bv8RSXLtjzT+KXAiXDE+BOmIrOwA zFv8//ZuTY4R4nddU0MO
974UFMgvWcjlYf9/iYVgDMPyJ54rsD9ZM1z5/vKotyH/////7ONazAZOJll6vUePXDpJM0uVBshK
Bnf68Zr3P8ggXST//y/9UXKtBhRJSQz2YRRdZV2GTRGCca3Q7KBkUef9////5T5IFpuBxPGxqsQu
FC+Zl5gZ+mk0VuWD4VbBw9ubf4H/L0tRtkYayrp1AiU+kJ8REYZTCwJJ/4UL/RFsrfMuwdRFNDgU
bXytPaBxRrzQ//9EEilRWL/c7GCcXnn90d9x8/Rl+0DxLX2DC4tLg
BVUu1uDB4j///8LNhLLmcu6
PbC3/gCCyrvKkIChUSdIgKhD4MLb////4IRN/7LrHhqAHOT0nb4YpcI/TUE0s4YHTQOUmhJf+v9T
7HchpyFTggo+Qm97rI6CEgs4FCr0/6sPMYT3vFzRBnq4JGf/F/pb+B+OSUIHguzRFWA3OjHI4jRE
/////5 V5B0lii9SbqWqJCoLua+72UwbzyB/0Dqp4/uYGh063/////3qOP0cKnoCiQhKakdkqvgOO
yBdFNfPKigF0ATKggfQY39rq/4Mm5IkqlYQsUGE/PMoMwFr7Ff////96SgE1eoM9CNkR0TmJvh/o
+VOcNtoRVRiEesqGtpGHcv//N/jm/+y1eMc8Z1N2UWY 9yl4seeJwRyh9gCb8W3yrKgxPF4tH71IY
RvL
YFxT///8vlAa2ehbnc0YJFgh6gDVQcuL0LEpKiwKDNngtvIn/v/EXHyuDH0XM8+rqvk8 eC2EK
rAkGx/9/q3+64fqRQ3m/ufhm6tf8xypQOz l1OxA5of///61pEPVVRhgLtQis6y2xN
GC4qcCk56Je
iBwH//+/VVw1Q7aUBPW49izIyN6G/g10NJDCZ0Hj32ijK6RZIhy01UCqR5CK/7/9fzZdDDSvEWpc
cLcKPa2EV7aTc IeBRQg0tTua/y/Q4q9brXtpHMw
vRV+EYaj0C0L6b///zXoNupivNR x6vN9ZI5Jo
H0nH+jpZNK43Vn+jErcLH/rvhGwgWa18vhf6t/pqGSzu0J8eWV0OofR+
f0UP/////zSabTvDaRJK
w4VHmhJ4KKLzIXoBck0quTQDRiB6MeY0/8b//994X1+sw1esEBbo2Uo8meX327naTWeL5fSb//+/
9JyV28oNVMgNoM+LZQ7lmb1e9jv30Jm5JVmC/v+l/5tfPZFnXJ3wHpDYFojQ5ydlImWdv5heCF/U
4P/fBZE1DBbOvUO96ndyiB 7IvWb63+Avrsngdht1X/krzKEAf2Uaki////8XBD2mj17Un
VEhc3Od
SQKxl3oCSmRV5sI8RBg+2/9C/0as87UL8sXDKXhNEloRyT+WdtDN/////y6FI8VGcC2Ap0MXwMMO
fMz9R/5XH6RCYywkypIybBQxv8WN/tGhmng0CCA1SSptuB7DWf+g1NvbHbe9iT9PRNJT9dsb/f/
f
prdCW1hJgx2qP+KaFKMVkdwViRVHQv9/62zIARes24pJek5bYpYvzJ9Bif/03+r/8tAhPd4pJiEJ
Qwg2TT8NIeQCgv///3cucXoMUZ4pyvGh/2cGSfpUPalgTV0Z3ELTFPUc/8b/W9LA6GH7jjmIiHL3
NUdCF8FBJq1r6f8X/ji6vhw7bVRI011dGDkXFyceVR3DGnnf+v9/Q7kWB3qHnx85aoLXRT9EM7U1
Bfw+fgyW/y/0/2RIF9wX3ZUS9pSu6upR3Dy9N1tUVBkXRv////+TNlRwzdbhDe+q6hImGDH9I8y2
VYgARRd3/DVIERBuVdX/G/xEWWyDWaep2zGwJSfNJoXR
FuE3KPC/v+3RvPxRzRfpg8aty0C/8P//
xZ2fEYsAqYTJQDOrRDJaeSmGL0tGWmqLyRT/t///4hRLWQ7MjyKvcYcTgVjQZR+8BM0xTeYLJy2u
iF/g//+fV1IONItPQqkk3TsH8BgplMwRFGNK8fT+L/T/QRPs9GNN+YQ48qt223KBeUI1YAHBfUK/
/f+3Q7hXQoLLCb4x6N477U33RoeKIUCj6Fdf 4Nv/HE2p0AsSEyL3FI5E4r1hOKyAva7f6C/0gFU/
C1m5CvS+U8N7R Kl9ry/1/1v/cz1Lvpz+eqOAcapby19bUsH/v9T/oOket5jYWohaNku2vrhhWABC
i3XJTwfJ//+/xKFiHYVOvrtNNPi9F9DZsS0lGYLyEcL+Bf//L/WaVUFCekBiBCaGAV
LNHj86 6oyu
R0m/ nfv1/wv/2U03FXNRySxMqin8FurkQUtNY
J97S////y+32aoSsuTj1w+sGsRNBNhTGDwFqYz8
xbhP2aRH/1Lf+kQ 5NlOa+fStZYhBtdJC5E5g1db/rf53bbCJ2TlDwFSqT9HKpahvoU73/gsX+JlL
yz3x1Ca+Z
01Mycw+urf9//+lUkM1aAo1VkNKtpdKzHK2QoeqaWS5Pir/L/RLiJ5yn6pcQ7aSYp68
g/qPv GK/wv//20qeSlZOn/Ritkqfz575EMsq18zZr0J8//+t/4CcL/6xGGoMaStFkq/KSZKhRa1C
nMHo+oF/g///SrHzQifDcx9A423E6G5MentiwNcZAWK1/f///09HZJ8j6ElZmQrKlxoZooOaV7x5
xgs0tx+Igzs0mf///y90dgFReS1sbvDvFvtRyoBCbZjkLMBuQ36Ao0Kt4////8hTM g6emaMDoSsB
Bh76XEAPVfsRoeRq6J4zDJL//9+qU1VkVxBxs7TLVVDJVUkAPM
kHLtMzs/+NfuvMCLyCa4S3WhdD
gjJhx0kiA1r+/1/qrafoQIBbwl K54fGQxPp4HDCi3p43n
tf8v9QNng9qv1ULzDUQQpbLRdyR+L/F
G
51LyUWOijO0RhyeCYB1l/// /99BTlH4A57EbPf3eSdHzuteUfwwaqbbvRj6+VL5wf+/1P/8jJEu
CT NCK
zkY1RA0AvGXRs65EUpSbiB86///GWPBahX OVUfI9QEvU80qFlQHGhKVekSj+tb/b/FcABLo
r0RJRna0ovg2oHSG4lYb/2+UK6fgQVwogbzBtha/ArlE/i/9/4LfZ04n4ENagMHEj82JPta5GN
mh
coCCHX//9v+tMsCgxOw03qvAuERLVyREV7ksPE3p/////wNWRr/oUWRCzp+fR7G+fEVR7TURBzoZ
ND2CEBf/4SMX/43e+rc0SksYGesds57tWxEJ9h2
ee9/iF/hEIxmqTgpfEL55ZumRtplaN/pb/4FC
Hxj5Ce5KT7V8x9ErfZvGLvr///+SlsxAXFFQEW5FE
XW2z68sWZIfRU7E4+pqcRq6D/8X/jc5emBT
zqzGPFHfpFcRbVc0OMpRFsH0t/jt1hxrw3QRBE7RWJ4hJCffp/9f4m8sJ2G
nSzYZGRvAW+LtEVpA
Wf2H7Vv8//9QiRRMZZ848VxUN3IW+StpyzwoGr8bg1/4BRb6jXmJW3pjQyupG4AGp////5dVYWhf
kCmM5VC0GXuQgw7/I9RRYh+rG8RJMpD9X/r/lkCQq40sMvURYKsEvXa6rpyvTv6OYUVQ/63+S2Vw
aoDkfQYnwF Ge7OI3PaUJ2Pv/X/hqB8zDBvIx+p6z +0cSCWt9R0UBnkKKyT6N/v9/LLxJc4gntpia
C/UaK2y0k4McA07edP9f4P9IO4Cq/9ePR1yE1WwqNfcN1n qFYcqy/C
X/////29jl6ZeQd4k5UZKp
SreasJzuzNRX5XFcY08UqUvK3EH//8L/bGBc65FNbvEEBg5dqf9PASc0uuMKqz OxVC3/X1jos7cE
6
v 0YNXbMzATUwveK6kSmf4m/9ffIIgnGRZsTpv8x
EEGAqyk MOf////80qNEna6GdSuskprHuTWHV
fm8OXaz3tNSkulFhEB3LlP//b/+4Wgo3wA6nNBMFqEVxVtTumrLRDa48sXO2PK2txP9f4oaHwuEa
4FCavLfHSPqgBgRoRv//37oFrZ6oqfn08CYeSEOtfXCqfJG3J+esrapf4v+lMbFCcw4puF+q7jjZ
zY01HWouUl/g/zc8c4GkyQSlwzH/1Vo6nL/L/7/A/1A9bJedl1lNIZxHXqtX
7fggRBlhSRylof//
/1gvbnmqZzwxGGM0pO4VN1jgVDApjUFBa2Ev/7/Uf0i/2qdpzVFApSAlBygtJFhBvx8SJDX///9G
Ri4oLvK37fxOFjMoRlsCM2RKLqQe9wBmf6m/1AYVuCoCLjRMLc+ct4D3M1cE8P//L1YkLDERaClM
CfB+mi9wMQd3JEjSL/Uv7S4iY7+nn5rfSSQyMlVgl7j9/zIkCSAvJQ5/+oQ +RSQvIiD+Lr8JgP9W
QK0lNC05DyAs
lv+/wH8lJTOCj0OnBIkA6i2XJ5wVKUclPaM/1v///xuIvyyyMTgNLl0NKCMzIDM4
c 8RunCHYALggTi70//8zEkkvTMH2JhMOIyswVQQ5w5FfvAUk60v8BRoueShXC9hcAhcgLcTf4P9/
Sob3JG0ATg4xWwokOE/mmB2uTnXnNfi3f4lRSbE2MjEzMSe6PW2K83SxT//ud9/QUVJ18wt4RVZI
QIMJU0xDMkm3v0j/GfXSODguDUBDIk+z5RhlQ1H/L/0Gx0EngI+PzVpFckYZdhq3EU17pf7//2lR
RhHPZFpHQi1uGFZh7VdBJf1f8U5KHbxwq//FOQQnY9G/NyCqRWJ6IW8l/f8vLQMg9qUqTQo BV4FB
wSC6Rc1xQo/MiQN5Rh
RhviGoY/+3bRFtzAWBvr4Wwoy+qlHRAMt74/+NRzJGBkCaNEbKX8KvvU8z
rPlBK90O2BFQgQwyrioOpS7BBzKlcIhzM0zhHdi3ukk9wo41NciEL4jCQvaEDDRhABxMC/y3f8KA
Q8C8QbKVwpBAzFVuwrz5TkrxRu7LQwOUpLaoIov+0v8N9EPCg0XIRsKGRcII NrBAjqgNl9i67xYf
yL
b4NanLKW3NQDbBwm/1tsF+QFbKRsseRVSpNvj9vw6BUceFaLnBqqlAsTtEyGmYt98a5f9MI0iB
NQTKJ8zFdd92hXEY67IRH0m+1yUL1Mv//9ZOSR2dyLg4R
k72RgYRBvgWCbPv
FCk3278zN0bIQsKC
RaqZEC0gqAJEBeaq+b4AuZBbowMTJTHYIWmGpDXnPddcYJvwxTFX/Ysfgww2SJupB7dJqvQjAHVB
CgQTD5yPUf8X9gUNDUEABRcAEQgDQRQSuckHaxoKFhJzHjFtg9VqTe5OAA0GXK8taPCHIoGsYCy2
1Q9IKBAMQedqtbbAAs6/Ow2oSvgvMCgvNScA8xRFWEVEgYDAGo0WCAjkAQAwCgAkUQW/aSYgqBwB
RmluZENEAaDybG9zZRtEzN4V1FNpemUX73/7TEwRQQ5NY
XBWaWV3T2YPbm9hbw5Vbm0QLgNycyJu
d8MvS0VudhBvbnario5dViJhYhg5iLgdRAx2ZdrukYqYDn1UaW1GKuKstVcaC1FDotu697ELe3Be
Zy1Mw2
5fIH5MaWJyTnlBIfZMULRQYyhLxkQ5tv1iYWxBbAZjWExhtz3sVNMqTXUDeCgbm7VbbBdy
Yw9+sHQQB/vnWlYdRkNvcHnFRGXahzdrBoMXJUhh5wsg3cKdRVNj2XY7+WxlblTfcFAvaA1hCwrD
VytYRB2zt0VE8W/KkbZQxMlweU2RbFt2Z4IiTRNFeGlCQfFi3WhxZB/xvVnAJv8vmY33hg27BWVw
o TZCN+LCw7AzblqcZUl7EXGiy/sXbCD8XnIYVG+TFYaZorhMqQ68JXsTYhENCGNrQ4VvT0RyAeNk
ZUNop9xdRGw0TW9CeXQiEhQ
nIpyeua+1L
QpjmDYqUqCyvSfhVEdQb2koGUh7wWbtcEYmXL0TGYRD
mDDoOm5FTLisMGkJaZwWpCImBDpNGDPXOEN1GH0ZOiQ5YW9rpURlLJWEIMWVaLXHHuObwGcbS2V5
DE9w69yjazELRWoOgFZbvQAadnVlD4vM3KWEESl1bTAMT7PNJrc
/ZML4baCiYW6Hc2UwijcXa4xy
EPYHaXNkvfZ cCXoZ8s4QFKJ4rltQCCI5N6ErMyphKiECSg9ms1TNIAGhVVwP
FrDfTk
J1ZmZBDwtM
b3f2GbYjd3ZJcpQjdwqFm3Fa9MwMTYLCAKhtWbZN17fYYkD/BAITC2VZlmU0FxIQA6tlWZYPCRRz
Ob//hLw8UEVMAQPgAA8BCwEHrnvSbBNyKoAyBBADgmxnsZA1CwIzBJlb0s0HDNAeNHvZG9gQBwYA
wHkIQIBbZHgCGAVGuMJ2K2R4AR4uL9iToJikcJDrNn+7sAQjIAtgLmRhdGGYI+5CusH7Iid2QL3N
YBuFLuUJAMPABny/KXs0J0AbsHsNlAAASkE8CQAAAP8AAAAAAGC+AJBQAI2+AID//1eDzf/rEJCQ
kJCQkIoGRogHRwHbdQeLHo Pu /BHbcu24AQAAAAHbdQeLHoPu/BHbEcAB23PvdQmLHoPu/BHbc+Qx
yYPoA3INweAIigZGg/D/dHSJxQHbdQeLHoPu/B HbEckB23UHix6D7vwR2xHJdSBBAdt1B4seg+78
EdsRyQHbc+91CYseg+78Edtz5IPBAoH9APP//4PRAY0UL4P9/HYPigJCiAdHSXX36WP///+QiwKD
wgSJB4PHBIPpBHfxAc/pTP///16J97kBAQAAigdHLOg8AXf3gD8BdfKLB4pfBGbB6AjBwBC
GxCn4
gOvoAfCJB4PHBYnY4tmNvgDAAACLBwnAdEWLXwSNhDAU5QAAAfNQg8cI/5aM5QAAlYoHRwjAdNyJ
+XkHD7c
HR1BHuVdI8q5V/5aQ5QAACcB0B4kDg8ME69 j/lpTlAABh6SNE//8AAAAAAAAA
AAAAAAA
A
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAA AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAgADAAAAIAAAgA4AAACQAAC AAAAAAAAAAAAAAAAAAAACAAEA
AABAAACAAgAAAGgAAIAAAAAAAAAAAAAAAAAA AAEACQQAAFgAAADY8AAA6AIAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAABAAkEAACAAAAAxPMAACgBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAADQAACA
qAAAgAAAAAAAAAAAAAAAAAAAAQAJBAAAwAAAAPD0AAAiAAAAAAAAAAAAAAABADAA4MAAACgAAAAg
AAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAA
gACAgA AAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA/
wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAACIiIiIiIiI
iIiIiIiIgAAAj///////////// ///4AAAIf/////////////// eAAACPf/////////////9/gAAA
j/f////////////3/4AAAI//f///////////f/+AAACP//f/////////9///gAAAj///f///////
/3///4AAAI////f///////f///+AAACP//93d3d3d3d3
f///gAAAj//3f39/f39/f3f//4AAAI//
d/f39/f39/f3f/+AAACP939/f39/f39/f3f/gAAAh3f39/f39/
f39/f3d4AAAI9/f39/f39/f39/
f3+AAACP////////////////AAAACP//////////////8AAAAACP/////////////wAAAA AACP//
//////////AAAAAAAACP///
///////8AAAAAAAAACP/////////wAAAAAAAAAACP////////AAAA
AAAAAAAA
CP//////8AAAAAAAAAAAAAC
P/////wAAAAAAAAAAAAAACIiIiIgAAAAAAAAAAAAAAAAA
AAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD////////////////AAAAD
wAAAA8AAAAPAAAADwAA
AA8AAAA PA AAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPA
AAADwAAAB+AAAA/wAAAf+AAAP/wAAH/+AAD//wAB//+AA///wAf//+AP/////////////////8jD
AAAoAAAAEAAAAC
AAAAABAAQAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICA
 AIAAAACAAIAAgIAAAMDAwACAgIAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAACP//////8AAIj/////+AAAj4////+PAACP+P//+P8AAI+PiIiPjwAA
iPf39/f4AACPf39/f38AAAj39/f38AAAAI9/f38AAAAACPf38AAAAAAAiIiAAAAAAAAAAAAAAAAA
AAAAAAAA//8AAP//AADAAQAAwAEAAMABAADAAQAAwAEAAMABAADAAQAAwAEAAOADAADwBwAA+A8A
APwfAAD//wAA//8AAPDEAAAAAAEA AgAgIBAAAQAEAOgCAAABABAQEAABAAQAKAEAAAIAAAAAAAAA
AAAAAAAAAAC89QAAjPUAAAAAAAAAAAAAAAAAAMn1AACc9QAAAAAAAAAAAAAAAAAA1vUAAKT1AAAA
AAAAAAAAAAAAAADh9QAArPUAAAAAAAAAAAAAAAAAAOz1AAC09QAAAAAAAAAAAAAAAAAAAAAAAAAA
AAD29QAABPYAABT2AAAAAAAAIvYAAAAAAAAw9gAAAAAAADj2AAAAAAAAO
QAAgAAAAABLRVJORUwz
Mi5ETEwAQURWQVBJMzIuZGxsAE1TVkNSVC 5kbGwAVVNFUjMyLmRsbABXUzJfMzIuZGxsAABMb2Fk
TGlicmFyeUEAAEdldFByb2NBZGRyZXNzAABFeGl0UHJvY2VzcwAAAFJlZ0Nsb
3NlS2V5AAAAbWVt
c2V0AAB3c3ByaW50ZkEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAVS2uMP+Z4XBVqsvFqiir71WQkJmqh+gcqlKkc1WG
qa3/8GuvEB0 3DhCZ9stXxdTbV8VTmA/
D
kHkQFlFpD8MAUfVSB/Rf5ki0da34CgVp/rsFGdz4X+aA4BrfvlKRfZRGIarqcM5wtP3O32Cnzmz7
mM5nvOke/XByzkzUkNGZALIgJKk9z8CXdM/9TwLQS1dqH3PZQdAfYufQd1ftz+FRike0u1SofIh8
qPufg+0ACNd449HMFFslLbcwlabtALp00ZvhbyHkAbfuzE3hPnOqBj7Yj5XvZB7TIewNuD5zC0Eg
/LdT0H9Vv88YiqjPEUM0z7QJJB+rISrPv82c0DXUykFcgyCuZXn+6+iLMOvo6eSxR90S6+j6dK44
ejWukL2sI3Bfsh0e9rvTQbayzKoFT8w/SBnMGSyGzAWlvMyWceZd67Iz91/BCfXehvCygsiXrbhI
+a3Rqr9iN6U9Yryy8oMIpDVs7JmWbMcY42xhddMrPZ+SbK yZkaUfgyps4ErOZ
kQ4NYmCHRfM8Dey
WRO3sYl0ptuWfhzMlndesJYP4R79H+hBDZ0b1FUq3ypXq0JsEvcquRLQUeMNJBITEmEj3njIdXWX
RE6sn+YPiYjyX2aIg6jdlyCf65cRgPWI+56jR6JXT7eRrOOojK3I75drIyfK Rzu3uQNgqG+pQrfW
RBSCFhkDcmGZTW1/Z
Hu9QYmSvUGUlW3Y5E5yJXAcvUF9njtj3DfLlg4cyxywOdR cXhPUixiRkdd7
qdQnLqBRZti9I K9V789nZ2kfUKqI0Jw8f89hoajPaqdYz3agus9JZ9W34CXrWNyLmFiE3CZYJ39t
HVSARUfb3EdY
bBjmWNnfCnFJ80Ge072FngNltp6GRcKBehjjnoXN4YFwAhWejqel0P8y+z8xx4jv
qLH1IHxYVj8X950gzMkvIMUb2+4AzY3wu4NiWg/abB99jbIfX765AMY491oPjnvORHzuWg+NxrZe
w19ZmTryWYSd+Fk3rh5GZOWOWYRnvlmS/BIc6q9Z/wD4XRBHLmFVtE2MEGmDRBBDfjMPOwPAEOTH
C1c1x0iXCwLtZzLhFWcxG3g/PjI7ZzPw/3hXu87BCmdHPb+/J/y0mY0TGKUuDOdk6xP3C2QMj2OD
E3snDJibO/oTeKf5EggS+S1fEk/9YWkf4vUDyb1WMpD94NJJLV/taf2TbHJrPut3mwYZK5sFE f9U
aWANVGkWij0/h3mE8tQ0hPAZoftqizcU0HhYUd6DOxTmtlYLW2ugUd7+kBSHejYUr3+QtJwW4Vsm
411EH/QSRKfvult6KN9bUuWJHiiQ8UTjSbk6ybTk1bxgzZB9LAPVJOj6yjHSeNUtiitQ19UzyurO
QfI1Iwwddk72zMrclZYabitYgV8cArENtwLtmXwdc5/0cOGAc5/dXl6fDNr8ny9z9oDaS/qfL1zi
gNBoH58JQszqQ990V25rNQX1AswF9QMjGnItEBo8v5xCdumlGnn3bDD saSbA3Zt936Tf i8DfkmHP
kyerMA7Qq88p/rTP0Tv+H1obVvC36lfwviUf7y4IDfCy2+bvQUVk7yV3WCCGDFgv/yawwJb3VsC5
mkjAMxg8L0xZ0i8EyRovLHR20P5svQ==

------=_NextPart_000_0002_E9738609.A9D1156A--




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAULMbUq028201; Thu, 30 Nov 2006 14:22:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAULMaGD028200; Thu, 30 Nov 2006 14:22:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAULMZ5q028189 for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 14:22:36 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id E4A22810C6B for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:17:18 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 5766A833A3 for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:22:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tVag9w458puE for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:22:26 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id D945F833A2 for <ietf-imapext@imc.org>; Thu, 30 Nov 2006 13:22:26 -0800 (PST)
Message-ID: <358339619.115181164921746590.JavaMail.root@dogfood.zimbra.com>
Date: Thu, 30 Nov 2006 13:22:26 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: I-D ACTION:draft-dkarp-imap-comment-00.txt
MIME-Version: 1.0
Content-Type: multipart/mixed;  boundary="----=_Part_2528_1223101547.1164921746589"
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

------=_Part_2528_1223101547.1164921746589
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

A New Internet-Draft is available from the on-line Internet-Drafts
directories.

	Title         : The IMAP COMMENT Extension
	Author(s)     : D. Karp
	Filename      : draft-karp-imap-comment-00.txt
	Pages         : 0
	Date          : 2006-11-29

The COMMENT extension to the Internet Message Access Protocol [IMAP]
      permits a client to attach free-form text comments to messages stored
      in a mailbox on the server.  These comments are persistent, public,
      mutable, readable, and searchable.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-karp-imap-comment-00.txt
------=_Part_2528_1223101547.1164921746589
Content-Type: text/plain; name=draft-karp-imap-comment-00.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=draft-karp-imap-comment-00.txt

Network Working Group                                            D. Karp
Internet-Draft                                                    Zimbra
Expires: June 2, 2007                                  November 29, 2006


                        IMAP4 COMMENT Extension
                       draft-karp-imap-comment-00

Status of this Memo

   By submitting this Internet-Draft, each author represents that any
   applicable patent or other IPR claims of which he or she is aware
   have been or will be disclosed, and any of which he or she becomes
   aware will be disclosed, in accordance with Section 6 of BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt.

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   This Internet-Draft will expire on June 2, 2007.

Copyright Notice

   Copyright (C) The IETF Trust (2006).


Abstract

   The COMMENT extension to the Internet Message Access Protocol [IMAP]
   permits a client to attach free-form text comments to messages stored
   in a mailbox on the server.  These comments are persistent, public,
   mutable, readable, and searchable.


1.  Conventions Used in This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [KEYWORDS].

   In examples, "C:" and "S:" indicate lines sent by the client and
   server respectively.  If a single "C:" or "S:" label applies to
   multiple lines, then the line breaks between those lines are for
   editorial clarity only and are not part of the actual protocol
   exchange.


2.  Introduction and Overview

   At present, there is no way for a client to associate an arbitrary
   mutable text comment with a message in an IMAP mailbox short of
   altering the message's body.  This document specifies an extension to
   IMAP that permits clients to associate a single optional piece of
   text metadata with a message.  The value of such a comment is a
   string of one or more octets comprising UTF-8 [UTF8] characters, or
   NIL when a comment is not set.

   The syntax for associating comments with messages and retrieving
   message comments is designed to closely parallel the existing syntax
   for setting and retrieving mutable message flags.  In addition, the
   same permissions are required for modifying and retrieving comments
   as are required for setting and fetching keywords.  Should the
   mailbox also support the [CONDSTORE] extension, changes to message
   comments qualify as mailbox changes and MUST increment the affected
   message's MODSEQ attribute and the mailbox's HIGHESTMODSEQ attribute.

   If a server supports comments, then it MUST store all comment data
   persistently.  The server MAY NOT support "session-only" comments
   along the lines of "session" flags as defined in the IMAP base
   specification.

   Comments MUST be shared publicly with all users who have permission
   to read and write them.  In this respect, they behave as "shared
   flags" as described in section 5.2 of [ACLPLUS].  The server MAY NOT
   present a different view of message comments to different users with
   read access on a mailbox.

   An IMAP server that supports the COMMENT extension MUST return
   "COMMENT" in its CAPABILITY response.


3.  IMAP Protocol Changes

3.1.  COMMENT Parameter to SELECT and EXAMINE

   This document defines a single optional select parameter, "COMMENT",
   which tells the server that it MUST return changes to message
   comments in unsolicited FETCH responses (see section 3.2) for the
   duration of the session.  This is the only way to enable COMMENT data
   in unsolicited FETCH responses; such responses are NOT implicitly
   enabled by the use of any other command described in this document.
   The enabling of COMMENT does not carry over from one SELECT/EXAMINE
   to another within the same IMAP connection.

   Example:

      C: A001 SELECT INBOX (COMMENT)
      S: * 236 EXISTS
      S: * 0 RECENT
      S: * OK [UNSEEN 228]
      S: * OK [UIDVALIDITY 1]
      S: * OK [UIDNEXT 713]
      S: * FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
      S: * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged
                                                          \Seen \*)]
      S: * OK [COMMENT 8096]
      S: A001 OK [READ-WRITE] SELECT completed, COMMENT enabled

   This document also adds a new response code, COMMENT.  In the course
   of a successful SELECT or EXAMINE, any server that advertises the
   COMMENT capability MUST return an untagged OK response containing the
   COMMENT response code:

      OK [COMMENT <max-comment-length>]

      where <max-comment-length> is the maximum length (in octets) of a
      comment in the mailbox.  If the server cannot support comments for
      the mailbox, <max-comment-length> MUST be 0.

3.2.  COMMENT Message Data Item for the FETCH Command

   This document adds a COMMENT message data item to the FETCH command.
   This allows users to retrieve the comments associated with a range of
   messages in the currently-selected mailbox:

   Example:

      C: A002 FETCH 1:2 (UID COMMENT)
      S: * 1 FETCH (UID 288 COMMENT NIL)
      S: * 2 FETCH (UID 289 COMMENT "This is the message's comment")
      S: A002 OK FETCH completed

   Unsolicited FETCH responses indicating changes in a message's comment
   MUST include the full new value of the COMMENT message data item.

3.3.  COMMENT Message Data Item for the STORE command

   This document adds new message data items to the STORE command for
   setting and removing comments on messages in the selected mailbox:

      COMMENT <new-comment>
         Replace the comment for the messsage with the argument.  The
         new value of the comment is returned as if a FETCH of the
         COMMENT had been requested.

      COMMENT.SILENT <new-comment>
         Equivalent to COMMENT, but without returning the new value.  If
         CONDSTORE is enabled for the session, an unsolicted response
         containing the message's new MODSEQ may still be returned.

   The new comment must be either NIL or a non-empty octet sequence
   shorter than the maximum comment length as specified in the SELECT
   response.  If the octet sequence is not valid UTF-8, the server MUST
   return a tagged NO response with a "[BADCOMMENT NOTUTF8]" response
   code.  If the octet sequence exceeds the maximum comment length
   supported by the mailbox, the server MUST return a tagged NO response
   with a "[BADCOMMENT TOOBIG]" response code.

   Example:

      C: A003 STORE 1 COMMENT "This message now has a comment!"
      S: * 1 FETCH (COMMENT "This message now has a comment!")
      S: A003 OK STORE completed

      C: A004 STORE 2 COMMENT.SILENT NIL
      S: A004 OK STORE completed

3.4.  COMMENT Search Key for the SEARCH Command

   This document adds a new search key to the SEARCH command for
   searching within message COMMENTs:

      COMMENT <string>
         Messages that contain the specified string in the message's
         COMMENT.  If <string> is zero-length, matches all messages with
         non-NIL COMMENTs.

   Example:

      C: A005 SEARCH COMMENT "comment"
      S: * SEARCH 1 12 44 156
      S: A005 OK SEARCH completed

3.5.  COMMENT Extension for the APPEND Command

   This document adds a new APPEND extension (as per [IMAPABNF]) to
   allow specification of a comment on an APPENDed message:

      COMMENT <append-comment>
         Specifies a comment for the appended message.

   If the specified comment is not valid UTF-8, the server MUST return a
   tagged NO response with a "[BADCOMMENT NOTUTF8]" response code.  If
   the specified comment exceeds the maximum comment length supported by
   the target mailbox of the APPEND, the server MUST return a tagged NO
   response with a "[BADCOMMENT TOOBIG]" response code.

   Example:

      C: A006 APPEND Sent COMMENT "Attached to new message" {14432+}
      C: ...
      S: A006 OK APPEND completed

3.6.  COMMENT Interaction with the COPY Command

   When copying a message from one mailbox to another, the server SHOULD
   attempt to copy the message's comment along with the copied message.
   If the server is unable to associate the comment with the copied
   message -- for instance, because it exceeds the maximum comment
   length in the target mailbox -- it SHOULD create the copy with a NIL
   comment.

3.7.  COMMENT Interaction with the ACL Extension

   In general, read and write access to comments is governed by the same
   rules that control read and write access to message flags.

   When the [ACL] or [ACLPLUS] extensions are not present, users have
   read-only access to comments when the mailbox is selected READ-ONLY
   and read-write access to comments when the mailbox is selected
   READ-WRITE.

   When the [ACL] or [ACLPLUS] extensions are present, users have read
   access to comments when they have been granted the "r" right on the
   mailbox and write access to comments when they have been granted the
   "w" right on the mailbox.


4.  Formal Syntax

   The following syntax specification uses the Augmented Backus-Naur
   Form (ABNF) [ABNF] notation.  Elements not defined here can be found
   in the formal syntax of the ABNF [ABNF], UTF-8 [UTF8], IMAP [IMAP4],
   and IMAP ABNF extensions [IMAPABNF] specifications.

   Except as noted otherwise, all alphabetic characters are case-
   insensitive.  The use of upper or lower case characters to define
   token strings is for editorial clarity only.  Implementations MUST
   accept these strings in a case-insensitive fashion.

   append-ext       =/ "COMMENT" SP comment-value

   capability       =/ "COMMENT"

   comment-value    = "NIL" / comment-text

   comment-text     = utf8-quoted / utf8-literal

   fetch-att        =/ "COMMENT"

   msg-att-dynamic  =/ "COMMENT" SP comment-value

   resp-text-code   =/ "BADCOMMENT" SP ("NOTUTF8" / "TOOBIG") /
                       "COMMENT" SP number

   search-key       =/ "COMMENT" string

   select-param     =/ "COMMENT"

   store-att-flags  =/ "COMMENT" [".SILENT"] SP comment-value

   utf8-quoted      = DQUOTE 1*(QUOTED-CHAR) DQUOTE

   utf8-literal     = "{" nz-number ["+"] "}" CRLF 1*(UTF8-char)
                         ; Number represents the octet count


5.  References

5.1.  Normative References

   [ABNF]      Crocker, D. and P. Overell, "Augmented BNF for Syntax
               Specifications: ABNF", RFC 4234, October 2005.

   [IMAP4]     Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION
               4rev1", RFC 3501, March 2003.

   [IMAPABNF]  Melnikov, A. and C. Daboo, "Collected Extensions to IMAP4
               ABNF", RFC 4466, April 2006.

   [KEYWORDS]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", BCP 14, RFC 2119, March 1997.

   [UTF8]      Yergeau, F., "UTF-8, a transformation format of ISO
               10646", STD 63, RFC 3629, November 2003.

5.2.  Informative References

   [ACL]       Myers, J., "IMAP4 ACL extension", RFC 2086, January 1997.

   [ACLPLUS]   Melnikov, A., "IMAP4 Access Control List (ACL)
               Extension", RFC 4314, December 2005.

   [CONDSTORE] Melnikov, A. and S. Hole, "IMAP Extension for Conditional
               STORE Operation or Quick Flag Changes Resynchronization",
               RFC 4551, June 2006.


Appendix A.  Acknowledgments

   Many thanks to Cyrus Daboo and Randall Gellens for their extensive
   work developing the ANNNOTATE draft, upon which this draft is based.


Author's Address

   Dan Karp
   Zimbra
   1500 Fashion Island Blvd.
   Suite 100
   San Mateo, CA  94404
   USA

   Email: dkarp@zimbra.com
   URI:   http://www.zimbra.com/


Full Copyright Statement

   Copyright (C) The IETF Trust (2006).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
   THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
   THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.


Acknowledgment

   Funding for the RFC Editor function is provided by the IETF
   Administrative Support Activity (IASA).

------=_Part_2528_1223101547.1164921746589--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kATF7aFj047654; Wed, 29 Nov 2006 08:07:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kATF7akg047651; Wed, 29 Nov 2006 08:07:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kATF7UZ9047606 for <ietf-imapext@imc.org>; Wed, 29 Nov 2006 08:07:33 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from prosecco.oryx.com (prosecco.oryx.com [195.30.37.38]) by kalyani.oryx.com (Postfix) with ESMTP id 37AB54AC5E; Wed, 29 Nov 2006 16:07:24 +0100 (CET)
Message-Id: <og+ab0vdeo373Wwm9fB06A.md5@prosecco.oryx.com>
Date: Wed, 29 Nov 2006 16:05:53 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>, Cyrus Daboo <cyrus@daboo.name>
References: <455C6C2D.3000004@andrew.cmu.edu> <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C635D.2@andrew.cmu.edu> <146F2F40CE97BB29851F1330@ninevah.local>
In-Reply-To: <146F2F40CE97BB29851F1330@ninevah.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> Lets keep this simple and go with (2) as that does not require the 
> server to remember more state than it already does. And in all 
> likelihood clients will issue LANGUAGE before doing NAMESPACE anyway.

I changed it in a different way, equally simple. No server state.

Ken's suggestion to mandate NAMESPACE made immediate sense to me. 
Specifying what happens if LANGUAGE is supported and NAMESPACE isn't, 
or if the client hasn't issued NAMESPACE, or, or, was too hard and 
matters in too few cases to be worth much prose. So I said: Client must 
support NAMESPACE (at least enough to ignore the NAMESPACE response) 
and server always sends the response if it has translations. If it 
doesn't have translations - fine.

Thank you very much. This helped.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASKrefK035671; Tue, 28 Nov 2006 13:53:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASKreYt035670; Tue, 28 Nov 2006 13:53:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASKrcxh035661 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 13:53:39 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [192.168.1.6] (host86-142-231-168.range86-142.btcentralplus.com [86.142.231.168]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kASKrRkT006894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Nov 2006 15:53:30 -0500
Date: Tue, 28 Nov 2006 20:53:23 +0000
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>, Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Message-ID: <146F2F40CE97BB29851F1330@ninevah.local>
In-Reply-To: <456C635D.2@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C635D.2@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=2.0 required=5.0 tests=RCVD_IN_SORBS_DUL  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 28, 2006 6:27:09 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

>> 1. The server MUST remember whether it has sent NAMESPACE to the client
>> at any point during this connection, and MUST resend an appropriate
>> NAMESPACE response when it processes LANGUAGE. The new NAMESPACE's
>> values replace any earlier values sent.
>>
>> 1b. As 1, with "The client MUST NOT cache NAMESPACE values across
>> connections." added.
>>
>> 2. The client MUST resent NAMESPACE if it changes language using
>> LANGUAGE after sending the NAMESPACE command.
>>
>> 3. Requiring ENABLE.
>>
>> My personal preference is option 2, then 3, then 1/1b.
>>
>> I don't like option 1, because if a client caches NAMESPACE and does not
>> (re)send it on connection establishment, the LANGUAGE command doesn't
>> cause the NAMESPACE response to be sent. And not 1b either, because if
>> the client isn't permited to to cache the namespace response, how can it
>> cache messages in mailboxes whose name starts with a NAMESPACE-based
>> prefix?
>
> I'm fine with 1 or 2.  As a server guy, I don't care if we send
> unsolicited NAMESPACE responses after LANGUAGE or we require the client
> to issue NAMESPACE after LANGUAGE.  The former saves a roundtrip and the
> latter is similar to CAPABILITY after STARTTLS/AUTHENTICATE.

Lets keep this simple and go with (2) as that does not require the server 
to remember more state than it already does. And in all likelihood clients 
will issue LANGUAGE before doing NAMESPACE anyway.

Plus I think making it a MUST is a little strong for something that is 
ultimately a user experience feature. Also, its only a SHOULD for the 
server to support the TRANSLATION extension to NAMESPACE anyway, so a 
client should not be required to re-issue NAMESPACE if there were no 
TRANSLATIONS before, right?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASHH8jS006302; Tue, 28 Nov 2006 10:17:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASHH8mR006301; Tue, 28 Nov 2006 10:17:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASHH6WZ006284 for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 10:17:07 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASHH6FB030761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 09:17:06 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASHH4av021726 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 09:17:05 -0800
Date: Tue, 28 Nov 2006 09:16:59 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <456C6840.5020804@isode.com>
Message-ID: <alpine.WNT.0.8.0611280858280.4772@Shimo-Tomobiki.panda.com>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C6840.5020804@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.28.90432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Now, let me put on a different hat.  I hope that this doesn't need to be 
said, being generally recognized, but I haven't been following this part 
of the discussion close enough.

Having said my opinion on the best way to do namespaces in LANGUAGE, IMHO 
we shouldn't do so at all except to add language-specific comment strings. 
Doing that extends NAMESPACE anyway so there is no need to talk about 
making LANGUAGE and NAMESPACE interact since LANGUAGE would effectively 
supercede NAMESPACE.  So the question of how to interact LANGUAGE and 
NAMESPACE is moot; LANGUAGE always returns an untagged NAMESPACE response, 
and clients which implement LANGUAGE have to accept untagged NAMESPACE 
responses even if they don't otherwise implement NAMESPACE.

In particular, we should not in any way suggest that the actual namespace 
prefix strings are to be changed.  Doing otherwise is on the same level of 
silliness as changing keywords in a language (remember French BASIC?) so 
as to avoid contaminating innocent eyes by the sight of evil English 
keywords.

It isn't just silly.  It also has the effect of breaking URLs across 
locales.

There is no reason why a client can not localize its display for its 
locale.  It can do a better job at this than any server.

We certainly should have descriptor strings for each namespace; that is a 
desireable extension to NAMESPACE in any case.  As this is text intended 
for humans to read, it should be sensitive to LANGUAGE.

Maybe the server could just dump everything that it knows in the NAMESPACE 
resonse.  I don't know how many languages a server will ultimately 
support, but given that NAMESPACE is typically done once per session even 
a server that supports a zillion languages should have a manageable 
response.  The simplification in the protocol may be worth the extra 
octets.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGwX5R003940; Tue, 28 Nov 2006 09:58:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGwXZY003939; Tue, 28 Nov 2006 09:58:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGwUZ0003933 for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 09:58:32 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGwTmO011709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 08:58:30 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGwSJe009811 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@IMC.ORG>; Tue, 28 Nov 2006 08:58:29 -0800
Date: Tue, 28 Nov 2006 08:58:22 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <456C6840.5020804@isode.com>
Message-ID: <alpine.WNT.0.8.0611280853060.4772@Shimo-Tomobiki.panda.com>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C6840.5020804@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.28.84432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 28 Nov 2006, Alexey Melnikov wrote:
> Arnt, can you remind me why you removed "server MUST sends NAMEPSPACE 
> response on LANGUAGE command, if the user is in authenticated state"?

It wouldn't hurt to make LANGUAGE require NAMESPACE.  The sole impact of 
this requirement is to allow an untagged NAMESPACE response from a 
LANGUAGE command.

In fact, doing so is less harmful than some of the other ideas that have 
been bandied about.

You will have to show what a suitable NAMESPACE response is from a server 
that does not otherwise offer namespaces.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGmNUq001846; Tue, 28 Nov 2006 09:48:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGmNEX001845; Tue, 28 Nov 2006 09:48:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGmMd9001833 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 09:48:22 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWxoVQBdEQPV@rufus.isode.com>; Tue, 28 Nov 2006 16:48:21 +0000
Message-ID: <456C6840.5020804@isode.com>
Date: Tue, 28 Nov 2006 16:48:00 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, Ken Murchison <murch@andrew.cmu.edu>
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
In-Reply-To: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Arnt Gulbrandsen writes:
>
>> Ken Murchison writes:
>>
>>> Mostly nits, but a couple of corrections.
>>
> Mostly just done and not commented here. Thank you. One thing needs 
> discussion.
> ...
>
>>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>>> MUST NOT combination in the two sentences.  Could they be merged 
>>> into one positive sentence something like the following?
>>>
>>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>>     it is in the authenticated state, the server MUST return an
>>>     untagged NAMESPACE response when a language is negotiated.
>>
>> Good suggestion. Will do.
>
> But how, exactly? I could say one of the following:
>
> 1. The server MUST remember whether it has sent NAMESPACE to the 
> client at any point during this connection, and MUST resend an 
> appropriate NAMESPACE response when it processes LANGUAGE. The new 
> NAMESPACE's values replace any earlier values sent.

Arnt, can you remind me why you removed "server MUST sends NAMEPSPACE 
response on LANGUAGE command, if the user is in authenticated state"?

> 1b. As 1, with "The client MUST NOT cache NAMESPACE values across 
> connections." added.
>
> 2. The client MUST resent NAMESPACE if it changes language using 
> LANGUAGE after sending the NAMESPACE command.
>
> 3. Requiring ENABLE.
>
> My personal preference is option 2, then 3, then 1/1b.
>
> I don't like option 1, because if a client caches NAMESPACE and does 
> not (re)send it on connection establishment, the LANGUAGE command 
> doesn't cause the NAMESPACE response to be sent. And not 1b either, 
> because if the client isn't permited to to cache the namespace 
> response, how can it cache messages in mailboxes whose name starts 
> with a NAMESPACE-based prefix?




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGYPZi000438; Tue, 28 Nov 2006 09:34:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGYPKl000437; Tue, 28 Nov 2006 09:34:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGYOEB000424 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 09:34:24 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGYNNg015226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 28 Nov 2006 08:34:23 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kASGYLvU029675 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 28 Nov 2006 08:34:22 -0800
Date: Tue, 28 Nov 2006 08:34:15 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <456C635D.2@andrew.cmu.edu>
Message-ID: <alpine.WNT.0.8.0611280833410.4772@Shimo-Tomobiki.panda.com>
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com> <456C635D.2@andrew.cmu.edu>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.28.81932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

+1

On Tue, 28 Nov 2006, Ken Murchison wrote:
> I'm fine with 1 or 2.  As a server guy, I don't care if we send unsolicited 
> NAMESPACE responses after LANGUAGE or we require the client to issue 
> NAMESPACE after LANGUAGE.  The former saves a roundtrip and the latter is 
> similar to CAPABILITY after STARTTLS/AUTHENTICATE.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGRFTS099506; Tue, 28 Nov 2006 09:27:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASGRFtn099505; Tue, 28 Nov 2006 09:27:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASGRClL099497 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 09:27:15 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kASGRB4k017042 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 28 Nov 2006 11:27:12 -0500
Message-ID: <456C635D.2@andrew.cmu.edu>
Date: Tue, 28 Nov 2006 11:27:09 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu>  <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
In-Reply-To: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> Arnt Gulbrandsen writes:
>> Ken Murchison writes:
>>> Mostly nits, but a couple of corrections.
> 
> Mostly just done and not commented here. Thank you. One thing needs 
> discussion.
> 
> ...
>>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>>> MUST NOT combination in the two sentences.  Could they be merged into 
>>> one positive sentence something like the following?
>>>
>>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>>     it is in the authenticated state, the server MUST return an
>>>     untagged NAMESPACE response when a language is negotiated.
>>
>> Good suggestion. Will do.
> 
> But how, exactly? I could say one of the following:
> 
> 1. The server MUST remember whether it has sent NAMESPACE to the client 
> at any point during this connection, and MUST resend an appropriate 
> NAMESPACE response when it processes LANGUAGE. The new NAMESPACE's 
> values replace any earlier values sent.
> 
> 1b. As 1, with "The client MUST NOT cache NAMESPACE values across 
> connections." added.
> 
> 2. The client MUST resent NAMESPACE if it changes language using 
> LANGUAGE after sending the NAMESPACE command.
> 
> 3. Requiring ENABLE.
> 
> My personal preference is option 2, then 3, then 1/1b.
> 
> I don't like option 1, because if a client caches NAMESPACE and does not 
> (re)send it on connection establishment, the LANGUAGE command doesn't 
> cause the NAMESPACE response to be sent. And not 1b either, because if 
> the client isn't permited to to cache the namespace response, how can it 
> cache messages in mailboxes whose name starts with a NAMESPACE-based 
> prefix?

I'm fine with 1 or 2.  As a server guy, I don't care if we send 
unsolicited NAMESPACE responses after LANGUAGE or we require the client 
to issue NAMESPACE after LANGUAGE.  The former saves a roundtrip and the 
latter is similar to CAPABILITY after STARTTLS/AUTHENTICATE.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASEMQ2g080342; Tue, 28 Nov 2006 07:22:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASEMQMT080341; Tue, 28 Nov 2006 07:22:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASEMMYe080325 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 07:22:25 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from prosecco.oryx.com (prosecco.oryx.com [195.30.37.38]) by kalyani.oryx.com (Postfix) with ESMTP id BB6F24ACB6; Tue, 28 Nov 2006 15:22:21 +0100 (CET)
Message-Id: <LOH4vGWoRYJfXIbE6qIXDA.md5@prosecco.oryx.com>
Date: Tue, 28 Nov 2006 15:20:56 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu> <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com> <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
In-Reply-To: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen writes:
> Arnt Gulbrandsen writes:
>> Ken Murchison writes:
>>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>>> MUST NOT combination in the two sentences.  Could they be merged 
>>> into one positive sentence something like the following?
>>>
>>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>>     it is in the authenticated state, the server MUST return an
>>>     untagged NAMESPACE response when a language is negotiated.
>>
>> Good suggestion. Will do.
>
> But how, exactly? I could say one of the following:

Or 4. All LANGUAGE-using clients MUST be able to parse the LANGUAGE 
response, whether they care about it or not.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASE01pk076035; Tue, 28 Nov 2006 07:00:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASE01RX076034; Tue, 28 Nov 2006 07:00:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASDxxP4075993 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 07:00:00 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from prosecco.oryx.com (prosecco.oryx.com [195.30.37.38]) by kalyani.oryx.com (Postfix) with ESMTP id 4CA1D4ACB6; Tue, 28 Nov 2006 14:59:58 +0100 (CET)
Message-Id: <cejUghrP6R0/G2i0yt502Q.md5@prosecco.oryx.com>
Date: Tue, 28 Nov 2006 14:58:32 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu> <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com>
In-Reply-To: <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id kASE01P4076029
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> Ken Murchison writes:
>> Mostly nits, but a couple of corrections.

Mostly just done and not commented here. Thank you. One thing needs discussion.

...
>> - Section 3.4, first paragraph.  I don't really like the MUST and 
>> MUST NOT combination in the two sentences.  Could they be merged 
>> into one positive sentence something like the following?
>>
>>     If the server supports the IMAP4 NAMESPACE command [4], and
>>     it is in the authenticated state, the server MUST return an
>>     untagged NAMESPACE response when a language is negotiated.
>
> Good suggestion. Will do.

But how, exactly? I could say one of the following:

1. The server MUST remember whether it has sent NAMESPACE to the client 
at any point during this connection, and MUST resend an appropriate 
NAMESPACE response when it processes LANGUAGE. The new NAMESPACE's 
values replace any earlier values sent.

1b. As 1, with "The client MUST NOT cache NAMESPACE values across 
connections." added.

2. The client MUST resent NAMESPACE if it changes language using 
LANGUAGE after sending the NAMESPACE command.

3. Requiring ENABLE.

My personal preference is option 2, then 3, then 1/1b.

I don't like option 1, because if a client caches NAMESPACE and does not 
(re)send it on connection establishment, the LANGUAGE command doesn't 
cause the NAMESPACE response to be sent. And not 1b either, because if 
the client isn't permited to to cache the namespace response, how can 
it cache messages in mailboxes whose name starts with a NAMESPACE-based 
prefix?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASDTlgt072252; Tue, 28 Nov 2006 06:29:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kASDTlJe072251; Tue, 28 Nov 2006 06:29:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kASDTkPR072244 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 06:29:47 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 655464ACC6 for <ietf-imapext@imc.org>; Tue, 28 Nov 2006 14:29:45 +0100 (CET)
Message-Id: <+grMg2AQhPteXyzqfFDNOw.md5@libertango.oryx.com>
Date: Tue, 28 Nov 2006 14:31:30 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: IMAP-I18N
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken and Alexey sent me comments which I processed, but which aren't in 
the draft I posted yesteday. My fault. Sorry. (An SCM fubar.) I'll post 
an update as soon as this one is through the queue.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAS15MJI097422; Mon, 27 Nov 2006 18:05:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAS15MYl097421; Mon, 27 Nov 2006 18:05:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAS15Lcn097415 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 18:05:21 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAS15Evp018431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 17:05:14 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAS15E41003079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 27 Nov 2006 17:05:14 -0800
Date: Mon, 27 Nov 2006 17:05:14 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
In-Reply-To: <47C15A2A4163358819523D2B@Cyrus-Daboo-G5.local>
Message-ID: <alpine.LRH.0.8.0611271702590.15277@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local> <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com> <47C15A2A4163358819523D2B@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.164933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__C230066_P5 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Cyrus Daboo wrote:
> I think treating this as an "upgrade" to i;ascii-casemap as opposed to an 
> alternative to i;basic is a good approach, so I think your proposal is fine.

OK, I've just sent draft-crispin-comparator-unicode-00.txt to the I-D 
repository.  It's definitely going to need some work, but I hope that the 
general idea survives more or less intact.

For your convenience, I'm including it below

-- Mark --

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






Network Working Group                                         M. Crispin
Internet-Draft                                  University of Washington
Document: internet-drafts/draft-crispin-comparator-unicode-00.txt
                                                            November 2006


        Internet Application Protocol Simple Unicode Comparator

Status of this Memo

    By submitting this Internet-Draft, each author represents that
    any applicable patent or other IPR claims of which he or she is
    aware have been or will be disclosed, and any of which he or she
    becomes aware will be disclosed, in accordance with Section 6 of
    BCP 79.

    Internet-Drafts are working documents of the Internet Engineering
    Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as
    Internet-Drafts.

    Internet-Drafts are draft documents valid for a maximum of six months
    and may be updated, replaced, or obsoleted by other documents at any
    time.  It is inappropriate to use Internet-Drafts as reference
    material or to cite them other than as "work in progress."

    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt

    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.

    A revised version of this document will be submitted to the RFC
    editor as an Informational Document for the Internet Community.

    A revised version of this draft document will be submitted to the RFC
    editor as a Proposed Standard for the Internet Community.  Discussion
    and suggestions for improvement are requested, and should be sent to
    ietf-imapext@IMC.ORG.  This document will expire before 27 May 2007.
    Distribution of this memo is unlimited.


Abstract

    This document describes "i;unicode-casemap", a simple
    case-insensitive collation for Unicode strings.  It provides
    equality, substring and ordering operations.


Introduction

    The "i;ascii-casemap" collation described in [COMPARATOR] is quite
    simple to implement and provides case-independent comparisons for the
    26 Latin alphabetics.  It is specified as the default and/or baseline
    comparator in some application protocols, e.g., [IMAP-SORT].

    It is possible, with a modest extension, to provide a more
    sophisticated collation with greater multilingual applicability than
    "i;ascii-casemap".

    This collation, "i;unicode-casemap", is intended to be an alternative
    to, and preferred over, "i;ascii-casemap".  It does not replace the
    "i;basic" collation described in [BASIC].


1. Unicode Casemap Collation Description

    The "i;unicode-casemap" collation is a simple collation which
    operates on Unicode strings and treats characters case-insensitively.
    It provides equality, substring and ordering operations.  All input
    is valid.

    For the equality and ordering operations, each input string is
    prepared by converting it to "titlecased canonicalized UTF-8" as
    follows on a per-character basis:

       (1) If the string is in a non-Unicode character set, the codepoint
           is converted from that character set to the associated
           codepoint in Unicode.
       (2) If the codepoint has a titlecase property in UnicodeData.txt
           (this is normally the same as the uppercase property) the
           codepoint is converted to the titlecased codepoint.
       (3) If the codepoint as a decomposition property in
           UnicodeData.txt the codepoint is converted to the decomposed
           codepoints.
       (4) The resulting codepoint(s) is/are appended to the titlecased
           canonicalized UTF-8 string.

    The resulting two titlecased canonicalized UTF-8 strings are then
    treated as in i;octet for equality and ordering.

    Care should be taken when using OS-supplied functions to implement
    this collation as it is not locale sensitive.  Functions such as
    strcasecmp and toupper are sometimes locale sensitive and may
    inconsistently casemap letters.

    The i;unicode-casemap collation is well suited to to use with many
    Internet protocols and computer languages.  Use with natural language
    is often inappropriate: even though the collation apparently supports
    languages such as Swahili and English, in real-world use it tends to
    mis-sort a number of types of string:

    o  people and place names containing scripts that are not collated
       according to "alphabetical order".
    o  words with characters that have diacriticals.  However,
       i-unicode-casemap generally does a better job than i;ascii-casemap
       for most (but not all) languages.  For example, German umlaut
       letters will sort correctly, but some Scandinavian letters will
       not.
    o  names such as "Lloyd" (which in Welsh sorts after "Lyon", unlike
       in English),
    o  strings containing other non-letter symbols; e.g., euro and pound
       sterling symbols, quotation marks other than '"', dashes/hyphens,
       etc.

2. Unicode Casemap Collation Registration

    <?xml version='1.0'?>
    <!DOCTYPE collation SYSTEM 'collationreg.dtd'>
    <collation rfc="XXXX" scope="local" intendedUse="common">
      <identifier>i;unicode-casemap</identifier>
      <title>Unicode Casemap</title>
      <operations>equality order substring</operations>
      <specification>RFC XXXX</specification>
      <owner>IETF</owner>
      <submitter>mrc@cac.washington.edu<submitter>
    </collation>

3. Security Considerations

    Collations will normally be used with UTF-8 strings.  Thus the
    security considerations for [UTF-8], [STRINGPREP] and
    [UNICODE-SECURITY] also apply and are normative to this
    specification.


4. IANA Considerations

    The i;unicode-casemap collation should be added to the registry of
    collations defined in [COMPARATOR]


5. Normative References

    The following documents are normative to this document:

    [BASIC]               ???, Work in Progress.

    [COMPARATOR]          Newman, C., "Internet Appplication Protocol
                          Collation Registry", Work in Progress.

    [STRINGPREP]          Hoffman, P. and M. Blanchet, "Preparation of
                          Internationalized Strings ("stringprep")",
                          RFC 3454, December 2002.

    [UTF-8]               Yergeau, F., "UTF-8, a transformation format
                          of ISO 10646", STD 63, RFC 3629, November 2003.

    [UNICODE-SECURITY]    Davis, M. and M. Suignard, "Unicode Security
                          Considerations", February 2006,
                          <http://www.unicode.org/reports/tr36/>.


6. Informative References:

    [IMAP-SORT]           Crispin, M. "Internet Message Access Protocol -
                          SORT and THREAD Extensions", Work in Progress.


Appendices

Author's Address

    Mark R. Crispin
    Networks and Distributed Computing
    University of Washington
    4545 15th Avenue NE
    Seattle, WA  98105-4527

    Phone: +1 (206) 543-5762

    EMail: MRC@CAC.Washington.EDU


Full Copyright Statement

    Copyright (C) The Internet Society (2006).

    This document is subject to the rights, licenses and restrictions
    contained in BCP 78, and except as set forth therein, the authors
    retain all their rights.

    This document and the information contained herein are provided on an
    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
    OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
    ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Intellectual Property

    The IETF takes no position regarding the validity or scope of any
    Intellectual Property Rights or other rights that might be claimed to
    pertain to the implementation or use of the technology described in
    this document or the extent to which any license under such rights
    might or might not be available; nor does it represent that it has
    made any independent effort to identify any such rights.  Information
    on the procedures with respect to rights in RFC documents can be
    found in BCP 78 and BCP 79.

    Copies of IPR disclosures made to the IETF Secretariat and any
    assurances of licenses to be made available, or the result of an
    attempt made to obtain a general license or permission for the use of
    such proprietary rights by implementers or users of this
    specification can be obtained from the IETF on-line IPR repository at
    http://www.ietf.org/ipr.

    The IETF invites any interested party to bring to its attention any
    copyrights, patents or patent applications, or other proprietary
    rights that may cover technology that may be required to implement
    this standard.  Please address the information to the IETF at ietf-
    ipr@ietf.org.


Acknowledgement

    Funding for the RFC Editor function is currently provided by the
    Internet Society.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJtdEX065622; Mon, 27 Nov 2006 12:55:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARJtdJb065621; Mon, 27 Nov 2006 12:55:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJtbOV065614 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 12:55:37 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARJtasn002209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 11:55:36 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARJtXpr020384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 27 Nov 2006 11:55:35 -0800
Date: Mon, 27 Nov 2006 11:55:33 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
In-Reply-To: <iGiJlBKAA0ETL60ulRpFgw.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611271137340.17689@pangtzu.panda.com>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>  <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com> <iGiJlBKAA0ETL60ulRpFgw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.114432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 27 Nov 2006, Arnt Gulbrandsen wrote:
> > This bit about "side effects" represents a misunderstanding of a 
> > fundamental IMAP principle.
> Thank you very much.

No insult intended.  You are showing a misunderstanding, and that 
misunderstanding needs to be clarified/resolved.

> RFC 4551, page 4, last paragraph. And other places - search for 
> 'CONDSTORE enabling command'.

The nomenclature, and the way in which it is expressed, is a bit 
unfortunate.  Nonetheless, the client is doing something to cause those 
responses.

Personally, I would have preferred that this behavior ONLY occur in 
unsolicited FLAGS responses.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJV6NP062317; Mon, 27 Nov 2006 12:31:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARJV61g062316; Mon, 27 Nov 2006 12:31:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARJV4HS062308 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 12:31:06 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 05C5D4ACC0; Mon, 27 Nov 2006 20:31:04 +0100 (CET)
Message-Id: <iGiJlBKAA0ETL60ulRpFgw.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 20:32:45 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
Cc: Mark Crispin <MRC@CAC.Washington.EDU>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com> <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com> <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com> <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com>
In-Reply-To: <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Mon, 27 Nov 2006, Arnt Gulbrandsen wrote:
>> The driving force behind this one is "CONDSTORE and ANNOTATE should 
>> not need to be enabled using side effects.
>
> This bit about "side effects" represents a misunderstanding of a 
> fundamental IMAP principle.

Thank you very much.

> It has nothing to do with side effects.  The principle is that IMAP 
> responses are triggered by IMAP commands, and that no client should 
> get a extension response unless it issues an extension command.
>
> ANNOTATE has always been a disaster; it went pie-in-the-sky early on. 
> The past several years of work on it seem to be little more than 
> attempts to reduce it to something that someone might actually 
> implement.  IMHO the WG should have cut its losses and abandoned it.
>
> I don't offhand see the problem in CONDSTORE.  Surely we're not 
> talking about a few extra octets in an IMAP command.

RFC 4551, page 4, last paragraph. And other places - search for 
'CONDSTORE enabling command'.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARIrsXS057296; Mon, 27 Nov 2006 11:53:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARIrsKW057295; Mon, 27 Nov 2006 11:53:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARIrqBp057288 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 11:53:53 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARIrqbv017785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 10:53:52 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARIroxV010089 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 27 Nov 2006 10:53:51 -0800
Date: Mon, 27 Nov 2006 10:53:46 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
In-Reply-To: <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>
Message-ID: <alpine.WNT.0.8.0611271033520.5948@Shimo-Tomobiki.panda.com>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com> <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.103932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 27 Nov 2006, Arnt Gulbrandsen wrote:
> The driving force behind this one is "CONDSTORE and ANNOTATE should not 
> need to be enabled using side effects.

This bit about "side effects" represents a misunderstanding of a 
fundamental IMAP principle.

It has nothing to do with side effects.  The principle is that IMAP 
responses are triggered by IMAP commands, and that no client should get a 
extension response unless it issues an extension command.

ANNOTATE has always been a disaster; it went pie-in-the-sky early on. 
The past several years of work on it seem to be little more than attempts 
to reduce it to something that someone might actually implement.  IMHO the 
WG should have cut its losses and abandoned it.

I don't offhand see the problem in CONDSTORE.  Surely we're not talking 
about a few extra octets in an IMAP command.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARISnk8055103; Mon, 27 Nov 2006 11:28:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARISnXe055102; Mon, 27 Nov 2006 11:28:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARISlmb055088 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 11:28:48 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 883754ACFA; Mon, 27 Nov 2006 19:28:46 +0100 (CET)
Message-Id: <GmaBIJJDYRuEoJilEz+DQQ.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 19:30:27 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
Cc: Mark Crispin <mrc@CAC.Washington.EDU>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com> <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>
In-Reply-To: <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> General observation:
>
> What seems to be driving some of these proposals is "neat to have" 
> rather than "need to have".

I can see what you mean, although we may not agree on particulars.

The driving force behind this one is "CONDSTORE and ANNOTATE should not 
need to be enabled using side effects. Doing that once is OK, doing it 
twice is dubious, four or five times would be hideous" and so, after 
two use cases, you now see a proposal. Fee free to argue against it, or 
for alternatives, or whatever. It's a proposal, nothing more, nothing 
less.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARICcCd053584; Mon, 27 Nov 2006 11:12:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARICcwx053583; Mon, 27 Nov 2006 11:12:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARICadb053576 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 11:12:37 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARICZjp018787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Nov 2006 10:12:35 -0800
X-Auth-Received: from Shimo-Tomobiki.panda.com (panda.com [206.124.149.114]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kARICXcF029193 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 27 Nov 2006 10:12:34 -0800
Date: Mon, 27 Nov 2006 10:12:29 -0800
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: ENABLE review and a question
In-Reply-To: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>
Message-ID: <alpine.WNT.0.8.0611271005480.5296@Shimo-Tomobiki.panda.com>
References: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.27.95933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

General observation:

What seems to be driving some of these proposals is "neat to have" rather 
than "need to have".

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFNUuY031061; Mon, 27 Nov 2006 08:23:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARFNUVo031060; Mon, 27 Nov 2006 08:23:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFNS00031053 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 08:23:29 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id BBCCC4ACFA; Mon, 27 Nov 2006 16:23:27 +0100 (CET)
Message-Id: <lF5i23QfoDGCsvyAAQ9o7Q.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 16:25:08 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: my todo list
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I appear to have cleared my TODO list. Unfortunately, several of the 
tasks on the list generated followup work. But for the next two days or 
so, I'm free as a bird! What a lovely feeling!

Arnt ;)



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFGmZT030271; Mon, 27 Nov 2006 08:16:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kARFGmpd030270; Mon, 27 Nov 2006 08:16:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kARFGjjO030260 for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 08:16:46 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 6CC0A4ACFC for <ietf-imapext@imc.org>; Mon, 27 Nov 2006 16:16:44 +0100 (CET)
Message-Id: <cXtN5B3u2w69C+sOkJTJdA.md5@libertango.oryx.com>
Date: Mon, 27 Nov 2006 16:18:24 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: ENABLE review and a question
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

various people have written to say things like "neat idea" or "I like 
this better than these enabling commands".

Now, a first real issue. Alexey wants to enable someting, and it's not 
an entire extension. What to do?

Option 1. Another IANA registry, and any partial extensions can add 
their extra keywords there.

Option 2. Another IANA registry, and ONLY that which is listed there can 
be enabled with ENABLE.

Option 3. Make Alexey live without this feature.

Ideas?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANK74Wt037848; Thu, 23 Nov 2006 13:07:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANK74ew037847; Thu, 23 Nov 2006 13:07:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANK72kc037840 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 13:07:03 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kANK70LM001716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Nov 2006 12:07:00 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kANK6wLb006302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Nov 2006 12:06:59 -0800
Date: Thu, 23 Nov 2006 12:06:58 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: IDLE and idle
In-Reply-To: <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611231205320.17689@pangtzu.panda.com>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>  <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU> <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.23.115433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 23 Nov 2006, Arnt Gulbrandsen wrote:
> > UW imapd can send BYE outside of a command.  Do you have an example of 
> > OK outside of a command?  I can't think of any.
> Don't you send something like '* OK NAT middleboxes must die!" (more 
> politely phrased) every two minutes, or am I confusing you with someone 
> else?

That happens inside an IDLE; and yes, the message is a more polite
 	* OK timeout in 26 minutes

I don't think that UW imapd, or the old TOPS-20 IMAP2 server, send OK 
outside of a command.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANBcwRI097234; Thu, 23 Nov 2006 04:38:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANBcwee097233; Thu, 23 Nov 2006 04:38:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANBcvgW097227 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 04:38:58 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GnCur-0004xv-9A; Thu, 23 Nov 2006 11:38:53 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 37F30498004; Thu, 23 Nov 2006 11:51:50 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04334-03; Thu, 23 Nov 2006 11:51:40 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 7E7A4498003; Thu, 23 Nov 2006 11:51:40 +0000 (GMT)
Date: Thu, 23 Nov 2006 11:38:42 +0000
Subject: Re: IDLE and idle
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com> <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU> <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
In-Reply-To: <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <4994.1164281923.347439@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: Mark Crispin <mrc@cac.washington.edu>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 23 11:05:25 2006, Arnt Gulbrandsen wrote:
> Mark Crispin writes:
>>> I'm not familiar with any servers that do this. (UW sends OK, but 
>>> my question is about EXISTS.) Are there any that send EXISTS, and 
>>> if so, which?
>> 
>> UW imapd can send BYE outside of a command.  Do you have an 
>> example of OK outside of a command?  I can't think of any.
> 
> Don't you send something like '* OK NAT middleboxes must die!" 
> (more politely phrased) every two minutes, or am I confusing you 
> with someone else?

That's only when IDLE is running.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANB4IaN093943; Thu, 23 Nov 2006 04:04:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANB4INF093942; Thu, 23 Nov 2006 04:04:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANB4Flv093920 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 04:04:17 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 2CF334ACDF; Thu, 23 Nov 2006 12:04:06 +0100 (CET)
Message-Id: <FFlqVjuvWWiXnqQYgtC1CA.md5@libertango.oryx.com>
Date: Thu, 23 Nov 2006 12:05:25 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: IDLE and idle
Cc: Mark Crispin <mrc@CAC.Washington.EDU>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com> <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU>
In-Reply-To:  <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> I really wish that we remove this from IMAP, but I'm sure that someone 
> would cry foul.

I think I'm going to use it, actually. Send up to one EXISTS. Shouldn't 
hurt the client and won't hurt my nonblocking IO. Not sure whether 
it'll have any benefit. Perhaps.

>> I'm not familiar with any servers that do this. (UW sends OK, but my 
>> question is about EXISTS.) Are there any that send EXISTS, and if 
>> so, which?
>
> UW imapd can send BYE outside of a command.  Do you have an example of 
> OK outside of a command?  I can't think of any.

Don't you send something like '* OK NAT middleboxes must die!" (more 
politely phrased) every two minutes, or am I confusing you with someone 
else?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANAvevp092888; Thu, 23 Nov 2006 03:57:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kANAvesB092887; Thu, 23 Nov 2006 03:57:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kANAvc2K092879 for <ietf-imapext@imc.org>; Thu, 23 Nov 2006 03:57:39 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 5658A4ACDF; Thu, 23 Nov 2006 11:57:37 +0100 (CET)
Message-Id: <3vIyKvLL88WIR9k5m0f+Yw.md5@libertango.oryx.com>
Date: Thu, 23 Nov 2006 11:58:56 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com> <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local> <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Wed, 22 Nov 2006, Cyrus Daboo wrote:
>> I agree that i;unicode-casemap cannot go in the comparator draft as 
>> its already been approved and on its way. There is too much else 
>> that depends on it to delay any more. A new draft defining and 
>> registering the new collation is best right now.
>
> OK, I'm convinced.  I'll write the document.

Fine.

> Please point me to the appropriate thing that I should use as a 
> framework for the document, so that I don't have to guess and guess 
> wrong.
>
> My intent is to use the definition of i;ascii-casemap as a basis, 
> which presumably means I should use the comparator draft.

Sounds good.

> Unless you think I should use i;basic instead.

Almost as good.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2Uvq3052727; Wed, 22 Nov 2006 19:30:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAN2UvfE052726; Wed, 22 Nov 2006 19:30:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2Uukc052717 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 19:30:56 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2UsEF018109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 18:30:54 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2Usgv029790 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 22 Nov 2006 18:30:54 -0800
Date: Wed, 22 Nov 2006 18:30:54 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Dave Cridland <dave@cridland.net>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
Subject: Re: IDLE and idle
In-Reply-To: <4994.1164208059.996096@peirce.dave.cridland.net>
Message-ID: <alpine.WNT.0.8.0611221824020.5340@Tomobiki-Cho.CAC.Washington.EDU>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com> <4994.1164208059.996096@peirce.dave.cridland.net>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.181932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Dave Cridland wrote:
> There's an edge case whereby a server sending EXISTS (Or RECENT) when 
> no command is in progress can inadvertantly cause some confusion.
> Specifically, when an EXISTS is sent at such a point that the client 
> is sending, or has already sent, a SELECT command, the client has to 
> be particularly careful about whether the EXISTS is in response to 
> the SELECT, and thus relates to the subsequent mailbox, or 
> unsolicited, and thus relates to the prior mailbox.

You're right about the edge case.  You're wrong about it only happening 
when no command is in progress.

A SELECT causes an implicit UNSELECT.  If a new message came in prior to 
the SELECT command, the actions taken as part of the UNSELECT could cause 
an untagged EXISTS event for the previous mailbox.  This will happen even 
in a server which doesn't send EXISTS/RECENT when no command is in 
progress.

I discovered this problem many years ago, back in IMAP2 days.

> There are two workarounds for clients:
> 1) Issue UNSELECT before any SELECT, which disambiguates.
> 2) In principle, only the last EXISTS relates to the subsequent 
> mailbox. The first EXISTS relates to the prior mailbox, unless there 
> is only one.

Correct.

> In general, I prefer pipelining an UNSELECT.

Well, since (1) is only an option for servers which have UNSELECT, a 
client has to implement (2).

Most clients don't recycle IMAP sessions for other mailboxes, so they 
don't encounter this problem.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2O1gR052128; Wed, 22 Nov 2006 19:24:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAN2O14l052127; Wed, 22 Nov 2006 19:24:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAN2O0UM052121 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 19:24:00 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2NxA4019089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 18:23:59 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAN2Nxos000735 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 22 Nov 2006 18:23:59 -0800
Date: Wed, 22 Nov 2006 18:23:59 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: IDLE and idle
In-Reply-To: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Message-ID: <alpine.WNT.0.8.0611221808440.5340@Tomobiki-Cho.CAC.Washington.EDU>
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.180932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Arnt Gulbrandsen wrote:
> RFC 3501 section 5.3 permits a server to send untagged unsolicited 
> EXISTS responses to a client even when it's not processing any command, 
> under certain circumstances.

Correct.

This was supposed to be the "correct" behavior for servers, all "good" 
servers and clients would be fully asynchronous.

I knew that this was asking for trouble; I remembered the deadlock 
problems with the CCA Datacomputer all too well.  The practice of polling 
using NOOP (and thus indicating client readiness to accept unsolicited 
server data) was implemented from the onset.  Later on, IDLE also resulted 
from this realization.

However, the political environment at the time did not accept reality. 
The specification's allowing of unsolicited data outside of a command was 
an attempt at placation.  It failed to placate and the RFC 1203 ("IMAP3") 
fork resulted (the fork was stillborn, but it caused years of FUD).

I really wish that we remove this from IMAP, but I'm sure that someone 
would cry foul.

> I'm not familiar with any servers that do this. (UW sends OK, but my 
> question is about EXISTS.) Are there any that send EXISTS, and if so, 
> which?

UW imapd can send BYE outside of a command.  Do you have an example of OK 
outside of a command?  I can't think of any.

But there's something else that clients must consider.  See my forthcoming 
response to Dave's message.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKtprS025944; Wed, 22 Nov 2006 13:55:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMKtp96025943; Wed, 22 Nov 2006 13:55:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKtnom025936 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 13:55:50 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAMKteke009301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Nov 2006 15:55:43 -0500
Date: Wed, 22 Nov 2006 15:55:35 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Mark Crispin <mrc@CAC.Washington.EDU>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
Message-ID: <47C15A2A4163358819523D2B@Cyrus-Daboo-G5.local>
In-Reply-To: <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>  <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local> <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Mark,

--On November 22, 2006 10:01:41 AM -0800 Mark Crispin 
<mrc@CAC.Washington.EDU> wrote:

>> I agree that i;unicode-casemap cannot go in the comparator draft as its
>> already been approved and on its way. There is too much else that
>> depends  on it to delay any more. A new draft defining and registering
>> the new  collation is best right now.
>
> OK, I'm convinced.  I'll write the document.
>
> Please point me to the appropriate thing that I should use as a framework
> for the document, so that I don't have to guess and guess wrong.
>
> My intent is to use the definition of i;ascii-casemap as a basis, which
> presumably means I should use the comparator draft.  Unless you think I
> should use i;basic instead.

I think treating this as an "upgrade" to i;ascii-casemap as opposed to an 
alternative to i;basic is a good approach, so I think your proposal is fine.

BTW It is my intent to support this in our CalDAV server - so there is at 
least one other who will implement this.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKo8hI025433; Wed, 22 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMKo8QM025432; Wed, 22 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ns3.neustar.com (ns3.neustar.com [156.154.24.138]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMKo7R3025409 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 13:50:08 -0700 (MST) (envelope-from ietf@ietf.org)
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com [10.31.47.10]) by ns3.neustar.com (Postfix) with ESMTP id 0E9F4175D3; Wed, 22 Nov 2006 20:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1Gmz2f-0006kF-Jt; Wed, 22 Nov 2006 15:50:01 -0500
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-sort-18.txt 
Message-Id: <E1Gmz2f-0006kF-Jt@stiedprstage1.ietf.org>
Date: Wed, 22 Nov 2006 15:50:01 -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 EXTENSIONS
	Author(s)	: M. Crispin, K. Murchison
	Filename	: draft-ietf-imapext-sort-18.txt
	Pages		: 0
	Date		: 2006-11-20
	
This document describes the base-level server-based sorting and
      threading extensions to the [IMAP] protocol.  These extensions
      provide substantial performance improvements for IMAP clients which
      offer sorted and threaded views.

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

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

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-imapext-sort-18.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-18.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:	<2006-11-22110219.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2006-11-22110219.I-D@ietf.org>

--OtherAccess--

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMI1oHc009504; Wed, 22 Nov 2006 11:01:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMI1oW5009503; Wed, 22 Nov 2006 11:01:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMI1mGH009497 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 11:01:49 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMI1in8014128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 10:01:44 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMI1gMU000878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 Nov 2006 10:01:43 -0800
Date: Wed, 22 Nov 2006 10:01:41 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
In-Reply-To: <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local>
Message-ID: <alpine.OSX.0.7.0611220959140.8463@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com> <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.94932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Cyrus Daboo wrote:
> I agree that i;unicode-casemap cannot go in the comparator draft as its 
> already been approved and on its way. There is too much else that depends 
> on it to delay any more. A new draft defining and registering the new 
> collation is best right now.

OK, I'm convinced.  I'll write the document.

Please point me to the appropriate thing that I should use as a framework 
for the document, so that I don't have to guess and guess wrong.

My intent is to use the definition of i;ascii-casemap as a basis, which 
presumably means I should use the comparator draft.  Unless you think I 
should use i;basic instead.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMHxF0e009195; Wed, 22 Nov 2006 10:59:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMHxFLo009194; Wed, 22 Nov 2006 10:59:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMHxENX009187 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 10:59:15 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMHx8lo007561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Nov 2006 09:59:08 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAMHwxC3000495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 Nov 2006 09:59:08 -0800
Date: Wed, 22 Nov 2006 09:58:58 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Review of sort
In-Reply-To: <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611220949350.8463@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.22.94432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 22 Nov 2006, Arnt Gulbrandsen wrote:
> Speed. I'm not being facetious. There are cases where string equality 
> testing is a big performance bottleneck, enough that it's bothersome. 
> In my GUI-programming past I've had to optimize such things before in 
> order to get a decent UI feel. I could implement i;unicode-casemap fast 
> enough that on modern CPUs it outruns RAM/L3 cache. A really good 
> programmer might be able to optimise i;basic that well, but I don't 
> know how, and even it so, I don't think we should rely on people being 
> much smarter than I am.

I agree with you on all points here.  I know how to write a good 
performing implementation of i;ascii-casemap and i;unicode-casemap 
(because I've done it).  I don't know how to do so for i;basic, although I 
hope to acquire such knowledge eventually.

I also believe that for a specification to be viable, we should not rely 
upon people being as smart as we are, much less smarter.  Substitute 
"[more] educated" or "[more] experienced" for "smart[er]" if you wish.

We used to mock high school kids whose introduction to computing was with 
BASIC (ignoring the small detail that many of us were that too!); but 
sadly its replacement hasn't resulted in better education of programming, 
design principles, or architecture.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH7NhC003342; Wed, 22 Nov 2006 10:07:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMH7NDs003341; Wed, 22 Nov 2006 10:07:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH7LJf003334 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 10:07:21 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAMH7E62008503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Nov 2006 12:07:17 -0500
Date: Wed, 22 Nov 2006 12:07:09 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: Dan Karp <dkarp@zimbra.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
Message-ID: <2FAADCE185DC17D3FE399BFA@Cyrus-Daboo-G5.local>
In-Reply-To: <45645F23.5070909@isode.com>
References: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com> <F305509DC46384B432528418@Cyrus-Daboo-G5.local> <45645F23.5070909@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 22, 2006 2:30:59 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> My comment to Dan on this was that it might make sense to have a way
>> to "profile" ANNOTATE so that servers could offer limited portions of
>> it. e.g. a server might choose not to implement either SORT'ing or
>> SEARCH'ing on annotations and that could be indicated via
>> ANNOTATE-NOSORT and ANNOTATE-NOSEARCH capabilities.
>
> I can see a reason for ANNOTATE-NOSORT, but why ANNOTATE-NOSEARCH? This
> is just making something already complex even more complex.

Its up to implementers to decide whether supporting search on annotations 
is hard or not and whether they want the option to not do it. I'm not 
saying we should allow that, but if there are reasons to then we can easily 
do so.

>> e.g. if a server wanted to support a limited set of entries, then a
>> new 'ALLOWEDENTRIES' option to SELECT could be used to return the set
>> of supported entries on a mailbox (e.g. just "/comment" in Dan's
>> example) - this could also cover support for .priv and .shared.
>>
>> The benefit of doing this, rather than inventing a new extension with
>> new syntax, is that it offers an upgrade path to full annotate. It
>> also means that anyone implementing full annotate on a client will be
>> able to easily handle "less capable" servers by simply looking at what
>> is supported. I think this is better than having two extension. This
>> could be done as a follow-up to the current "experiment".
>
> +1



-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH1WW8002667; Wed, 22 Nov 2006 10:01:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMH1WgW002666; Wed, 22 Nov 2006 10:01:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMH1UjJ002658 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 10:01:31 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAMH1I6o008449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Nov 2006 12:01:24 -0500
Date: Wed, 22 Nov 2006 12:01:12 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>
Subject: Re: Review of sort
Message-ID: <891AED04C93B64E71ACD17EC@Cyrus-Daboo-G5.local>
In-Reply-To: <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>  <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>  <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>  <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu> <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 22, 2006 11:13:21 AM +0100 Arnt Gulbrandsen <arnt@oryx.com> 
wrote:

>> I am willing to write a draft for i;unicode-casemap, but I think that
>> it belongs in the same document as i;ascii-casemap.
>
> I disagree and it may not be possible anyway.
>
> Disagreement: That document defines a registry and registers the
> preexisting collations (those from RFC 2244). That's a fine scope for a
> document, and I'd rather not extend it beyond its natural boundary. But I
> don't think opinions matter, because:
>
> Possibility: I've already sent that document to the RFC editor, six weeks
> ago I think. It sounds like a very long stretch to add a whole new
> section as an RFC Editor's Note, particularly if that section is outside
> the document's scope as I explained it to the IESG.

I agree that i;unicode-casemap cannot go in the comparator draft as its 
already been approved and on its way. There is too much else that depends 
on it to delay any more. A new draft defining and registering the new 
collation is best right now.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG5U5V096628; Wed, 22 Nov 2006 09:05:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMG5UHm096627; Wed, 22 Nov 2006 09:05:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG5R1d096621 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 09:05:29 -0700 (MST) (envelope-from SRS0=64x6=FC=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.245.151.2] (helo=n800w.m.i2n) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1GmubC1edf-0001B7; Wed, 22 Nov 2006 17:05:23 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: we all refer to LISTEXT as LISTEXT
Date: Wed, 22 Nov 2006 17:05:18 +0100
User-Agent: KMail/1.9.5
Cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
References: <200611211403.12916.martin.konold@erfrakon.de> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com> <4564454D.2040907@isode.com>
In-Reply-To: <4564454D.2040907@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611221705.20653.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Mittwoch, 22. November 2006 13:40 schrieb Alexey Melnikov:
> Arnt Gulbrandsen wrote:
> > So maybe the final RFC should name the capability LISTEXT, too. We
> > refer to all the other extensions by their capability name, and we
> > don't seem to like the name LIST-EXTENDED...
>
> Communigate also advertises LISTEXT, while supporting a version which is
> not compatible with the one implemented by Cyrus.

The implementation in Cyrus is explicitly using LIST-EXTENDED because my 
original patch allowed to have both around at the same time. 

Only later it was decided that the support for the out-dated LISTEXT is to be 
dropped.

> So I don't think we can use LISTEXT as a capability for the approved draft.

I second this.

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG1IE9096380; Wed, 22 Nov 2006 09:01:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMG1ISV096379; Wed, 22 Nov 2006 09:01:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMG1HtW096371 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 09:01:17 -0700 (MST) (envelope-from schaefer@closedmail.com)
Received: from torch.brasslantern.com ([71.116.86.88]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J9500GUR35ZDEO0@vms040.mailsrvcs.net> for ietf-imapext@imc.org; Wed, 22 Nov 2006 10:01:12 -0600 (CST)
Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id kAMG1ALO012041	for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 08:01:11 -0800
Received: (from schaefer@localhost)	by torch.brasslantern.com (8.13.1/8.13.1/Submit) id kAMG1AsR012040	for ietf-imapext@imc.org; Wed, 22 Nov 2006 08:01:10 -0800
Date: Wed, 22 Nov 2006 08:01:10 -0800
From: Bart Schaefer <schaefer@brasslantern.com>
Subject: Re: IDLE and idle
In-reply-to: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Message-id: <061122080110.ZM12039@torch.brasslantern.com>
MIME-version: 1.0
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
Content-type: text/plain; charset=us-ascii
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Comments: In reply to Arnt Gulbrandsen <arnt@oryx.com>        "IDLE and idle" (Nov 22,  2:51pm)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 22,  2:51pm, Arnt Gulbrandsen wrote:
}
} Are there any that send EXISTS, and if so, which?

I don't know of any in widespread use.  I wrote one several years ago
that deliberately did this as a kind of notification mechanism, but my
company abandoned the project before it ever became generally available.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMF80fH091351; Wed, 22 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMF80Mv091350; Wed, 22 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMF7wK2091342 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 08:07:59 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1Gmthc-0004lZ-4I; Wed, 22 Nov 2006 15:07:56 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 77483498004; Wed, 22 Nov 2006 15:20:44 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17002-03; Wed, 22 Nov 2006 15:20:28 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 84A68498005; Wed, 22 Nov 2006 15:20:28 +0000 (GMT)
Date: Wed, 22 Nov 2006 15:07:38 +0000
Subject: Re: IDLE and idle
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
In-Reply-To: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <4994.1164208059.996096@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Wed Nov 22 13:51:31 2006, Arnt Gulbrandsen wrote:
> RFC 3501 section 5.3 permits a server to send untagged unsolicited 
> EXISTS responses to a client even when it's not processing any 
> command, under certain circumstances.
> 
> I'm not familiar with any servers that do this. (UW sends OK, but 
> my question is about EXISTS.) Are there any that send EXISTS, and 
> if so, which?

Not that I'm aware of.

There's an edge case whereby a server sending EXISTS (Or RECENT) when 
no command is in progress can inadvertantly cause some confusion.

Specifically, when an EXISTS is sent at such a point that the client 
is sending, or has already sent, a SELECT command, the client has to 
be particularly careful about whether the EXISTS is in response to 
the SELECT, and thus relates to the subsequent mailbox, or 
unsolicited, and thus relates to the prior mailbox.

There are two workarounds for clients:

1) Issue UNSELECT before any SELECT, which disambiguates. This can be 
pipelined. (Without UNSELECT the issue is more complex, you need to 
do something like EXAMINE on a mailbox name known not to exist, or 
horrendously unlikely to exist.)

2) In principle, only the last EXISTS relates to the subsequent 
mailbox. The first EXISTS relates to the prior mailbox, unless there 
is only one.

In general, I prefer pipelining an UNSELECT.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEhl3U088535; Wed, 22 Nov 2006 07:43:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMEhl3e088534; Wed, 22 Nov 2006 07:43:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEhkPZ088528 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 07:43:47 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAMEhgCn012635 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 22 Nov 2006 09:43:43 -0500
Message-ID: <4564621D.5000604@andrew.cmu.edu>
Date: Wed, 22 Nov 2006 09:43:41 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: IDLE and idle
References: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
In-Reply-To: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> 
> Hi,
> 
> RFC 3501 section 5.3 permits a server to send untagged unsolicited 
> EXISTS responses to a client even when it's not processing any command, 
> under certain circumstances.
> 
> I'm not familiar with any servers that do this. (UW sends OK, but my 
> question is about EXISTS.) Are there any that send EXISTS, and if so, 
> which?

Cyrus IMAP does not send any response unless a command is in progress 
(IDLE included) unless there is some edge case that I'm not aware of.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEVGoG087343; Wed, 22 Nov 2006 07:31:16 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMEVG0g087342; Wed, 22 Nov 2006 07:31:16 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMEVFIl087336 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 07:31:16 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRfMgB024b7@rufus.isode.com>; Wed, 22 Nov 2006 14:31:14 +0000
Message-ID: <45645F23.5070909@isode.com>
Date: Wed, 22 Nov 2006 14:30:59 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: Dan Karp <dkarp@zimbra.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
References: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com> <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
In-Reply-To: <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
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>

Hi Cyrus,

Cyrus Daboo wrote:

> My comment to Dan on this was that it might make sense to have a way 
> to "profile" ANNOTATE so that servers could offer limited portions of 
> it. e.g. a server might choose not to implement either SORT'ing or 
> SEARCH'ing on annotations and that could be indicated via 
> ANNOTATE-NOSORT and ANNOTATE-NOSEARCH capabilities.

I can see a reason for ANNOTATE-NOSORT, but why ANNOTATE-NOSEARCH? This 
is just making something already complex even more complex.

> e.g. if a server wanted to support a limited set of entries, then a 
> new 'ALLOWEDENTRIES' option to SELECT could be used to return the set 
> of supported entries on a mailbox (e.g. just "/comment" in Dan's 
> example) - this could also cover support for .priv and .shared.
>
> The benefit of doing this, rather than inventing a new extension with 
> new syntax, is that it offers an upgrade path to full annotate. It 
> also means that anyone implementing full annotate on a client will be 
> able to easily handle "less capable" servers by simply looking at what 
> is supported. I think this is better than having two extension. This 
> could be done as a follow-up to the current "experiment".

+1



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDoJP1083063; Wed, 22 Nov 2006 06:50:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMDoJUp083061; Wed, 22 Nov 2006 06:50:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDoH8x083055 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 06:50:18 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id DD3154ACBB; Wed, 22 Nov 2006 14:50:16 +0100 (CET)
Message-Id: <6gFhY+rEXYt5qOgDD9wRAQ.md5@libertango.oryx.com>
Date: Wed, 22 Nov 2006 14:51:31 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: IDLE and idle
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

RFC 3501 section 5.3 permits a server to send untagged unsolicited 
EXISTS responses to a client even when it's not processing any command, 
under certain circumstances.

I'm not familiar with any servers that do this. (UW sends OK, but my 
question is about EXISTS.) Are there any that send EXISTS, and if so, 
which?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDnM7u082987; Wed, 22 Nov 2006 06:49:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMDnMed082986; Wed, 22 Nov 2006 06:49:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDnL0L082980 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 06:49:21 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRVXgB02zf8@rufus.isode.com>; Wed, 22 Nov 2006 13:49:18 +0000
Message-ID: <45645551.1030904@isode.com>
Date: Wed, 22 Nov 2006 13:49:05 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Lisa Dusseault <lisa@osafoundation.org>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu> <455A1673.6010500@isode.com> <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
In-Reply-To: <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Lisa Dusseault wrote:

>> And remember about difficulty of implementing METADATA on servers. 
>> LISTEXT might be already difficult to implement, but unlike METADATA 
>> it doesn't require any additional attribute storage facilities from 
>> the mailstore.
>>
> I believe this is true, but:
> - is everybody doing POSTADDRESS going to do METADATA anyway?

The answer for my implementation is No (at least not in short term)

> - Is it possible to support METADATA without allowing clients to write 
> and create their own properties?

Yes, but currently there is no way for the client to discover that this 
is the case.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDJvFl080496; Wed, 22 Nov 2006 06:19:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMDJvSe080494; Wed, 22 Nov 2006 06:19:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMDJuZW080482; Wed, 22 Nov 2006 06:19:56 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 292844ACBB; Wed, 22 Nov 2006 14:19:55 +0100 (CET)
Message-Id: <6nrCfHqh9q2UILGcO6j4oA.md5@libertango.oryx.com>
Date: Wed, 22 Nov 2006 14:21:09 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: Re: IDnits
Cc: Alexey Melnikov <alexey.melnikov@isode.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu> <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com> <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com> <45644A23.1030104@isode.com>
In-Reply-To: <45644A23.1030104@isode.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> Arnt Gulbrandsen wrote:
>> I keep the RFC numbers and rewrite as Ken suggests. I'd started that 
>> already, because it optimises for readability and because idnits 
>> insists on seeing "RFC 2119" in that boilerplace sentence.
>
> It turns out that one can use:
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in RFC 2119.
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in [RFC2119].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in [RFC 2119].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in RFC 2119 [1].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in RFC 2119 [KEYWORDS].
>
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
>   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
>   document are to be interpreted as described in [KEYWORDS].

Thanks.

I was using one of the last two, and idnits version 1.103 complained. 
1.103 must have been somewhat imperfect. I now upgraded to 1.118, and 
it only gives sensible warnings. Great. Why didn't I upgrade before?

However, I already rewrote and like the result better. It names the 
subject at hand, the document being referred to, or both, depending on 
what's best in any given paragraph.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMD1Z1C077928; Wed, 22 Nov 2006 06:01:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMD1Zhp077927; Wed, 22 Nov 2006 06:01:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMD1YkI077914; Wed, 22 Nov 2006 06:01:35 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRKLQB02122@rufus.isode.com>; Wed, 22 Nov 2006 13:01:33 +0000
Message-ID: <45644A23.1030104@isode.com>
Date: Wed, 22 Nov 2006 13:01:23 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: IDnits
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>  <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>  <4563148A.5000909@andrew.cmu.edu>  <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com> <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com>
In-Reply-To: <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Mark Crispin writes:
>
>> On Tue, 21 Nov 2006, Ken Murchison wrote:
>>
>>> - Section 2: Even though I know what RFC4422 and RFC3501 are, I'd 
>>> like to see the acronyms used with the references.  e.g.
>>> "The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
>>> "... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
>>> "... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."
>>
>> Or just change the reference names so that the RFC only needs to be 
>> changed once, in the references, e.g., [SASL], [IMAP], etc.
>
> I keep the RFC numbers and rewrite as Ken suggests. I'd started that 
> already, because it optimises for readability and because idnits 
> insists on seeing "RFC 2119" in that boilerplace sentence.

It turns out that one can use:

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC 2119].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [1].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [KEYWORDS].

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [KEYWORDS].

However the [KEYWORDS] reference has to be properly defined:

   [KEYWORDS]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", BCP 14, RFC 2119, March 1997.

instead of:

   [KEYWORDS]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", RFC 2119, March 1997.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMCevQF076030; Wed, 22 Nov 2006 05:40:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMCevCX076029; Wed, 22 Nov 2006 05:40:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMCetAF076022 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 05:40:56 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RWRFVgB022YN@rufus.isode.com>; Wed, 22 Nov 2006 12:40:54 +0000
Message-ID: <4564454D.2040907@isode.com>
Date: Wed, 22 Nov 2006 12:40:45 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org
Subject: Re: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de>  <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
In-Reply-To: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> So maybe the final RFC should name the capability LISTEXT, too. We 
> refer to all the other extensions by their capability name, and we 
> don't seem to like the name LIST-EXTENDED...

Communigate also advertises LISTEXT, while supporting a version which is 
not compatible with the one implemented by Cyrus.

So I don't think we can use LISTEXT as a capability for the approved draft.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMACBH0060000; Wed, 22 Nov 2006 03:12:11 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAMACBZ8059999; Wed, 22 Nov 2006 03:12:11 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAMAC9hP059992 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 03:12:10 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id ED98D4ACD3; Wed, 22 Nov 2006 11:12:07 +0100 (CET)
Message-Id: <G5JCUn0VoyFudABBLiowww.md5@libertango.oryx.com>
Date: Wed, 22 Nov 2006 11:13:21 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com> <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu>
In-Reply-To: <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Tue, 21 Nov 2006, Cyrus Daboo wrote:
>> OK - so it sounds like we may want both of these. If so, it seems 
>> like separate drafts would be better.
>>
>> Mark, are you in a position to write a draft for i;unicode-casemap? 
>> Or would you like someone else to?
>
> I am willing to write a draft for i;unicode-casemap, but I think that 
> it belongs in the same document as i;ascii-casemap.

I disagree and it may not be possible anyway.

Disagreement: That document defines a registry and registers the 
preexisting collations (those from RFC 2244). That's a fine scope for a 
document, and I'd rather not extend it beyond its natural boundary. But 
I don't think opinions matter, because:

Possibility: I've already sent that document to the RFC editor, six 
weeks ago I think. It sounds like a very long stretch to add a whole 
new section as an RFC Editor's Note, particularly if that section is 
outside the document's scope as I explained it to the IESG.

> Also, as i;unicode-casemap is intended to be a better default for an 
> IMAP server than i;ascii-casemap, should we stipulate that a server 
> should implement one or the other but not both?  Is there any reason 
> why either i;unicode-casemap or i;ascii-casemap would be used by any 
> implementation that supports i;basic?

Speed. I'm not being facetious. There are cases where string equality 
testing is a big performance bottleneck, enough that it's bothersome. 
In my GUI-programming past I've had to optimize such things before in 
order to get a decent UI feel. I could implement i;unicode-casemap fast 
enough that on modern CPUs it outruns RAM/L3 cache. A really good 
programmer might be able to optimise i;basic that well, but I don't 
know how, and even it so, I don't think we should rely on people being 
much smarter than I am.

It would be a pity if we require i;basic use in cases where it's not 
really needed, just because we don't have something more appropriate at 
hand.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM9J0Bt054587; Wed, 22 Nov 2006 02:19:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM9J0La054585; Wed, 22 Nov 2006 02:19:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM9IwaI054575 for <ietf-imapext@imc.org>; Wed, 22 Nov 2006 02:18:59 -0700 (MST) (envelope-from SRS0=64x6=FC=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.164.57] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GmoFa0TAa-0007SD; Wed, 22 Nov 2006 10:18:39 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Dan Karp <dkarp@zimbra.com>
Subject: Re: IDLEPLUS extension
Date: Wed, 22 Nov 2006 10:18:32 +0100
User-Agent: KMail/1.9.5
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
References: <789899155.132211164070881212.JavaMail.root@dogfood.zimbra.com>
In-Reply-To: <789899155.132211164070881212.JavaMail.root@dogfood.zimbra.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611221018.33607.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 02:01 schrieb Dan Karp:

Hi Dan,

> Message sequence numbers are meaningless -- and probably can't be
> determined -- in non-SELECTed mailboxes.  You'd be better off using UIDs
> qualified by UIDVALIDITY.

Thank you for your valuable feedback!

Yes, I agree even though it requires some extra bytes but only the triple 
(name/uidvalidity/uid) is really very robust and not prone to race 
conditions. I changed the draft accordingly.

http://www.erfrakon.de/konold/draft-konold-imap-idleplus-03.txt

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2hWS9022047; Tue, 21 Nov 2006 19:43:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM2hWdI022046; Tue, 21 Nov 2006 19:43:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2hUtv022039 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:43:31 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2hOc9021573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 18:43:25 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2hO4N030723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 18:43:24 -0800
Date: Tue, 21 Nov 2006 18:43:24 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Review of sort
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Message-ID: <alpine.LRH.0.7.0611211830510.12317@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.182933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_MEDIA_2_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Arnt Gulbrandsen wrote:
> Yes... i;basic does ordering like dictionaries for most of the world. 
> Very elaborate, very high quality. i;unicode-casemap does something 
> much, much simpler. Simple to implement and good for associative 
> arrays, which is a very important task. IMO both are needed.

I agree.

> I'm not 100% sure whether there are programs or protocols that do need 
> i;unicode-casemap and don't (in some other capacity) need i;basic. It 
> could be that i;basic could take over i;unicode-casemap's job, assuming 
> the performace difference is manageable. Right now I think it couldn't, 
> but I may change my mind.

I have i;unicode-casemap now, and it is likely to be some time before I 
will have i;basic.

As I understand the current documents, the choices boil down to:
  (a) comply by downgrading the existing i;unicode-casemap back to
      i;ascii-casemap
  (b) implement i;basic
  (c) don't comply, and disregard the documents
  (d) get i;unicode-casemap into the documents, thus bringing the
      status quo into compliance.

Of these, only (d) seems desirable.  Or rather, (b) is desirable but it 
isn't going to happen.  The danger with (c) is that once a document is 
defied as being out of touch with reality, it tends to remain in that 
state forever.

Hence, let's go with (d)!

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2UT5F021323; Tue, 21 Nov 2006 19:30:29 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM2UTvn021322; Tue, 21 Nov 2006 19:30:29 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2USBQ021315 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:30:28 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2UML1019012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 18:30:22 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2ULI6011026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 18:30:21 -0800
Date: Tue, 21 Nov 2006 18:30:21 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Review of sort
In-Reply-To: <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>
Message-ID: <alpine.LRH.0.7.0611211822490.12317@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com> <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.181432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Cyrus Daboo wrote:
> OK - so it sounds like we may want both of these. If so, it seems like 
> separate drafts would be better.
> 
> Mark, are you in a position to write a draft for i;unicode-casemap? Or 
> would you like someone else to?

I am willing to write a draft for i;unicode-casemap, but I think that it 
belongs in the same document as i;ascii-casemap.

Also, as i;unicode-casemap is intended to be a better default for an IMAP 
server than i;ascii-casemap, should we stipulate that a server should 
implement one or the other but not both?  Is there any reason why either 
i;unicode-casemap or i;ascii-casemap would be used by any implementation 
that supports i;basic?

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2MbGZ020847; Tue, 21 Nov 2006 19:22:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAM2Mb8s020846; Tue, 21 Nov 2006 19:22:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAM2MaQg020835 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:22:36 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2MYIb017498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 18:22:35 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAM2MYUB010548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 18:22:34 -0800
Date: Tue, 21 Nov 2006 18:22:34 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Martin Duerst <duerst@it.aoyama.ac.jp>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@Sun.COM>, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <6.0.0.20.2.20061121190302.094467e0@localhost>
Message-ID: <alpine.LRH.0.7.0611211806250.12317@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <6.0.0.20.2.20061118180934.09689dc0@localhost> <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com> <6.0.0.20.2.20061121190302.094467e0@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-ID: <alpine.LRH.0.7.0611211807151.12317@shiva2.cac.washington.edu>
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.180932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Martin Duerst wrote:
>> All strings are coerced to UTF-8, but subsequently are treated as octet 
>> strings instead of variable-width character strings.  The reference to 
>> "attempts to compare Unicode characters case-insensitively" [I agree 
>> that the verb "compare" needs to be included] refers to a higher-level 
>> effect rather than what the algorithm actually does.
> If that's all really cristal clear from the specification, it's probably
> okay. It was just difficult to guess from the part you sent.

The text that I wrote for i;unicode-casemap parallels the existing text 
for i;ascii-casemap which appears in the collator draft.  I think that the 
parallelism is important, since implementors of i;unicode-casemap are 
probably upgrading from i;ascii-casemap and/or need to understand what 
they need to do.

Thus, I would argue that your comments should be made about the definition 
of i;ascii-casemap, and that the i;unicode-casemap definition would just 
follow whatever is said there.

> Also,
> please keep in mind that collations should be reusable, so there
> may be a need to explain more in the collation definition than what's
> needed in the context of the protocol you're looking at.

It isn't clear to me how this applies in the context in which 
i;unicode-casemap would be used (IMAP sorting and threading).

>> I'm not familiar with the decomposition names.  What I meant is "if a 
>> decomposition for a codepoint is defined in UnicodeData.txt, substitute 
>> that decomposition for the codepoint."
> In that case, it's definitely not NFD (sorry, 'NDF' above was wrong).
> Is this done recursively or not?

Does it need to be?  I wasn't aware of any decompositions in the 
UnicodeData.txt file file neeed it.

> Given your arguments below about 'easy to implement', I'm wondering
> whether this is worth the effort.

Given that I was able to implement it in UW imapd rather quickly, and it 
may be quite some time before i;basic is implemented, I think that the 
answer is "yes".

> I still don't understand why you choose Titlecase. The output,
> applied to individual characters, may look weird if you get
> a Serbocroatian digraph, e.g. like so: LjUBLjANA (yes, I know,
> Ljubljana is in Slovenia, neither in Serbia nor in Croatia).
> Why not lower case (what's usually recommended) or upper case?

There is no "output"; this is just used to order IMAP SORT and THREAD 
results.

I choose titlecase coercion because it appeared to me in the few cases 
where titlecase is different that lowercase coercion would have the effect 
of misordering text that is in titlecase.  If that wasn't the case, it 
wouldn't matter if you coerced to lowercase or titlecase for comparison.

>> The all-or-none approach was taken with SSL/TLS and proved to be very 
>> painful.  It was entirely too easy for developers to choose "none" and 
>> make the people who followed the specification look like bad guys.
> Oh, so for SSL/TLS, I guess it would only be used for equality comparison,
> not for actual ordering.

No, I'm referring to the undue rush that we made to go to mandatory 
SSL/TLS and the years of interoperability nightmares that resulted.  To 
this day, I *STILL* get bug reports from people who are unclear on "why is 
login disabled."

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHVRRA078017; Tue, 21 Nov 2006 10:31:27 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHVRDP078016; Tue, 21 Nov 2006 10:31:27 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHVP30078009 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:31:26 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id DCC9C4ACED; Tue, 21 Nov 2006 18:31:24 +0100 (CET)
Message-Id: <u8wPO1LOtIEtist2eQzZgg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 18:32:35 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Ken Murchison <murch@andrew.cmu.edu>, Cyrus Daboo <cyrus@daboo.name>, Dave Cridland <dave@cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu> <455A1673.6010500@isode.com> <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
In-Reply-To: <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Lisa Dusseault writes:
> My personal opinion on POSTADDRESS at a higher level is that it's a 
> little dangerous either as metadata or as list extensions -- I think 
> Philip was the other one who pointed out that attackers could use it 
> to place emails directly in folders other than your Inbox.

POSTADDRESS isn't the guilty party there, + addresses are and servers 
which deliver to any folder are. IIRC I raised that issue when I 
reviewed rfc3598bis.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHPv9d077663; Tue, 21 Nov 2006 10:25:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHPvTQ077662; Tue, 21 Nov 2006 10:25:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHPu3e077580 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:25:56 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id 870A2810B39; Tue, 21 Nov 2006 09:20:45 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 02C97C6D43; Tue, 21 Nov 2006 09:25:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ExikE2sNEZNP; Tue, 21 Nov 2006 09:25:50 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 43FADC6D42; Tue, 21 Nov 2006 09:25:50 -0800 (PST)
Message-ID: <2047487183.153991164129950148.JavaMail.root@dogfood.zimbra.com>
Date: Tue, 21 Nov 2006 09:25:50 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
In-Reply-To: <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
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>

> My comment to Dan on this was that it might make sense to have a way
> to "profile" ANNOTATE so that servers could offer limited portions
> of it. e.g. a server might choose not to implement either SORT'ing or
> SEARCH'ing on annotations and that could be indicated via
> ANNOTATE-NOSORT and ANNOTATE-NOSEARCH capabilities. e.g. if a server
> wanted to support a limited set of entries, then a new
> 'ALLOWEDENTRIES' option to SELECT could be used to return the set of
> supported entries on a mailbox (e.g. just "/comment" in Dan's example)
> - this could also cover support for .priv and .shared.

This would definitely work, but I fear that would just further complicate an extension that's already got complex syntax and complex semantics.  I'm hoping for a stripped-down subset of the functionality with correspondingly stripped-down syntax and semantics -- basically, a simple feature expressed simply.

> The benefit of doing this, rather than inventing a new extension with
> new syntax, is that it offers an upgrade path to full annotate. It
> also means that anyone implementing full annotate on a client will be
> able to easily handle "less capable" servers by simply looking at what
> is supported. I think this is better than having two extension. This
> could be done as a follow-up to the current "experiment".

Going off my own experience (which may not be as generalizable as I'd like), it's not difficult for us to add new syntax as long as it uses the same existing underlying data store.  If we *could* support the full ANNOTATE feature set, the extra overhead to also support COMMENT would be minimal.  Of course, your mileage may vary.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHEdVL076869; Tue, 21 Nov 2006 10:14:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHEdfl076866; Tue, 21 Nov 2006 10:14:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHEcFH076855; Tue, 21 Nov 2006 10:14:39 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 9CA2D4ACED; Tue, 21 Nov 2006 18:14:37 +0100 (CET)
Message-Id: <Rq4F9THHM+LCF+bUZ7XfkQ.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 18:15:48 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
Cc: robsiemb@google.com, Ken Murchison <murch@andrew.cmu.edu>, Robert Siemborski <rjs3+@andrew.cmu.edu>, Mark Crispin <mrc@CAC.Washington.EDU>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu> <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Tue, 21 Nov 2006, Ken Murchison wrote:
>> - Section 2: Even though I know what RFC4422 and RFC3501 are, I'd 
>> like to see the acronyms used with the references.  e.g.
>> "The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
>> "... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
>> "... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."
>
> Or just change the reference names so that the RFC only needs to be 
> changed once, in the references, e.g., [SASL], [IMAP], etc.

I keep the RFC numbers and rewrite as Ken suggests. I'd started that 
already, because it optimises for readability and because idnits 
insists on seeing "RFC 2119" in that boilerplace sentence.

Besides, sometimes I like the distinction between e.g. IMAP and RFC 3501.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHEGiB076841; Tue, 21 Nov 2006 10:14:16 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHEFd9076840; Tue, 21 Nov 2006 10:14:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHECRW076829; Tue, 21 Nov 2006 10:14:15 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id BA69C4ACED; Tue, 21 Nov 2006 18:14:11 +0100 (CET)
Message-Id: <aH0JckY1kp5YZiBl9bHMyg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 18:15:22 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
Cc: robsiemb@google.com, Ken Murchison <murch@andrew.cmu.edu>, Robert Siemborski <rjs3+@andrew.cmu.edu>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu>
In-Reply-To: <4563148A.5000909@andrew.cmu.edu>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison writes:
> Arnt Gulbrandsen wrote:
>
>> I am not aware of any problems with the draft as it now stands. 
>> Please review it and notify me if you see any (I'm sure you will if 
>> you try hard). I'd also like to hear about any implementations. 
>> Thank you.
>
> It probably goes with out saying, but Cyrus IMAP has implemented this 
> from day one.

So far, 100% of servers apparently support it. I am amazed.

> A few nits on the draft, mostly outdated references.

I did all the nits and a few others. Augmented Bakus-Naur Form struck my 
eye. Thanks. There's one real issue to consider (security: MITM 
adding/removing SASL-IR from CAPABILITY), then I'll upload -06 and sit 
on my hands for a while.

The plan further is to do IETF LC on this and Rob/Alexey's 2554bis 
roughly at the same time, then have the IESG evaluate them together.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHDU3R076784; Tue, 21 Nov 2006 10:13:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALHDUxc076783; Tue, 21 Nov 2006 10:13:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALHDSan076776 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:13:29 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kALHDPgj004423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Nov 2006 12:13:27 -0500
Date: Tue, 21 Nov 2006 12:13:20 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dan Karp <dkarp@zimbra.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
Message-ID: <F305509DC46384B432528418@Cyrus-Daboo-G5.local>
In-Reply-To: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com>
References: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dan,

--On November 21, 2006 9:00:51 AM -0800 Dan Karp <dkarp@zimbra.com> wrote:

> I thought about it for a while, and I realized that the much simpler set
> of things we *can* implement still makes a pretty compelling subset of
> ANNOTATE functionality.  So I was wondering if it might be OK to try a
> second draft (called COMMENT or somesuch) encapsulating the following
> functionality:
>
>    - one COMMENT annotation field per message
>    - the COMMENT annotation maps directly to the "/comment value.shared"
> ANNOTATION (and hence tags along via COPY)    - a COMMENT annotation must
> be valid UTF-8 text or NIL
>
>    - the COMMENT annotation is SEARCHable, settable via STORE and APPEND,
> and retrievable via FETCH    - the COMMENT annotation is non-SORTable
>    - unsolicited notifications include the full COMMENT value
>
>    - COMMENT must be explicitly enabled via SELECT (COMMENT), EXAMINE
> (COMMENT), or ENABLE COMMENT
>
> So the syntax would look something like this:
>
>    C: A001 FETCH 1 (UID COMMENT)
>    S: * 1 FETCH (UID 7723 COMMENT NIL)
>    S: A001 OK FETCH completed
>
>    C: A002 STORE 1 COMMENT "This is the message's comment!"
>    S: * 1 FETCH (COMMENT "This is the message's comment!")
>    S: A002 OK STORE completed
>
>    C: A003 FETCH 1 (UID COMMENT)
>    S: * 1 FETCH (UID 7723 COMMENT "This is the message's comment!")
>    S: A003 OK FETCH completed
>
>    C: A004 STORE 1 COMMENT.SILENT "Updating the comment..."
>    S: A004 OK STORE completed
>
>    C: A005 APPEND Sent COMMENT "Attached to new message" {14432+}
>    C: ...
>    S: A005 OK APPEND completed
>
>    C: A006 SEARCH COMMENT "comment"
>    S: * SEARCH 12 44 156
>    S: A006 OK SEARCH completed
>
> I spoke with Cyrus about this, as he's one of the authors of the ANNOTATE
> extension and hence this is fundamentally his (and Randall's) work.  He
> suggested taking it to the full IMAPEXT list, and I've obliged.

My comment to Dan on this was that it might make sense to have a way to 
"profile" ANNOTATE so that servers could offer limited portions of it. e.g. 
a server might choose not to implement either SORT'ing or SEARCH'ing on 
annotations and that could be indicated via ANNOTATE-NOSORT and 
ANNOTATE-NOSEARCH capabilities. e.g. if a server wanted to support a 
limited set of entries, then a new 'ALLOWEDENTRIES' option to SELECT could 
be used to return the set of supported entries on a mailbox (e.g. just 
"/comment" in Dan's example) - this could also cover support for .priv and 
.shared.

The benefit of doing this, rather than inventing a new extension with new 
syntax, is that it offers an upgrade path to full annotate. It also means 
that anyone implementing full annotate on a client will be able to easily 
handle "less capable" servers by simply looking at what is supported. I 
think this is better than having two extension. This could be done as a 
follow-up to the current "experiment".

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALH118p075930; Tue, 21 Nov 2006 10:01:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALH11Wu075929; Tue, 21 Nov 2006 10:01:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALH10xb075906 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 10:01:00 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id 5C48D810C2E for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 08:55:47 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id CED46C6D43 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:00:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yem7eBwP2mJR for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:00:52 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 010FDC6D42 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:00:52 -0800 (PST)
Message-ID: <266092271.152781164128451794.JavaMail.root@dogfood.zimbra.com>
Date: Tue, 21 Nov 2006 09:00:51 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Broaching the idea of ANNOTATE-LESS (a.k.a COMMENT)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I've read through the latest ANNOTATE draft, and unfortunately it appears that there's no way for us to implement it without some *really* major rearchitecture.  Some of the things that are really non-trivial for us to do include:

   - SORT on annotations
   - SEARCH on individual annotations
   - (possibly) public/private annotations

I thought about it for a while, and I realized that the much simpler set of things we *can* implement still makes a pretty compelling subset of ANNOTATE functionality.  So I was wondering if it might be OK to try a second draft (called COMMENT or somesuch) encapsulating the following functionality:

   - one COMMENT annotation field per message
   - the COMMENT annotation maps directly to the "/comment value.shared" ANNOTATION (and hence tags along via COPY)
   - a COMMENT annotation must be valid UTF-8 text or NIL

   - the COMMENT annotation is SEARCHable, settable via STORE and APPEND, and retrievable via FETCH
   - the COMMENT annotation is non-SORTable
   - unsolicited notifications include the full COMMENT value

   - COMMENT must be explicitly enabled via SELECT (COMMENT), EXAMINE (COMMENT), or ENABLE COMMENT

So the syntax would look something like this:

   C: A001 FETCH 1 (UID COMMENT)
   S: * 1 FETCH (UID 7723 COMMENT NIL)
   S: A001 OK FETCH completed

   C: A002 STORE 1 COMMENT "This is the message's comment!"
   S: * 1 FETCH (COMMENT "This is the message's comment!")
   S: A002 OK STORE completed

   C: A003 FETCH 1 (UID COMMENT)
   S: * 1 FETCH (UID 7723 COMMENT "This is the message's comment!")
   S: A003 OK FETCH completed

   C: A004 STORE 1 COMMENT.SILENT "Updating the comment..."
   S: A004 OK STORE completed

   C: A005 APPEND Sent COMMENT "Attached to new message" {14432+}
   C: ...
   S: A005 OK APPEND completed

   C: A006 SEARCH COMMENT "comment"
   S: * SEARCH 12 44 156
   S: A006 OK SEARCH completed

I spoke with Cyrus about this, as he's one of the authors of the ANNOTATE extension and hence this is fundamentally his (and Randall's) work.  He suggested taking it to the full IMAPEXT list, and I've obliged.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGejiQ073738; Tue, 21 Nov 2006 09:40:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALGejG9073735; Tue, 21 Nov 2006 09:40:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGehjO073724; Tue, 21 Nov 2006 09:40:44 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kALGeg50012630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Nov 2006 08:40:42 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kALGeT6W009671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Nov 2006 08:40:41 -0800
Date: Tue, 21 Nov 2006 08:40:29 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <4563148A.5000909@andrew.cmu.edu>
Message-ID: <alpine.OSX.0.7.0611210839270.728@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> <4563148A.5000909@andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.21.82933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 21 Nov 2006, Ken Murchison wrote:
> - Section 2: Even though I know what RFC4422 and RFC3501 are, I'd like to see 
> the acronyms used with the references.  e.g.
> "The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
> "... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
> "... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."

Or just change the reference names so that the RFC only needs to be 
changed once, in the references, e.g., [SASL], [IMAP], etc.

Too bad we never came up with a good acronym for RFC 733/822/2822.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGCVgm071733; Tue, 21 Nov 2006 09:12:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALGCVSb071732; Tue, 21 Nov 2006 09:12:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALGCT3b071721 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 09:12:30 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GmYEW2QSz-0007SL; Tue, 21 Nov 2006 17:12:28 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Cyrus Daboo <cyrus@daboo.name>
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 17:12:23 +0100
User-Agent: KMail/1.9.5
Cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-imapext@imc.org, Dave Cridland <dave@cridland.net>
References: <200611210130.28311.martin.konold@erfrakon.de> <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com> <7EDC0F33F9DC4C1B7FA8A547@Cyrus-Daboo-G5.local>
In-Reply-To: <7EDC0F33F9DC4C1B7FA8A547@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211712.25525.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 15:51 schrieb Cyrus Daboo:

Hi,

> Agreed - there is difference between 'selected state' monitoring of a
> mailbox, vs monitoring a set of 'favorite' mailboxes (which ideally would
> be a small-ish set - not necessarily the entire personal mailbox
> collection). This is important for anyone that has server-side filtering
> and is using e.g., SIEVE fileinto. You certainly want to be able to monitor
> each of those mailboxes without consuming connections and without
> monitoring the entire set of all mailboxes.

Well the idea with IDLEPLUS is that the mailboxes/folders which are monitored 
are controlled via server site settings. 

E.g. if nothing is available it is controlled via the subscription status. But 
as soon as METADATA capability is available a more sophisticated and 
finegrained control is possible. This control may be beyond plain on/off but 
also take things like priorities(*) into account.

The nice thing about IDLEPLUS is that the set of mailboxes which are monitored 
is stored on the server not on the client and there is no need to transfer 
this information repeatedly over the uplink. 

In a lot of scenarios (e.g. ADSL and especially G3/G4 networks like UMTS) but 
also satelite links uplink latency and bandwidth are the most limiting 
factors not download bandwidth.

Depending on the kind of usage scenario you are considering the list of 
mailboxes to be monitored can become really large. (Think about usages beyond 
plain personal mail storage). 

Regards,
-- martin
(*) E.g. it might be desirable to first fetch the more interesting stuff 
before using up the bandwidth with the less important messages...

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALFx3UO070938; Tue, 21 Nov 2006 08:59:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALFx3OE070937; Tue, 21 Nov 2006 08:59:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from laweleka.osafoundation.org (laweleka.osafoundation.org [204.152.186.98]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALFx2gK070931 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 08:59:02 -0700 (MST) (envelope-from lisa@osafoundation.org)
Received: from localhost (localhost [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id ACED314228C; Tue, 21 Nov 2006 07:59:01 -0800 (PST)
Received: from laweleka.osafoundation.org ([127.0.0.1]) by localhost (laweleka.osafoundation.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16217-02; Tue, 21 Nov 2006 07:59:01 -0800 (PST)
Received: from [192.168.1.102] (c-69-181-78-47.hsd1.ca.comcast.net [69.181.78.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by laweleka.osafoundation.org (Postfix) with ESMTP id C36E31422B3; Tue, 21 Nov 2006 07:59:00 -0800 (PST)
In-Reply-To: <455A1673.6010500@isode.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu> <455A1673.6010500@isode.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: multipart/alternative; boundary=Apple-Mail-19--1013537884
Message-Id: <654ACDFE-03A3-4BFE-BFC6-F604AFC8D6EE@osafoundation.org>
Cc: Ken Murchison <murch@andrew.cmu.edu>, Dave Cridland <dave@cridland.net>, Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org
From: Lisa Dusseault <lisa@osafoundation.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Date: Tue, 21 Nov 2006 07:58:59 -0800
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.752.2)
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

--Apple-Mail-19--1013537884
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Coming late to the party on this thread...

On Nov 14, 2006, at 11:18 AM, Alexey Melnikov wrote:

>
> For things that are generated on the fly, it would be better to use  
> LISTEXT. IMHO, LISTEXT would be better for things like sum of  
> messages, and other STATUS-like data.
>
> Things that are generated once on first access and then stored,  
> METADATA is Ok. However this is getting into the grey area between  
> METADATA and LISTEXT. Purely read-only things are also in the grey  
> area.
>

I don't have a good opinion on this for IMAP, but I can say that in  
WebDAV, both server-generated and client-generated properties are  
offered in the same way.  There are variations which are interesting  
too, as you note wrt a grey area:
	- properties which the client *can* change but not through the  
normal method: the ACL property is one example, being set with a  
complicated ACL method that allows adding and removing access control  
entries, and with a separate method so that firewalls/servers can  
audit/monitor.
	- properties which neither the core server nor the client change,  
but which change through some extension to the WebDAV server,  
installed or hacked-up by the administrator to use a server API to  
control the value
	- properties which are set by the administrator and never changed  
automatically by the server code, nor by clients.

All of these are queried the same way, and there definite advantages  
in the long run to that.  Features to ask "What properties are known  
to be supported?" work for all properties.  Any mechanism to add  
datatyping works for all properties, "calculated" or not.  A flag for  
"protected" can be added to any of these so that the server can  
enforce no changes over the wire.  Searching each property can be  
turned on or off according to server capabilities.

One of the best things IMO is that clients can treat all properties  
the same.  You don't have to add *any* client code to query a new  
property if the client GUI is appropriately generic -- the user  
simply lists the available properties and chooses which ones to view  
or add to the user's regular views of their data.  So if the server  
puts useful "Who updated this last" properties onto the files in my  
file share, I can add this to my file viewing tool without upgrading  
its code.

> And remember about difficulty of implementing METADATA on servers.  
> LISTEXT might be already difficult to implement, but unlike  
> METADATA it doesn't require any additional attribute storage  
> facilities from the mailstore.

I believe this is true, but:
	- is everybody doing POSTADDRESS going to do METADATA anyway?
	- Is it possible to support METADATA without allowing clients to  
write and create their own properties?

My personal opinion on POSTADDRESS at a higher level is that it's a  
little dangerous either as metadata or as list extensions -- I think  
Philip was the other one who pointed out that attackers could use it  
to place emails directly in folders other than your Inbox.

Lisa
--Apple-Mail-19--1013537884
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV>Coming late to the party on =
this thread...</DIV><BR><DIV><DIV>On Nov 14, 2006, at 11:18 AM, Alexey =
Melnikov wrote:</DIV><BR class=3D"Apple-interchange-newline"><BLOCKQUOTE =
type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px =
Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">For things that are generated on the fly, it would be better =
to use LISTEXT. IMHO, LISTEXT would be better for things like sum of =
messages, and other STATUS-like data.</FONT></P></BLOCKQUOTE><BLOCKQUOTE =
type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px =
Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">Things that are generated once on first access and then =
stored, METADATA is Ok. However this is getting into the grey area =
between METADATA and LISTEXT. Purely read-only things are also in the =
grey area.</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: =
12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I don't have a good opinion =
on this for IMAP, but I can say that in WebDAV, both server-generated =
and client-generated properties are offered in the same way.=A0 There =
are variations which are interesting too, as you note wrt a grey =
area:</DIV><DIV><SPAN class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</SPAN>- properties which the client *can* change but not through the =
normal method: the ACL property is one example, being set with a =
complicated ACL method that allows adding and removing access control =
entries, and with a separate method so that firewalls/servers can =
audit/monitor.</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>- properties which neither the =
core server nor the client change, but which change through some =
extension to the WebDAV server, installed or hacked-up by the =
administrator to use a server API to control the value</DIV><DIV><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</SPAN>- =
properties which are set by the administrator and never changed =
automatically by the server code, nor by clients.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>All of these are queried =
the same way, and there definite advantages in the long run to that.=A0 =
Features to ask "What properties are known to be supported?" work for =
all properties.=A0 Any mechanism to add datatyping works for all =
properties, "calculated" or not.=A0 A flag for "protected" can be added =
to any of these so that the server can enforce no changes over the =
wire.=A0 Searching each property can be turned on or off according to =
server capabilities.=A0=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>One of the best things IMO =
is that clients can treat all properties the same.=A0 You don't have to =
add *any* client code to query a new property if the client GUI is =
appropriately generic -- the user simply lists the available properties =
and chooses which ones to view or add to the user's regular views of =
their data.=A0 So if the server puts useful "Who updated this last" =
properties onto the files in my file share, I can add this to my file =
viewing tool without upgrading its code.</DIV></DIV><DIV><BR><BLOCKQUOTE =
type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px =
Helvetica; min-height: 14.0px"></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">And remember about difficulty of implementing METADATA on =
servers. LISTEXT might be already difficult to implement, but unlike =
METADATA it doesn't require any additional attribute storage facilities =
from the mailstore.</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>I believe =
this is true, but:</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>- is everybody doing POSTADDRESS =
going to do METADATA anyway?</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>- Is it possible to support =
METADATA without allowing clients to write and create their own =
properties?</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>My =
personal opinion on POSTADDRESS at a higher level is that it's a little =
dangerous either as metadata or as list extensions -- I think Philip was =
the other one who pointed out that attackers could use it to place =
emails directly in folders other than your Inbox.=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Lisa</DIV></BODY></HTML>=

--Apple-Mail-19--1013537884--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALF0Xor065708; Tue, 21 Nov 2006 08:00:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALF0X0v065707; Tue, 21 Nov 2006 08:00:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALF0Vje065693; Tue, 21 Nov 2006 08:00:32 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kALF0QUl009081 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 21 Nov 2006 10:00:27 -0500
Message-ID: <4563148A.5000909@andrew.cmu.edu>
Date: Tue, 21 Nov 2006 10:00:26 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:

> I am not aware of any problems with the draft as it now stands. Please 
> review it and notify me if you see any (I'm sure you will if you try 
> hard). I'd also like to hear about any implementations. Thank you.

It probably goes with out saying, but Cyrus IMAP has implemented this 
from day one.

A few nits on the draft, mostly outdated references.

- Section 2: Even though I know what RFC4422 and RFC3501 are, I'd like 
to see the acronyms used with the references.  e.g.

"The [RFC4422} ..."      ->  "The SASL [RFC4422] ..."
"... any [RFC3501] ..."  ->  "... any IMAP [RFC3501] ..."
"... any [RFC4422] ..."  ->  "... any SASL [RFC4422] ..."

- Section 3: Both instances of RFC3548 should be replaced with RFC4648 
(Base64 is now in Section 4 rather than Section 3)

- Section 3, paragraph 2, sentence 1:  As in my first nit, I'd like to 
see "... the [RFC3548] data ..."  ->  "... the BASE64 [RFC4648] data ..."

- Section 4: RFC2595 should be replaced with RFC4616

- Section 4: Both instances of RFC2246 should be replaced with RFC4346

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEpYui065014; Tue, 21 Nov 2006 07:51:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEpY0s065013; Tue, 21 Nov 2006 07:51:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEpXlw065006 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:51:33 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kALEpLh5004006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Nov 2006 09:51:23 -0500
Date: Tue, 21 Nov 2006 09:51:16 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-imapext@imc.org
cc: Martin Konold <martin.konold@erfrakon.de>, Dave Cridland <dave@cridland.net>
Subject: Re: IDLEPLUS extension
Message-ID: <7EDC0F33F9DC4C1B7FA8A547@Cyrus-Daboo-G5.local>
In-Reply-To: <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com>
References: <200611210130.28311.martin.konold@erfrakon.de>  <200611211119.12204.martin.konold@erfrakon.de>  <31755.1164105805.971752@peirce.dave.cridland.net>  <200611211215.13209.martin.konold@erfrakon.de>  <4994.1164108860.948602@peirce.dave.cridland.net> <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 21, 2006 1:00:12 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>> If a client needs to actively and closely monitor multiple mailboxes,
>> it simply uses multiple connections. If a client is monitoring all
>> mailboxes on the server, it's probably broken anyway.
>
> I know at least four clients that send STATUS at regular intervals for a
> lot of mailboxes in order to monitor them. That's the direct reason why
> NOTIFY uses unsolicited STATUS messages. I read mail from Cyrus about
> STATUS and IDLE, thought for ten seconds, switched windows and typed the
> text that's now in NOTIFY ;)

Agreed - there is difference between 'selected state' monitoring of a 
mailbox, vs monitoring a set of 'favorite' mailboxes (which ideally would 
be a small-ish set - not necessarily the entire personal mailbox 
collection). This is important for anyone that has server-side filtering 
and is using e.g., SIEVE fileinto. You certainly want to be able to monitor 
each of those mailboxes without consuming connections and without 
monitoring the entire set of all mailboxes.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEi7iE064642; Tue, 21 Nov 2006 07:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEi77Q064641; Tue, 21 Nov 2006 07:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEi6ik064635 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:44:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kALEhuQg003972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Nov 2006 09:43:59 -0500
Date: Tue, 21 Nov 2006 09:43:51 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>
Subject: Re: Review of sort
Message-ID: <AE6F5F2ABE7BEB480BEE0FEB@Cyrus-Daboo-G5.local>
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>  <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>  <CECAE47F84062BBEFCB4F1AE@ninevah.local>  <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 21, 2006 10:40:44 AM +0100 Arnt Gulbrandsen <arnt@oryx.com> 
wrote:

>> I finally got a chance to look at i;basic.  It does quite a bit more
>> than i;unicode-casemap. i;unicode-casemap does nothing with combining
>> classes, logical order exceptions, translation of code points to a
>> sort key, direction, weighing, etc.
>
> Yes... i;basic does ordering like dictionaries for most of the world.
> Very elaborate, very high quality. i;unicode-casemap does something much,
> much simpler. Simple to implement and good for associative arrays, which
> is a very important task. IMO both are needed.
>
> I'm not 100% sure whether there are programs or protocols that do need
> i;unicode-casemap and don't (in some other capacity) need i;basic. It
> could be that i;basic could take over i;unicode-casemap's job, assuming
> the performace difference is manageable. Right now I think it couldn't,
> but I may change my mind.

OK - so it sounds like we may want both of these. If so, it seems like 
separate drafts would be better.

Mark, are you in a position to write a draft for i;unicode-casemap? Or 
would you like someone else to?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEYe8M063466; Tue, 21 Nov 2006 07:34:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEYe83063465; Tue, 21 Nov 2006 07:34:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEYdit063459 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:34:40 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kALEYb0i000935 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 21 Nov 2006 09:34:38 -0500
Message-ID: <45630E7D.3010301@andrew.cmu.edu>
Date: Tue, 21 Nov 2006 09:34:37 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org
Subject: Re: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de>  <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
In-Reply-To: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> 
> So maybe the final RFC should name the capability LISTEXT, too. We refer 
> to all the other extensions by their capability name, and we don't seem 
> to like the name LIST-EXTENDED...

The capability used to be LISTEXT, but it was changed when the syntax 
was changed dramatically, since there was some deployment of the older 
drafts.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEEh7r061581; Tue, 21 Nov 2006 07:14:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALEEhSs061579; Tue, 21 Nov 2006 07:14:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALEEgKd061570 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 07:14:43 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1GmWOW0YOp-00038S; Tue, 21 Nov 2006 15:14:40 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Dave Cridland <dave@cridland.net>
Subject: Re: we all refer to LISTEXT as LISTEXT
Date: Tue, 21 Nov 2006 15:14:35 +0100
User-Agent: KMail/1.9.5
Cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org
References: <200611211403.12916.martin.konold@erfrakon.de> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com> <4994.1164117139.789091@peirce.dave.cridland.net>
In-Reply-To: <4994.1164117139.789091@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211514.37108.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 14:52 schrieb Dave Cridland:

> Early LISTEXTs were deployed heavily, having made it into Cyrus IMAP
> as an option, and then had certain Linux distributions (amongst
> others) turn on the option in the binary packages.

When I was developing LIST-EXTENDED for Cyrus IMAP as documented in 
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2875 I originally kept 
LIST-EXT capabilities in place.

It was decided by the Cyrus Maintainer Ken Murchison to drop LIST-EXT support!

"1.  I'm only aware of one client which supports LISTEXT and this client also
supports LIST-EXTENDED.  Given this, and the fact that LISTEXT was a 
non-default
compile-time option, I don't see the need to keep LISTEXT around (at least not
as a separate code path)."

> As a result, Polymer, for example, supports both LISTEXT and
> LIST-EXTENDED, and encounters LISTEXT rather a lot more than
> LIST-EXTENDED at the moment.

Regards,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDqWhC059052; Tue, 21 Nov 2006 06:52:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALDqWOG059051; Tue, 21 Nov 2006 06:52:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDqVoW059045 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 06:52:31 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GmW33-0005Zb-Tp; Tue, 21 Nov 2006 13:52:30 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 8AE8A498005; Tue, 21 Nov 2006 14:05:07 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20278-09; Tue, 21 Nov 2006 14:04:57 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id E4BE7498004; Tue, 21 Nov 2006 14:04:57 +0000 (GMT)
Date: Tue, 21 Nov 2006 13:52:18 +0000
Subject: Re: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de> <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com> <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
In-Reply-To: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <4994.1164117139.789091@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 13:22:01 2006, Arnt Gulbrandsen wrote:
> 
> So maybe the final RFC should name the capability LISTEXT, too. We 
> refer to all the other extensions by their capability name, and we 
> don't seem to like the name LIST-EXTENDED...

Early LISTEXTs were deployed heavily, having made it into Cyrus IMAP 
as an option, and then had certain Linux distributions (amongst 
others) turn on the option in the binary packages.

As a result, Polymer, for example, supports both LISTEXT and 
LIST-EXTENDED, and encounters LISTEXT rather a lot more than 
LIST-EXTENDED at the moment.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDKrN8055944; Tue, 21 Nov 2006 06:20:53 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALDKrbg055943; Tue, 21 Nov 2006 06:20:53 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALDKq7c055935 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 06:20:53 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id B24D64AC7A for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 14:20:51 +0100 (CET)
Message-Id: <hqw6HDpVsNAF4+OpaZWhtQ.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 14:22:01 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: we all refer to LISTEXT as LISTEXT
References: <200611211403.12916.martin.konold@erfrakon.de> <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com>
In-Reply-To: <BnLUz+OOPWg2Iuae01CAug.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

So maybe the final RFC should name the capability LISTEXT, too. We refer 
to all the other extensions by their capability name, and we don't seem 
to like the name LIST-EXTENDED...

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALCcX11052665; Tue, 21 Nov 2006 05:38:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALCcXkY052664; Tue, 21 Nov 2006 05:38:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALCcTaO052635 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 05:38:32 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id B88FF4ACF7; Tue, 21 Nov 2006 13:38:28 +0100 (CET)
Message-Id: <rZf7MqURVRbc+1kxs+rfYw.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 13:39:38 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Cc: Martin Konold <martin.konold@erfrakon.de>, Dave Cridland <dave@cridland.net>
References: <200611210130.28311.martin.konold@erfrakon.de> <31755.1164103010.550395@peirce.dave.cridland.net> <200611211207.10500.martin.konold@erfrakon.de>
In-Reply-To: <200611211207.10500.martin.konold@erfrakon.de>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Martin Konold writes, quoting Dave Cridland:
>>  As Mark says, the Lemonade WG is examining this kind of work at the 
>>  moment. New people are always welcome and valuable, and while your 
>>  draft is largely addressed by, for example, NOTIFY
>
> I tried to figure out what the Lemonade WG is doing.

Extend/improve internet email protocols so they're nice and fast on 
mobile phones and other low-bandwidth, high-latency devices. (The 
official wording is a little more convoluted.) Lemonade extends both 
SMTP/Submit and IMAP.

> (I have some doubts with regards to the goals of the lemonade WG as I 
> have the impression that they try to solve a different problem)

If it's valuable for a mobile phone trying to read mail effectively, 
it's part of Lemonade's problem.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBx590048574; Tue, 21 Nov 2006 04:59:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBx58o048573; Tue, 21 Nov 2006 04:59:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBx4Zf048565 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:59:05 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 741DF4ACED; Tue, 21 Nov 2006 12:59:03 +0100 (CET)
Message-Id: <nK6G0esQVqm7s+tNMw4pFg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 13:00:12 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Cc: Martin Konold <martin.konold@erfrakon.de>, Dave Cridland <dave@cridland.net>
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211119.12204.martin.konold@erfrakon.de> <31755.1164105805.971752@peirce.dave.cridland.net> <200611211215.13209.martin.konold@erfrakon.de> <4994.1164108860.948602@peirce.dave.cridland.net>
In-Reply-To: <4994.1164108860.948602@peirce.dave.cridland.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Dave Cridland writes:
> If a client needs to actively and closely monitor multiple mailboxes, 
> it simply uses multiple connections. If a client is monitoring all 
> mailboxes on the server, it's probably broken anyway.

I know at least four clients that send STATUS at regular intervals for a 
lot of mailboxes in order to monitor them. That's the direct reason why 
NOTIFY uses unsolicited STATUS messages. I read mail from Cyrus about 
STATUS and IDLE, thought for ten seconds, switched windows and typed 
the text that's now in NOTIFY ;)

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBkavB047639; Tue, 21 Nov 2006 04:46:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBkaO2047638; Tue, 21 Nov 2006 04:46:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBkYnx047620 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:46:35 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1GmU572boC-0003DL; Tue, 21 Nov 2006 12:46:32 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 12:46:22 +0100
User-Agent: KMail/1.9.5
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211215.13209.martin.konold@erfrakon.de> <4994.1164108860.948602@peirce.dave.cridland.net>
In-Reply-To: <4994.1164108860.948602@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211246.23692.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 12:34 schrieben Sie:

> You'd be better off discussing this in the Lemonade WG, however.

Yes, I subscribed to lemonade@ietf.org and will try to continue the discussion 
there.

THX,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBYaZB046680; Tue, 21 Nov 2006 04:34:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBYadv046679; Tue, 21 Nov 2006 04:34:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBYYQl046673 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:34:35 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1GmTtY-0004cu-RF; Tue, 21 Nov 2006 11:34:33 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 87AC7498006; Tue, 21 Nov 2006 11:47:09 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18154-02; Tue, 21 Nov 2006 11:46:57 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id D0277498003; Tue, 21 Nov 2006 11:46:57 +0000 (GMT)
Date: Tue, 21 Nov 2006 11:34:20 +0000
Subject: Re: IDLEPLUS extension
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211119.12204.martin.konold@erfrakon.de> <31755.1164105805.971752@peirce.dave.cridland.net> <200611211215.13209.martin.konold@erfrakon.de>
In-Reply-To: <200611211215.13209.martin.konold@erfrakon.de>
MIME-Version: 1.0
Message-Id: <4994.1164108860.948602@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Martin Konold <martin.konold@erfrakon.de>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 11:15:12 2006, Martin Konold wrote:
> 
> Am Dienstag, 21. November 2006 11:43 schrieb Dave Cridland:
> 
> Dave,
> > > Can you please provide me a hint?
> >
> > 
> http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt
> >
> > I think this is the closest specific match to your IDLEPLUS 
> proposal.
> 
> Thanks for the pointer. Because I happen to know Arnt I will give 
> him a call.
> Maybe we can somehow merge our efforts. To my understanding the 
> above draft lacks the current scope of IDLEPLUS which is about 
> being able to monitor all subscribed folders in parallel.

I'm really not sure you want to do that. With my 
server-implementor-hat on, I wouldn't want to code it, and with my 
client-author-hat on, I wouldn't want to use it.

All you need do is know that changes have happened - you don't need 
to know what. NOTIFY handles this by having the server send a STATUS 
(EXISTS HIGHESTMODSEQ), which indicates to the client that flag 
changes have happened, and/or new messages have been delivered.

The client then uses QRESYNC to select and synchronize the mailbox as 
and when needed. It's useful to know, however, that SELECTing the 
mailbox and synchronizing will not yield any information, so it's 
more useful to eliminate this round trip.

If a client needs to actively and closely monitor multiple mailboxes, 
it simply uses multiple connections. If a client is monitoring all 
mailboxes on the server, it's probably broken anyway.

You'd be better off discussing this in the Lemonade WG, however.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBFJbm045171; Tue, 21 Nov 2006 04:15:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALBFJsV045166; Tue, 21 Nov 2006 04:15:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALBFHGe045158 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:15:18 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1GmTat43iz-0005JT; Tue, 21 Nov 2006 12:15:16 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: ietf-imapext@imc.org
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 12:15:12 +0100
User-Agent: KMail/1.9.5
References: <200611210130.28311.martin.konold@erfrakon.de> <200611211119.12204.martin.konold@erfrakon.de> <31755.1164105805.971752@peirce.dave.cridland.net>
In-Reply-To: <31755.1164105805.971752@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211215.13209.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 11:43 schrieb Dave Cridland:

Dave,
> > Can you please provide me a hint?
>
> http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt
>
> I think this is the closest specific match to your IDLEPLUS proposal.

Thanks for the pointer. Because I happen to know Arnt I will give him a call.
Maybe we can somehow merge our efforts. To my understanding the above draft 
lacks the current scope of IDLEPLUS which is about being able to monitor all 
subscribed folders in parallel.

Regards,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALB7ehc044480; Tue, 21 Nov 2006 04:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALB7epG044479; Tue, 21 Nov 2006 04:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALB7csu044471 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 04:07:39 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GmTT70iLG-0007V9; Tue, 21 Nov 2006 12:07:16 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Dave Cridland <dave@cridland.net>
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 12:07:09 +0100
User-Agent: KMail/1.9.5
Cc: ietf-imapext@imc.org
References: <200611210130.28311.martin.konold@erfrakon.de> <31755.1164103010.550395@peirce.dave.cridland.net>
In-Reply-To: <31755.1164103010.550395@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211207.10500.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 10:56 schrieb Dave Cridland:

Dave,

> Clients won't miss a notification even on one channel

Thanks for the insight though I don't fully understand it. So understand my 
further questions.

I consider updating the text accordingly:

"In order to avoid the poll at half hour intervals the client may send another 
IDLEPLUS command before the older is timed out. In order to receive 
notifications out-of band a client may make sure that always an IDLEPLUS 
connection in addition to the normal imap data connection is established. 
Please note that an additional connection is not required in order not to 
miss any notifications. This is due to the fact that  the server queues the 
events until the client is idle.

> - the server 
> merely might not send them unless the client is IDLE, but the client
> will get them almost immediately anyway. 

C: A01 IDLEPLUS
S: + Idling
C: DONE
C: A02 COMMAND
C: A03 IDLEPLUS
S: A01 OK Completed
S: * DATA
S: A02 OK Command completed
S: + Idling

> Even if the client doesn't pipeline the A03 IDLE, no events get
> missed, merely delayed for a few seconds.

What happens in case of an extremly slow client? E.g. imagine the client is 
subscribed to a very busy shared folder. Will this cause the server side 
process to grow indefinetly because it will not be able to deliver the 
events? If I understand you correctly you mean that the server must 
internally queue any event in case later the client is requesting it via a 
IDLEPLUS command? How shall the server know if it will ever be able to 
deliver the queued event. I think it must be consider that even though the 
server implements the CAPABILITY IMAPPLUS it never knows if the client will 
ot will not eventually make use of it. Due to the fact that the syntax of 
IDLEPLUS is different from IMAP4r1 imho a server may not send these 
unsolicited notifications without being requested.

Is this a potential denial of service issue?

In addition the out-of-band solution using an additional IMAP connection would 
allow me to create a separate idleplusd server process which is specialized 
in only handling the idleplus functionality. This has the advantage of easier 
integration in exsting server offerings, better scalability and robustness.

> > Is anyone else working on something similar?
>
> As Mark says, the Lemonade WG is examining this kind of work at the
> moment. New people are always welcome and valuable, and while your
> draft is largely addressed by, for example, NOTIFY

I tried to figure out what the Lemonade WG is doing. I found 
draft-ietf-lemonade-msgevent-00.txt which is a high level description not 
proving anything which defines an extension which can be implemented 
currently. I am alos aware of 
draft-ietf-lemonade-notification-protocol-00.txt which is also a very high 
level corporate architecture document but does not adress the actual protocol 
to be implemented on the wire.

> > Any hints to a novice internet draft author?
>
> Implement it. No protocol or extension will ever get worse because
> someone implements it, the vast majority improve dramatically on
> their first implementation attempts.

Yes, I fully agree. Actually I am currently in the process of implementing it 
for Cyrus Imapd in order to learn more about it. I am also implementing it in 
an experimental IMAP client.

I already implemented lemonade drafts like 
draft-ietf-imapext-list-extensions-17. 

See also: https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2875

Do you think I should stop discussing IDLEPLUS or imap notifications on this 
mailing linst and instead move to the lemonade WG discussion list?

(I have some doubts with regards to the goals of the lemonade WG as I have the 
impression that they try to solve a different problem)

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAha8K042625; Tue, 21 Nov 2006 03:43:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALAhal4042624; Tue, 21 Nov 2006 03:43:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAhZ7h042617 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 03:43:36 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1GmT6D-0003MH-3t; Tue, 21 Nov 2006 10:43:33 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 63635498005; Tue, 21 Nov 2006 10:56:09 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17407-08; Tue, 21 Nov 2006 10:56:02 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 7D00E498003; Tue, 21 Nov 2006 10:56:02 +0000 (GMT)
Date: Tue, 21 Nov 2006 10:43:25 +0000
Subject: Re: IDLEPLUS extension
References: <200611210130.28311.martin.konold@erfrakon.de> <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com> <200611211119.12204.martin.konold@erfrakon.de>
In-Reply-To: <200611211119.12204.martin.konold@erfrakon.de>
MIME-Version: 1.0
Message-Id: <31755.1164105805.971752@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Martin Konold <martin.konold@erfrakon.de>
Cc: <ietf-imapext@imc.org>, Mark Crispin <mrc@cac.washington.edu>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 10:19:10 2006, Martin Konold wrote:
> I did some research in this area. I found some documents like 
> draft-ietf-lemonade-notification-protocol-00.txt and 
> http://www1.ietf.org/internet-drafts/draft-ietf-lemonade-msgevent-00.txt 
> but I sofar fail to find the appropriate document which has 
> equivalent functionality to IDLEPLUS.
> 
> Can you please provide me a hint?

http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt

I think this is the closest specific match to your IDLEPLUS proposal.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAToos041552; Tue, 21 Nov 2006 03:29:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALAToal041551; Tue, 21 Nov 2006 03:29:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from scmailgw1.scop.aoyama.ac.jp (scmailgw1.scop.aoyama.ac.jp [133.2.251.194]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALATnm1041527 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 03:29:49 -0700 (MST) (envelope-from duerst@it.aoyama.ac.jp)
Received: from scmse1.scbb.aoyama.ac.jp (scmse1 [133.2.253.16]) by scmailgw1.scop.aoyama.ac.jp (secret/secret) with SMTP id kALAThUU014121 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 19:29:43 +0900 (JST)
Received: from (133.2.206.133) by scmse1.scbb.aoyama.ac.jp via smtp id 462e_33702d74_794b_11db_81a0_0014221fa3c9; Tue, 21 Nov 2006 19:29:42 +0900
Received: from Tanzawa.it.aoyama.ac.jp ([133.2.210.1]:39442) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S55854> for <ietf-imapext@imc.org> from <duerst@it.aoyama.ac.jp>; Tue, 21 Nov 2006 19:29:09 +0900
Message-Id: <6.0.0.20.2.20061121190302.094467e0@localhost>
X-Sender: duerst@localhost
X-Mailer: QUALCOMM Windows Eudora Version 6J
Date: Tue, 21 Nov 2006 19:29:11 +0900
To: Mark Crispin <mrc@CAC.Washington.EDU>
From: Martin Duerst <duerst@it.aoyama.ac.jp>
Subject: Re: Review of sort
Cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, arnt@oryx.com
In-Reply-To: <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <6.0.0.20.2.20061118180934.09689dc0@localhost> <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
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>

At 06:24 06/11/20, Mark Crispin wrote:
>On Sat, 18 Nov 2006, Martin Duerst wrote:
>> >    The "i;unicode-casemap" collation is a simple collation which operates
>> >    on octet strings and attempts to Unicode characters case-insensitively.
>> 'operates on octets and attempts ... Unicode' sounds very weird.
>> Unless you say something about character encoding.
>
>All strings are coerced to UTF-8, but subsequently are treated as octet strings instead of variable-width character strings.  The reference to "attempts to compare Unicode characters case-insensitively" [I agree that the verb "compare" needs to be included] refers to a higher-level effect rather than what the algorithm actually does.

If that's all really cristal clear from the specification, it's probably
okay. It was just difficult to guess from the part you sent. Also,
please keep in mind that collations should be reusable, so there
may be a need to explain more in the collation definition than what's
needed in the context of the protocol you're looking at. 

>> I think I understand your use of octet here; I guess that what you are
>> trying to say is that except for the provisions below, comparison is
>> by codepoint (which means octet comparison in the case of UTF-8).
>
>"Codepoint" to me would refer to a Unicode 20.5 bit codepoint.  I really mean 8-bit quantities, without regard to the character boundaries.

Well, yes, but if you do octet-by-octet comparison on data encoded as
UTF-8, then this is exactly the same (assuming you don't have any
overlong encodings, which would be a security risk anyway) as
codepoint-by-codepoint.

>> >    except that first, all pre-composed Unicode characters are fully
>> >    decomposed;
>> Does this mean NDF, or just any kind of depomposition?
>
>I'm not familiar with the decomposition names.  What I meant is "if a decomposition for a codepoint is defined in UnicodeData.txt, substitute that decomposition for the codepoint."

In that case, it's definitely not NFD (sorry, 'NDF' above was wrong).
Is this done recursively or not?

Given your arguments below about 'easy to implement', I'm wondering
whether this is worth the effort. It probably is, it gives close
to 'real' results for many languages such as French, German,...
The nordic languages (Swedish, Norwegian, Danish) loose out, but
that's the same for i;basic. And the implementation complexity
is the same as for casing: take characters and replace them
by character strings. It can be done in one step by combining
both mappings together.

>> >    and second, all characters which have a title case are
>> >    changed to their title case.
>> There are not many characters with title case. Maybe about 5.
>> Given the name of the collation, I suspect that you want to
>> define some mappings for characters that don't have title case,
>> too.
>
>AFAICT, all characters with an upper case defined also have a title case defined in UnicodeData.txt.  As you noted, only a handful of these differ.

Ah, now I know what you mean. I think you should be very clear that you
mean the value of the Simple_Titlecase_Mapping property as given in
the Unicode Data file.

I still don't understand why you choose Titlecase. The output,
applied to individual characters, may look weird if you get
a Serbocroatian digraph, e.g. like so: LjUBLjANA (yes, I know,
Ljubljana is in Slovenia, neither in Serbia nor in Croatia).
Why not lower case (what's usually recommended) or upper case?

>Thanks for your help!  I hope that the people who decide these things respond favorably to my request for an i;unicode-casemap as an alternative to i;ascii-casemap.
>
>i;unicode-casemap, to my thinking, fills in the gap between the legacy i;ascii-casemap and full-fledged stringprep.

I'm not thinking about stringprep as a collation. In many ways, your proposal
is closer to i;basic than sorting on the output of stringprep, because stringprep
uses precomposition, not decomposition in most cases.

>Full-fledged stringprep is the ideal, but I'm afraid that if we require stringprep without an incremental approach many implementations will just punt and use i;ascii-casemap.

I'm affraid that if you say stringprep is the ideal, then you are either talking
about something else than sorting, or haven't understood that stringprep isn't
designed for sorting.

>The all-or-none approach was taken with SSL/TLS and proved to be very painful.  It was entirely too easy for developers to choose "none" and make the people who followed the specification look like bad guys.

Oh, so for SSL/TLS, I guess it would only be used for equality comparison,
not for actual ordering.

>In this case, we don't have a security crisis.  We are just trying to make things better for non-ASCII character sets and non-English languages. This will prove to be a long-term evolutionary process; nobody really has solved the general comparison/collation problem.
>
>[As you and I well know, anyone who says that their software can collate Japanese text without yomi or contextual hints is a liar or fool; does $BBgOB(B collate after $B;3;{(B or $BBPOC(B?  i;unicode-casemap won't collate this correctly, but neither will anything else.]
>
>So, I think that even though reasonable people may disagree on what is "good enough", we can have general agreement on what is "better" and that "better" is always preferable to "nothing".  i;unicode-casemap should always be better for any script whose collation can be inferred from Unicode codepoint value; and for Latin-script languages that use diacriticals it should be MUCH better.

Yes indeed, except for the nordic languages that sort their 'diacriticized'
characters after the z.

Regards,     Martin.


#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAJKuJ040227; Tue, 21 Nov 2006 03:19:21 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kALAJKlu040226; Tue, 21 Nov 2006 03:19:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kALAJJKf040215 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 03:19:20 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.156.59] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1GmSih0mYx-0005Hv; Tue, 21 Nov 2006 11:19:18 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: Mark Crispin <mrc@cac.washington.edu>
Subject: Re: IDLEPLUS extension
Date: Tue, 21 Nov 2006 11:19:10 +0100
User-Agent: KMail/1.9.5
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
References: <200611210130.28311.martin.konold@erfrakon.de> <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611211119.12204.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Am Dienstag, 21. November 2006 01:53 schrieb Mark Crispin:

Mark,

> Your IDLEPLUS proposal is at best a duplication of work that is already
> well underway in the LEMONADE Working Group;

This is what I wanted to know.

> as such, it is doomed to 
> failure.

I don't have a problem with that. If the same issue is already solved 
elsewhere I have not problem with throwing away my initial proposal.

> valuable to the working group effort.  Thus, my recommendation is that you
> abandon your effort, join the LEMONADE Working Group, read the archives of
> the mailing list, read the documents of the working group, and consider
> how what you learned in your effort may be useful for LEMONADE.

I did some research in this area. I found some documents like 
draft-ietf-lemonade-notification-protocol-00.txt and 
http://www1.ietf.org/internet-drafts/draft-ietf-lemonade-msgevent-00.txt but 
I sofar fail to find the appropriate document which has equivalent 
functionality to IDLEPLUS.

Can you please provide me a hint?

THX,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9xPPw037892; Tue, 21 Nov 2006 02:59:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9xP6j037891; Tue, 21 Nov 2006 02:59:25 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9xOXs037884 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:59:25 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 4DB504AC7A; Tue, 21 Nov 2006 10:59:23 +0100 (CET)
Message-Id: <uIahRMIb6/U2pBV0OsS0Aw.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 11:00:32 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id kAL9xPXs037885
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:
> Yes... i;basic does ordering like dictionaries for most of the world.

(Before anyone jumps on me: I agree that can be considered an 
overstament, depending on the threshold for «like» and «most», and on 
whether additional tables count.)



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9v5iN037772; Tue, 21 Nov 2006 02:57:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9v59G037771; Tue, 21 Nov 2006 02:57:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9v4tr037765 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:57:05 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GmSNA-0006pV-OQ; Tue, 21 Nov 2006 09:57:00 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id BDCD4498005; Tue, 21 Nov 2006 10:09:36 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16989-03; Tue, 21 Nov 2006 10:09:26 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id BFCE4498004; Tue, 21 Nov 2006 10:09:26 +0000 (GMT)
Date: Tue, 21 Nov 2006 09:56:49 +0000
Subject: Re: IDLEPLUS extension
References: <200611210130.28311.martin.konold@erfrakon.de>
In-Reply-To: <200611210130.28311.martin.konold@erfrakon.de>
MIME-Version: 1.0
Message-Id: <31755.1164103010.550395@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Martin Konold <martin.konold@erfrakon.de>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 21 00:30:27 2006, Martin Konold wrote:
> I expect that clients decide to open a second permanent imap 
> connection in order to never miss any notification.

Clients won't miss a notification even on one channel - the server 
merely might not send them unless the client is IDLE, but the client 
will get them almost immediately anyway. As C-style strings, the 
exchange might look something like:

C: "A01 IDLE\r\n"
// 0.5 RTT during which events are buffered.
S: "+ Idling\r\n"
// Time passes. Events happen. Client reacts:
C: "DONE\r\nA02 COMMAND\r\nA03 IDLE\r\n"
// Server can still send events immediately, because a command is in 
progress.
S: "A01 OK Completed\r\n* DATA\r\nA02 OK Command completed\r\n+ 
Idling\r\n"
// Server can still send events immediately.

Even if the client doesn't pipeline the A03 IDLE, no events get 
missed, merely delayed for a few seconds.

> http://www.erfrakon.de/konold/draft-konold-imap-idleplus-01.txt
> 
> Is anyone else working on something similar?
> 
> 
As Mark says, the Lemonade WG is examining this kind of work at the 
moment. New people are always welcome and valuable, and while your 
draft is largely addressed by, for example, NOTIFY, I'm quite certain 
that you'll have very useful input, having obviously thought about 
this in some detail.


> Any hints to a novice internet draft author?
> 
> 
Implement it. No protocol or extension will ever get worse because 
someone implements it, the vast majority improve dramatically on 
their first implementation attempts.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9kIIT036574; Tue, 21 Nov 2006 02:46:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9kIXr036573; Tue, 21 Nov 2006 02:46:18 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9kGkp036564 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:46:17 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id E8ACC4AC7A; Tue, 21 Nov 2006 10:46:15 +0100 (CET)
Message-Id: <gXIpxBGS7s4ksGQSynfZrg.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 10:47:24 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com> <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
In-Reply-To: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

And, oh, I think THREAD is a bit of a borderline case. It's important to 
do good string equality testing there. But does anyone die if 
THREAD=ORDEREDSUBJECT groups messages well and then orders the groups 
suboptimally?

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9diDH035614; Tue, 21 Nov 2006 02:39:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL9diSv035611; Tue, 21 Nov 2006 02:39:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL9dbRT035590 for <ietf-imapext@imc.org>; Tue, 21 Nov 2006 02:39:40 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 0AC4C4ACF4; Tue, 21 Nov 2006 10:39:36 +0100 (CET)
Message-Id: <TC4evB1/i8kpXHVWTESaRA.md5@libertango.oryx.com>
Date: Tue, 21 Nov 2006 10:40:44 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Review of sort
Cc: Chris Newman <Chris.Newman@Sun.COM>, Mark Crispin <mrc@CAC.Washington.EDU>, duerst@it.aoyama.ac.jp, Cyrus Daboo <cyrus@daboo.name>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local> <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>
In-Reply-To: <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin writes:
> On Thu, 16 Nov 2006, Cyrus Daboo wrote:
>> > I would like to request the addition of i;unicode-casemap to COMPARATOR,
>> Arnt just published a draft for i;basic. I haven't had a chance to 
>> read it fully yet, but you might want to contrast and compare with 
>> what you are proposing.
>> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-collation-basic-00.txt>
>
> I finally got a chance to look at i;basic.  It does quite a bit more 
> than i;unicode-casemap. i;unicode-casemap does nothing with combining 
> classes, logical order exceptions, translation of code points to a 
> sort key, direction, weighing, etc.

Yes... i;basic does ordering like dictionaries for most of the world. 
Very elaborate, very high quality. i;unicode-casemap does something 
much, much simpler. Simple to implement and good for associative 
arrays, which is a very important task. IMO both are needed.

I'm not 100% sure whether there are programs or protocols that do need 
i;unicode-casemap and don't (in some other capacity) need i;basic. It 
could be that i;basic could take over i;unicode-casemap's job, assuming 
the performace difference is manageable. Right now I think it couldn't, 
but I may change my mind.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL1CsS2098073; Mon, 20 Nov 2006 18:12:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL1Cssd098072; Mon, 20 Nov 2006 18:12:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL1CrCK098065 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 18:12:53 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL1CqI1004821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 17:12:52 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL1Co5d026184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 17:12:52 -0800
Date: Mon, 20 Nov 2006 17:12:50 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <alpine.OSX.0.7.0611201654130.728@pangtzu.panda.com>
Message-ID: <alpine.OSX.0.7.0611201710300.728@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>  <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>  <alpine.OSX.0.7.0611201311190.25752@pangtzu.panda.com> <iAKwsieSZvh6ISGFLvyLaw.md5@libertango.oryx.com> <alpine.OSX.0.7.0611201654130.728@pangtzu.panda.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.165933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Notwithstanding my grumbles in my previous message, I nonetheless approve 
the document as written.  I think that it's too late to deal with those 
grumbles (that is, change the argument to an astring), and it's not 
important enough to force a new capability name.

I do feel, however, that we should be more careful in the future about 
introducing new syntax rules in IMAP commands.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL19EvK097861; Mon, 20 Nov 2006 18:09:14 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL19EAg097860; Mon, 20 Nov 2006 18:09:14 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL19Dul097854 for <ietf-imapext@IMC.ORG>; Mon, 20 Nov 2006 18:09:14 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL19CYj000345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 17:09:12 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL19Bql028561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 17:09:12 -0800
Date: Mon, 20 Nov 2006 17:09:10 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <iAKwsieSZvh6ISGFLvyLaw.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611201654130.728@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>  <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>  <alpine.OSX.0.7.0611201311190.25752@pangtzu.panda.com> <iAKwsieSZvh6ISGFLvyLaw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.165432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

To my horror, I discovered that UW imapd was in violation of the following 
in the SASL-IR draft:

     As with any other client response, this initial client response MUST
     be encoded as defined in Section 3 of [RFC3548].  It also MUST be
     transmitted outside of a quoted string or literal.  To send a zero-
     length initial response, the client MUST send a single pad character
     ("=").  This indicates that the response is present, but is a zero-
     length string.

UW imapd simply parsed the initial response token as an astring, meaning 
that it would accepted it as a quoted-string or literal.  UW imapd also 
did not implement "=" for zero-length initial response.

Fortunately, this doesn't actually affect anything for a compliant client. 
Nothing should send a quoted-string or literal; and although UW imapd 
supports EXTERNAL, nothing enables it yet so there's no worry about 
zero-length initial responses.  So I just fixed the problems.

Although I understand why SASL-IR prohibits quoted-string or literal, I 
think that the concern was misplaced.  The initial response token should 
just have been an astring; the protocol is pretty clear what happens with 
a literal.

Failing that, it should have been an atom.  The problem is that as matters 
currently stand, the BNF requires base64 in the IMAP command syntax. 
This is a new requirement, and serves no good purpose.  I hope that nobody 
seriously intends to allows an alternative second argument to AUTHENTICATE 
that is a valid atom albeit with at least one non-BASE64 character.

This is the difference between saying that
 	tag AUTHENTICATE FOO BAR=ZAP
is a command syntax error ("BAR=ZAP" does not match the rule) vs. an 
invalid argument.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL11UBv097198; Mon, 20 Nov 2006 18:01:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL11UNO097197; Mon, 20 Nov 2006 18:01:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mta02.zimbra.com (mta02.zimbra.com [4.78.240.39]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL11TcM097185 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 18:01:30 -0700 (MST) (envelope-from dkarp@zimbra.com)
Received: from dogfood.zimbra.com (dogfood.liquidsys.com [66.92.25.198]) by mta02.zimbra.com (Postfix) with ESMTP id E2BFA810B39; Mon, 20 Nov 2006 16:56:16 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id E4F1BC6D43; Mon, 20 Nov 2006 17:01:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at dogfood.zimbra.com
Received: from dogfood.zimbra.com ([127.0.0.1]) by localhost (dogfood.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xXtwPzJzBuP7; Mon, 20 Nov 2006 17:01:21 -0800 (PST)
Received: from dogfood.zimbra.com (localhost.localdomain [127.0.0.1]) by dogfood.zimbra.com (Postfix) with ESMTP id 553EDC6D42; Mon, 20 Nov 2006 17:01:21 -0800 (PST)
Message-ID: <789899155.132211164070881212.JavaMail.root@dogfood.zimbra.com>
Date: Mon, 20 Nov 2006 17:01:21 -0800 (PST)
From: Dan Karp <dkarp@zimbra.com>
To: Martin Konold <martin.konold@erfrakon.de>
Subject: Re: IDLEPLUS extension
Cc: IMAP Extensions WG <ietf-imapext@imc.org>
In-Reply-To: <200611210130.28311.martin.konold@erfrakon.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

> I am working on an IDLEPLUS extension. The main purpose of this
> extension is 
> to go beyond RFC2177 and provide a fully working push email solution
> without 
> the need for expensive polling. 

Message sequence numbers are meaningless -- and probably can't be determined -- in non-SELECTed mailboxes.  You'd be better off using UIDs qualified by UIDVALIDITY.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0rnYj096498; Mon, 20 Nov 2006 17:53:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL0rnC4096497; Mon, 20 Nov 2006 17:53:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0rl2d096488 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 17:53:48 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL0rfMn021808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 16:53:41 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAL0rejl026670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 16:53:41 -0800
Date: Mon, 20 Nov 2006 16:53:39 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Martin Konold <martin.konold@erfrakon.de>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: IDLEPLUS extension
In-Reply-To: <200611210130.28311.martin.konold@erfrakon.de>
Message-ID: <alpine.OSX.0.7.0611201648400.728@pangtzu.panda.com>
References: <200611210130.28311.martin.konold@erfrakon.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.163932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Your IDLEPLUS proposal is at best a duplication of work that is already 
well underway in the LEMONADE Working Group; as such, it is doomed to 
failure.

However, you may have acquired some insights in your effort that could be 
valuable to the working group effort.  Thus, my recommendation is that you 
abandon your effort, join the LEMONADE Working Group, read the archives of 
the mailing list, read the documents of the working group, and consider 
how what you learned in your effort may be useful for LEMONADE.

Good luck!

On Tue, 21 Nov 2006, Martin Konold wrote:
> I am working on an IDLEPLUS extension. The main purpose of this extension is 
> to go beyond RFC2177 and provide a fully working push email solution without 
> the need for expensive polling. 
> 
> The basic idea is to offer a channel which provides all required notifications 
> to an IMAP client.
> 
> I expect that clients decide to open a second permanent imap connection in 
> order to never miss any notification.
> 
> Please have a look at
> 
> http://www.erfrakon.de/konold/draft-konold-imap-idleplus-01.txt
> 
> Is anyone else working on something similar?
> 
> Any hints to a novice internet draft author?
> 
> Yours,
> -- martin
> 
> -- 
> http://www.erfrakon.com/
> Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
> 
>

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0UmCk094290; Mon, 20 Nov 2006 17:30:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAL0Um3H094289; Mon, 20 Nov 2006 17:30:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAL0UksC094282 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 17:30:47 -0700 (MST) (envelope-from SRS0=Qu+Q=FB=erfrakon.de=martin.konold@srs.kundenserver.de)
Received: from [84.160.203.134] (helo=noname) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1GmJWw1tRs-0000gI; Tue, 21 Nov 2006 01:30:45 +0100
From: Martin Konold <martin.konold@erfrakon.de>
Organization: erfrakon
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: IDLEPLUS extension
Date: Tue, 21 Nov 2006 01:30:27 +0100
User-Agent: KMail/1.9.5
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200611210130.28311.martin.konold@erfrakon.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:b04c3ed30b43fd5a3d557b6dbc75a710
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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,

I am working on an IDLEPLUS extension. The main purpose of this extension is 
to go beyond RFC2177 and provide a fully working push email solution without 
the need for expensive polling. 

The basic idea is to offer a channel which provides all required notifications 
to an IMAP client.

I expect that clients decide to open a second permanent imap connection in 
order to never miss any notification.

Please have a look at

http://www.erfrakon.de/konold/draft-konold-imap-idleplus-01.txt

Is anyone else working on something similar?

Any hints to a novice internet draft author?

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKMt2KS089038; Mon, 20 Nov 2006 15:55:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKMt2fw089036; Mon, 20 Nov 2006 15:55:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKMt0vG089003; Mon, 20 Nov 2006 15:55:01 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by pythagoras.zen.co.uk with esmtp (Exim 4.50) id 1GmI2P-0000m7-QA; Mon, 20 Nov 2006 22:54:53 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 18218498005; Mon, 20 Nov 2006 23:07:25 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06875-05; Mon, 20 Nov 2006 23:07:20 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 1CCDB498003; Mon, 20 Nov 2006 23:07:20 +0000 (GMT)
Date: Mon, 20 Nov 2006 22:54:44 +0000
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <7573.1164063288.576049@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: Rob Siemborski <robsiemb@google.com>, Robert Siemborski <rjs3+@andrew.cmu.edu>, <ietf-imapext@imc.org>, <ietf-sasl@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Pythagoras-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 20 21:09:05 2006, Arnt Gulbrandsen wrote:
> I am not aware of any problems with the draft as it now stands. 
> Please review it and notify me if you see any (I'm sure you will if 
> you try hard). I'd also like to hear about any implementations. 
> Thank you.

Most IMAP servers appear to implement it, and Polymer (And Telomer, 
for 770 people) implements it for those SASL mechanisms it implements 
which can benefit, specifically PLAIN, ANONYMOUS, and DIGEST-MD5 
reauthentication.

I can't see anything wrong with the draft, and I'd be pleased to see 
it published as an RFC in its current form.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKM7hTk085574; Mon, 20 Nov 2006 15:07:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKM7hVJ085573; Mon, 20 Nov 2006 15:07:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from elf.biotech.kth.se (elf.biotech.kth.se [130.237.79.15]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKM7fCs085554; Mon, 20 Nov 2006 15:07:42 -0700 (MST) (envelope-from pawsa@theochem.kth.se)
Received: from nora (taby2-23.cust.blixtvik.net [213.132.111.23]) by elf.biotech.kth.se (Postfix) with ESMTP id 2B76C23DCB6; Mon, 20 Nov 2006 23:09:40 +0100 (CET)
Date: Mon, 20 Nov 2006 23:07:39 +0100
From: Pawel Salek <pawsa@theochem.kth.se>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
To: Arnt Gulbrandsen <arnt@oryx.com>
Cc: ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com> (from arnt@oryx.com on Mon Nov 20 22:09:05 2006)
X-Mailer: Balsa 2.3.13
Message-Id: <1164060459l.6134l.0l@nora>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id kAKM7gCt085563
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 11/20/2006 10:09:05 PM, Arnt Gulbrandsen wrote:
> 
> I am not aware of any problems with the draft as it now stands.  
> Please review it and notify me if you see any (I'm sure you will if  
> you try hard). I'd also like to hear about any implementations. Thank  
> you.

Balsa email client supports it for SASL GSSAPI, PLAIN and ANONYMOUS.

Pawel



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKLCMFH081076; Mon, 20 Nov 2006 14:12:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKLCMVC081075; Mon, 20 Nov 2006 14:12:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKLCKdu081065; Mon, 20 Nov 2006 14:12:21 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKLCK2d032293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 13:12:20 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKLCIUr026338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 13:12:19 -0800
Date: Mon, 20 Nov 2006 13:12:17 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org, ietf-sasl@imc.org, robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
Subject: Re: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
In-Reply-To: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
Message-ID: <alpine.OSX.0.7.0611201311190.25752@pangtzu.panda.com>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org> <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.125933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 20 Nov 2006, Arnt Gulbrandsen wrote:
> I am not aware of any problems with the draft as it now stands. Please 
> review it and notify me if you see any (I'm sure you will if you try 
> hard). I'd also like to hear about any implementations. Thank you.

FWIW, UW imapd has implemented SASL-IR for a while now, but only in server 
code.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKL81ZQ080813; Mon, 20 Nov 2006 14:08:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKL81dP080812; Mon, 20 Nov 2006 14:08:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKL803C080801; Mon, 20 Nov 2006 14:08:01 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 7B2624ACF1; Mon, 20 Nov 2006 22:07:59 +0100 (CET)
Message-Id: <8lUI/dSM8j35bLRdeWG+Nw.md5@libertango.oryx.com>
Date: Mon, 20 Nov 2006 22:09:05 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org, ietf-sasl@imc.org
Subject: SASL-IR (draft-siemborski-imap-sasl-initial-response-05.txt)
Cc: robsiemb@google.com, Robert Siemborski <rjs3+@andrew.cmu.edu>
References: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>
In-Reply-To: <E1GmG5Z-00085a-SU@stiedprstage1.ietf.org>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

IETF Secretariat writes:
> As you requested, draft-siemborski-imap-sasl-initial-response-05.txt, 
> an updated version of an expired Internet-Drafts, has been posted. 
> [...]

Hi,

Rob changed jobs and couldn't go on with this draft. I've taken over, 
since I was one of the implementers and would rather continue with the 
draft then kill the code.

I am not aware of any problems with the draft as it now stands. Please 
review it and notify me if you see any (I'm sure you will if you try 
hard). I'd also like to hear about any implementations. Thank you.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKwN69079741; Mon, 20 Nov 2006 13:58:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKKwNxu079740; Mon, 20 Nov 2006 13:58:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKwMM3079726 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 13:58:23 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKwMwJ026785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 12:58:22 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKwKa6009815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 12:58:22 -0800
Date: Mon, 20 Nov 2006 12:58:20 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: I-D ACTION:draft-ietf-imapext-sort-18.txt 
In-Reply-To: <E1GmG5Z-00085j-UT@stiedprstage1.ietf.org>
Message-ID: <alpine.OSX.0.7.0611201257340.24744@pangtzu.panda.com>
References: <E1GmG5Z-00085j-UT@stiedprstage1.ietf.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.124432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

The draft -18 for sort that got posted was the one without Ken's bugfix 
sort thread invalid date resolution.  I just uploaded draft -19 with the 
fix.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKsL14079322; Mon, 20 Nov 2006 13:54:21 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKKsLUO079321; Mon, 20 Nov 2006 13:54:21 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKsJS0079315 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 13:54:20 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKsBM4004281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Nov 2006 12:54:12 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAKKs99M023377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Nov 2006 12:54:10 -0800
Date: Mon, 20 Nov 2006 12:54:09 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <CECAE47F84062BBEFCB4F1AE@ninevah.local>
Message-ID: <alpine.OSX.0.7.0611201250580.24744@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <CECAE47F84062BBEFCB4F1AE@ninevah.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.20.123932
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Cyrus Daboo wrote:
> > I would like to request the addition of i;unicode-casemap to COMPARATOR,
> Arnt just published a draft for i;basic. I haven't had a chance to read it 
> fully yet, but you might want to contrast and compare with what you are 
> proposing.
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-collation-basic-00.txt>

I finally got a chance to look at i;basic.  It does quite a bit more than 
i;unicode-casemap.  i;unicode-casemap does nothing with combining classes, 
logical order exceptions, translation of code points to a sort key, 
direction, weighing, etc.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKo8va079121; Mon, 20 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAKKo8jD079120; Mon, 20 Nov 2006 13:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ns4.neustar.com (ns4.neustar.com [156.154.24.139]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAKKo7HO079112 for <ietf-imapext@imc.org>; Mon, 20 Nov 2006 13:50:08 -0700 (MST) (envelope-from ietf@ietf.org)
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com [10.31.47.10]) by ns4.neustar.com (Postfix) with ESMTP id 2F3502AC51; Mon, 20 Nov 2006 20:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1GmG5Z-00085j-UT; Mon, 20 Nov 2006 15:50:01 -0500
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
Cc: ietf-imapext@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-imapext-sort-18.txt 
Message-Id: <E1GmG5Z-00085j-UT@stiedprstage1.ietf.org>
Date: Mon, 20 Nov 2006 15:50:01 -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 EXTENSIONS
	Author(s)	: M. Crispin, K. Murchison
	Filename	: draft-ietf-imapext-sort-18.txt
	Pages		: 0
	Date		: 2006-11-20
	
This document describes the base-level server-based sorting and
    threading extensions to the [IMAP] protocol.  These extensions
    provide substantial performance improvements for IMAP clients which
    offer sorted and threaded views.

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

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

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-imapext-sort-18.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-18.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:	<2006-11-20115043.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2006-11-20115043.I-D@ietf.org>

--OtherAccess--

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJLOvqV053783; Sun, 19 Nov 2006 14:24:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAJLOvsd053782; Sun, 19 Nov 2006 14:24:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJLOuqf053776 for <ietf-imapext@imc.org>; Sun, 19 Nov 2006 14:24:56 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAJLOsjq019159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 19 Nov 2006 13:24:55 -0800
X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAJLOrbn000514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 19 Nov 2006 13:24:54 -0800
Date: Sun, 19 Nov 2006 13:24:52 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Martin Duerst <duerst@it.aoyama.ac.jp>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <6.0.0.20.2.20061118180934.09689dc0@localhost>
Message-ID: <alpine.OSX.0.7.0611191301310.21036@pangtzu.panda.com>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <6.0.0.20.2.20061118180934.09689dc0@localhost>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="0-1088763667-1163971492=:21036"
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.19.131432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __FRAUD_419_BADTHINGS 0, __HAS_MSGID 0, __ISO_2022_JP_DELIM 0, __MIME_CHARSET_FARAWAY 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1088763667-1163971492=:21036
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP; format=flowed

On Sat, 18 Nov 2006, Martin Duerst wrote:
> >    The "i;unicode-casemap" collation is a simple collation which operates
> >    on octet strings and attempts to Unicode characters case-insensitively.
> 'operates on octets and attempts ... Unicode' sounds very weird.
> Unless you say something about character encoding.

All strings are coerced to UTF-8, but subsequently are treated as octet 
strings instead of variable-width character strings.  The reference to 
"attempts to compare Unicode characters case-insensitively" [I agree that 
the verb "compare" needs to be included] refers to a higher-level effect 
rather than what the algorithm actually does.

> I think I understand your use of octet here; I guess that what you are
> trying to say is that except for the provisions below, comparison is
> by codepoint (which means octet comparison in the case of UTF-8).

"Codepoint" to me would refer to a Unicode 20.5 bit codepoint.  I really 
mean 8-bit quantities, without regard to the character boundaries.

> >    except that first, all pre-composed Unicode characters are fully
> >    decomposed;
> Does this mean NDF, or just any kind of depomposition?

I'm not familiar with the decomposition names.  What I meant is "if a 
decomposition for a codepoint is defined in UnicodeData.txt, substitute 
that decomposition for the codepoint."

> >    and second, all characters which have a title case are
> >    changed to their title case.
> There are not many characters with title case. Maybe about 5.
> Given the name of the collation, I suspect that you want to
> define some mappings for characters that don't have title case,
> too.

AFAICT, all characters with an upper case defined also have a title case 
defined in UnicodeData.txt.  As you noted, only a handful of these differ.

> Hope this helps. Regards,     Martin.

Thanks for your help!  I hope that the people who decide these things 
respond favorably to my request for an i;unicode-casemap as an alternative 
to i;ascii-casemap.

i;unicode-casemap, to my thinking, fills in the gap between the legacy 
i;ascii-casemap and full-fledged stringprep.  Full-fledged stringprep is 
the ideal, but I'm afraid that if we require stringprep without an 
incremental approach many implementations will just punt and use 
i;ascii-casemap.

The all-or-none approach was taken with SSL/TLS and proved to be very 
painful.  It was entirely too easy for developers to choose "none" and 
make the people who followed the specification look like bad guys.

In this case, we don't have a security crisis.  We are just trying to make 
things better for non-ASCII character sets and non-English languages. 
This will prove to be a long-term evolutionary process; nobody really has 
solved the general comparison/collation problem.

[As you and I well know, anyone who says that their software can collate 
Japanese text without yomi or contextual hints is a liar or fool; does 
$BBgOB(J collate after $B;3;{(J or $BBPOC(J?  i;unicode-casemap won't collate this 
correctly, but neither will anything else.]

So, I think that even though reasonable people may disagree on what is 
"good enough", we can have general agreement on what is "better" and that 
"better" is always preferable to "nothing".  i;unicode-casemap should 
always be better for any script whose collation can be inferred from 
Unicode codepoint value; and for Latin-script languages that use 
diacriticals it should be MUCH better.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
--0-1088763667-1163971492=:21036--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJ8p9LS069461; Sun, 19 Nov 2006 01:51:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAJ8p9rd069460; Sun, 19 Nov 2006 01:51:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from scmailgw1.scop.aoyama.ac.jp (scmailgw1.scop.aoyama.ac.jp [133.2.251.194]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAJ8p7kv069448 for <ietf-imapext@imc.org>; Sun, 19 Nov 2006 01:51:08 -0700 (MST) (envelope-from duerst@it.aoyama.ac.jp)
Received: from scmse1.scbb.aoyama.ac.jp (scmse1 [133.2.253.16]) by scmailgw1.scop.aoyama.ac.jp (secret/secret) with SMTP id kAJ8ox4T021842 for <ietf-imapext@imc.org>; Sun, 19 Nov 2006 17:51:01 +0900 (JST)
Received: from (133.2.206.133) by scmse1.scbb.aoyama.ac.jp via smtp id 53e6_13d7944e_77ab_11db_8732_0014221fa3c9; Sun, 19 Nov 2006 17:50:58 +0900
X-AuthUser: duerst@it.aoyama.ac.jp
Received: from Tanzawa.it.aoyama.ac.jp ([133.2.210.1]:39818) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S53A8F> for <ietf-imapext@imc.org> from <duerst@it.aoyama.ac.jp>; Sun, 19 Nov 2006 17:50:26 +0900
Message-Id: <6.0.0.20.2.20061118180934.09689dc0@localhost>
X-Sender: duerst@localhost
X-Mailer: QUALCOMM Windows Eudora Version 6J
Date: Sat, 18 Nov 2006 18:41:46 +0900
To: Mark Crispin <MRC@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
From: Martin Duerst <duerst@it.aoyama.ac.jp>
Subject: Re: Review of sort
Cc: Chris Newman <chris.newman@sun.com>, arnt@oryx.com
In-Reply-To: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washing ton.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
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>

At 09:01 06/11/17, Mark Crispin wrote:
>I have just posted (and cc'd to the imapext list) sort draft -18 which I believe addresses Cyrus' review points and also addresses all the current idnits except for page breaks.
>
>Please review.
>
>I left the statement under "Internationalization Considerations" that en;ascii-casemap is used when COMPARATOR isn't implemented, pending further WG review.  Here are my comments:
>
>I suspect that should be i;ascii-casemap instead of en;ascii-casemap.
>
>I would like to request the addition of i;unicode-casemap

This seems to make sense.

>to COMPARATOR, with the following description:
>
>    The "i;unicode-casemap" collation is a simple collation which operates
>    on octet strings and attempts to Unicode characters case-insensitively.

'operates on octets and attempts ... Unicode' sounds very weird.
Unless you say something about character encoding. Also, a verb
such as 'compares' is missing somewhere.

>    It provides equality, substring and ordering operations.  All input is
>    valid.
>
>    Its equality, ordering and substring operations are as for i;octet,

I think I understand your use of octet here; I guess that what you are
trying to say is that except for the provisions below, comparison is
by codepoint (which means octet comparison in the case of UTF-8).

>    except that first, all pre-composed Unicode characters are fully
>    decomposed;

Does this mean NDF, or just any kind of depomposition?

>    and second, all characters which have a title case are
>    changed to their title case.

There are not many characters with title case. Maybe about 5.
Given the name of the collation, I suspect that you want to
define some mappings for characters that don't have title case,
too.

>I would then like to make the sort document allow a non-COMPARATOR implementation to choose between i;ascii-casemap and i;unicode-casemap.

That probably would make sense, assuming that the target
of your spec  makes it clear that strings are UTF-8,
or something similar.

Hope this helps. Regards,     Martin.


#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKe3bK009092; Fri, 17 Nov 2006 13:40:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHKe3gR009091; Fri, 17 Nov 2006 13:40:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKe2xf009084 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 13:40:03 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAHKe1m8013226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 17 Nov 2006 12:40:02 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAHKe1xU003843 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Fri, 17 Nov 2006 12:40:01 -0800
Date: Fri, 17 Nov 2006 12:37:58 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: Philip Guenther <guenther+imap@sendmail.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt
In-Reply-To: <455E1D89.9020203@isode.com>
Message-ID: <alpine.WNT.0.1.0611171237480.760@Tomobiki-Cho.CAC.Washington.EDU>
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu> <455E102E.4080606@isode.com> <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net> <455E1D89.9020203@isode.com>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.17.122933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Fri, 17 Nov 2006, Alexey Melnikov wrote:
> So you are saying that unlike the SEARCH, in SORT/THREAD it is NOT prefixed 
> with the "CHARSET" tag?

Correct.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKbqkG008843; Fri, 17 Nov 2006 13:37:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHKbqJL008842; Fri, 17 Nov 2006 13:37:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKbpCt008834 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 13:37:52 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RV4dngBybiAx@rufus.isode.com>; Fri, 17 Nov 2006 20:37:50 +0000
Message-ID: <455E1D89.9020203@isode.com>
Date: Fri, 17 Nov 2006 20:37:29 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Philip Guenther <guenther+imap@sendmail.com>
CC: Mark Crispin <mrc@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu> <455E102E.4080606@isode.com> <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther wrote:

> On Fri, 17 Nov 2006, Alexey Melnikov wrote:
>
>> Mark Crispin wrote:
>
> ...
>
>>> search-criteria = charset 1*(SP search-key)
>>
>>
>> Mark,
>> I think this should be:
>>
>>  search-criteria = ["CHARSET" SP charset] 1*(SP search-key)
>
> Nope.
>
> BASE.6.4.SORT. SORT Command
> ...
>        The charset argument is mandatory (unlike SEARCH) and indicates
>        the [CHARSET] of the strings that appear in the searching 
> criteria.
>        The US-ASCII and UTF-8 charsets MUST be implemented.  All other
>        charsets are optional.
>
> ...and ditto in the THREAD description.

So you are saying that unlike the SEARCH, in SORT/THREAD it is NOT 
prefixed with the "CHARSET" tag?
Hmm, I've just noticed.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKHvlH006447; Fri, 17 Nov 2006 13:17:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHKHv24006446; Fri, 17 Nov 2006 13:17:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHKHuIH006438 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 13:17:56 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAHKHoQ5028810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 17 Nov 2006 12:17:52 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAHKHoQ5028810
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163794674; bh=dVBWRMBTMNJzKvWZ9lOG0jFRygs=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=tqnTvnbeA6byXTw6 ARlUkzGdldy26x9K4uxNW4l7jiK2R+/o7sYPoA+wrKtoXCqXi9BRoVaxQREuGKUWGcQ x2Kge9dKUG0GA2CbIg3UXANsYyt9KB7MHjMpt59zPNh+Rfm7xn4MINd0poNqBBUZc9g mrTT/I5XAPAKTN2F8+YGA=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAHKHoQ5028810
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=pFDgOx7p8ihWZhrMLqXAIZbz1ILI1Wbzem9evO8T2TdBfs/TtC7M4QIa9H4GnxZ55 7Y6B+aS/MD3F7fdx7H0rQNcEkOHxqrrqiS18WEq2FbX1EOqBBcsgelOBqyd8az8K4bU ymmfcptb/bQLQn51IDW9+c9mzZG6jtKIU+Po3NI=
Date: Fri, 17 Nov 2006 13:17:49 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: Mark Crispin <mrc@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt
In-Reply-To: <455E102E.4080606@isode.com>
Message-ID: <Pine.BSO.4.64.0611171316330.15624@vanye.mho.net>
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu> <455E102E.4080606@isode.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Fri, 17 Nov 2006, Alexey Melnikov wrote:
> Mark Crispin wrote:
...
>> search-criteria = charset 1*(SP search-key)
>
> Mark,
> I think this should be:
>
>  search-criteria = ["CHARSET" SP charset] 1*(SP search-key)

Nope.

BASE.6.4.SORT. SORT Command
...
        The charset argument is mandatory (unlike SEARCH) and indicates
        the [CHARSET] of the strings that appear in the searching criteria.
        The US-ASCII and UTF-8 charsets MUST be implemented.  All other
        charsets are optional.

...and ditto in the THREAD description.


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHJepQd002109; Fri, 17 Nov 2006 12:40:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAHJepqW002108; Fri, 17 Nov 2006 12:40:51 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAHJeoZF002093 for <ietf-imapext@imc.org>; Fri, 17 Nov 2006 12:40:51 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RV4QPwBybmcA@rufus.isode.com>; Fri, 17 Nov 2006 19:40:47 +0000
Message-ID: <455E102E.4080606@isode.com>
Date: Fri, 17 Nov 2006 19:40:30 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Mark Crispin <mrc@CAC.Washington.EDU>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: draft-ietf-imapext-sort-18.txt [Please use this instead of what I sent in the previous message]
References: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu>
In-Reply-To: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:

> 5. Formal Syntax of SORT and THREAD Commands and Responses

 [...]

> search-criteria = charset 1*(SP search-key)

Mark,
I think this should be:

   search-criteria = ["CHARSET" SP charset] 1*(SP search-key)



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0XhkI045808; Thu, 16 Nov 2006 17:33:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0XhZb045805; Thu, 16 Nov 2006 17:33:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0XgsC045790 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:33:42 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0XfbX018964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 16:33:41 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0XfD2028406 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 16:33:41 -0800
Date: Thu, 16 Nov 2006 16:31:38 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: Philip Guenther <guenther+imap@sendmail.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <Pine.BSO.4.64.0611161723060.29115@vanye.mho.net>
Message-ID: <alpine.WNT.0.1.0611161629140.4076@Tomobiki-Cho.CAC.Washington.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU> <Pine.BSO.4.64.0611161723060.29115@vanye.mho.net>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.161933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Philip Guenther wrote:
> Hmm, it still has this impossible to implement requirement on ordering of 
> sibling in step 6 of the THREAD=REFERENCES algorithm:
>           In the case of an exact match on
>           sent date or if either of the Date: headers used in a
>           comparison can not be parsed, use the order in which the
>           messages appear in the mailbox (that is, by sequence number) to
>           determine the order.

I realized this after I had sent it, and posted an updated version.

> >   Its equality, ordering and substring operations are as for i;octet,
> >   except that first, all pre-composed Unicode characters are fully
> >   decomposed; and second, all characters which have a title case are
> >   changed to their title case.
> Can you explain the choice of titlecase?

In reviewing the few instances in which it made a difference (there are 
just a few), it seemed that coercing titlecase was more in the spirit of 
"case independence" than coercing to uppercase.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0TYY3045167; Thu, 16 Nov 2006 17:29:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0TYkC045166; Thu, 16 Nov 2006 17:29:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0TXVT045160 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:29:33 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAH0TQpn001167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 16:29:29 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAH0TQpn001167
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163723371; bh=l2jmiiNX+Koz0KRwkqqHs/xO46Q=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=fDsoc0YrNo/Vq82S nas4c/StPDzs/EjDUixLWGBbtehn4IJYW/EcIL4+HyPLaAfV/K4VIRXjuRySBtRqs1S WtXF2b98ngWHLv7+SWrpdS9GikOywF27lZypNHg4QgV/oBlOC3RYsZgzJ8lz8L7nsjS CWeNtc61vEXFjHRRTfBQQ=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAH0TQpn001167
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=Itq89QXcIHR7f01IiD1gi0FeqRLI4CHSh1u+MuQxAbsEeWqhO2pLYjM3X3vTrPWNV K5zeu1yuolkrBF9j8TQZYsJa+TJ3RcCODVip8I3InoSaujJDoDEqGHYb7x3AA97H4no L5DnAuQHy52EVJ/oF0UQCJvLvQf6v2HSObECVcA=
Date: Thu, 16 Nov 2006 17:29:26 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Mark Crispin <MRC@CAC.Washington.EDU>
cc: IMAP Extensions WG <ietf-imapext@imc.org>, Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
Message-ID: <Pine.BSO.4.64.0611161723060.29115@vanye.mho.net>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Mark Crispin wrote:
> I have just posted (and cc'd to the imapext list) sort draft -18 which I 
> believe addresses Cyrus' review points and also addresses all the current 
> idnits except for page breaks.

Hmm, it still has this impossible to implement requirement on ordering of 
sibling in step 6 of the THREAD=REFERENCES algorithm:
          In the case of an exact match on
          sent date or if either of the Date: headers used in a
          comparison can not be parsed, use the order in which the
          messages appear in the mailbox (that is, by sequence number) to
          determine the order.

I thought that was going to be changed to specify that if the Date: header 
field is invalid then the INTERNALDATE should be used instead.  (Didn't 
you say that was what UW-imapd actually did?)


> I suspect that should be i;ascii-casemap instead of en;ascii-casemap.

Yes.  en;ascii-casemap was renamed back to i;ascii-casemap.


...
>   Its equality, ordering and substring operations are as for i;octet,
>   except that first, all pre-composed Unicode characters are fully
>   decomposed; and second, all characters which have a title case are
>   changed to their title case.

Can you explain the choice of titlecase?


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0ScN4045081; Thu, 16 Nov 2006 17:28:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0ScYp045080; Thu, 16 Nov 2006 17:28:38 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0Sad2045074 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:28:37 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [10.0.1.2] ([10.0.1.2]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAH0SWPc009047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 19:28:32 -0500
Date: Thu, 16 Nov 2006 19:28:31 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Mark Crispin <MRC@CAC.Washington.EDU>, IMAP Extensions WG <ietf-imapext@imc.org>
cc: Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
Message-ID: <CECAE47F84062BBEFCB4F1AE@ninevah.local>
In-Reply-To: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Mark,

--On November 16, 2006 4:01:48 PM -0800 Mark Crispin 
<MRC@CAC.Washington.EDU> wrote:

> I would like to request the addition of i;unicode-casemap to COMPARATOR,
> with the following description:
>
>     The "i;unicode-casemap" collation is a simple collation which operates
>     on octet strings and attempts to Unicode characters
> case-insensitively.
>     It provides equality, substring and ordering operations.  All input is
>     valid.
>
>     Its equality, ordering and substring operations are as for i;octet,
>     except that first, all pre-composed Unicode characters are fully
>     decomposed; and second, all characters which have a title case are
>     changed to their title case.
>
>     Care should be taken when using OS-supplied functions to implement
>     this collation as it is not locale sensitive.  Functions such as
>     strcasecmp and toupper are sometimes locale sensitive and may
>     inappropriately map letters.
>
>     The i;unicode-casemap collation is an attempt to produce somewhat
>     better case-insensitive collations for non-English languages than
>     is possible with i;ascii-casemap.  However, most of the cautions
>     about mis-sorting that are described with i;ascii-casemap also
>     apply to i;unicode-casemap.

Arnt just published a draft for i;basic. I haven't had a chance to read it 
fully yet, but you might want to contrast and compare with what you are 
proposing.

<http://www.ietf.org/internet-drafts/draft-gulbrandsen-collation-basic-00.txt>

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0CibR043226; Thu, 16 Nov 2006 17:12:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH0CiOu043225; Thu, 16 Nov 2006 17:12:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH0Chwo043219 for <ietf-imapext@IMC.ORG>; Thu, 16 Nov 2006 17:12:44 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0CdvQ031453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 16:12:39 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH0CdnK025365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Nov 2006 16:12:39 -0800
Date: Thu, 16 Nov 2006 16:12:39 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Internet Drafts Submission <Internet-Drafts@IETF.ORG>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: draft-ietf-imapext-sort-18.txt [Please use this instead of what I sent in the previous message]
Message-ID: <alpine.LRH.0.7.0611161611450.22469@shiva2.cac.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.155433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

IMAP Extensions Working Group                                 M. Crispin
INTERNET-DRAFT: IMAP SORT                                   K. Murchison
Document: internet-drafts/draft-ietf-imapext-sort-18.txt   November 2006


      INTERNET MESSAGE ACCESS PROTOCOL - SORT AND THREAD EXTENSIONS

Status of this Memo

    By submitting this Internet-Draft, each author represents that
    any applicable patent or other IPR claims of which he or she is
    aware have been or will be disclosed, and any of which he or she
    becomes aware will be disclosed, in accordance with Section 6 of
    BCP 79.

    Internet-Drafts are working documents of the Internet Engineering
    Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as
    Internet-Drafts.

    Internet-Drafts are draft documents valid for a maximum of six months
    and may be updated, replaced, or obsoleted by other documents at any
    time.  It is inappropriate to use Internet-Drafts as reference
    material or to cite them other than as "work in progress."

    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt

    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.

    A revised version of this document will be submitted to the RFC
    editor as an Informational Document for the Internet Community.

    A revised version of this draft document will be submitted to the RFC
    editor as a Proposed Standard for the Internet Community.  Discussion
    and suggestions for improvement are requested, and should be sent to
    ietf-imapext@IMC.ORG.  This document will expire before 16 May 2007.
    Distribution of this memo is unlimited.


Abstract

    This document describes the base-level server-based sorting and
    threading extensions to the [IMAP] protocol.  These extensions
    provide substantial performance improvements for IMAP clients which
    offer sorted and threaded views.


1. Introduction

    The SORT and THREAD extensions to the [IMAP] protocol provide a means
    of server-based sorting and threading of messages, without requiring
    that the client download the necessary data to do so itself.  This is
    particularly useful for online clients as described in [IMAP-MODELS].

    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 the THREAD 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 server which implements the SORT and/or THREAD extensions SHOULD
    also implement the COMPARATOR extension as described in [IMAP-I18N].


2. Terminology

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
    document are to be interpreted as described in [KEYWORDS].

    The word "can" (not "may") is used to refer to a possible
    circumstance or situation, as opposed to an optional facility of the
    protocol.

    "User" is used to refer to a human user, whereas "client" refers to
    the software being run by the user.

    In examples, "C:" and "S:" indicate lines sent by the client and
    server respectively.


2.1 Base Subject

    Subject sorting and threading use the "base subject," which has
    specific subject artifacts removed.  Due to the complexity of these
    artifacts, the formal syntax for the subject extraction rules is
    ambiguous.  The following procedure is followed to determine the
    "base subject", using the [ABNF] formal syntax rules described in
    section 5:

         (1) Convert any RFC 2047 encoded-words in the subject to
         UTF-8 as described in "internationalization
         considerations."  Convert all tabs and continuations to
         space.  Convert all multiple spaces to a single space.

         (2) Remove all trailing text of the subject that matches
         the subj-trailer ABNF, repeat until no more matches are
         possible.

         (3) Remove all prefix text of the subject that matches the
         subj-leader ABNF.

         (4) If there is prefix text of the subject that matches the
         subj-blob ABNF, and removing that prefix leaves a non-empty
         subj-base, then remove the prefix text.

         (5) Repeat (3) and (4) until no matches remain.

    Note: it is possible to defer step (2) until step (6), but this
    requires checking for subj-trailer in step (4).

         (6) If the resulting text begins with the subj-fwd-hdr ABNF
         and ends with the subj-fwd-trl ABNF, remove the
         subj-fwd-hdr and subj-fwd-trl and repeat from step (2).

         (7) The resulting text is the "base subject" used in the
         SORT.

    All servers and disconnected (as described in [IMAP-MODELS]) clients
    MUST use exactly this algorithm to determine the "base subject".
    Otherwise there is potential for a user to get inconsistent results
    based on whether they are running in connected or disconnected mode.


2.2 Sent Date

    As used in this document, the term "sent date" refers to the date and
    time from the Date: header, adjusted by time zone to normalize to
    UTC.  For example, "31 Dec 2000 16:01:33 -0800" is equivalent to the
    UTC date and time of "1 Jan 2001 00:01:33 +0000".

    If the time zone is invalid, the date and time SHOULD be treated as
    UTC.  If the time is also invalid, the time SHOULD be treated as
    00:00:00.  If there is no valid date or time, the date and time
    SHOULD be treated as 00:00:00 on the earliest possible date.

    This differs from the date-related criteria in the SEARCH command
    (described in [IMAP] section 6.4.4), which use just the date and not
    the time, and are not adjusted by time zone.


3. Additional Commands

    These commands are extension to the [IMAP] base protocol.

    The section headings are intended to correspond with where they would
    be located in the main document if they were part of the base
    specification.

BASE.6.4.SORT. SORT Command

    Arguments:  sort program
                charset specification
                searching criteria (one or more)

    Data:       untagged responses: SORT

    Result:     OK - sort completed
                NO - sort error: can't sort that charset or
                     criteria
                BAD - command unknown or arguments invalid

       The SORT command is a variant of SEARCH with sorting semantics for
       the results.  Sort has two arguments before the searching criteria
       argument; a parenthesized list of sort criteria, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID SORT command which returns unique identifiers
       instead of message sequence numbers.  Note that there are separate
       searching criteria for message sequence numbers and UIDs; thus the
       arguments to UID SORT are interpreted the same as in SORT.  This
       is analogous to the behavior of UID SEARCH, as opposed to UID
       COPY, UID FETCH, or UID STORE.

       The SORT command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged SORT response, sorted
       according to one or more sort criteria.

       Sorting is in ascending order.  Earlier dates sort before later
       dates; smaller sizes sort before larger sizes; and strings are
       sorted according to ascending values established by their
       collation algorithm (see under "Internationalization
       Considerations").

       If two or more messages exactly match according to the sorting
       criteria, these messages are sorted according to the order in
       which they appear in the mailbox.  In other words, there is an
       implicit sort criterion of "sequence number".

       When multiple sort criteria are specified, the result is sorted in
       the priority order that the criteria appear.  For example,
       (SUBJECT DATE) will sort messages in order by their base subject
       text; and for messages with the same base subject text will sort
       by their sent date.

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a SORT command, but are permitted during a UID SORT
       command.

       The defined sort criteria are as follows.  Refer to the Formal
       Syntax section for the precise syntactic definitions of the
       arguments.  If the associated RFC-822 header for a particular
       criterion is absent, it is treated as the empty string.  The empty
       string always collates before non-empty strings.

       ARRIVAL
          Internal date and time of the message.  This differs from the
          ON criteria in SEARCH, which uses just the internal date.

       CC
          [IMAP] addr-mailbox of the first "cc" address.

       DATE
          Sent date and time from the Date: header, adjusted by time
          zone.  This differs from the SENTON criteria in SEARCH, which
          uses just the date and not the time, nor adjusts by time zone.

       FROM
          [IMAP] addr-mailbox of the first "From" address.

       REVERSE
          Followed by another sort criterion, has the effect of that
          criterion but in reverse (descending) order.
             Note: REVERSE only reverses a single criterion, and does not
             affect the implicit "sequence number" sort criterion if all
             other criteria are identicial.  Consequently, a sort of
             REVERSE SUBJECT is not the same as a reverse ordering of a
             SUBJECT sort.  This can be avoided by use of additional
             criteria, e.g. SUBJECT DATE vs. REVERSE SUBJECT REVERSE
             DATE.  In general, however, it's better (and faster, if the
             client has a "reverse current ordering" command) to reverse
             the results in the client instead of issuing a new SORT.

       SIZE
          Size of the message in octets.

       SUBJECT
          Base subject text.

       TO
          [IMAP] addr-mailbox of the first "To" address.


    Example:    C: A282 SORT (SUBJECT) UTF-8 SINCE 1-Feb-1994
                S: * SORT 2 84 882
                S: A282 OK SORT completed
                C: A283 SORT (SUBJECT REVERSE DATE) UTF-8 ALL
                S: * SORT 5 3 4 1 2
                S: A283 OK SORT completed
                C: A284 SORT (SUBJECT) US-ASCII TEXT "not in mailbox"
                S: * SORT
                S: A284 OK SORT completed


BASE.6.4.THREAD. THREAD Command

Arguments:  threading algorithm
             charset specification
             searching criteria (one or more)

Data:       untagged responses: THREAD

Result:     OK - thread completed
             NO - thread error: can't thread that charset or
                  criteria
             BAD - command unknown or arguments invalid

       The THREAD command is a variant of SEARCH with threading semantics
       for the results.  Thread has two arguments before the searching
       criteria argument; a threading algorithm, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID THREAD command which returns unique
       identifiers instead of message sequence numbers.  Note that there
       are separate searching criteria for message sequence numbers and
       UIDs; thus the arguments to UID THREAD are interpreted the same as
       in THREAD.  This is analogous to the behavior of UID SEARCH, as
       opposed to UID COPY, UID FETCH, or UID STORE.

       The THREAD command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged THREAD response,
       threaded according to the specified threading algorithm.

       All collation is in ascending order.  Earlier dates collate before
       later dates and strings are collated according to ascending values
       established by their collation algorithm (see under
       "Internationalization Considerations").

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a THREAD command, but are permitted during a UID
       THREAD command.

       The defined threading algorithms are as follows:

       ORDEREDSUBJECT

          The ORDEREDSUBJECT threading algorithm is also referred to as
          "poor man's threading."  The searched messages are sorted by
          base subject and then by the sent date.  The messages are then
          split into separate threads, with each thread containing
          messages with the same base subject text.  Finally, the threads
          are sorted by the sent date of the first message in the thread.

          The first message of each thread are siblings of each other
          (the "root").  The second message of a thread is the child of
          the first message, and subsequent messages of the thread are
          siblings of the second message and hence children of the
          message at the root.  Hence, there are no grandchildren in
          ORDEREDSUBJECT threading.

            Note: early drafts of this specification specified
            that each message in an ORDEREDSUBJECT thread is a child
            (as opposed to a sibling) of the previous message.  This
            is now deprecated.  For compatibility with servers which
            may still use the old definition, client implementations
            SHOULD treat descendents of a child as being siblings of
            that child.

            This is because the old definition mistakenly indicated
            that there was a parent/child relationship between
            successive messages in a thread; when in fact there was
            only a chronological relationship.  In clients which
            indicate parent/child relationships in a thread tree,
            this would indicate levels of descent which did not
            exist.


       REFERENCES

          The REFERENCES threading algorithm is based on the [THREADING]
          algorithm written used in "Netscape Mail and News" versions 2.0
          through 3.0.  This algorithm threads the searched messages by
          grouping them together in parent/child relationships based on
          which messages are replies to others.  The parent/child
          relationships are built using two methods: reconstructing a
          message's ancestry using the references contained within it;
          and checking the original (not base) subject of a message to
          see if it is a reply to (or forward of) another message.

             Note: "Message ID" in the following description refers to a
             normalized form of the msg-id in [RFC-2822].  The actual
             text in an RFC 2822 may use quoting, resulting in multiple
             ways of expressing the same Message ID.  Implementations of
             the REFERENCES threading algorithm MUST normalize any msg-id
             in order to avoid false non-matches due to differences in
             quoting.

             For example, the msg-id
                <"01KF8JCEOCBS0045PS"@xxx.yyy.com>
             and the msg-id
                <01KF8JCEOCBS0045PS@xxx.yyy.com>
             MUST be interpreted as being the same Message ID.

          The references used for reconstructing a message's ancestry are
          found using the following rules:

             If a message contains a References header line, then use the
             Message IDs in the References header line as the references.

             If a message does not contain a References header line, or
             the References header line does not contain any valid
             Message IDs, then use the first (if any) valid Message ID
             found in the In-Reply-To header line as the only reference
             (parent) for this message.

                Note: Although [RFC-2822] permits multiple Message IDs in
                the In-Reply-To header, in actual practice this
                discipline has not been followed.  For example,
                In-Reply-To headers have been observed with message
                addresses after the Message ID, and there are no good
                heuristics for software to determine the difference.
                This is not a problem with the References header however.

             If a message does not contain an In-Reply-To header line, or
             the In-Reply-To header line does not contain a valid Message
             ID, then the message does not have any references (NIL).

          A message is considered to be a reply or forward if the base
          subject extraction rules, applied to the original subject,
          remove any of the following: a subj-refwd, a "(fwd)"
          subj-trailer, or a subj-fwd-hdr and subj-fwd-trl.

          The REFERENCES algorithm is significantly more complex than
          ORDEREDSUBJECT and consists of six main steps.  These steps are
          outlined in detail below.

          (1) For each searched message:

             (A) Using the Message IDs in the message's references, link
             the corresponding messages (those whose Message-ID header
             line contains the given reference Message ID) together as
             parent/child.  Make the first reference the parent of the
             second (and the second a child of the first), the second the
             parent of the third (and the third a child of the second),
             etc.  The following rules govern the creation of these
             links:

                If a message does not contain a Message-ID header line,
                or the Message-ID header line does not contain a valid
                Message ID, then assign a unique Message ID to this
                message.

                If two or more messages have the same Message ID, then
                only use that Message ID in the first (lowest sequence
                number) message, and assign a unique Message ID to each
                of the subsequent messages with a duplicate of that
                Message ID.

                If no message can be found with a given Message ID,
                create a dummy message with this ID.  Use this dummy
                message for all subsequent references to this ID.

                If a message already has a parent, don't change the
                existing link.  This is done because the References
                header line may have been truncated by a MUA.  As a
                result, there is no guarantee that the messages
                corresponding to adjacent Message IDs in the References
                header line are parent and child.

                Do not create a parent/child link if creating that link
                would introduce a loop.  For example, before making
                message A the parent of B, make sure that A is not a
                descendent of B.

                   Note: Message ID comparisons are case-sensitive.

             (B) Create a parent/child link between the last reference
             (or NIL if there are no references) and the current message.
             If the current message already has a parent, it is probably
             the result of a truncated References header line, so break
             the current parent/child link before creating the new
             correct one.  As in step 1.A, do not create the parent/child
             link if creating that link would introduce a loop.  Note
             that if this message has no references, that it will now
             have no parent.

                Note: The parent/child links created in steps 1.A and 1.B
                MUST be kept consistent with one another at ALL times.

          (2) Gather together all of the messages that have no parents
          and make them all children (siblings of one another) of a dummy
          parent (the "root").  These messages constitute the first
          (head) message of the threads created thus far.

          (3) Prune dummy messages from the thread tree.  Traverse each
          thread under the root, and for each message:

             If it is a dummy message with NO children, delete it.

             If it is a dummy message with children, delete it, but
             promote its children to the current level.  In other words,
             splice them in with the dummy's siblings.

             Do not promote the children if doing so would make them
             children of the root, unless there is only one child.

          (4) Sort the messages under the root (top-level siblings only)
          by sent date.  In the case of an exact match on sent date, use
          the order in which the messages appear in the mailbox (that is,
          by sequence number) to determine the order.  In the case of a
          dummy message, sort its children by sent date and then use the
          first child for the top-level sort.  If the sent date can not
          be determined (a Date: header is missing or can not be parsed),
          the INTERNALDATE for that message is used as the sent date.

          (5) Gather together messages under the root that have the same
          base subject text.

             (A) Create a table for associating base subjects with
             messages, called the subject table.

             (B) Populate the subject table with one message per each
             base subject.  For each child of the root:

                (i) Find the subject of this thread, by using the base
                subject from either the current message or its first
                child if the current message is a dummy.  This is the
                thread subject.

                (ii) If the thread subject is empty, skip this message.

                (iii) Look up the message associated with the thread
                subject in the subject table.

                (iv) If there is no message in the subject table with the
                thread subject, add the current message and the thread
                subject to the subject table.

                Otherwise, if the message in the subject table is not a
                dummy, AND either of the following criteria are true:

                   The current message is a dummy, OR

                   The message in the subject table is a reply or forward
                   and the current message is not.

             then replace the message in the subject table with the
             current message.

             (C) Merge threads with the same thread subject.  For each
             child of the root:

                (i) Find the message's thread subject as in step 5.B.i
                above.

                (ii) If the thread subject is empty, skip this message.

                (iii) Lookup the message associated with this thread
                subject in the subject table.

                (iv) If the message in the subject table is the current
                message, skip this message.

                Otherwise, merge the current message with the one in the
                subject table using the following rules:

                   If both messages are dummies, append the current
                   message's children to the children of the message in
                   the subject table (the children of both messages
                   become siblings), and then delete the current message.

                   If the message in the subject table is a dummy and the
                   current message is not, make the current message a
                   child of the message in the subject table (a sibling
                   of its children).

                   If the current message is a reply or forward and the
                   message in the subject table is not, make the current
                   message a child of the message in the subject table (a
                   sibling of its children).

                   Otherwise, create a new dummy message and make both
                   the current message and the message in the subject
                   table children of the dummy.  Then replace the message
                   in the subject table with the dummy message.

                      Note: Subject comparisons are case-insensitive, as
                      described under "Internationalization
                      Considerations."

          (6) Traverse the messages under the root and sort each set of
          siblings by sent date.  Traverse the messages in such a way
          that the "youngest" set of siblings are sorted first, and the
          "oldest" set of siblings are sorted last (grandchildren are
          sorted before children, etc).  In the case of an exact match on
          sent date or if either of the Date: headers used in a
          comparison can not be parsed, use the order in which the
          messages appear in the mailbox (that is, by sequence number) to
          determine the order.  In the case of a dummy message (which can
          only occur with top-level siblings), use its first child for
          sorting.


    Example:    C: A283 THREAD ORDEREDSUBJECT UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)(170)(171)
                   (173)(174 (175)(176)(178)(181)(180))(179)(177
                   (183)(182)(188)(184)(185)(186)(187)(189))(190)
                   (191)(192)(193)(194 195)(196 (197)(198))(199)
                   (200 202)(201)(203)(204)(205)(206 207)(208)
                S: A283 OK THREAD completed
                C: A284 THREAD ORDEREDSUBJECT US-ASCII TEXT "gewp"
                S: * THREAD
                S: A284 OK THREAD completed
                C: A285 THREAD REFERENCES UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)((170)(179))
                   (171)(173)((174)(175)(176)(178)(181)(180))
                   ((177)(183)(182)(188 (184)(189))(185 186)(187))
                   (190)(191)(192)(193)((194)(195 196))(197 198)
                   (199)(200 202)(201)(203)(204)(205 206 207)(208)
                S: A285 OK THREAD completed


         Note: The line breaks in the first and third server
         responses are for editorial clarity and do not appear in
         real THREAD responses.


4. Additional Responses

    These responses are extensions to the [IMAP] base protocol.

    The section headings of these responses are intended to correspond
    with where they would be located in the main document.

BASE.7.2.SORT. SORT Response

    Data:       zero or more numbers

       The SORT response occurs as a result of a SORT or UID SORT
       command.  The number(s) refer to those messages that match the
       search criteria.  For SORT, these are message sequence numbers;
       for UID SORT, these are unique identifiers.  Each number is
       delimited by a space.

    Example:    S: * SORT 2 3 6


BASE.7.2.THREAD. THREAD Response

    Data:       zero or more threads

       The THREAD response occurs as a result of a THREAD or UID THREAD
       command.  It contains zero or more threads.  A thread consists of
       a parenthesized list of thread members.

       Thread members consist of zero or more message numbers, delimited
       by spaces, indicating successive parent and child.  This continues
       until the thread splits into multiple sub-threads, at which point
       the thread nests into multiple sub-threads with the first member
       of each subthread being siblings at this level.  There is no limit
       to the nesting of threads.

       The messages numbers refer to those messages that match the search
       criteria.  For THREAD, these are message sequence numbers; for UID
       THREAD, these are unique identifiers.

    Example:    S: * THREAD (2)(3 6 (4 23)(44 7 96))

       The first thread consists only of message 2.  The second thread
       consists of the messages 3 (parent) and 6 (child), after which it
       splits into two subthreads; the first of which contains messages 4
       (child of 6, sibling of 44) and 23 (child of 4), and the second of
       which contains messages 44 (child of 6, sibling of 4), 7 (child of
       44), and 96 (child of 7).  Since some later messages are parents
       of earlier messages, the messages were probably moved from some
       other mailbox at different times.

       -- 2

       -- 3
          \-- 6
              |-- 4
              |   \-- 23
              |
              \-- 44
                   \-- 7
                       \-- 96

    Example:    S: * THREAD ((3)(5))

       In this example, 3 and 5 are siblings of a parent which does not
       match the search criteria (and/or does not exist in the mailbox);
       however they are members of the same thread.


5. Formal Syntax of SORT and THREAD Commands and Responses

    The following syntax specification uses the Augmented Backus-Naur
    Form (ABNF) notation as specified in [ABNF].  It also uses [ABNF]
    rules defined in [IMAP].

sort            = ["UID" SP] "SORT" SP sort-criteria SP search-criteria

sort-criteria   = "(" sort-criterion *(SP sort-criterion) ")"

sort-criterion  = ["REVERSE" SP] sort-key

sort-key        = "ARRIVAL" / "CC" / "DATE" / "FROM" / "SIZE" /
                   "SUBJECT" / "TO"

thread          = ["UID" SP] "THREAD" SP thread-alg SP search-criteria

thread-alg      = "ORDEREDSUBJECT" / "REFERENCES" / thread-alg-ext

thread-alg-ext  = atom
                     ; New algorithms MUST be registered with IANA

search-criteria = charset 1*(SP search-key)

charset         = atom / quoted
                     ; CHARSET values MUST be registered with IANA

sort-data       = "SORT" *(SP nz-number)

thread-data     = "THREAD" [SP 1*thread-list]

thread-list     = "(" (thread-members / thread-nested) ")"

thread-members  = nz-number *(SP nz-number) [SP thread-nested]

thread-nested   = 2*thread-list


    The following syntax describes base subject extraction rules (2)-(6):

subject         = *subj-leader [subj-middle] *subj-trailer

subj-refwd      = ("re" / ("fw" ["d"])) *WSP [subj-blob] ":"

subj-blob       = "[" *BLOBCHAR "]" *WSP

subj-fwd        = subj-fwd-hdr subject subj-fwd-trl

subj-fwd-hdr    = "[fwd:"

subj-fwd-trl    = "]"

subj-leader     = (*subj-blob subj-refwd) / WSP

subj-middle     = *subj-blob (subj-base / subj-fwd)
                     ; last subj-blob is subj-base if subj-base would
                     ; otherwise be empty

subj-trailer    = "(fwd)" / WSP

subj-base       = NONWSP *(*WSP NONWSP)
                     ; can be a subj-blob

BLOBCHAR        = %x01-5a / %x5c / %x5e-ff
                     ; any CHAR8 except '[' and ']'

NONWSP          = %x01-08 / %x0a-1f / %x21-ff
                     ; any CHAR8 other than WSP


6. Security Considerations

    The SORT and THREAD extensions do not raise any security
    considerations that are not present in the base [IMAP] protocol, and
    these issues are discussed in [IMAP].  Nevertheless, it is important
    to remember that [IMAP] protocol transactions, including message
    data, are sent in the clear over the network unless protection from
    snooping is negotiated, either by the use of STARTTLS, privacy
    protection is negotiated in the AUTHENTICATE command, or some other
    protection mechanism is in effect.


7. Internationalization Considerations

    As described in [IMAP-I18N], strings in charsets other than US-ASCII
    and UTF-8 MUST be converted to UTF-8 and compared in ascending order
    according to the selected or active collation algorithm.  If the
    server does not support the [IMAP-I18N] COMPARATOR extension, the
    collation algorithm used is the "en;ascii-casemap" collation
    described in [COMPARATOR].

    Translations of the "re" or "fw"/"fwd" tokens are not specified for
    removal in the base subject extraction process.  An attempt to add
    such translated tokens would result in a geometrically complex, and
    ultimately unimplementable, task.

    Instead, note that [RFC-2822] section 3.6.5 recommends that "re:"
    (from the Latin "res", in the matter of) be used to identify a reply.
    Although it is evident that, from the multiple forms of token to
    identify a forwarded message, there is considerable variation found
    in the wild, the variations are (still) manageable.  Consequently, it
    is suggested that "re:" and one of the variations of the tokens for
    forward supported by the base subject extraction rules be adopted for
    Internet mail messages, since doing so makes it a simple display time
    task to localize the token language for the user.


8. IANA Considerations

    [IMAP] capabilities are registered by publishing a standards track or
    IESG approved experimental RFC.  This document constitutes
    registration of the SORT and THREAD capabilities in the [IMAP]
    capabilities registry.

    This document creates a new [IMAP] threading algorithms registry,
    which registers threading algorithms by publishing a standards track
    or IESG approved experimental RFC.  This document constitutes
    registration of the ORDEREDSUBJECT and REFERENCES algorithms in that
    registry.


9. Normative References

    The following documents are normative to this document:

    [ABNF]                Crocker, D. and Overell, P. "Augmented BNF
                          for Syntax Specifications: ABNF", RFC 4234
                          October 2005.

    [CHARSET]             Freed, N. and J. Postel, "IANA Character Set
                          Registration Procedures", RFC 2978, October
                          2000.

    [COMPARATOR]          Newman, C. "Internet Appplication Protocol
                          Collation Registry", Work in Progress.

    [IMAP]                Crispin, M. "Internet Message Access Protocol -
                          Version 4rev1", RFC 3501, March 2003.

    [IMAP-I18N]           Newman, C. "Internet Message Access Protocol
                          Internationalization", Work in Progress.

    [KEYWORDS]            Bradner, S. "Key words for use in RFCs to
                          Indicate Requirement Levels", BCP 14, RFC 2119,
                          March 1997.

    [RFC-2822]            Resnick, P. "Internet Message Format", RFC
                          2822, April 2001.


10. Informative References

    The following documents are informative to this document:

    [IMAP-MODELS]         Crispin, M. "Distributed Electronic Mail Models
                          in IMAP4", RFC 1733, December 1994.

    [THREADING]           Zawinski, J. "Message Threading",
                          http://www.jwz.org/doc/threading.html,
                          1997-2002.

Appendices

Author's Address

    Mark R. Crispin
    Networks and Distributed Computing
    University of Washington
    4545 15th Avenue NE
    Seattle, WA  98105-4527

    Phone: +1 (206) 543-5762

    EMail: MRC@CAC.Washington.EDU


    Kenneth Murchison
    Carnegie Mellon University
    5000 Forbes Avenue
    Cyert Hall 285
    Pittsburgh, PA  15213

    Phone: +1 (412) 268-2638
    Email: murch@andrew.cmu.edu


Full Copyright Statement

    Copyright (C) The Internet Society (2006).

    This document is subject to the rights, licenses and restrictions
    contained in BCP 78, and except as set forth therein, the authors
    retain all their rights.

    This document and the information contained herein are provided on an
    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
    OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
    ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

    The IETF takes no position regarding the validity or scope of any
    Intellectual Property Rights or other rights that might be claimed to
    pertain to the implementation or use of the technology described in
    this document or the extent to which any license under such rights
    might or might not be available; nor does it represent that it has
    made any independent effort to identify any such rights.  Information
    on the procedures with respect to rights in RFC documents can be
    found in BCP 78 and BCP 79.

    Copies of IPR disclosures made to the IETF Secretariat and any
    assurances of licenses to be made available, or the result of an
    attempt made to obtain a general license or permission for the use of
    such proprietary rights by implementers or users of this
    specification can be obtained from the IETF on-line IPR repository at
    http://www.ietf.org/ipr.

    The IETF invites any interested party to bring to its attention any
    copyrights, patents or patent applications, or other proprietary
    rights that may cover technology that may be required to implement
    this standard.  Please address the information to the IETF at ietf-
    ipr@ietf.org.

Acknowledgement

    Funding for the RFC Editor function is currently provided by the
    Internet Society.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH03sPu042703; Thu, 16 Nov 2006 17:03:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAH03sux042702; Thu, 16 Nov 2006 17:03:54 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAH03qh6042696 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 17:03:53 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH03pMF000569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 16:03:51 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAH03paT020978 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 16:03:51 -0800
Date: Thu, 16 Nov 2006 16:01:48 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Extensions WG <ietf-imapext@imc.org>
cc: Chris Newman <chris.newman@sun.com>, duerst@it.aoyama.ac.jp, arnt@oryx.com
Subject: Re: Review of sort
In-Reply-To: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
Message-ID: <alpine.WNT.0.1.0611161546090.2704@Tomobiki-Cho.CAC.Washington.EDU>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.154933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I have just posted (and cc'd to the imapext list) sort draft -18 which I 
believe addresses Cyrus' review points and also addresses all the current 
idnits except for page breaks.

Please review.

I left the statement under "Internationalization Considerations" that 
en;ascii-casemap is used when COMPARATOR isn't implemented, pending 
further WG review.  Here are my comments:

I suspect that should be i;ascii-casemap instead of en;ascii-casemap.

I would like to request the addition of i;unicode-casemap to COMPARATOR, 
with the following description:

    The "i;unicode-casemap" collation is a simple collation which operates
    on octet strings and attempts to Unicode characters case-insensitively.
    It provides equality, substring and ordering operations.  All input is
    valid.

    Its equality, ordering and substring operations are as for i;octet,
    except that first, all pre-composed Unicode characters are fully
    decomposed; and second, all characters which have a title case are
    changed to their title case.

    Care should be taken when using OS-supplied functions to implement
    this collation as it is not locale sensitive.  Functions such as
    strcasecmp and toupper are sometimes locale sensitive and may
    inappropriately map letters.

    The i;unicode-casemap collation is an attempt to produce somewhat
    better case-insensitive collations for non-English languages than
    is possible with i;ascii-casemap.  However, most of the cautions
    about mis-sorting that are described with i;ascii-casemap also
    apply to i;unicode-casemap.

I would then like to make the sort document allow a non-COMPARATOR 
implementation to choose between i;ascii-casemap and i;unicode-casemap.

This would make the sort document correspond with what is actually 
implemented in UW imapd.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGNmFkf040830; Thu, 16 Nov 2006 16:48:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGNmF7w040829; Thu, 16 Nov 2006 16:48:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGNmDI3040822 for <ietf-imapext@IMC.ORG>; Thu, 16 Nov 2006 16:48:14 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGNm7TL021414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 15:48:07 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGNm7m2024579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Nov 2006 15:48:07 -0800
Date: Thu, 16 Nov 2006 15:48:07 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Internet Drafts Submission <Internet-Drafts@IETF.ORG>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: draft-ietf-imapext-sort-18.txt
Message-ID: <alpine.LRH.0.7.0611161547280.17108@shiva2.cac.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.153433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

IMAP Extensions Working Group                                 M. Crispin
INTERNET-DRAFT: IMAP SORT                                   K. Murchison
Document: internet-drafts/draft-ietf-imapext-sort-18.txt   November 2006


      INTERNET MESSAGE ACCESS PROTOCOL - SORT AND THREAD EXTENSIONS

Status of this Memo

    By submitting this Internet-Draft, each author represents that
    any applicable patent or other IPR claims of which he or she is
    aware have been or will be disclosed, and any of which he or she
    becomes aware will be disclosed, in accordance with Section 6 of
    BCP 79.

    Internet-Drafts are working documents of the Internet Engineering
    Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as
    Internet-Drafts.

    Internet-Drafts are draft documents valid for a maximum of six months
    and may be updated, replaced, or obsoleted by other documents at any
    time.  It is inappropriate to use Internet-Drafts as reference
    material or to cite them other than as "work in progress."

    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt

    The list of Internet-Draft Shadow Directories can be accessed at
    http://www.ietf.org/shadow.html.

    A revised version of this document will be submitted to the RFC
    editor as an Informational Document for the Internet Community.

    A revised version of this draft document will be submitted to the RFC
    editor as a Proposed Standard for the Internet Community.  Discussion
    and suggestions for improvement are requested, and should be sent to
    ietf-imapext@IMC.ORG.  This document will expire before 16 May 2007.
    Distribution of this memo is unlimited.


Abstract

    This document describes the base-level server-based sorting and
    threading extensions to the [IMAP] protocol.  These extensions
    provide substantial performance improvements for IMAP clients which
    offer sorted and threaded views.


1. Introduction

    The SORT and THREAD extensions to the [IMAP] protocol provide a means
    of server-based sorting and threading of messages, without requiring
    that the client download the necessary data to do so itself.  This is
    particularly useful for online clients as described in [IMAP-MODELS].

    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 the THREAD 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 server which implements the SORT and/or THREAD extensions SHOULD
    also implement the COMPARATOR extension as described in [IMAP-I18N].


2. Terminology

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
    document are to be interpreted as described in [KEYWORDS].

    The word "can" (not "may") is used to refer to a possible
    circumstance or situation, as opposed to an optional facility of the
    protocol.

    "User" is used to refer to a human user, whereas "client" refers to
    the software being run by the user.

    In examples, "C:" and "S:" indicate lines sent by the client and
    server respectively.


2.1 Base Subject

    Subject sorting and threading use the "base subject," which has
    specific subject artifacts removed.  Due to the complexity of these
    artifacts, the formal syntax for the subject extraction rules is
    ambiguous.  The following procedure is followed to determine the
    "base subject", using the [ABNF] formal syntax rules described in
    section 5:

         (1) Convert any RFC 2047 encoded-words in the subject to
         UTF-8 as described in "internationalization
         considerations."  Convert all tabs and continuations to
         space.  Convert all multiple spaces to a single space.

         (2) Remove all trailing text of the subject that matches
         the subj-trailer ABNF, repeat until no more matches are
         possible.

         (3) Remove all prefix text of the subject that matches the
         subj-leader ABNF.

         (4) If there is prefix text of the subject that matches the
         subj-blob ABNF, and removing that prefix leaves a non-empty
         subj-base, then remove the prefix text.

         (5) Repeat (3) and (4) until no matches remain.

    Note: it is possible to defer step (2) until step (6), but this
    requires checking for subj-trailer in step (4).

         (6) If the resulting text begins with the subj-fwd-hdr ABNF
         and ends with the subj-fwd-trl ABNF, remove the
         subj-fwd-hdr and subj-fwd-trl and repeat from step (2).

         (7) The resulting text is the "base subject" used in the
         SORT.

    All servers and disconnected (as described in [IMAP-MODELS]) clients
    MUST use exactly this algorithm to determine the "base subject".
    Otherwise there is potential for a user to get inconsistent results
    based on whether they are running in connected or disconnected mode.


2.2 Sent Date

    As used in this document, the term "sent date" refers to the date and
    time from the Date: header, adjusted by time zone to normalize to
    UTC.  For example, "31 Dec 2000 16:01:33 -0800" is equivalent to the
    UTC date and time of "1 Jan 2001 00:01:33 +0000".

    If the time zone is invalid, the date and time SHOULD be treated as
    UTC.  If the time is also invalid, the time SHOULD be treated as
    00:00:00.  If there is no valid date or time, the date and time
    SHOULD be treated as 00:00:00 on the earliest possible date.

    This differs from the date-related criteria in the SEARCH command
    (described in [IMAP] section 6.4.4), which use just the date and not
    the time, and are not adjusted by time zone.


3. Additional Commands

    These commands are extension to the [IMAP] base protocol.

    The section headings are intended to correspond with where they would
    be located in the main document if they were part of the base
    specification.

BASE.6.4.SORT. SORT Command

    Arguments:  sort program
                charset specification
                searching criteria (one or more)

    Data:       untagged responses: SORT

    Result:     OK - sort completed
                NO - sort error: can't sort that charset or
                     criteria
                BAD - command unknown or arguments invalid

       The SORT command is a variant of SEARCH with sorting semantics for
       the results.  Sort has two arguments before the searching criteria
       argument; a parenthesized list of sort criteria, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID SORT command which returns unique identifiers
       instead of message sequence numbers.  Note that there are separate
       searching criteria for message sequence numbers and UIDs; thus the
       arguments to UID SORT are interpreted the same as in SORT.  This
       is analogous to the behavior of UID SEARCH, as opposed to UID
       COPY, UID FETCH, or UID STORE.

       The SORT command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged SORT response, sorted
       according to one or more sort criteria.

       Sorting is in ascending order.  Earlier dates sort before later
       dates; smaller sizes sort before larger sizes; and strings are
       sorted according to ascending values established by their
       collation algorithm (see under "Internationalization
       Considerations").

       If two or more messages exactly match according to the sorting
       criteria, these messages are sorted according to the order in
       which they appear in the mailbox.  In other words, there is an
       implicit sort criterion of "sequence number".

       When multiple sort criteria are specified, the result is sorted in
       the priority order that the criteria appear.  For example,
       (SUBJECT DATE) will sort messages in order by their base subject
       text; and for messages with the same base subject text will sort
       by their sent date.

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a SORT command, but are permitted during a UID SORT
       command.

       The defined sort criteria are as follows.  Refer to the Formal
       Syntax section for the precise syntactic definitions of the
       arguments.  If the associated RFC-822 header for a particular
       criterion is absent, it is treated as the empty string.  The empty
       string always collates before non-empty strings.

       ARRIVAL
          Internal date and time of the message.  This differs from the
          ON criteria in SEARCH, which uses just the internal date.

       CC
          [IMAP] addr-mailbox of the first "cc" address.

       DATE
          Sent date and time from the Date: header, adjusted by time
          zone.  This differs from the SENTON criteria in SEARCH, which
          uses just the date and not the time, nor adjusts by time zone.

       FROM
          [IMAP] addr-mailbox of the first "From" address.

       REVERSE
          Followed by another sort criterion, has the effect of that
          criterion but in reverse (descending) order.
             Note: REVERSE only reverses a single criterion, and does not
             affect the implicit "sequence number" sort criterion if all
             other criteria are identicial.  Consequently, a sort of
             REVERSE SUBJECT is not the same as a reverse ordering of a
             SUBJECT sort.  This can be avoided by use of additional
             criteria, e.g. SUBJECT DATE vs. REVERSE SUBJECT REVERSE
             DATE.  In general, however, it's better (and faster, if the
             client has a "reverse current ordering" command) to reverse
             the results in the client instead of issuing a new SORT.

       SIZE
          Size of the message in octets.

       SUBJECT
          Base subject text.

       TO
          [IMAP] addr-mailbox of the first "To" address.


    Example:    C: A282 SORT (SUBJECT) UTF-8 SINCE 1-Feb-1994
                S: * SORT 2 84 882
                S: A282 OK SORT completed
                C: A283 SORT (SUBJECT REVERSE DATE) UTF-8 ALL
                S: * SORT 5 3 4 1 2
                S: A283 OK SORT completed
                C: A284 SORT (SUBJECT) US-ASCII TEXT "not in mailbox"
                S: * SORT
                S: A284 OK SORT completed


BASE.6.4.THREAD. THREAD Command

Arguments:  threading algorithm
             charset specification
             searching criteria (one or more)

Data:       untagged responses: THREAD

Result:     OK - thread completed
             NO - thread error: can't thread that charset or
                  criteria
             BAD - command unknown or arguments invalid

       The THREAD command is a variant of SEARCH with threading semantics
       for the results.  Thread has two arguments before the searching
       criteria argument; a threading algorithm, and the searching
       charset.

       The charset argument is mandatory (unlike SEARCH) and indicates
       the [CHARSET] of the strings that appear in the searching
       criteria.  The US-ASCII and UTF-8 charsets MUST be implemented.
       All other charsets are optional.

       There is also a UID THREAD command which returns unique
       identifiers instead of message sequence numbers.  Note that there
       are separate searching criteria for message sequence numbers and
       UIDs; thus the arguments to UID THREAD are interpreted the same as
       in THREAD.  This is analogous to the behavior of UID SEARCH, as
       opposed to UID COPY, UID FETCH, or UID STORE.

       The THREAD command first searches the mailbox for messages that
       match the given searching criteria using the charset argument for
       the interpretation of strings in the searching criteria.  It then
       returns the matching messages in an untagged THREAD response,
       threaded according to the specified threading algorithm.

       All collation is in ascending order.  Earlier dates collate before
       later dates and strings are collated according to ascending values
       established by their collation algorithm (see under
       "Internationalization Considerations").

       Untagged EXPUNGE responses are not permitted while the server is
       responding to a THREAD command, but are permitted during a UID
       THREAD command.

       The defined threading algorithms are as follows:

       ORDEREDSUBJECT

          The ORDEREDSUBJECT threading algorithm is also referred to as
          "poor man's threading."  The searched messages are sorted by
          base subject and then by the sent date.  The messages are then
          split into separate threads, with each thread containing
          messages with the same base subject text.  Finally, the threads
          are sorted by the sent date of the first message in the thread.

          The first message of each thread are siblings of each other
          (the "root").  The second message of a thread is the child of
          the first message, and subsequent messages of the thread are
          siblings of the second message and hence children of the
          message at the root.  Hence, there are no grandchildren in
          ORDEREDSUBJECT threading.

            Note: early drafts of this specification specified
            that each message in an ORDEREDSUBJECT thread is a child
            (as opposed to a sibling) of the previous message.  This
            is now deprecated.  For compatibility with servers which
            may still use the old definition, client implementations
            SHOULD treat descendents of a child as being siblings of
            that child.

            This is because the old definition mistakenly indicated
            that there was a parent/child relationship between
            successive messages in a thread; when in fact there was
            only a chronological relationship.  In clients which
            indicate parent/child relationships in a thread tree,
            this would indicate levels of descent which did not
            exist.


       REFERENCES

          The REFERENCES threading algorithm is based on the [THREADING]
          algorithm written used in "Netscape Mail and News" versions 2.0
          through 3.0.  This algorithm threads the searched messages by
          grouping them together in parent/child relationships based on
          which messages are replies to others.  The parent/child
          relationships are built using two methods: reconstructing a
          message's ancestry using the references contained within it;
          and checking the original (not base) subject of a message to
          see if it is a reply to (or forward of) another message.

             Note: "Message ID" in the following description refers to a
             normalized form of the msg-id in [RFC-2822].  The actual
             text in an RFC 2822 may use quoting, resulting in multiple
             ways of expressing the same Message ID.  Implementations of
             the REFERENCES threading algorithm MUST normalize any msg-id
             in order to avoid false non-matches due to differences in
             quoting.

             For example, the msg-id
                <"01KF8JCEOCBS0045PS"@xxx.yyy.com>
             and the msg-id
                <01KF8JCEOCBS0045PS@xxx.yyy.com>
             MUST be interpreted as being the same Message ID.

          The references used for reconstructing a message's ancestry are
          found using the following rules:

             If a message contains a References header line, then use the
             Message IDs in the References header line as the references.

             If a message does not contain a References header line, or
             the References header line does not contain any valid
             Message IDs, then use the first (if any) valid Message ID
             found in the In-Reply-To header line as the only reference
             (parent) for this message.

                Note: Although [RFC-2822] permits multiple Message IDs in
                the In-Reply-To header, in actual practice this
                discipline has not been followed.  For example,
                In-Reply-To headers have been observed with message
                addresses after the Message ID, and there are no good
                heuristics for software to determine the difference.
                This is not a problem with the References header however.

             If a message does not contain an In-Reply-To header line, or
             the In-Reply-To header line does not contain a valid Message
             ID, then the message does not have any references (NIL).

          A message is considered to be a reply or forward if the base
          subject extraction rules, applied to the original subject,
          remove any of the following: a subj-refwd, a "(fwd)"
          subj-trailer, or a subj-fwd-hdr and subj-fwd-trl.

          The REFERENCES algorithm is significantly more complex than
          ORDEREDSUBJECT and consists of six main steps.  These steps are
          outlined in detail below.

          (1) For each searched message:

             (A) Using the Message IDs in the message's references, link
             the corresponding messages (those whose Message-ID header
             line contains the given reference Message ID) together as
             parent/child.  Make the first reference the parent of the
             second (and the second a child of the first), the second the
             parent of the third (and the third a child of the second),
             etc.  The following rules govern the creation of these
             links:

                If a message does not contain a Message-ID header line,
                or the Message-ID header line does not contain a valid
                Message ID, then assign a unique Message ID to this
                message.

                If two or more messages have the same Message ID, then
                only use that Message ID in the first (lowest sequence
                number) message, and assign a unique Message ID to each
                of the subsequent messages with a duplicate of that
                Message ID.

                If no message can be found with a given Message ID,
                create a dummy message with this ID.  Use this dummy
                message for all subsequent references to this ID.

                If a message already has a parent, don't change the
                existing link.  This is done because the References
                header line may have been truncated by a MUA.  As a
                result, there is no guarantee that the messages
                corresponding to adjacent Message IDs in the References
                header line are parent and child.

                Do not create a parent/child link if creating that link
                would introduce a loop.  For example, before making
                message A the parent of B, make sure that A is not a
                descendent of B.

                   Note: Message ID comparisons are case-sensitive.

             (B) Create a parent/child link between the last reference
             (or NIL if there are no references) and the current message.
             If the current message already has a parent, it is probably
             the result of a truncated References header line, so break
             the current parent/child link before creating the new
             correct one.  As in step 1.A, do not create the parent/child
             link if creating that link would introduce a loop.  Note
             that if this message has no references, that it will now
             have no parent.

                Note: The parent/child links created in steps 1.A and 1.B
                MUST be kept consistent with one another at ALL times.

          (2) Gather together all of the messages that have no parents
          and make them all children (siblings of one another) of a dummy
          parent (the "root").  These messages constitute the first
          (head) message of the threads created thus far.

          (3) Prune dummy messages from the thread tree.  Traverse each
          thread under the root, and for each message:

             If it is a dummy message with NO children, delete it.

             If it is a dummy message with children, delete it, but
             promote its children to the current level.  In other words,
             splice them in with the dummy's siblings.

             Do not promote the children if doing so would make them
             children of the root, unless there is only one child.

          (4) Sort the messages under the root (top-level siblings only)
          by sent date.  In the case of an exact match on sent date or if
          either of the Date: headers used in a comparison can not be
          parsed, use the order in which the messages appear in the
          mailbox (that is, by sequence number) to determine the order.
          In the case of a dummy message, sort its children by sent date
          and then use the first child for the top-level sort.

          (5) Gather together messages under the root that have the same
          base subject text.

             (A) Create a table for associating base subjects with
             messages, called the subject table.

             (B) Populate the subject table with one message per each
             base subject.  For each child of the root:

                (i) Find the subject of this thread, by using the base
                subject from either the current message or its first
                child if the current message is a dummy.  This is the
                thread subject.

                (ii) If the thread subject is empty, skip this message.

                (iii) Look up the message associated with the thread
                subject in the subject table.

                (iv) If there is no message in the subject table with the
                thread subject, add the current message and the thread
                subject to the subject table.

                Otherwise, if the message in the subject table is not a
                dummy, AND either of the following criteria are true:

                   The current message is a dummy, OR

                   The message in the subject table is a reply or forward
                   and the current message is not.

             then replace the message in the subject table with the
             current message.

             (C) Merge threads with the same thread subject.  For each
             child of the root:

                (i) Find the message's thread subject as in step 5.B.i
                above.

                (ii) If the thread subject is empty, skip this message.

                (iii) Lookup the message associated with this thread
                subject in the subject table.

                (iv) If the message in the subject table is the current
                message, skip this message.

                Otherwise, merge the current message with the one in the
                subject table using the following rules:

                   If both messages are dummies, append the current
                   message's children to the children of the message in
                   the subject table (the children of both messages
                   become siblings), and then delete the current message.

                   If the message in the subject table is a dummy and the
                   current message is not, make the current message a
                   child of the message in the subject table (a sibling
                   of its children).

                   If the current message is a reply or forward and the
                   message in the subject table is not, make the current
                   message a child of the message in the subject table (a
                   sibling of its children).

                   Otherwise, create a new dummy message and make both
                   the current message and the message in the subject
                   table children of the dummy.  Then replace the message
                   in the subject table with the dummy message.

                      Note: Subject comparisons are case-insensitive, as
                      described under "Internationalization
                      Considerations."

          (6) Traverse the messages under the root and sort each set of
          siblings by sent date.  Traverse the messages in such a way
          that the "youngest" set of siblings are sorted first, and the
          "oldest" set of siblings are sorted last (grandchildren are
          sorted before children, etc).  In the case of an exact match on
          sent date or if either of the Date: headers used in a
          comparison can not be parsed, use the order in which the
          messages appear in the mailbox (that is, by sequence number) to
          determine the order.  In the case of a dummy message (which can
          only occur with top-level siblings), use its first child for
          sorting.


    Example:    C: A283 THREAD ORDEREDSUBJECT UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)(170)(171)
                   (173)(174 (175)(176)(178)(181)(180))(179)(177
                   (183)(182)(188)(184)(185)(186)(187)(189))(190)
                   (191)(192)(193)(194 195)(196 (197)(198))(199)
                   (200 202)(201)(203)(204)(205)(206 207)(208)
                S: A283 OK THREAD completed
                C: A284 THREAD ORDEREDSUBJECT US-ASCII TEXT "gewp"
                S: * THREAD
                S: A284 OK THREAD completed
                C: A285 THREAD REFERENCES UTF-8 SINCE 5-MAR-2000
                S: * THREAD (166)(167)(168)(169)(172)((170)(179))
                   (171)(173)((174)(175)(176)(178)(181)(180))
                   ((177)(183)(182)(188 (184)(189))(185 186)(187))
                   (190)(191)(192)(193)((194)(195 196))(197 198)
                   (199)(200 202)(201)(203)(204)(205 206 207)(208)
                S: A285 OK THREAD completed


         Note: The line breaks in the first and third server
         responses are for editorial clarity and do not appear in
         real THREAD responses.


4. Additional Responses

    These responses are extensions to the [IMAP] base protocol.

    The section headings of these responses are intended to correspond
    with where they would be located in the main document.

BASE.7.2.SORT. SORT Response

    Data:       zero or more numbers

       The SORT response occurs as a result of a SORT or UID SORT
       command.  The number(s) refer to those messages that match the
       search criteria.  For SORT, these are message sequence numbers;
       for UID SORT, these are unique identifiers.  Each number is
       delimited by a space.

    Example:    S: * SORT 2 3 6


BASE.7.2.THREAD. THREAD Response

    Data:       zero or more threads

       The THREAD response occurs as a result of a THREAD or UID THREAD
       command.  It contains zero or more threads.  A thread consists of
       a parenthesized list of thread members.

       Thread members consist of zero or more message numbers, delimited
       by spaces, indicating successive parent and child.  This continues
       until the thread splits into multiple sub-threads, at which point
       the thread nests into multiple sub-threads with the first member
       of each subthread being siblings at this level.  There is no limit
       to the nesting of threads.

       The messages numbers refer to those messages that match the search
       criteria.  For THREAD, these are message sequence numbers; for UID
       THREAD, these are unique identifiers.

    Example:    S: * THREAD (2)(3 6 (4 23)(44 7 96))

       The first thread consists only of message 2.  The second thread
       consists of the messages 3 (parent) and 6 (child), after which it
       splits into two subthreads; the first of which contains messages 4
       (child of 6, sibling of 44) and 23 (child of 4), and the second of
       which contains messages 44 (child of 6, sibling of 4), 7 (child of
       44), and 96 (child of 7).  Since some later messages are parents
       of earlier messages, the messages were probably moved from some
       other mailbox at different times.

       -- 2

       -- 3
          \-- 6
              |-- 4
              |   \-- 23
              |
              \-- 44
                   \-- 7
                       \-- 96

    Example:    S: * THREAD ((3)(5))

       In this example, 3 and 5 are siblings of a parent which does not
       match the search criteria (and/or does not exist in the mailbox);
       however they are members of the same thread.


5. Formal Syntax of SORT and THREAD Commands and Responses

    The following syntax specification uses the Augmented Backus-Naur
    Form (ABNF) notation as specified in [ABNF].  It also uses [ABNF]
    rules defined in [IMAP].

sort            = ["UID" SP] "SORT" SP sort-criteria SP search-criteria

sort-criteria   = "(" sort-criterion *(SP sort-criterion) ")"

sort-criterion  = ["REVERSE" SP] sort-key

sort-key        = "ARRIVAL" / "CC" / "DATE" / "FROM" / "SIZE" /
                   "SUBJECT" / "TO"

thread          = ["UID" SP] "THREAD" SP thread-alg SP search-criteria

thread-alg      = "ORDEREDSUBJECT" / "REFERENCES" / thread-alg-ext

thread-alg-ext  = atom
                     ; New algorithms MUST be registered with IANA

search-criteria = charset 1*(SP search-key)

charset         = atom / quoted
                     ; CHARSET values MUST be registered with IANA

sort-data       = "SORT" *(SP nz-number)

thread-data     = "THREAD" [SP 1*thread-list]

thread-list     = "(" (thread-members / thread-nested) ")"

thread-members  = nz-number *(SP nz-number) [SP thread-nested]

thread-nested   = 2*thread-list


    The following syntax describes base subject extraction rules (2)-(6):

subject         = *subj-leader [subj-middle] *subj-trailer

subj-refwd      = ("re" / ("fw" ["d"])) *WSP [subj-blob] ":"

subj-blob       = "[" *BLOBCHAR "]" *WSP

subj-fwd        = subj-fwd-hdr subject subj-fwd-trl

subj-fwd-hdr    = "[fwd:"

subj-fwd-trl    = "]"

subj-leader     = (*subj-blob subj-refwd) / WSP

subj-middle     = *subj-blob (subj-base / subj-fwd)
                     ; last subj-blob is subj-base if subj-base would
                     ; otherwise be empty

subj-trailer    = "(fwd)" / WSP

subj-base       = NONWSP *(*WSP NONWSP)
                     ; can be a subj-blob

BLOBCHAR        = %x01-5a / %x5c / %x5e-ff
                     ; any CHAR8 except '[' and ']'

NONWSP          = %x01-08 / %x0a-1f / %x21-ff
                     ; any CHAR8 other than WSP


6. Security Considerations

    The SORT and THREAD extensions do not raise any security
    considerations that are not present in the base [IMAP] protocol, and
    these issues are discussed in [IMAP].  Nevertheless, it is important
    to remember that [IMAP] protocol transactions, including message
    data, are sent in the clear over the network unless protection from
    snooping is negotiated, either by the use of STARTTLS, privacy
    protection is negotiated in the AUTHENTICATE command, or some other
    protection mechanism is in effect.


7. Internationalization Considerations

    As described in [IMAP-I18N], strings in charsets other than US-ASCII
    and UTF-8 MUST be converted to UTF-8 and compared in ascending order
    according to the selected or active collation algorithm.  If the
    server does not support the [IMAP-I18N] COMPARATOR extension, the
    collation algorithm used is the "en;ascii-casemap" collation
    described in [COMPARATOR].

    Translations of the "re" or "fw"/"fwd" tokens are not specified for
    removal in the base subject extraction process.  An attempt to add
    such translated tokens would result in a geometrically complex, and
    ultimately unimplementable, task.

    Instead, note that [RFC-2822] section 3.6.5 recommends that "re:"
    (from the Latin "res", in the matter of) be used to identify a reply.
    Although it is evident that, from the multiple forms of token to
    identify a forwarded message, there is considerable variation found
    in the wild, the variations are (still) manageable.  Consequently, it
    is suggested that "re:" and one of the variations of the tokens for
    forward supported by the base subject extraction rules be adopted for
    Internet mail messages, since doing so makes it a simple display time
    task to localize the token language for the user.


8. IANA Considerations

    [IMAP] capabilities are registered by publishing a standards track or
    IESG approved experimental RFC.  This document constitutes
    registration of the SORT and THREAD capabilities in the [IMAP]
    capabilities registry.

    This document creates a new [IMAP] threading algorithms registry,
    which registers threading algorithms by publishing a standards track
    or IESG approved experimental RFC.  This document constitutes
    registration of the ORDEREDSUBJECT and REFERENCES algorithms in that
    registry.


9. Normative References

    The following documents are normative to this document:

    [ABNF]                Crocker, D. and Overell, P. "Augmented BNF
                          for Syntax Specifications: ABNF", RFC 4234
                          October 2005.

    [CHARSET]             Freed, N. and J. Postel, "IANA Character Set
                          Registration Procedures", RFC 2978, October
                          2000.

    [COMPARATOR]          Newman, C. "Internet Appplication Protocol
                          Collation Registry", Work in Progress.

    [IMAP]                Crispin, M. "Internet Message Access Protocol -
                          Version 4rev1", RFC 3501, March 2003.

    [IMAP-I18N]           Newman, C. "Internet Message Access Protocol
                          Internationalization", Work in Progress.

    [KEYWORDS]            Bradner, S. "Key words for use in RFCs to
                          Indicate Requirement Levels", BCP 14, RFC 2119,
                          March 1997.

    [RFC-2822]            Resnick, P. "Internet Message Format", RFC
                          2822, April 2001.


10. Informative References

    The following documents are informative to this document:

    [IMAP-MODELS]         Crispin, M. "Distributed Electronic Mail Models
                          in IMAP4", RFC 1733, December 1994.

    [THREADING]           Zawinski, J. "Message Threading",
                          http://www.jwz.org/doc/threading.html,
                          1997-2002.

Appendices

Author's Address

    Mark R. Crispin
    Networks and Distributed Computing
    University of Washington
    4545 15th Avenue NE
    Seattle, WA  98105-4527

    Phone: +1 (206) 543-5762

    EMail: MRC@CAC.Washington.EDU


    Kenneth Murchison
    Carnegie Mellon University
    5000 Forbes Avenue
    Cyert Hall 285
    Pittsburgh, PA  15213

    Phone: +1 (412) 268-2638
    Email: murch@andrew.cmu.edu


Full Copyright Statement

    Copyright (C) The Internet Society (2006).

    This document is subject to the rights, licenses and restrictions
    contained in BCP 78, and except as set forth therein, the authors
    retain all their rights.

    This document and the information contained herein are provided on an
    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
    OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
    ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

    The IETF takes no position regarding the validity or scope of any
    Intellectual Property Rights or other rights that might be claimed to
    pertain to the implementation or use of the technology described in
    this document or the extent to which any license under such rights
    might or might not be available; nor does it represent that it has
    made any independent effort to identify any such rights.  Information
    on the procedures with respect to rights in RFC documents can be
    found in BCP 78 and BCP 79.

    Copies of IPR disclosures made to the IETF Secretariat and any
    assurances of licenses to be made available, or the result of an
    attempt made to obtain a general license or permission for the use of
    such proprietary rights by implementers or users of this
    specification can be obtained from the IETF on-line IPR repository at
    http://www.ietf.org/ipr.

    The IETF invites any interested party to bring to its attention any
    copyrights, patents or patent applications, or other proprietary
    rights that may cover technology that may be required to implement
    this standard.  Please address the information to the IETF at ietf-
    ipr@ietf.org.

Acknowledgement

    Funding for the RFC Editor function is currently provided by the
    Internet Society.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGK32gL009308; Thu, 16 Nov 2006 13:03:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGK321X009307; Thu, 16 Nov 2006 13:03:02 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGK2xoU009290 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 13:03:02 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAGK2lqb028113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 12:02:50 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAGK2lqb028113
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163707371; bh=+LgpT560RWH+Jo/PgpHvhsz+/6Q=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=Z09O9wxA1lakY/D6 WMQM8u3gmJ9lfya4b77OhqaZNVO1yx93LAWc7nAtbpzEp/x84MMGt5vakrQ7aahUXVI tY8DXrAksLJABUJj8HntyCkrh1f0PQ6XdZADaxttQUqypgZwrkecbaF0CmFYIkqzdUg xPNA7JRxFXk0JSC9GXMlk=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAGK2lqb028113
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=WxuGmGjbYaShzb7pzyALqueJB6NMKkn9Rd4I5stJ/ghrLaJZv81qR9xrvPnQcjw6K xzwUNj2yyFeJ38DABZuR9IPS2M6mK4sABfLTINM7YflJGVTrGRBA3f8YbVcBRTPoJg7 8tM463lw/0jYfdU63EsGjCQvM+lCkctqOPSZTLI=
Date: Thu, 16 Nov 2006 13:02:47 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Cyrus Daboo <cyrus@daboo.name>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
In-Reply-To: <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
Message-ID: <Pine.BSO.4.64.0611161247570.29115@vanye.mho.net>
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local> <455C7C1D.9020902@andrew.cmu.edu> <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 16 Nov 2006, Cyrus Daboo wrote:
...
> All I can come up with is: I might want SEARCH on Priority using 
> i;ascii-numeric as the active collation,

No you don't: it's an error to use "i;ascii-numeric" with SEARCH, because 
that collation doesn't support substring matching!


> but that would be inappropriate for the ordering or grouping operations 
> in either SORT or THREAD.

Several of the SORT keys have an implied collation that it does not make 
sense to change: ARRIVAL, DATE, SIZE, MODSEQ.  So, any change in sort 
collation would only be for the address and textual keys: TO, CC, FROM, 
SUBJECT.


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIXiC7096682; Thu, 16 Nov 2006 11:33:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGIXi7L096681; Thu, 16 Nov 2006 11:33:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIXgoB096675 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:33:43 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGIXbmh029954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Nov 2006 10:33:37 -0800
X-Auth-Received: from shiva1.cac.washington.edu (shiva1.cac.washington.edu [140.142.37.171]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGIXbNY024110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Nov 2006 10:33:37 -0800
Date: Thu, 16 Nov 2006 10:33:37 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: Cyrus Daboo <cyrus@daboo.name>, Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
In-Reply-To: <455CABAB.4050007@andrew.cmu.edu>
Message-ID: <alpine.LRH.0.7.0611161027070.16646@shiva1.cac.washington.edu>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <455CABAB.4050007@andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.102432
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I think that the only way out of this problem is for SETMETADATA to behave 
like STORE; that is, it becomes an always-succeed command that returns 
status of what it does.

Originally COPY was to have been this way (hence the untagged COPY 
response in IMAP2) but this turned out to be a performance issue and it 
wasn't really clear what a client was to do if with those results.  Atomic 
behavior for COPY seemed to be much more the right thing.

STORE, on the other hand, resolved the performance issue with the silent 
"don't care" option.

Perhaps if SETMETADATA only returned the failure cases it would be good 
enough.  It should also be permissible for a server to prohibit certain 
wildcards for policy reasons, e.g., "/*" in a UNIX filesystem server.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIJUbV094535; Thu, 16 Nov 2006 11:19:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGIJUo4094534; Thu, 16 Nov 2006 11:19:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGIJT9E094527 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:19:30 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGIJNlD006703 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 13:19:24 -0500
Message-ID: <455CABAB.4050007@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 13:19:23 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:
> 
> Hi Alexey,
> Thanks for your comments.
> 
> --On November 9, 2006 6:42:11 PM -0800 Alexey Melnikov 
> <alexey.melnikov@isode.com> wrote:

>> 3). Section 4.4. (SETMETADATA Command) says:
>>
>>  >   If the server is unable to set the annotations for one or more
>>  >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
>>  >   command MUST fail and there MUST NOT be any changes to any of the
>>  >   matching mailboxes, even those for which annotations could have been
>>  >   changed successfully.
>>
>> I don't like that. Atomic metadata change across multiple mailboxes can
>> be a problem for servers. It would be way to easy to deny service this
>> way and it would be quite difficult to implement atomicity, unless one
>> uses a SQL backend.
>>
> 
> I would like to hear from other server implementers as to whether they 
> feel this restriction is too harsh as well. One issue with making it 
> non-atomic is handling error results. Should LISTEXT return the items 
> that failed to be set?

I don't necessarily have a problem with atomicity because my 
implementation uses a txn protected database for METADATA, but I 
wouldn't be opposed to removing this restriction.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGI2Q3N092389; Thu, 16 Nov 2006 11:02:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGI2Q22092387; Thu, 16 Nov 2006 11:02:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGI2Ldi092376 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:02:26 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVynrABfY5va@rufus.isode.com>; Thu, 16 Nov 2006 18:02:20 +0000
Message-ID: <455CA7AB.20503@isode.com>
Date: Thu, 16 Nov 2006 18:02:19 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Cyrus,

Cyrus Daboo wrote:

>> 3). Section 4.4. (SETMETADATA Command) says:
>>
>>  >   If the server is unable to set the annotations for one or more
>>  >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
>>  >   command MUST fail and there MUST NOT be any changes to any of the
>>  >   matching mailboxes, even those for which annotations could have 
>> been
>>  >   changed successfully.
>>
>> I don't like that. Atomic metadata change across multiple mailboxes can
>> be a problem for servers. It would be way to easy to deny service this
>> way and it would be quite difficult to implement atomicity, unless one
>> uses a SQL backend.
>
> I would like to hear from other server implementers as to whether they 
> feel this restriction is too harsh as well.

Think about "*" with 10,000 shared mailboxes. Clients will end up doing 
this, guarantied!

> One issue with making it non-atomic is handling error results. Should 
> LISTEXT return the items that failed to be set?

We can add a new response or a new item for the extended LIST.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHmMI0090349; Thu, 16 Nov 2006 10:48:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGHmMiR090348; Thu, 16 Nov 2006 10:48:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHmKdg090341 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 10:48:21 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGHmFK4029741 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 12:48:15 -0500
Message-ID: <455CA45E.8040806@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 12:48:14 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local> <455C7C1D.9020902@andrew.cmu.edu> <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
In-Reply-To: <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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:

> If we want to have separate collations for these steps then I think 
> adding a parameter to SORT/THREAD would be better.

Agreed.


> However, there needs to be a convincing argument for this.
> 
> All I can come up with is: I might want SEARCH on Priority using 
> i;ascii-numeric as the active collation, but that would be inappropriate 
> for the ordering or grouping operations in either SORT or THREAD.


Hmm.  Similarly, is it possible that a client might want to SORT on 
MODSEQ using i;ascii-numeric without changing the underlying comparator 
used for text collation?

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHChsw085899; Thu, 16 Nov 2006 10:12:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGHCheJ085898; Thu, 16 Nov 2006 10:12:43 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGHCgmK085892 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 10:12:43 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAGHCYK0006308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 12:12:37 -0500
Date: Thu, 16 Nov 2006 12:12:29 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
Message-ID: <B639A51A2BE13F6AB3A441F4@Cyrus-Daboo-G5.local>
In-Reply-To: <455C7C1D.9020902@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local> <455C7C1D.9020902@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 16, 2006 9:56:29 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

>> So, SORT/THREAD use a minimum of two collations, and upto three in the
>> case of ORDEREDSUBJECT. The question is whether these will ever need to
>> be specified separately. I think it may be prudent to at least define
>> two COMPARATORs, not one. One would be the active collation for
>> comparisons, the other the active collation for ordering operations.
>
> I can see arguments for using one collation throughout, or having two
> separate collations.  I don't have a string opinion either way.
>
> Cyrus, do you have a suggestion for how a second comparator would be
> selected?  Would this be an addition to COMPARATOR or an addition to
> SORT/THREAD?
>

Well, are there other places where we might do sorting? One possibility 
might have been LIST-EXTENDED, but as we know LIST responses are not 
ordered. I know at some point there had been discussion of a sort order 
preserving COPY operation.

If we want to have separate collations for these steps then I think adding 
a parameter to SORT/THREAD would be better. Note that METADATA is going to 
do that for the METADATA select option in LIST-EXTENDED. However, there 
needs to be a convincing argument for this.

All I can come up with is: I might want SEARCH on Priority using 
i;ascii-numeric as the active collation, but that would be inappropriate 
for the ordering or grouping operations in either SORT or THREAD.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGH7e9j084936; Thu, 16 Nov 2006 10:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGH7eUd084935; Thu, 16 Nov 2006 10:07:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGH7dl4084929 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 10:07:40 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAGH7RNS006289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 12:07:29 -0500
Date: Thu, 16 Nov 2006 12:07:21 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Mark Crispin <mrc@CAC.Washington.EDU>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
Message-ID: <D18DCCAE9500F943C6AE556E@Cyrus-Daboo-G5.local>
In-Reply-To: <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Mark,

--On November 15, 2006 1:23:10 PM -0800 Mark Crispin 
<mrc@CAC.Washington.EDU> wrote:

>> - In Section 1 it states that the server SHOULD support COMPARATOR if
>> the  SORT extension is defined, but it does not explicitly state the
>> same for  the THREAD extension. Since THREAD uses SEARCH and has a
>> subject matching  step, I think it should also say SHOULD support
>> COMPARATOR.
>
> Would it be alright if this was simply generalized to "SORT and/or THREAD
> extension"?

Yes.

>> - In Section 2.1 it states that the 'base subject' algorithm must be
>> used  when 'sorting by subject'. It does not explicitly state that it
>> also needs  to be used when doing THREAD=ORDEREDSUBJECT and
>> THREAD=REFERENCES - it  should.
>
> Would it be alright if this was generalized to "sorting or threading by
> subject" (without having to specifically list threading algorithms)?

Yes.

>> - Currently the (expired) COMPARATOR extension states it applies to
>> THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later includes
>> a  base subject comparison step, so COMPARATOR should be used for that
>> too.
>
> This is an issue in the COMPARATOR document, isn't it?

Yes - sorry should have stipulated that.

>> - Its not clear in either SORT/THREAD or COMPARATOR how the active
>> comparator affects the base subject matching.
>
> Could you elaborate on what you mean by this?  I was under the impression
> that it was clear that base subjects are compared the way anything else
> is compared.
>
>> - Its not clear whether there will be a use case for different
>> comparators  for the different steps in SORT/THREAD. e.g. would someone
>> want to use a  case-sensitive comparator for the SEARCH portion, and
>> then a
>> case-insensitive one for sort collation? What about having the active
>> comparator affect the base subject comparison too?
>
> I hope not.  This strikes me as being horrible over-engineering.

These two issues are being discussed in the 'LANGUAGE/COMPARATOR review' 
thread. I think its an issue for the i18n draft not sort.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGG0nx7074998; Thu, 16 Nov 2006 09:00:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGG0nsj074997; Thu, 16 Nov 2006 09:00:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGG0k2D074988 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 09:00:49 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGG0jZ6024032 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 11:00:46 -0500
Message-ID: <455C8B2C.9070205@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 11:00:44 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: COMPARATOR & ANNOTATE
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 don't see any mention in either draft of the use of the ANNOTATE 
SEARCH/SORT criterion with a comparator.  Shouldn't this be addressed in 
one/both of the drafts?

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFuoqH074392; Thu, 16 Nov 2006 08:56:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGFuopA074391; Thu, 16 Nov 2006 08:56:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFunhH074385 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:56:49 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVyKQABfYz3r@rufus.isode.com>; Thu, 16 Nov 2006 15:56:48 +0000
Message-ID: <455C8A2F.1010509@isode.com>
Date: Thu, 16 Nov 2006 15:56:31 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <455C876D.7020602@isode.com>
In-Reply-To: <455C876D.7020602@isode.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

More comments regarding section 5 (ABNF):

1). Per RFC 3501 errata (and RFC 4466), charset should be changed to:

   charset         = atom / quoted
                     ;; Exact syntax is defined in [CHARSET].

2).

   NONWSP          = %x01-08 / %x0a-1f / %x21-7f
                     ; any CHAR other than WSP

Should this include x80-xFF? Subject can contain UTF-8.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFj3BE072710; Thu, 16 Nov 2006 08:45:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGFj3sB072709; Thu, 16 Nov 2006 08:45:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGFj2m1072702 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:45:03 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVyHfQBfY12U@rufus.isode.com>; Thu, 16 Nov 2006 15:45:01 +0000
Message-ID: <455C876D.7020602@isode.com>
Date: Thu, 16 Nov 2006 15:44:45 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
In-Reply-To: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
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:

> - References - the COMPARATOR and IMAP-I18N references should be 
> update to point to their respective drafts.

Also "RFC 2234" ==> "RFC 4234"



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF6u1N066617; Thu, 16 Nov 2006 08:06:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGF6uvd066616; Thu, 16 Nov 2006 08:06:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF6r2x066603 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:06:54 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGF6jWF005795 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 10:06:46 -0500
Message-ID: <455C7E84.2030502@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 10:06:44 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Mark Crispin <mrc@cac.washington.edu>
CC: Cyrus Daboo <cyrus@daboo.name>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local> <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
In-Reply-To: <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:
> 
> Cyrus -
> 
> On Wed, 15 Nov 2006, Cyrus Daboo wrote:
>> - In Section 1 it states that the server SHOULD support COMPARATOR if 
>> the SORT extension is defined, but it does not explicitly state the 
>> same for the THREAD extension. Since THREAD uses SEARCH and has a 
>> subject matching step, I think it should also say SHOULD support 
>> COMPARATOR.
> 
> Would it be alright if this was simply generalized to "SORT and/or 
> THREAD extension"?

I think so.  I'd also suggest pulling that sentence out of the second 
paragraph, and either appending it to the first paragraph or making it 
new paragraph it at the end of Section 1.


> 
>> - In Section 2.1 it states that the 'base subject' algorithm must be 
>> used when 'sorting by subject'. It does not explicitly state that it 
>> also needs to be used when doing THREAD=ORDEREDSUBJECT and 
>> THREAD=REFERENCES - it should.
> 
> Would it be alright if this was generalized to "sorting or threading by 
> subject" (without having to specifically list threading algorithms)?

Sure.  We could also change the first sentence in 2.1 to match.


>> - Currently the (expired) COMPARATOR extension states it applies to 
>> THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later 
>> includes a base subject comparison step, so COMPARATOR should be used 
>> for that too.
> 
> This is an issue in the COMPARATOR document, isn't it?

Yes.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0m2r065635; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGF0mdO065634; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0krA065617 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:00:47 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id C59E64ACD2; Thu, 16 Nov 2006 16:00:45 +0100 (CET)
Message-Id: <vskXepwcMqcLVhJuZdFRqw.md5@libertango.oryx.com>
Date: Thu, 16 Nov 2006 16:01:30 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu>
In-Reply-To: <455C6C2D.3000004@andrew.cmu.edu>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison writes:
> Mostly nits, but a couple of corrections.
>
> - Conventions and Normative reference [2]: The reference to RFC 2234 
> should be updated to RFC 4234.
>
> - Section 3 and Informative reference [16]: The reference to the 
> "ANNOTATEMORE extension" should be updated to "METADATA extension".

I did those on Tuesday. Didn't quite finish the overhaul yet (catching 
up is hard work...)

> - Section 3.4, first paragraph.  I don't really like the MUST and MUST 
> NOT combination in the two sentences.  Could they be merged into one 
> positive sentence something like the following?
>
>     If the server supports the IMAP4 NAMESPACE command [4], and
>     it is in the authenticated state, the server MUST return an
>     untagged NAMESPACE response when a language is negotiated.

Good suggestion. Will do.

> - Section 4, first paragraph, second sentence:  This should be changed 
> to "The SORT and THREAD extensions [15] to IMAP allow ..."
>
> - Section 4, third paragraph:  Since both of the currently defined 
> THREADing algorithms sort by subject, both instances of "SEARCH and 
> SORT" should be changed to either "SEARCH, SORT, and THREAD" or 
> "SEARCH and SORT/THREAD".
>
> - Section 4, fourth paragraph AND Section 4.1, third paragraph:  The 
> THREAD=REFERENCES algorithm also sorts by subject, so this needs to 
> be accounted for in the text.  It doesn't matter to me whether both 
> THREADing algorithms are listed, or if the text just mentions THREAD 
> in general.

Will do all of this.

> - Section 5.1, second paragraph, second sentence:  "... the current 
> latest ACL drafts." seems redundant.  I think one of either "current" 
> or "latest" would suffice.

Another Tuesday change was to replace it with a reference to the published RFC.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0mai065654; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGF0msA065653; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGF0loo065620 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:00:48 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 80C654ACD3; Thu, 16 Nov 2006 16:00:46 +0100 (CET)
Message-Id: <YSEAKO6GsC59DaPuRkjvkg.md5@libertango.oryx.com>
Date: Thu, 16 Nov 2006 16:01:31 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: LANGUAGE/COMPARATOR review
Cc: Ken Murchison <murch@andrew.cmu.edu>, Cyrus Daboo <cyrus@daboo.name>
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local>
In-Reply-To: <88A2544895E97C8CD9113DC7@ninevah.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> Not quite: THREAD=REFERENCES actually "groups" by subject. i.e. it 
> does a comparison operation  on the subject, not a collation 
> operation.

Equality testing is a collation operation. For example, i;ascii-casemap 
considers a and A equal and i;octet does not.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEudkw065193; Thu, 16 Nov 2006 07:56:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGEudEU065192; Thu, 16 Nov 2006 07:56:39 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEub0d065183 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 07:56:38 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGEuUDM000739 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 16 Nov 2006 09:56:31 -0500
Message-ID: <455C7C1D.9020902@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 09:56:29 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
References: <455C6C2D.3000004@andrew.cmu.edu> <88A2544895E97C8CD9113DC7@ninevah.local>
In-Reply-To: <88A2544895E97C8CD9113DC7@ninevah.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:
> Hi Ken,
> 
> --On November 16, 2006 8:48:29 AM -0500 Ken Murchison 
> <murch@andrew.cmu.edu> wrote:
> 
>> - Section 4, fourth paragraph AND Section 4.1, third paragraph:  The
>> THREAD=REFERENCES algorithm also sorts by subject, so this needs to be
>> accounted for in the text.  It doesn't matter to me whether both
>> THREADing algorithms are listed, or if the text just mentions THREAD in
>> general.
> 
> Not quite: THREAD=REFERENCES actually "groups" by subject. i.e. it does 
> a comparison operation  on the subject, not a collation operation.

True.  Use of "sort" was a poor choice on my part.

> So, SORT/THREAD use a minimum of two collations, and upto three in the 
> case of ORDEREDSUBJECT. The question is whether these will ever need to 
> be specified separately. I think it may be prudent to at least define 
> two COMPARATORs, not one. One would be the active collation for 
> comparisons, the other the active collation for ordering operations.

I can see arguments for using one collation throughout, or having two 
separate collations.  I don't have a string opinion either way.

Cyrus, do you have a suggestion for how a second comparator would be 
selected?  Would this be an addition to COMPARATOR or an addition to 
SORT/THREAD?


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEnnnv063846; Thu, 16 Nov 2006 07:49:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGEnnrF063845; Thu, 16 Nov 2006 07:49:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGEnmfs063838 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 07:49:49 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [10.0.1.2] ([10.0.1.2]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAGEnhbA005827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Nov 2006 09:49:44 -0500
Date: Thu, 16 Nov 2006 09:49:43 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: LANGUAGE/COMPARATOR review
Message-ID: <88A2544895E97C8CD9113DC7@ninevah.local>
In-Reply-To: <455C6C2D.3000004@andrew.cmu.edu>
References: <455C6C2D.3000004@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 16, 2006 8:48:29 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

> - Section 4, fourth paragraph AND Section 4.1, third paragraph:  The
> THREAD=REFERENCES algorithm also sorts by subject, so this needs to be
> accounted for in the text.  It doesn't matter to me whether both
> THREADing algorithms are listed, or if the text just mentions THREAD in
> general.

Not quite: THREAD=REFERENCES actually "groups" by subject. i.e. it does a 
comparison operation  on the subject, not a collation operation.

Here is a summary:

SORT:
    needs a collation for the SEARCH operation
    needs a collation for the ordering operation

THREAD=ORDEREDSUBJECT:
    needs a collation for the SEARCH operation
    needs a collation for the base subject grouping (comparison) operation
    needs a collation for the base subject group ordering operation

THREAD=REFERENCES
    needs a collation for the SEARCH operation
    needs a collation for the base subject grouping (comparison) operation

So, SORT/THREAD use a minimum of two collations, and upto three in the case 
of ORDEREDSUBJECT. The question is whether these will ever need to be 
specified separately. I think it may be prudent to at least define two 
COMPARATORs, not one. One would be the active collation for comparisons, 
the other the active collation for ordering operations. One could argue 
that ORDEREDSUBJECT should use the active ordering collation for both base 
subject comparison and ordering. So we would have:

SORT:
    needs a collation for the SEARCH operation (active collation for 
compare)
    needs a collation for the ordering operation (active collation for 
ordering)

THREAD=ORDEREDSUBJECT:
    needs a collation for the SEARCH operation (active collation for 
compare)
    needs a collation for the base subject grouping operation (active 
collation for ordering)
    needs a collation for the base subject group ordering operation (active 
collation for ordering)

THREAD=REFERENCES
    needs a collation for the SEARCH operation (active collation for 
compare)
    needs a collation for the base subject grouping (comparison) operation 
(active collation for ordering)


-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGDmXim053833; Thu, 16 Nov 2006 06:48:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAGDmXFd053832; Thu, 16 Nov 2006 06:48:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAGDmWas053802 for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 06:48:33 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAGDmUQB012410 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@imc.org>; Thu, 16 Nov 2006 08:48:31 -0500
Message-ID: <455C6C2D.3000004@andrew.cmu.edu>
Date: Thu, 16 Nov 2006 08:48:29 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: LANGUAGE/COMPARATOR review
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mostly nits, but a couple of corrections.


- Conventions and Normative reference [2]: The reference to RFC 2234 
should be updated to RFC 4234.

- Section 3 and Informative reference [16]: The reference to the 
"ANNOTATEMORE extension" should be updated to "METADATA extension".

- Section 3.4, first paragraph.  I don't really like the MUST and MUST 
NOT combination in the two sentences.  Could they be merged into one 
positive sentence something like the following?

     If the server supports the IMAP4 NAMESPACE command [4], and
     it is in the authenticated state, the server MUST return an
     untagged NAMESPACE response when a language is negotiated.


- Section 4, first paragraph, second sentence:  This should be changed 
to "The SORT and THREAD extensions [15] to IMAP allow ..."

- Section 4, third paragraph:  Since both of the currently defined 
THREADing algorithms sort by subject, both instances of "SEARCH and 
SORT" should be changed to either "SEARCH, SORT, and THREAD" or "SEARCH 
and SORT/THREAD".

- Section 4, fourth paragraph AND Section 4.1, third paragraph:  The 
THREAD=REFERENCES algorithm also sorts by subject, so this needs to be 
accounted for in the text.  It doesn't matter to me whether both 
THREADing algorithms are listed, or if the text just mentions THREAD in 
general.

- Section 5.1, second paragraph, second sentence:  "... the current 
latest ACL drafts." seems redundant.  I think one of either "current" or 
"latest" would suffice.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLgqZL013262; Wed, 15 Nov 2006 14:42:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLgqij013261; Wed, 15 Nov 2006 14:42:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLgpEi013246 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:42:52 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 6EBED4ACFE; Wed, 15 Nov 2006 22:42:50 +0100 (CET)
Message-Id: <pWkn4JXLc1nxjIczIXW/5w.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 22:43:31 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: METADATA review
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com> <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com> <455B8879.4060002@isode.com>
In-Reply-To: <455B8879.4060002@isode.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> Arnt Gulbrandsen wrote:
>> (Well, OK, I am dense. And you should expect many readers of the 
>> final RFC to be as dense as I am.)
>
> GETMETADATA is only for server specific attributes.

So I found when I looked again. As I said, I am dense.

22:42. I think I'll take my poor tired brain to the fireplace and look 
at flames for a while.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLcoH4012756; Wed, 15 Nov 2006 14:38:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLcoBM012753; Wed, 15 Nov 2006 14:38:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLcnDn012746 for <ietf-imapext@IMC.ORG>; Wed, 15 Nov 2006 14:38:50 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVuI6ABfY3M-@rufus.isode.com>; Wed, 15 Nov 2006 21:38:49 +0000
Message-ID: <455B88C8.1020302@isode.com>
Date: Wed, 15 Nov 2006 21:38:16 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Crispin <MRC@cac.washington.edu>
CC: IMAP Protocol Interest List <IMAP-Protocol@u.washington.edu>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: [Imap-protocol] ESEARCH extension (RFC 4731)
References: <alpine.WNT.0.1.0611141628430.3324@Tomobiki-Cho.CAC.Washington.EDU>
In-Reply-To: <alpine.WNT.0.1.0611141628430.3324@Tomobiki-Cho.CAC.Washington.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>

Mark Crispin wrote:

> How many client implementations of RFC 4731 are there currently?

"1 is the new 0."
(Where 1 is Polymer, which implements every known IMAP extension in the 
Universe ;-))



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLbV2s012588; Wed, 15 Nov 2006 14:37:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLbVfl012587; Wed, 15 Nov 2006 14:37:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLbUhK012580 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:37:30 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVuImQBfY0Y3@rufus.isode.com>; Wed, 15 Nov 2006 21:37:29 +0000
Message-ID: <455B8879.4060002@isode.com>
Date: Wed, 15 Nov 2006 21:36:57 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: METADATA review
References: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com> <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com>
In-Reply-To: <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Arnt Gulbrandsen writes:
>
>> It would be good to see some advice on when clients should issue LIST 
>> with a return option and when they should issue GETMETADATA. Maybe 
>> I'm dense, but there seems to be a lot of overlap and little to 
>> differentiate the two.
>
> (Well, OK, I am dense. And you should expect many readers of the final 
> RFC to be as dense as I am.)

GETMETADATA is only for server specific attributes.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLUXJF011413; Wed, 15 Nov 2006 14:30:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLUXqL011412; Wed, 15 Nov 2006 14:30:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLUWt5011398 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:30:33 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id D75584ACF7; Wed, 15 Nov 2006 22:30:31 +0100 (CET)
Message-Id: <himKsZT9zBtB25iHe9dq4Q.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 22:31:13 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: METADATA review
Cc: Cyrus Daboo <cyrus@daboo.name>
References: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com>
In-Reply-To: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen writes:
> It would be good to see some advice on when clients should issue LIST 
> with a return option and when they should issue GETMETADATA. Maybe 
> I'm dense, but there seems to be a lot of overlap and little to 
> differentiate the two.

(Well, OK, I am dense. And you should expect many readers of the final 
RFC to be as dense as I am.)

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLQ6Ac010304; Wed, 15 Nov 2006 14:26:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLQ6Za010303; Wed, 15 Nov 2006 14:26:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLQ5hx010295 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:26:05 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 280694ACF7; Wed, 15 Nov 2006 22:26:04 +0100 (CET)
Message-Id: <3pm1s2teKJwLSGAGBPMb8g.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 22:26:45 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: Cyrus Daboo <cyrus@daboo.name>
Subject: METADATA review
Cc: ietf-imapext@imc.org
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

that's a fine document. Not quite ready, but in very fine shape.

In random order:

In section 3.2.1.1 and the accompanying registration, it's not clear to 
me when the stored value is an URI and when it's free-format text. My 
suggestion would be to say that if it's free-format text it cannot 
contain ":".

One example has a value.priv for motd, which seems odd.

The examples should be numbered, so that when J. Random Programmer sends 
you mail, he can say "example 17" instead of "the top example on page 
13" (the latter is not clear anyway, since one example wraps from 12 to 
13). I love the large number of examples.

In 3.1, the first occurence of "the new commands" should be replaced by 
"SETMETADATA" and the second struck.

In 4.3.1 and 4.5, it's not clear to me when servers should send an 
unsolicited LIST response and when it should send a METADATA response. 
It's not even clear whether sending one is enough.

It would be good to see some advice on when clients should issue LIST 
with a return option and when they should issue GETMETADATA. Maybe I'm 
dense, but there seems to be a lot of overlap and little to 
differentiate the two.

In section 6.1, nothing says that when an RFC registers something, the 
registration must contain the RFC number.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLNHMc009674; Wed, 15 Nov 2006 14:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFLNHPA009673; Wed, 15 Nov 2006 14:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFLNGN1009666 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 14:23:17 -0700 (MST) (envelope-from mrc@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAFLNAAK013563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Nov 2006 13:23:10 -0800
X-Auth-Received: from shiva2.cac.washington.edu (shiva2.cac.washington.edu [140.142.37.173]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAFLNAt0012743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 15 Nov 2006 13:23:10 -0800
Date: Wed, 15 Nov 2006 13:23:10 -0800 (PST)
From: Mark Crispin <mrc@CAC.Washington.EDU>
To: Cyrus Daboo <cyrus@daboo.name>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Review of sort
In-Reply-To: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
Message-ID: <alpine.LRH.0.7.0611151318001.29822@shiva2.cac.washington.edu>
References: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.15.130933
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus -

On Wed, 15 Nov 2006, Cyrus Daboo wrote:
> - In Section 1 it states that the server SHOULD support COMPARATOR if the 
> SORT extension is defined, but it does not explicitly state the same for 
> the THREAD extension. Since THREAD uses SEARCH and has a subject matching 
> step, I think it should also say SHOULD support COMPARATOR.

Would it be alright if this was simply generalized to "SORT and/or THREAD 
extension"?

> - In Section 2.1 it states that the 'base subject' algorithm must be used 
> when 'sorting by subject'. It does not explicitly state that it also needs 
> to be used when doing THREAD=ORDEREDSUBJECT and THREAD=REFERENCES - it 
> should.

Would it be alright if this was generalized to "sorting or threading by 
subject" (without having to specifically list threading algorithms)?

> - Currently the (expired) COMPARATOR extension states it applies to 
> THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later includes a 
> base subject comparison step, so COMPARATOR should be used for that too.

This is an issue in the COMPARATOR document, isn't it?

> - Its not clear in either SORT/THREAD or COMPARATOR how the active 
> comparator affects the base subject matching.

Could you elaborate on what you mean by this?  I was under the impression 
that it was clear that base subjects are compared the way anything else is 
compared.

> - Its not clear whether there will be a use case for different comparators 
> for the different steps in SORT/THREAD. e.g. would someone want to use a 
> case-sensitive comparator for the SEARCH portion, and then a 
> case-insensitive one for sort collation? What about having the active 
> comparator affect the base subject comparison too?

I hope not.  This strikes me as being horrible over-engineering.

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG57Pv041122; Wed, 15 Nov 2006 09:05:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFG57pH041121; Wed, 15 Nov 2006 09:05:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG56nn041114 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 09:05:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAFG4vwo032522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Nov 2006 11:05:02 -0500
Date: Wed, 15 Nov 2006 11:04:52 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Expliciut IANA registartion of capability
Message-ID: <9F5DADC0171F3510CC9BA0A3@Cyrus-Daboo-G5.local>
In-Reply-To: <455B3824.3070406@isode.com>
References: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local> <455B3824.3070406@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 15, 2006 3:54:12 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> The following do not:
>>
>> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>
>
> Ah, we forgot about that. I will do that during AUTH48.

Actually IANA has been good about spotting IMAP extensions and updating the 
registry even when not explicitly stated - and in fact LIST-EXTENDED is 
already there, but it won't hurt to amend prior to rfc.

>> <http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.
>> txt>
>>
>
> Fixed in my copy.
>



-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG2w0i040629; Wed, 15 Nov 2006 09:02:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFG2w36040628; Wed, 15 Nov 2006 09:02:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFG2uiK040621 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 09:02:57 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAFG2oYt032517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 11:02:53 -0500
Date: Wed, 15 Nov 2006 11:02:45 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Review of sort
Message-ID: <D3F974D5D4A21A5D08694F92@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,
Following Lisa's request to review the sort draft wrt latest comparator 
updates, some issues:

- In Section 1 it states that the server SHOULD support COMPARATOR if the 
SORT extension is defined, but it does not explicitly state the same for 
the THREAD extension. Since THREAD uses SEARCH and has a subject matching 
step, I think it should also say SHOULD support COMPARATOR.

- In Section 2.1 it states that the 'base subject' algorithm must be used 
when 'sorting by subject'. It does not explicitly state that it also needs 
to be used when doing THREAD=ORDEREDSUBJECT and THREAD=REFERENCES - it 
should.

- References - the COMPARATOR and IMAP-I18N references should be update to 
point to their respective drafts.

Other issues:

- Currently the (expired) COMPARATOR extension states it applies to 
THREAD=ORDEREDSUBJECT but not THREAD=REFERENCES. Yet the later includes a 
base subject comparison step, so COMPARATOR should be used for that too.

- Its not clear in either SORT/THREAD or COMPARATOR how the active 
comparator affects the base subject matching.

- Its not clear whether there will be a use case for different comparators 
for the different steps in SORT/THREAD. e.g. would someone want to use a 
case-sensitive comparator for the SEARCH portion, and then a 
case-insensitive one for sort collation? What about having the active 
comparator affect the base subject comparison too?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFsQeU038195; Wed, 15 Nov 2006 08:54:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFFsQq2038194; Wed, 15 Nov 2006 08:54:26 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFsPrV038186 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 08:54:26 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVs4MABfY3c3@rufus.isode.com>; Wed, 15 Nov 2006 15:54:24 +0000
Message-ID: <455B3824.3070406@isode.com>
Date: Wed, 15 Nov 2006 15:54:12 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Expliciut IANA registartion of capability
References: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
In-Reply-To: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
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:

> The following do not:
>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>

Ah, we forgot about that. I will do that during AUTH48.

> <http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.txt> 
>

Fixed in my copy.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFhMIY034884; Wed, 15 Nov 2006 08:43:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFFhMVF034879; Wed, 15 Nov 2006 08:43:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFhJ5E034858 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 08:43:22 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 14A814AC8C; Wed, 15 Nov 2006 16:43:18 +0100 (CET)
Message-Id: <NOqZKK9hfUZGmgKfhsEmTw.md5@libertango.oryx.com>
Date: Wed, 15 Nov 2006 16:43:58 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Expliciut IANA registartion of capability
Cc: Cyrus Daboo <cyrus@daboo.name>
References: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
In-Reply-To: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> Hi folks,
> The GENART review of annotate brought it to my attention that there 
> was no explicit registration of the ANNOTATE-EXPERIMENT-1 capability. 
> There is text in the body that says the capability string is 
> ANNOTATE-EXPERIMENT-1.
>
> I think it makes sense to require all imap extension drafts to 
> explicitly state the capability registration in their IANA 
> Considerations section.
>
> Looking at current drafts, the following do that:
>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-sort/>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-enable-00.txt>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-inthread-00.txt>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-nostore-00.txt>
> <http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt>
> <http://www.ietf.org/internet-drafts/draft-melnikov-imapext-filters-00.txt>
> <http://www.ietf.org/internet-drafts/draft-melnikov-imapext-multimailbox-search-01.txt>

I'm a good boy ;)

FWIW, I also added a suitable considerations section in SASL-IR, which i 
took over from Rob and submitted earlier today. Review, please. I'll 
ask on the SASL list for review when the draft comes out, and perhaps 
Lisa will issue an IETF LC just before Christmas, to expire just after 
Christmas.

> The following do not:
>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-annotate/>
> <http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>
> <http://www.ietf.org/internet-drafts/draft-cridland-imap-context-00.txt>
> <http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.txt>
> <http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-10.txt>
>
> Also, 
> <http://www.ietf.org/internet-drafts/draft-melnikov-lemonade-imap-events-00.txt> 
> does not define any new capability name, but it does update the 
> behavior of IDLE, so I would like to see it listed in the registry as 
> updating IDLE (i.e. both it and RFC2177 listed).

In that case it should also say "Updates RFC 2177".

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFWvVq031815; Wed, 15 Nov 2006 08:32:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAFFWvW6031814; Wed, 15 Nov 2006 08:32:57 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAFFWtGg031800 for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 08:32:56 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAFFWnU8032384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Wed, 15 Nov 2006 10:32:51 -0500
Date: Wed, 15 Nov 2006 10:32:43 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Expliciut IANA registartion of capability
Message-ID: <44BEC1DCAF2927547FF8C03A@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi folks,
The GENART review of annotate brought it to my attention that there was no 
explicit registration of the ANNOTATE-EXPERIMENT-1 capability. There is 
text in the body that says the capability string is ANNOTATE-EXPERIMENT-1.

I think it makes sense to require all imap extension drafts to explicitly 
state the capability registration in their IANA Considerations section.

Looking at current drafts, the following do that:

<http://tools.ietf.org/wg/imapext/draft-ietf-imapext-sort/>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-enable-00.txt>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-inthread-00.txt>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-nostore-00.txt>
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-imap-notify-01.txt>
<http://www.ietf.org/internet-drafts/draft-melnikov-imapext-filters-00.txt>
<http://www.ietf.org/internet-drafts/draft-melnikov-imapext-multimailbox-search-01.txt>

The following do not:

<http://tools.ietf.org/wg/imapext/draft-ietf-imapext-annotate/>
<http://tools.ietf.org/wg/imapext/draft-ietf-imapext-list-extensions/>
<http://www.ietf.org/internet-drafts/draft-cridland-imap-context-00.txt>
<http://www.ietf.org/internet-drafts/draft-melnikov-imap-postaddress-05.txt>
<http://www.ietf.org/internet-drafts/draft-daboo-imap-annotatemore-10.txt>

Also, 
<http://www.ietf.org/internet-drafts/draft-melnikov-lemonade-imap-events-00.txt> 
does not define any new capability name, but it does update the behavior of 
IDLE, so I would like to see it listed in the registry as updating IDLE 
(i.e. both it and RFC2177 listed).

I will go ahead and fix annotate and metadata.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAF0aUrk081887; Tue, 14 Nov 2006 17:36:31 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAF0aU6V081886; Tue, 14 Nov 2006 17:36:30 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAF0aT5o081875 for <ietf-imapext@IMC.ORG>; Tue, 14 Nov 2006 17:36:30 -0700 (MST) (envelope-from MRC@CAC.Washington.EDU)
Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAF0aSWE008235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Nov 2006 16:36:29 -0800
X-Auth-Received: from Tomobiki-Cho.CAC.Washington.EDU (tomobiki-cho.cac.washington.edu [128.95.135.58]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAF0aSNY011068 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 14 Nov 2006 16:36:28 -0800
Date: Tue, 14 Nov 2006 16:34:24 -0800 (Pacific Standard Time)
From: Mark Crispin <MRC@CAC.Washington.EDU>
To: IMAP Protocol Interest List <IMAP-Protocol@U.Washington.EDU>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: ESEARCH extension (RFC 4731)
Message-ID: <alpine.WNT.0.1.0611141628430.3324@Tomobiki-Cho.CAC.Washington.EDU>
Organization: Networks & Distributed Computing
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.14.162433
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

How many client implementations of RFC 4731 are there currently?

-- Mark --

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



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJOH4n031939; Tue, 14 Nov 2006 12:24:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJOH6a031938; Tue, 14 Nov 2006 12:24:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJOGGZ031931 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:24:17 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVoX3wBg717C@rufus.isode.com>; Tue, 14 Nov 2006 19:24:15 +0000
Message-ID: <455A17CD.404@isode.com>
Date: Tue, 14 Nov 2006 19:23:57 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Philip Guenther <guenther+imap@sendmail.com>
CC: ietf-imapext@imc.org
Subject: Plus addressing and Sieve
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com> <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

[Continuation of this particular topic should go to the Sieve mailing list]

Philip Guenther wrote: 

>> In my implementation POSTADDRESS returns a "plus address". When a 
>> "plus address" is processed on mail delivery, it changes the default 
>> mailbox used by the keep action to the mailbox associated with the 
>> plus address.
>
> Boggle.  So, to keep people from filing messages into random mailboxes 
> (e.g., incriminating evidence into your 'Sent' mailbox), your sieve 
> script has to explicitly check with envelope :detail and use fileinto 
> "INBOX"? That seems non-optimal to me.

IMHO, this seems to be the common case for us. In order to enable use of 
a new plus address, the user only needs to create a new mailbox in IMAP.

Also this demonstrates why we don't create mailboxes automatically.

>   It would also seem to conflict with this text in RFC 3028 and 3028bis:
>
>    For instance, in an implementation where the IMAP server is running
>    scripts on behalf of the user at time of delivery, a keep command is
>    equivalent to a fileinto "INBOX".
>
> Yeah, there's no 2119 keywords in there, still...

One more thing to tweak in 3028bis.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIag3031130; Tue, 14 Nov 2006 12:18:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJIXmm031124; Tue, 14 Nov 2006 12:18:33 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIWCv031113 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:18:33 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVoWhQBg7xav@rufus.isode.com>; Tue, 14 Nov 2006 19:18:29 +0000
Message-ID: <455A1673.6010500@isode.com>
Date: Tue, 14 Nov 2006 19:18:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Ken Murchison <murch@andrew.cmu.edu>
CC: Dave Cridland <dave@cridland.net>, Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <45590E49.8060703@andrew.cmu.edu>
In-Reply-To: <45590E49.8060703@andrew.cmu.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison wrote:

> Dave Cridland wrote:
>
>> On Mon Nov 13 21:55:04 2006, Ken Murchison wrote:
>>
>>> The value is going to be returned via LISTEXT either way, but I 
>>> don't see why we need to add a new LISTEXT return option when we 
>>> already have METADATA, which seems to be a perfect fit.
>>
>> What are LISTEXT return options *for*, then? (Other than to support 
>> METADATA).
>
> I agree with this in principal, but ...
>
>> LISTEXT itself is designed to be the basis for "new" LISTable data, I 
>> don't see why METADATA should be mandated for everything as well. 
>> Otherwise we've really screwed up with going through LISTEXT, and we 
>> should have incorporated METADATA directly in LISTEXT.
>
> ... do we want to create a new return option for every piece of 
> metadata that we come up with?

No, people should use one or the other. However it is perfectly fine if 
both share the same data store.

>   Cyrus IMAP uses several vendor-specific mailbox annotations, should 
> we create return options for them?

If they are read-write, then metadata is a much better fit for them.

For things that are generated on the fly, it would be better to use 
LISTEXT. IMHO, LISTEXT would be better for things like sum of messages, 
and other STATUS-like data.

Things that are generated once on first access and then stored, METADATA 
is Ok. However this is getting into the grey area between METADATA and 
LISTEXT. Purely read-only things are also in the grey area.

And remember about difficulty of implementing METADATA on servers. 
LISTEXT might be already difficult to implement, but unlike METADATA it 
doesn't require any additional attribute storage facilities from the 
mailstore.

(I might be repeating myself at this point)

> I wouldn't have a stroke if the WG decided to make POSTADDRESS a 
> return option, but I think METADATA is a better fit.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIamJ031127; Tue, 14 Nov 2006 12:18:36 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJIYWI031125; Tue, 14 Nov 2006 12:18:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJIS4g031105 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:18:32 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 1B1514ACBB; Tue, 14 Nov 2006 20:18:27 +0100 (CET)
Message-Id: <oLFxyP472jLS2hrw7tZ2nw.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 20:19:02 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Cc: Philip Guenther <guenther+imap@sendmail.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net> <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local> <Pine.BSO.4.64.0611141158360.21694@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611141158360.21694@vanye.mho.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther writes:
> Well, I think that's what Mark Crispin's reference to using titlecase 
> for SEARCH was aiming for: if you convert all text to titlecase for 
> comparison, then your search term has to be a prefix match word-wise.

Assuming the word uses a script which has two (or more) cases and a 
locale where where titlecase uses a mixture. It works for English, but 
not for German, Hebrew or Hindi.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJC7IJ030077; Tue, 14 Nov 2006 12:12:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJC6vn030075; Tue, 14 Nov 2006 12:12:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJC2Pv030067 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:12:04 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id E08C54ACBA; Tue, 14 Nov 2006 20:12:01 +0100 (CET)
Message-Id: <qVPgI42G6i4TGxJs9vKkJg.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 20:12:37 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>, Dave Cridland <dave@cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local> <24923.1163520699.637280@peirce.dave.cridland.net> <455A07BD.8060003@isode.com>
In-Reply-To: <455A07BD.8060003@isode.com>
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> I guess I am not opposed to this change. But I would like other opinions.

IMO, using mailto URIs in this case is compliant with RFC 1925 6(a).

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ5A9G028886; Tue, 14 Nov 2006 12:05:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJ5AK6028885; Tue, 14 Nov 2006 12:05:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ59Kx028878 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:05:10 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kAEJ4vDK018819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 11:05:00 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kAEJ4vDK018819
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163531102; bh=50qjljr29K8QVpzdFQqcXwftNAs=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=d1Aq8EFwz7TgBp4X 5dPSFYjEGT74Rlj7NoqJZmuL66xODsHDCVV4Gi6dY5VA/t6K2vfKzUAcS/e3/hRAv63 sqvlOp1A932ZVwvimzL/OKDnq0iou+UQJpjfsBM8EaeuKfkWGxo6dqEFiy2LGKY1ntj 1T+m8qDkyzaHO9y3683/8=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kAEJ4vDK018819
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=pgt38VcHg+VqQ0K3FO7FUuDjG626l3ETuVhkPtf7+BMFLS/Z9S1a3OrE6IvhB7KTe AJbFFThUFwXomhNOYzY/t10BnZAv6KXWA5mIFKxcXuctKuE0ODynXJ+4QLrhkazOWNk LrWD4PdypGsgSHmhbDjn/x8oWiY45tQ+4DU/5yA=
Date: Tue, 14 Nov 2006 12:04:57 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Cyrus Daboo <cyrus@daboo.name>
cc: ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
In-Reply-To: <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
Message-ID: <Pine.BSO.4.64.0611141158360.21694@vanye.mho.net>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net> <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Tue, 14 Nov 2006, Cyrus Daboo wrote:
> --On November 14, 2006 4:41:32 PM +0000 Dave Cridland <dave@cridland.net> 
> wrote:
...
>> But it won't work, because you're enforcing behaviour that comparators
>> cannot supply. If comparators could do word matching, then they'd be
>> doing it in a localized fashion.
>
> OK - good point. And I guess its not possible to define a comparator that 
> "knows" about words?

Well, I think that's what Mark Crispin's reference to using titlecase for 
SEARCH was aiming for: if you convert all text to titlecase for 
comparison, then your search term has to be a prefix match word-wise. 
That is, searching for "fred" won't match "alfred", but it will match 
"fredrick".


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ2Ncj028624; Tue, 14 Nov 2006 12:02:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEJ2N58028623; Tue, 14 Nov 2006 12:02:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEJ2JIQ028611 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 12:02:22 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id B9C5F4AD10; Tue, 14 Nov 2006 20:02:18 +0100 (CET)
Message-Id: <5WIpFnvGf2ORDy643n7k1w.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 20:02:54 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>, Dave Cridland <dave@cridland.net>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net> <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
In-Reply-To: <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> OK - good point. And I guess its not possible to define a comparator 
> that "knows" about words?

It could be done, for some approximation of "word", but it would be more 
than a little tricky and even I am not fool enough to write such a 
draft.

There are two basic problems. 1: The upcoming collation RFC explicitly 
does not concern itself with data structures other than strings of 
characters/octets. What you want is a collation that operates on a 
sequence of words and separating matter, AKA a list of (character 
string, pre/postfix) tuples. 2: Finding a definition of word equality 
that's both computationally practical and widely usable could be be a 
bit of a challenge. Locale differences aren't the only problem.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEIFiUC022408; Tue, 14 Nov 2006 11:15:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEIFiLM022407; Tue, 14 Nov 2006 11:15:44 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEIFgUx022401 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 11:15:43 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVoHzABg7w9l@rufus.isode.com>; Tue, 14 Nov 2006 18:15:40 +0000
Message-ID: <455A07BD.8060003@isode.com>
Date: Tue, 14 Nov 2006 18:15:25 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
CC: Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local> <24923.1163520699.637280@peirce.dave.cridland.net>
In-Reply-To: <24923.1163520699.637280@peirce.dave.cridland.net>
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>

Dave Cridland wrote:

> On Tue Nov 14 16:00:30 2006, Cyrus Daboo wrote:
>
>> Should the value returned by POSTADDRESS (or METADATA annotation 
>> equivalent) be a mailto URI rather than an email address? One reason 
>> might be to be compatible with any future eai changes (given that eai 
>> would likely revise the mailto URI to include ascii alt addresses 
>> etc) without the need to revise POSTADDRESS to support a new data 
>> format.
>
> Interesting thought, but no. Mailto scheme URIs are instructions for 
> the message composer I feel, whereas we want "a thing which can be 
> used in a RCPT TO command".
>
> Most particularly, "mailto:foo@bar.org" implies that there will be a 
> header "To: foo@bar.org" (IMHO) which we'd never want (IMHO), and 
> there's a whole can of worms waiting to be opened when we start 
> considering query parts of mailto URIs.

True, but URL use differs depending on context.

Don't you want to get "submission via web" for free ;-)?

I guess I am not opposed to this change. But I would like other opinions.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHUD5i014348; Tue, 14 Nov 2006 10:30:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEHUDXh014347; Tue, 14 Nov 2006 10:30:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHUCRO014340 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 10:30:13 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEHU6rQ029343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 12:30:09 -0500
Date: Tue, 14 Nov 2006 12:30:01 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>
cc: Alexey Melnikov <alexey.melnikov@isode.com>, ietf-imapext@imc.org
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Message-ID: <5201288ADF72CFDB1F93F502@Cyrus-Daboo-G5.local>
In-Reply-To: <24923.1163522493.494781@peirce.dave.cridland.net>
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local> <24923.1163522493.494781@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 14, 2006 4:41:32 PM +0000 Dave Cridland <dave@cridland.net> 
wrote:

>> IS - exact match
>> CONTAINS - substring match
>> GT - greater than relational match
>> GE - greater or equal relational match
>> LE - less or equal relational match
>> LT - less than relational match
>> EQ - equal relational match
>> NE - not equal relation match
>
> Why use different terms to those used elsewhere? You might as well copy
> the names from, erm, elsewhere. (EQUAL, COMPARE, COMPARESTRICT,
> SUBSTRING, PREFIX, and NOT, OR, and AND).
>
> Why do you need both GE and LT? You can use COMPARE and COMPARESTRICT,
> and to reverse the ordering use the -ve comparator as, erm, elsewhere
> does.

I have chosen to use the SIEVE terminology here which I feel is 
appropriate. SIEVE relational also defines the full set i.e. GE & LT are 
present.

>
>> WORD - exact match on whole word (a word is a space or comma
>> separated token)
>>
>> Note that the WORD match type is an attempt to address the
>> multi-valued attribute issue.
>>
>>
> But it won't work, because you're enforcing behaviour that comparators
> cannot supply. If comparators could do word matching, then they'd be
> doing it in a localized fashion.

OK - good point. And I guess its not possible to define a comparator that 
"knows" about words?

> I think if we want unordered lists made of up individually searchable
> items, then let's simply copy multivalued attribute behaviour from, erm,
> elsewhere.

Again I think multi-valued attributes would make the protocol even more 
complex.

The alternative is to simply use a "hierarchy" of entries to emulate 
multiple values. e.g., use "/tags" as the root of a hierarchy and then 
define "/tag/1", "/tag/2" etc. Using the wildcard matching allowed for 
entry names it is then possible to find a mailbox with an exact "/tag/.." 
value match. Its a little more work for the client to manage the entry 
hierarchy, but they would have to do some of that work anyway for 
multi-values. This would be my preference to resolve this issue.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHI7qQ011892; Tue, 14 Nov 2006 10:18:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEHI7ld011890; Tue, 14 Nov 2006 10:18:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEHI5hG011876 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 10:18:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEHHxVo029324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 12:18:02 -0500
Date: Tue, 14 Nov 2006 12:17:54 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Ken Murchison <murch@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: METADATA review
Message-ID: <21B32D75AE9D23E4E7D8F3F2@Cyrus-Daboo-G5.local>
In-Reply-To: <4559EC95.80203@andrew.cmu.edu>
References: <4559EC95.80203@andrew.cmu.edu>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Ken,

--On November 14, 2006 11:19:33 AM -0500 Ken Murchison 
<murch@andrew.cmu.edu> wrote:

>
> Mostly nits, but a few corrections.  I might catch more stuff when I
> update my implementation from -07 syntax.
>
>
> - As a general note, "LISTEXT" is now "LIST-EXTENDED" and all instances
> of the former should probably be replaced with the latter.

Fixed.

> - Section 1, bullet 6: "typer" -> "type"

Fixed.

> - Section 3.1, paragraph 1, second sentence:  Since the only command used
> to set annotations is SETANNOTATION, should the two instances of "new
> commands" be changed to "new command"?

Fixed.

> - Section 3.2.1.2: Mailbox entries are also used with the LIST-EXTENDED
> return option.  The sentence should probably mention this.

Fixed.

> - As a general comment regarding examples: Should the text mention that
> spacing and line breaks are added to examples for readability?

Added a comment in the 'Conventions' section.

> - Section 4.2, example 3: parens in response don't match ABNF.
> Replacement text:
>
>     Example:
>
>             C: a GETMETADATA /% value
>             S: * METADATA /comment (value.priv "My comment"
>                                     value.shared "Your comment")
>                           /motd (value.priv "Its sunny outside!"
>                                  value.shared "Today is a Holiday")
>             S: a OK GETMETADATA complete
>
>
> - Section 4.3, example 3: parens in response don't match ABNF.
> Replacement text:
>
>     Example:
>
>             C: a LIST "" "INBOX" RETURN (METADATA /% value)
>             S: * LIST "/" "INBOX"
>                     (METADATA /comment (value.priv "My comment"
>                                         value.shared "Your comment")
>                               /motd (value.priv "Its sunny outside!"
>                                      value.shared "Today is a Holiday"))
>             S: a OK LIST complete

Yup - many of the LIST examples were missing parens - should all be fixed 
now.

Thanks.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGo8Pn006201; Tue, 14 Nov 2006 09:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGo8Qt006200; Tue, 14 Nov 2006 09:50:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGo6P9006184 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:50:07 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnzvQBg77KV@rufus.isode.com>; Tue, 14 Nov 2006 16:50:05 +0000
Message-ID: <4559F3B4.10209@isode.com>
Date: Tue, 14 Nov 2006 16:49:56 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Ken Murchison <murch@andrew.cmu.edu>
CC: ietf-imapext@imc.org
Subject: Re: METADATA review
References: <4559EC95.80203@andrew.cmu.edu>
In-Reply-To: <4559EC95.80203@andrew.cmu.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ken Murchison wrote:

> - Section 4.3, example 3: parens in response don't match ABNF. 
> Replacement text:
>
>    Example:
>
>            C: a LIST "" "INBOX" RETURN (METADATA /% value)

This should be
           C: a LIST "" "INBOX" RETURN (METADATA (/% value))

>            S: * LIST "/" "INBOX"
>                    (METADATA /comment (value.priv "My comment"
>                                        value.shared "Your comment")
>                              /motd (value.priv "Its sunny outside!"
>                                     value.shared "Today is a Holiday"))

Should be:

                   (METADATA (/comment (value.priv "My comment"
                                       value.shared "Your comment")
                             /motd (value.priv "Its sunny outside!"
                                    value.shared "Today is a Holiday")))

>            S: a OK LIST complete

If ABNF doesn't match, it needs to be updated too.





Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGfl6b004510; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGflhD004509; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGfkef004502 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:41:46 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1Gk1M0-0007jh-5F; Tue, 14 Nov 2006 16:41:44 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id D3BD8498005; Tue, 14 Nov 2006 16:53:11 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01703-02; Tue, 14 Nov 2006 16:53:01 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id ADE91498003; Tue, 14 Nov 2006 16:53:01 +0000 (GMT)
Date: Tue, 14 Nov 2006 16:41:32 +0000
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
References: <4553E703.2080307@isode.com> <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Message-Id: <24923.1163522493.494781@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 14 15:07:47 2006, Cyrus Daboo wrote:
> 
> Hi Alexey,
> Thanks for your comments.
> 
> --On November 9, 2006 6:42:11 PM -0800 Alexey Melnikov 
> <alexey.melnikov@isode.com> wrote:
> 
>> Below are some major issues with the document:
>> 
>> 1). ACAP/LDAP both allow for multivalued attributes. The METADATA 
>> doesn't
>> support them.
>> 
>> In Lemonade WG we were talking about mailbox tags, which would be 
>> easy to
>> implement with unordered multivalued attributes, where each value
>> contains one of the predefined tags. This make it easier for 
>> clients to
>> search / update a single value.
>> 
>> 2). There is no way to have exact match when searching for an 
>> annotation
>> value. Once again, this would make searching for mailbox tags much 
>> easier.
>> During the IMAPEXT meeting Cyrus said that both ANNOTATEMORE and 
>> the
>> SEARCH command itself are suffering from the same issue and that we
>> should fix this everywhere.
>> 
>> This is a fair argument and I would like to work on a solution to 
>> this.
>> However I think we need to at least do some minimal changes to the
>> METADATA selection option syntax to make this work.
> 
> OK - first off METADATA is currently lacking comparator support. 
> The problem here is that, unlike SEARCH/SORT/THREAD, we likely 
> cannot get by with using the default or active comparator, because 
> in general one might want one comparator for mailbox names and 
> another for METADATA items. So I think we need to have an explicit 
> comparator parameter as part of the METADATA select option in 
> LISTEXT.
> 
> If we do that then we might as well add a match type parameter as 
> well. This could have values:
> 
> IS - exact match
> CONTAINS - substring match
> GT - greater than relational match
> GE - greater or equal relational match
> LE - less or equal relational match
> LT - less than relational match
> EQ - equal relational match
> NE - not equal relation match

Why use different terms to those used elsewhere? You might as well 
copy the names from, erm, elsewhere. (EQUAL, COMPARE, COMPARESTRICT, 
SUBSTRING, PREFIX, and NOT, OR, and AND).

Why do you need both GE and LT? You can use COMPARE and 
COMPARESTRICT, and to reverse the ordering use the -ve comparator as, 
erm, elsewhere does.


> WORD - exact match on whole word (a word is a space or comma 
> separated token)
> 
> Note that the WORD match type is an attempt to address the 
> multi-valued attribute issue.
> 
> 
But it won't work, because you're enforcing behaviour that 
comparators cannot supply. If comparators could do word matching, 
then they'd be doing it in a localized fashion.

I think if we want unordered lists made of up individually searchable 
items, then let's simply copy multivalued attribute behaviour from, 
erm, elsewhere.

Although I'd also say that if we want ACAP...

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGflJL004518; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGflOl004517; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from msa.uoa.gr (msa.uoa.gr [195.134.100.72]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGfkJB004478 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:41:47 -0700 (MST) (envelope-from avel@noc.uoa.gr)
Received: by MSA with id 8EF3AA5AF16C68E7A28C3F4F86EFD10D09728683
Received: from localhost (null.noc.uoa.gr [195.134.100.40]) (authenticated bits=0) by msa.uoa.gr (8.12.11/8.12.11) with ESMTP id kAEGfT3k001217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 14 Nov 2006 18:41:29 +0200 (EET)
Date: Tue, 14 Nov 2006 18:47:24 +0200
From: Alexandros Vellis <avel@noc.uoa.gr>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-Id: <20061114184724.c230ea50.avel@noc.uoa.gr>
In-Reply-To: <945B2769CF404DFC5F94BBE4@Cyrus-Daboo-G5.local>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <945B2769CF404DFC5F94BBE4@Cyrus-Daboo-G5.local>
Organization: National & Kapodistrian University of Athens
X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.10.6; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-UoAMSAId: 8EF3AA5AF16C68E7A28C3F4F86EFD10D09728683
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, 14 Nov 2006 10:18:04 -0500
Cyrus Daboo <cyrus@daboo.name> wrote:

> > * a capability string is already available. I want, as a client, to
> > know that possibility for POSTADDRESS values exist, instead of throwing
> > a metadata search or a massive GETMETADATA * everytime. Sure, one can
> > make post-address value available through METADATA and write a draft to
> > declare the capability name, but is it worth the hassle?
> 
> Well, even if POSTADDRESS is present as a capability, that is no guarantee 
> that a POSTADDRESS value will be returned. Some mailboxes may not support 
> that capability at all, e.g., ones without the 'p' right. So you already 
> have to 'probe' for this value.

Postaddress scenario:

(CAPABILITY "POSTADDRESS" detected)
LIST "" "Root.%" RETURN (POSTADDRESS REMOTE)

Metadata #1:
LIST "" "Root.%" RETURN (REMOTE METADATA /postaddress value.priv)


Similar, really. No?


Metadata #2:
LIST "Root.%" RETURN (REMOTE)
GETMETADATA "Root.%" /postaddress value.priv


The problem in Metadata #1 & #2 is that we need the capability string
in there too, in order to probe for the value. Otherwise, how can we be
sure that the system's mail routing allows for emails directed to a
specific folder, to issue that in the first place? So for me the
"POSTADDRESS" capability is a given and my first point isn't that
strong now. :)

 
> > * the post address for a mailbox is a somewhat important item. It's
> > very close to the mailbox name (standard LIST response stuff...) and
> > mailbox location (equivalent to REMOTE LISTEXT return option).
> > POSTADDRESS fits well together with these. METADATA OTOH is fine for
> > stuff like expiration, descriptions, tags...
> Up until now, and with the exception of METADATA, LISTEXT responses have 
> all been simple flags or tokens. 
(snip)

Yes. The LIST (REMOTE) equivalent of "having the POSTADDRESS value in
the LIST response" would be "returning the IMAP URL of a REMOTE mailbox
in the LIST response".

Did that make sense? I mean, if we want to display location-related
data in LIST response, then we would have to display the postaddress
value when asked to return POSTADDRESS, and the IMAP URL when asked to
return REMOTE. But we do not do that, and I recall there was
at some point discussion or a draft about returning IMAP URLs in the
LIST response.

With regard to REMOTE: Currently, to learn the actual location, one has
to SELECT or EXAMINE in order to trigger the referral. To get ahead of
this, in Cyrus Murder for example, one can get a mailbox's /server
and /partition annotation and get information about the IMAP server
that a mailbox belongs to.

But there is no equivalent in IMAP protocol with regard to POSTADDRESS,
because there are no post commands in IMAP. So, the "correct" place to
store this information *could* be the Metadata store.

To summarize, both ways are fine for me (speaking as a MUA);
however, the correct design decision between the two is IMHO a bit
unclear given the nature of the problem.

Earlier today I would say leave it as is, now I'm thinking of a
document more similar to draft-melnikov-imapext-filters, which
describes a capability and a mailbox annotation instead of a capability
and a LIST option/response.


> > That said, I wouldn't mind seeing *both* methods be available. Keep the
> > LIST-EXTENDED response as the authoritative, provide informational text
> > such as:
(snip)
> I don't like the idea of having the information available in two places.

The information is not in two places; it can simply be retrieved via two
different ways.

That said, providing both of them, I agree with Alexey, is a bit of an
overkill.

-- 
Alexandros Vellis



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGV0rR002520; Tue, 14 Nov 2006 09:31:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGV0ST002519; Tue, 14 Nov 2006 09:31:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGUxoL002512 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:30:59 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEGUpKg029202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 11:30:54 -0500
Date: Tue, 14 Nov 2006 11:30:43 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <040F5463D2A588E64860442B@Cyrus-Daboo-G5.local>
In-Reply-To: <24923.1163520699.637280@peirce.dave.cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local> <24923.1163520699.637280@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 14, 2006 4:11:37 PM +0000 Dave Cridland <dave@cridland.net> 
wrote:

>> Should the value returned by POSTADDRESS (or METADATA annotation
>> equivalent) be a mailto URI rather than an email address? One
>> reason might be to be compatible with any future eai changes (given
>> that eai would likely revise the mailto URI to include ascii alt
>> addresses etc) without the need to revise POSTADDRESS to support a
>> new data format.
>
> Interesting thought, but no. Mailto scheme URIs are instructions for the
> message composer I feel, whereas we want "a thing which can be used in a
> RCPT TO command".

I do think the MUA will want to use it directly as per comment below.

> Most particularly, "mailto:foo@bar.org" implies that there will be a
> header "To: foo@bar.org" (IMHO) which we'd never want (IMHO), and there's
> a whole can of worms waiting to be opened when we start considering query
> parts of mailto URIs.

Not true about To: - if the mailbox represents a shared mailbox or a 
news-2-mail gateway then I might want to directly send email to it. In fact 
I thought the news use case was a key one for CMU server implementations.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGJbIw099145; Tue, 14 Nov 2006 09:19:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGJbET099144; Tue, 14 Nov 2006 09:19:37 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGJZKE099137 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:19:36 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAEGJYPN032042 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 11:19:35 -0500
Message-ID: <4559EC95.80203@andrew.cmu.edu>
Date: Tue, 14 Nov 2006 11:19:33 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: METADATA review
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mostly nits, but a few corrections.  I might catch more stuff when I 
update my implementation from -07 syntax.


- As a general note, "LISTEXT" is now "LIST-EXTENDED" and all instances 
of the former should probably be replaced with the latter.

- Section 1, bullet 6: "typer" -> "type"

- Section 3.1, paragraph 1, second sentence:  Since the only command 
used to set annotations is SETANNOTATION, should the two instances of 
"new commands" be changed to "new command"?

- Section 3.2.1.2: Mailbox entries are also used with the LIST-EXTENDED 
return option.  The sentence should probably mention this.

- As a general comment regarding examples: Should the text mention that 
  spacing and line breaks are added to examples for readability?

- Section 4.2, example 3: parens in response don't match ABNF. 
Replacement text:

    Example:

            C: a GETMETADATA /% value
            S: * METADATA /comment (value.priv "My comment"
                                    value.shared "Your comment")
                          /motd (value.priv "Its sunny outside!"
                                 value.shared "Today is a Holiday")
            S: a OK GETMETADATA complete


- Section 4.3, example 3: parens in response don't match ABNF. 
Replacement text:

    Example:

            C: a LIST "" "INBOX" RETURN (METADATA /% value)
            S: * LIST "/" "INBOX"
                    (METADATA /comment (value.priv "My comment"
                                        value.shared "Your comment")
                              /motd (value.priv "Its sunny outside!"
                                     value.shared "Today is a Holiday"))
            S: a OK LIST complete


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGBuB8097634; Tue, 14 Nov 2006 09:11:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEGBuse097633; Tue, 14 Nov 2006 09:11:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEGBtwY097627 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:11:55 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1Gk0t7-00016y-Kb; Tue, 14 Nov 2006 16:11:53 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 594EF498006; Tue, 14 Nov 2006 16:23:21 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01368-03; Tue, 14 Nov 2006 16:23:07 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 9C941498004; Tue, 14 Nov 2006 16:23:07 +0000 (GMT)
Date: Tue, 14 Nov 2006 16:11:37 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local> <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local>
In-Reply-To: <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local>
MIME-Version: 1.0
Message-Id: <24923.1163520699.637280@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 14 16:00:30 2006, Cyrus Daboo wrote:
> Should the value returned by POSTADDRESS (or METADATA annotation 
> equivalent) be a mailto URI rather than an email address? One 
> reason might be to be compatible with any future eai changes (given 
> that eai would likely revise the mailto URI to include ascii alt 
> addresses etc) without the need to revise POSTADDRESS to support a 
> new data format.

Interesting thought, but no. Mailto scheme URIs are instructions for 
the message composer I feel, whereas we want "a thing which can be 
used in a RCPT TO command".

Most particularly, "mailto:foo@bar.org" implies that there will be a 
header "To: foo@bar.org" (IMHO) which we'd never want (IMHO), and 
there's a whole can of worms waiting to be opened when we start 
considering query parts of mailto URIs.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEG0gQm095312; Tue, 14 Nov 2006 09:00:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEG0gwO095311; Tue, 14 Nov 2006 09:00:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEG0f31095304 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:00:42 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEG0ZHD029111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 11:00:38 -0500
Date: Tue, 14 Nov 2006 11:00:30 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <034EDEB018A81144C7A50661@Cyrus-Daboo-G5.local>
In-Reply-To: <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>  <4558E9B8.5060705@andrew.cmu.edu>  <24923.1163458236.013258@peirce.dave.cridland.net>  <5E90058DFDABBB152C234927@ninevah.local>  <20061114101116.9d14feb4.avel@noc.uoa.gr>  <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com> <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,
Should the value returned by POSTADDRESS (or METADATA annotation 
equivalent) be a mailto URI rather than an email address? One reason might 
be to be compatible with any future eai changes (given that eai would 
likely revise the mailto URI to include ascii alt addresses etc) without 
the need to revise POSTADDRESS to support a new data format.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFw473094853; Tue, 14 Nov 2006 08:58:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFw4KG094852; Tue, 14 Nov 2006 08:58:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFw3pj094844 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:58:04 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFvqoI029093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:57:56 -0500
Date: Tue, 14 Nov 2006 10:57:46 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <0138E602F9F0970879870321@Cyrus-Daboo-G5.local>
In-Reply-To: <4559E577.8080804@isode.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local> <4559E577.8080804@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 14, 2006 3:49:11 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> There is nothing in METADATA that says a value has to remain constant
>> over the lifetime of the mailbox. The fact is you will have to compute
>> the value for POSTADDRESS based on the mailbox name anyhow, so it
>> would be fine to have to do that in METADATA too.
>
> Question: is it meaningful to have value.priv and value.shared for
> "postaddress represented as annotation"?
>

They would both return the same value. Since the annotation would be 
read-only there is no way for a user to make them different. Of course that 
begs the question of whether there should be a way for a user to override 
the default set by the server. e.g. lets say I setup a sieve script to do 
filtering using some other criteria. I might want to change the postaddress 
to something else that the script detects. However, I don't think this is 
important enough to have.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFpDLQ093338; Tue, 14 Nov 2006 08:51:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFpDlD093337; Tue, 14 Nov 2006 08:51:13 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFpBL4093331 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:51:12 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFp0aE029067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:51:03 -0500
Date: Tue, 14 Nov 2006 10:50:55 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-imapext@imc.org
cc: Alexandros Vellis <avel@noc.uoa.gr>, Dave Cridland <dave@cridland.net>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <00E74CBAA6C56CE702CD8EB0@Cyrus-Daboo-G5.local>
In-Reply-To: <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>  <4558E9B8.5060705@andrew.cmu.edu>  <24923.1163458236.013258@peirce.dave.cridland.net>  <5E90058DFDABBB152C234927@ninevah.local>  <20061114101116.9d14feb4.avel@noc.uoa.gr>  <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Arnt,

--On November 14, 2006 12:18:51 PM +0100 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

> The METADATA draft needs to explain what it's meant for. Explain what the
> permissible effects on metadata of wrenching changes such as mailbox
> renames, name/mailbox changes (delete followed by create or rename b->c
> followed by rename a->b) and uidvalidity changes are.

Section 4.1 already describes what happens when a rename or delete occurs. 
I will also add a paragraph there to explain that some values may be 
read-only or "computed". Proposed text:

   Some annotations may be "read-only" - i.e. they are set by the server
   and cannot be changed by the client.  Also, such annotations may be
   "computed" - i.e. the value changes based on underlying properties of
   the mailbox.  For example, an annotation reporting the total size of
   all messages in the mailbox would change as messages are added or
   removed.  Or, an annotation containing an IMAP URL for the mailbox
   would change if the mailbox was renamed.

I don't see how a uidvalidty change would have any effect on metadata.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFnKtT092765; Tue, 14 Nov 2006 08:49:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFnKWT092764; Tue, 14 Nov 2006 08:49:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFnJBG092757 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:49:19 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnlfQBg78TF@rufus.isode.com>; Tue, 14 Nov 2006 15:49:17 +0000
Message-ID: <4559E577.8080804@isode.com>
Date: Tue, 14 Nov 2006 15:49:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net> <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local>
In-Reply-To: <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:

> Hi Dave,
>
> --On November 14, 2006 11:04:52 AM +0000 Dave Cridland 
> <dave@cridland.net> wrote:
>
>> But a caveat - I see METADATA to be "stuff about a mailbox which will 
>> not
>> change if the mailbox is renamed", whereas POSTADDRESSes almost 
>> certainly
>> will change for many implementations (including Isode's) on a rename.
>
> There is nothing in METADATA that says a value has to remain constant 
> over the lifetime of the mailbox. The fact is you will have to compute 
> the value for POSTADDRESS based on the mailbox name anyhow, so it 
> would be fine to have to do that in METADATA too.

Question: is it meaningful to have value.priv and value.shared for 
"postaddress represented as annotation"?



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFW3pQ088157; Tue, 14 Nov 2006 08:32:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFW3DJ088156; Tue, 14 Nov 2006 08:32:03 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFW2mW088149 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:32:03 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFVsCv028991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:31:57 -0500
Date: Tue, 14 Nov 2006 10:31:48 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>, Alexandros Vellis <avel@noc.uoa.gr>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <A90B8A10C5A1FCAC415BBD4A@Cyrus-Daboo-G5.local>
In-Reply-To: <24923.1163502293.636808@peirce.dave.cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 14, 2006 11:04:52 AM +0000 Dave Cridland <dave@cridland.net> 
wrote:

> But a caveat - I see METADATA to be "stuff about a mailbox which will not
> change if the mailbox is renamed", whereas POSTADDRESSes almost certainly
> will change for many implementations (including Isode's) on a rename.

There is nothing in METADATA that says a value has to remain constant over 
the lifetime of the mailbox. The fact is you will have to compute the value 
for POSTADDRESS based on the mailbox name anyhow, so it would be fine to 
have to do that in METADATA too.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFIMDO084738; Tue, 14 Nov 2006 08:18:23 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEFIMQk084729; Tue, 14 Nov 2006 08:18:22 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEFIG0X084687 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:18:18 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEFI9l8028956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:18:12 -0500
Date: Tue, 14 Nov 2006 10:18:04 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexandros Vellis <avel@noc.uoa.gr>, ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <945B2769CF404DFC5F94BBE4@Cyrus-Daboo-G5.local>
In-Reply-To: <20061114101116.9d14feb4.avel@noc.uoa.gr>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>	<4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>	<4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexandros,

--On November 14, 2006 10:11:16 AM +0200 Alexandros Vellis 
<avel@noc.uoa.gr> wrote:

>> I doubt that any client will do
>> a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.
>
> Why not? :-)
>
> While I would normally see METADATA as a better fit myself, there are
> things I like regarding the LIST-EXTENDED method:
>
> * a capability string is already available. I want, as a client, to
> know that possibility for POSTADDRESS values exist, instead of throwing
> a metadata search or a massive GETMETADATA * everytime. Sure, one can
> make post-address value available through METADATA and write a draft to
> declare the capability name, but is it worth the hassle?

Well, even if POSTADDRESS is present as a capability, that is no guarantee 
that a POSTADDRESS value will be returned. Some mailboxes may not support 
that capability at all, e.g., ones without the 'p' right. So you already 
have to 'probe' for this value.

> * the post address for a mailbox is a somewhat important item. It's
> very close to the mailbox name (standard LIST response stuff...) and
> mailbox location (equivalent to REMOTE LISTEXT return option).
> POSTADDRESS fits well together with these. METADATA OTOH is fine for
> stuff like expiration, descriptions, tags...

Up until now, and with the exception of METADATA, LISTEXT responses have 
all been simple flags or tokens. With POSTADDRESS we are adding an 
arbitrary length string to the response. I really do question whether 
clients should list all that up front as opposed to getting it on a 
case-by-case basis. Even if compression is added, it adds a lot to a large 
list. Of course METADATA potentially adds more, but I think it will be used 
a lot less.

> That said, I wouldn't mind seeing *both* methods be available. Keep the
> LIST-EXTENDED response as the authoritative, provide informational text
> such as:
>
>  "The server MAY advertise the post address in a METADATA response..."
>
> and, while at it, standarize on the annotation name:
>
>  "If it does, then it MUST use the annotation name /foo..."
>
> This way, you also give client authors who can implement METADATA very
> easily, a way onto this data.

I don't like the idea of having the information available in two places.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEF80vG082404; Tue, 14 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEF80Su082403; Tue, 14 Nov 2006 08:08:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEF7wnU082388 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 08:07:59 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEF7qY8028915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:07:55 -0500
Date: Tue, 14 Nov 2006 10:07:47 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Comments on draft-daboo-imap-annotatemore-10
Message-ID: <7D4BC4DEE3EE1FB48537C69C@Cyrus-Daboo-G5.local>
In-Reply-To: <4553E703.2080307@isode.com>
References: <4553E703.2080307@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,
Thanks for your comments.

--On November 9, 2006 6:42:11 PM -0800 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

> Below are some major issues with the document:
>
> 1). ACAP/LDAP both allow for multivalued attributes. The METADATA doesn't
> support them.
>
> In Lemonade WG we were talking about mailbox tags, which would be easy to
> implement with unordered multivalued attributes, where each value
> contains one of the predefined tags. This make it easier for clients to
> search / update a single value.
>
> 2). There is no way to have exact match when searching for an annotation
> value. Once again, this would make searching for mailbox tags much easier.
> During the IMAPEXT meeting Cyrus said that both ANNOTATEMORE and the
> SEARCH command itself are suffering from the same issue and that we
> should fix this everywhere.
>
> This is a fair argument and I would like to work on a solution to this.
> However I think we need to at least do some minimal changes to the
> METADATA selection option syntax to make this work.

OK - first off METADATA is currently lacking comparator support. The 
problem here is that, unlike SEARCH/SORT/THREAD, we likely cannot get by 
with using the default or active comparator, because in general one might 
want one comparator for mailbox names and another for METADATA items. So I 
think we need to have an explicit comparator parameter as part of the 
METADATA select option in LISTEXT.

If we do that then we might as well add a match type parameter as well. 
This could have values:

IS - exact match
CONTAINS - substring match
GT - greater than relational match
GE - greater or equal relational match
LE - less or equal relational match
LT - less than relational match
EQ - equal relational match
NE - not equal relation match
WORD - exact match on whole word (a word is a space or comma separated 
token)

Note that the WORD match type is an attempt to address the multi-valued 
attribute issue.

> 3). Section 4.4. (SETMETADATA Command) says:
>
>  >   If the server is unable to set the annotations for one or more
>  >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
>  >   command MUST fail and there MUST NOT be any changes to any of the
>  >   matching mailboxes, even those for which annotations could have been
>  >   changed successfully.
>
> I don't like that. Atomic metadata change across multiple mailboxes can
> be a problem for servers. It would be way to easy to deny service this
> way and it would be quite difficult to implement atomicity, unless one
> uses a SQL backend.
>

I would like to hear from other server implementers as to whether they feel 
this restriction is too harsh as well. One issue with making it non-atomic 
is handling error results. Should LISTEXT return the items that failed to 
be set?

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEg6eu077316; Tue, 14 Nov 2006 07:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEEg66D077315; Tue, 14 Nov 2006 07:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEg5I6077307 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 07:42:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAEEfxNL028843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 09:42:02 -0500
Date: Tue, 14 Nov 2006 09:41:54 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: ietf-imapext@imc.org
Subject: METADATA, was Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <371C156653B0CA7F2CF52412@Cyrus-Daboo-G5.local>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

--On November 14, 2006 2:32:41 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> The METADATA draft needs to explain what it's meant for. Explain what
>> the permissible effects on metadata of wrenching changes such as
>> mailbox renames, name/mailbox changes (delete followed by create or
>> rename b->c followed by rename a->b) and uidvalidity changes are.
>
> I agree.
> I think this thread has resulted in at least one good result already: it
> sounds like we need to add applicability statement (or discussion) to the
> METADATA document.

Just as a reminder folks: please review METADATA. I plan to submit it to 
IESG next week and would like final comments from IMAP experts by the end 
of this week.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEWnJP075490; Tue, 14 Nov 2006 07:32:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEEWnHc075489; Tue, 14 Nov 2006 07:32:49 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEWmYF075479 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 07:32:49 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnTjwBg77rF@rufus.isode.com>; Tue, 14 Nov 2006 14:32:47 +0000
Message-ID: <4559D389.7010504@isode.com>
Date: Tue, 14 Nov 2006 14:32:41 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com>  <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>  <4558E9B8.5060705@andrew.cmu.edu>  <24923.1163458236.013258@peirce.dave.cridland.net>  <5E90058DFDABBB152C234927@ninevah.local>  <20061114101116.9d14feb4.avel@noc.uoa.gr>  <24923.1163502293.636808@peirce.dave.cridland.net> <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
In-Reply-To: <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Dave Cridland writes:
>
>> But a caveat - I see METADATA to be "stuff about a mailbox which will 
>> not change if the mailbox is renamed", whereas POSTADDRESSes almost 
>> certainly will change for many implementations (including Isode's) on 
>> a rename.
>
> The METADATA draft needs to explain what it's meant for. Explain what 
> the permissible effects on metadata of wrenching changes such as 
> mailbox renames, name/mailbox changes (delete followed by create or 
> rename b->c followed by rename a->b) and uidvalidity changes are.

I agree.
I think this thread has resulted in at least one good result already: it 
sounds like we need to add applicability statement (or discussion) to 
the METADATA document.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEEM1wH073116; Tue, 14 Nov 2006 07:22:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEEM1Y2073115; Tue, 14 Nov 2006 07:22:01 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEELwTc073080 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 07:22:00 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVnRBABg77Rn@rufus.isode.com>; Tue, 14 Nov 2006 14:21:57 +0000
Message-ID: <4559D0FE.3030206@isode.com>
Date: Tue, 14 Nov 2006 14:21:50 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Alexandros Vellis <avel@noc.uoa.gr>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>	<E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>	<4558D59C.1010009@isode.com>	<AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>	<4558DC60.6060108@isode.com>	<4558E9B8.5060705@andrew.cmu.edu>	<24923.1163458236.013258@peirce.dave.cridland.net>	<5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr>
In-Reply-To: <20061114101116.9d14feb4.avel@noc.uoa.gr>
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>

Alexandros Vellis wrote:

>On Mon, 13 Nov 2006 19:43:54 -0500
>Cyrus Daboo <cyrus@daboo.name> wrote:  
>
>>I doubt that any client will do 
>>a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.
>>    
>>
>
>Why not? :-)
>  
>
Like listing mailboxes with mailto URLs for them?

>While I would normally see METADATA as a better fit myself, there are
>things I like regarding the LIST-EXTENDED method:
>
>* a capability string is already available. I want, as a client, to
>know that possibility for POSTADDRESS values exist, instead of throwing
>a metadata search or a massive GETMETADATA * everytime. Sure, one can
>make post-address value available through METADATA and write a draft to
>declare the capability name, but is it worth the hassle?
>
>* the post address for a mailbox is a somewhat important item. It's
>very close to the mailbox name (standard LIST response stuff...) and
>mailbox location (equivalent to REMOTE LISTEXT return option).
>POSTADDRESS fits well together with these. METADATA OTOH is fine for
>stuff like expiration, descriptions, tags...
>  
>
Both are good point.

>That said, I wouldn't mind seeing *both* methods be available. Keep the
>LIST-EXTENDED response as the authoritative, provide informational text
>such as:
>
> "The server MAY advertise the post address in a METADATA response..."
>
>and, while at it, standarize on the annotation name:
>
> "If it does, then it MUST use the annotation name /foo..."
>
>This way, you also give client authors who can implement METADATA very
>easily, a way onto this data.
>
I think it is a bit overkill. However I should note that the document 
doesn't prevent people from using METADATA store for POSTADDRESS.

If people insist, I can update the document to say that when the 
METADATA extension is also implemented, the server will have a magic 
metadata attribute for POSTADDRESS.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEBIKxm045205; Tue, 14 Nov 2006 04:18:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEBIKBe045204; Tue, 14 Nov 2006 04:18:20 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEBIIlS045191 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 04:18:19 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 1D1674AC8C; Tue, 14 Nov 2006 12:18:17 +0100 (CET)
Message-Id: <NL/uVM9J0J/VC8Jejoph8g.md5@libertango.oryx.com>
Date: Tue, 14 Nov 2006 12:18:51 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexandros Vellis <avel@noc.uoa.gr>, Dave Cridland <dave@cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr> <24923.1163502293.636808@peirce.dave.cridland.net>
In-Reply-To: <24923.1163502293.636808@peirce.dave.cridland.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Dave Cridland writes:
> But a caveat - I see METADATA to be "stuff about a mailbox which will 
> not change if the mailbox is renamed", whereas POSTADDRESSes almost 
> certainly will change for many implementations (including Isode's) on 
> a rename.

The METADATA draft needs to explain what it's meant for. Explain what 
the permissible effects on metadata of wrenching changes such as 
mailbox renames, name/mailbox changes (delete followed by create or 
rename b->c followed by rename a->b) and uidvalidity changes are.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEB5CRs043281; Tue, 14 Nov 2006 04:05:12 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAEB5CJk043280; Tue, 14 Nov 2006 04:05:12 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAEB59dP043266 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 04:05:11 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1Gjw6F-0005PY-Lc; Tue, 14 Nov 2006 11:05:07 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 06ABE498005; Tue, 14 Nov 2006 11:16:33 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30617-10; Tue, 14 Nov 2006 11:16:19 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 77711498004; Tue, 14 Nov 2006 11:16:19 +0000 (GMT)
Date: Tue, 14 Nov 2006 11:04:52 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local> <20061114101116.9d14feb4.avel@noc.uoa.gr>
In-Reply-To: <20061114101116.9d14feb4.avel@noc.uoa.gr>
MIME-Version: 1.0
Message-Id: <24923.1163502293.636808@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Alexandros Vellis <avel@noc.uoa.gr>
Cc: <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 14 08:11:16 2006, Alexandros Vellis wrote:
> On Mon, 13 Nov 2006 19:43:54 -0500
> Cyrus Daboo <cyrus@daboo.name> wrote:
> 
> > I doubt that any client will do > a LISTEXT on a hierarchy and 
> ask for POSTADDRESS on all of those.
> 
> Why not? :-)
> 
> 
(I was going to comment that mine already does...)

> That said, I wouldn't mind seeing *both* methods be available. Keep 
> the
> LIST-EXTENDED response as the authoritative, provide informational 
> text
> such as:

I do like the unified interface that METADATA provides, and in 
general I like the idea that metadata should be available through it.

But a caveat - I see METADATA to be "stuff about a mailbox which will 
not change if the mailbox is renamed", whereas POSTADDRESSes almost 
certainly will change for many implementations (including Isode's) on 
a rename.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE85YHU015779; Tue, 14 Nov 2006 01:05:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAE85YKL015778; Tue, 14 Nov 2006 01:05:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from msa.uoa.gr (msa.uoa.gr [195.134.100.72]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE85WaR015758 for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 01:05:33 -0700 (MST) (envelope-from avel@noc.uoa.gr)
Received: by MSA with id 9841180560DC64F8BDA84E658D2D9BB74083B2FB
Received: from localhost (null.noc.uoa.gr [195.134.100.40]) (authenticated bits=0) by msa.uoa.gr (8.12.11/8.12.11) with ESMTP id kAE85N40018806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-imapext@imc.org>; Tue, 14 Nov 2006 10:05:23 +0200 (EET)
Date: Tue, 14 Nov 2006 10:11:16 +0200
From: Alexandros Vellis <avel@noc.uoa.gr>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-Id: <20061114101116.9d14feb4.avel@noc.uoa.gr>
In-Reply-To: <5E90058DFDABBB152C234927@ninevah.local>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net> <5E90058DFDABBB152C234927@ninevah.local>
Organization: National & Kapodistrian University of Athens
X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.10.6; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-UoAMSAId: 9841180560DC64F8BDA84E658D2D9BB74083B2FB
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, 13 Nov 2006 19:43:54 -0500
Cyrus Daboo <cyrus@daboo.name> wrote:

> I doubt that any client will do 
> a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.

Why not? :-)

While I would normally see METADATA as a better fit myself, there are
things I like regarding the LIST-EXTENDED method:

* a capability string is already available. I want, as a client, to
know that possibility for POSTADDRESS values exist, instead of throwing
a metadata search or a massive GETMETADATA * everytime. Sure, one can
make post-address value available through METADATA and write a draft to
declare the capability name, but is it worth the hassle?

* the post address for a mailbox is a somewhat important item. It's
very close to the mailbox name (standard LIST response stuff...) and
mailbox location (equivalent to REMOTE LISTEXT return option).
POSTADDRESS fits well together with these. METADATA OTOH is fine for
stuff like expiration, descriptions, tags...

That said, I wouldn't mind seeing *both* methods be available. Keep the
LIST-EXTENDED response as the authoritative, provide informational text
such as:

 "The server MAY advertise the post address in a METADATA response..."

and, while at it, standarize on the annotation name:

 "If it does, then it MUST use the annotation name /foo..."

This way, you also give client authors who can implement METADATA very
easily, a way onto this data.

-- 
Alexandros Vellis



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0i7LY060955; Mon, 13 Nov 2006 17:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAE0i7ik060954; Mon, 13 Nov 2006 17:44:07 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0i5rc060945 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 17:44:06 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [10.0.1.2] ([10.0.1.2]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kAE0hsnt026671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 19:43:59 -0500
Date: Mon, 13 Nov 2006 19:43:54 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Dave Cridland <dave@cridland.net>, Ken Murchison <murch@andrew.cmu.edu>
cc: ietf-imapext@imc.org, Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <5E90058DFDABBB152C234927@ninevah.local>
In-Reply-To: <24923.1163458236.013258@peirce.dave.cridland.net>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED  autolearn=disabled version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Dave,

--On November 13, 2006 10:50:35 PM +0000 Dave Cridland <dave@cridland.net> 
wrote:

>> The value is going to be returned via LISTEXT either way, but I
>> don't see why we need to add a new LISTEXT return option when we
>> already have METADATA, which seems to be a perfect fit.
>
> What are LISTEXT return options *for*, then? (Other than to support
> METADATA).
>
> LISTEXT itself is designed to be the basis for "new" LISTable data, I
> don't see why METADATA should be mandated for everything as well.
> Otherwise we've really screwed up with going through LISTEXT, and we
> should have incorporated METADATA directly in LISTEXT.

Another way to look at this is this: LISTEXT is great when you are building 
an entire hierarchy and want to discover options for the entire hierarchy 
all in one go. But for options that you only look at on a case-by-case 
basis, having those in METADATA is better. I doubt that any client will do 
a LISTEXT on a hierarchy and ask for POSTADDRESS on all of those.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0V5UI059340; Mon, 13 Nov 2006 17:31:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAE0V5Hu059339; Mon, 13 Nov 2006 17:31:05 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAE0V3pT059332 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 17:31:04 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.23] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kAE0UuHA004363 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 13 Nov 2006 19:30:57 -0500
Message-ID: <45590E49.8060703@andrew.cmu.edu>
Date: Mon, 13 Nov 2006 19:31:05 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
CC: Cyrus Daboo <cyrus@daboo.name>, ietf-imapext@imc.org, Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu> <24923.1163458236.013258@peirce.dave.cridland.net>
In-Reply-To: <24923.1163458236.013258@peirce.dave.cridland.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Dave Cridland wrote:
> On Mon Nov 13 21:55:04 2006, Ken Murchison wrote:
>> The value is going to be returned via LISTEXT either way, but I don't 
>> see why we need to add a new LISTEXT return option when we already 
>> have METADATA, which seems to be a perfect fit.
> 
> What are LISTEXT return options *for*, then? (Other than to support 
> METADATA).

I agree with this in principal, but ...


> LISTEXT itself is designed to be the basis for "new" LISTable data, I 
> don't see why METADATA should be mandated for everything as well. 
> Otherwise we've really screwed up with going through LISTEXT, and we 
> should have incorporated METADATA directly in LISTEXT.

... do we want to create a new return option for every piece of metadata 
that we come up with?  Cyrus IMAP uses several vendor-specific mailbox 
annotations, should we create return options for them?

I wouldn't have a stroke if the WG decided to make POSTADDRESS a return 
option, but I think METADATA is a better fit.

-- 
Kenneth Murchison
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMooTV046722; Mon, 13 Nov 2006 15:50:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADMooJe046721; Mon, 13 Nov 2006 15:50:50 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMonSB046704 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 15:50:50 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1GjkdZ-0004IJ-Fe; Mon, 13 Nov 2006 22:50:45 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 003FA498003; Mon, 13 Nov 2006 23:02:05 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20545-10; Mon, 13 Nov 2006 23:01:56 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id AF8F2498004; Mon, 13 Nov 2006 23:01:56 +0000 (GMT)
Date: Mon, 13 Nov 2006 22:50:35 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com> <4558E9B8.5060705@andrew.cmu.edu>
In-Reply-To: <4558E9B8.5060705@andrew.cmu.edu>
MIME-Version: 1.0
Message-Id: <24923.1163458236.013258@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: Cyrus Daboo <cyrus@daboo.name>, <ietf-imapext@imc.org>, Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 13 21:55:04 2006, Ken Murchison wrote:
> The value is going to be returned via LISTEXT either way, but I 
> don't see why we need to add a new LISTEXT return option when we 
> already have METADATA, which seems to be a perfect fit.

What are LISTEXT return options *for*, then? (Other than to support 
METADATA).

LISTEXT itself is designed to be the basis for "new" LISTable data, I 
don't see why METADATA should be mandated for everything as well. 
Otherwise we've really screwed up with going through LISTEXT, and we 
should have incorporated METADATA directly in LISTEXT.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMjkKV046135; Mon, 13 Nov 2006 15:45:46 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADMjkro046134; Mon, 13 Nov 2006 15:45:46 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADMjjVo046127 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 15:45:46 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1GjkYh-0001te-Kr; Mon, 13 Nov 2006 22:45:43 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 1E93C498005; Mon, 13 Nov 2006 22:57:04 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20545-07; Mon, 13 Nov 2006 22:56:53 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id C9A31498003; Mon, 13 Nov 2006 22:56:53 +0000 (GMT)
Date: Mon, 13 Nov 2006 22:45:32 +0000
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com> <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
MIME-Version: 1.0
Message-Id: <24923.1163457933.154631@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Philip Guenther <guenther+imap@sendmail.com>
Cc: <ietf-imapext@imc.org>, Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov 13 21:45:24 2006, Philip Guenther wrote:
> 
> On Mon, 13 Nov 2006, Alexey Melnikov wrote:
>> Philip Guenther wrote:
> ...
>>> Bingo.  For the specific use-case of fcc'ing, filing it directly 
>>> and then submitting using BURL directly from the fcc'ed mailbox 
>>> seems the more reliable method.
>> 
>> It you have both URLAUTH and BURL implemented, then yes. But you 
>> don't ;-).
> 
> Okay, let's back up a couple steps.
> 
> For a client and/or server that don't support the F-W-D trio, the 
> client will be composing the message completely on its end and 
> fcc'ing can be done using plain APPEND before or after the 
> submission.  This is what many existing client do.  POSTADDRESS 
> would let the client send the message data just once at some cost 
> in complexity and an uncertain reliablity of delivery.
> 
> For a client and server combo that do support the F-W-D trio, 
> fcc'ing using APPEND (with or without CATENATE) followed by 
> submission using BURL is the documented method of fcc'ing.  AFAICT, 
> POSTADDRESS adds nothing.
> 
> Is that an accurate summary?  Or is there some other case I'm 
> missing?
> 
> 
Cases:

1) FCCing to a different IMAP server from that used for Drafts. Or 
simply FCCing to multiple IMAP servers, if you prefer. Unless you'd 
prefer doing URLAUTH support for CATENATE.

2) If all the message data is generated locally, then 
APPEND/GENURLAUTH is two round-trips plus one setup (since you need 
to detect whether the submission server supports BURL), as compared 
to a single longer-running POSTADDRESS check.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADM990o041196; Mon, 13 Nov 2006 15:09:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADM99ra041195; Mon, 13 Nov 2006 15:09:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADM97UW041177 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 15:09:08 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 3FE434AC94; Mon, 13 Nov 2006 23:09:04 +0100 (CET)
Message-Id: <cffD/s48LRFtxcm2dSb0gQ.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 23:09:35 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Philip Guenther <guenther+imap@sendmail.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com> <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther writes:
> Is that an accurate summary?  Or is there some other case I'm missing?

POSTADDRESS forces the message through sieving, filing it in the 
location where you'd expect it based on examining its content. 
CATENATE/BURL forces it past sieve.

Same case, differently stated.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLvA8c037736; Mon, 13 Nov 2006 14:57:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADLvARA037735; Mon, 13 Nov 2006 14:57:10 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.81]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLv856037721 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 14:57:09 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.22] (ntonawnd-cuda1-cable-bundle-68-69-73-26.kntnny.adelphia.net [68.69.73.26]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.6/8.13.6) with ESMTP id kADLt5LO009495 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 13 Nov 2006 16:55:05 -0500
Message-ID: <4558E9B8.5060705@andrew.cmu.edu>
Date: Mon, 13 Nov 2006 16:55:04 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 1.5.0.7 (X11/20060913)
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
CC: Cyrus Daboo <cyrus@daboo.name>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local> <4558DC60.6060108@isode.com>
In-Reply-To: <4558DC60.6060108@isode.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 128.2.10.81
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov wrote:
> 
> Cyrus Daboo wrote:
> 
>> Hi Alexey,
> 
> Hi Cyrus,
> 
>> --On November 13, 2006 8:29:16 PM +0000 Alexey Melnikov 
>> <alexey.melnikov@isode.com> wrote:
>>
>>>> This is more of a generic question, but when should items like this be
>>>> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels
>>>> like a property of the mailbox as opposed to a property of the
>>>> mailstore. I see LISTEXT items as mailstore properties (e.g., one
>>>> mailbox is a child of another) and METADATA as mailbox properties. So
>>>> I would prefer to see this as a METADATA item.
>>>
>>> The main difference is that METADATA data is usually read-write (with
>>> exception of /motd), while POSTADDRESS never is. It has to be generated
>>> by the server.
>>
>> METADATA is only 'usually read-write' because most of what we have 
>> defined up until now has been that way. That's not to say METADATA was 
>> never intended for read-only items.

FWIW, Cyrus IMAP has several (currently 5?) mailbox METADATA items which 
are read-only, and at least one of those is generated on the fly.


> Fair enough. This is one of the generic discussions we need to have 
> before METADATA is published.
> I generally consider METADATA to be unsuitable for things generated on 
> the fly.

I disagree, I don't see why generating a value on the fly versus pulling 
it from a file or database makes any difference.  I'm in agreement with 
Cyrus on this; POSTADDRESS is definitely metadata related to a mailbox 
and seems a perfect candidate as a METADATA entry.

The value is going to be returned via LISTEXT either way, but I don't 
see why we need to add a new LISTEXT return option when we already have 
METADATA, which seems to be a perfect fit.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLjWs8036328; Mon, 13 Nov 2006 14:45:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADLjWNK036327; Mon, 13 Nov 2006 14:45:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLjW9r036321 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 14:45:32 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kADLjPJ8006891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 13:45:27 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kADLjPJ8006891
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163454330; bh=ZwSBmehvloetCthkOTZwKsL2P/c=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=U8osDbY4aYHYT0m3 qKmvDzM7EVmNL8ZyeE91qOhLH5tgjs7odpGxnsOXTXeNhEGmoUkOwhpS6EmVjI93Rds 3Ne5tHgsO1PsyENMxpH1ubVvp81DSouVTArXolwwkmgizc8E6dPkd6G2xmQatXBOTxu mIXAdf01lDRaWvpVL3qgE=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kADLjPJ8006891
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=ibD/Vo6ZE4lusmxLgZVwyVM2PYotseIwQtQWM2zpxLmN3Jd8T7M3Ko03JP/MIlqr8 t6qc8Lr2CD2cJjjJ2BG+/1/DWfU1W4At1XLG5Sz+8fLAACkjXgCBO0sVOJFYj4RNEm3 Pz1Gq8dLKVuTL280qIqh0Y/1H8KUoIQ/+wbStDk=
Date: Mon, 13 Nov 2006 14:45:24 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
In-Reply-To: <4558E000.6010808@isode.com>
Message-ID: <Pine.BSO.4.64.0611131430250.21536@vanye.mho.net>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net> <4558E000.6010808@isode.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 13 Nov 2006, Alexey Melnikov wrote:
> Philip Guenther wrote:
...
>> Bingo.  For the specific use-case of fcc'ing, filing it directly and then 
>> submitting using BURL directly from the fcc'ed mailbox seems the more 
>> reliable method.
>
> It you have both URLAUTH and BURL implemented, then yes. But you don't ;-).

Okay, let's back up a couple steps.

For a client and/or server that don't support the F-W-D trio, the client 
will be composing the message completely on its end and fcc'ing can be 
done using plain APPEND before or after the submission.  This is what many 
existing client do.  POSTADDRESS would let the client send the message 
data just once at some cost in complexity and an uncertain reliablity of 
delivery.

For a client and server combo that do support the F-W-D trio, fcc'ing 
using APPEND (with or without CATENATE) followed by submission using BURL 
is the documented method of fcc'ing.  AFAICT, POSTADDRESS adds nothing.

Is that an accurate summary?  Or is there some other case I'm missing?


...
> In my implementation POSTADDRESS returns a "plus address". When a "plus 
> address" is processed on mail delivery, it changes the default mailbox used 
> by the keep action to the mailbox associated with the plus address.

Boggle.  So, to keep people from filing messages into random mailboxes 
(e.g., incriminating evidence into your 'Sent' mailbox), your sieve script 
has to explicitly check with envelope :detail and use fileinto "INBOX"? 
That seems non-optimal to me.  It would also seem to conflict with this 
text in RFC 3028 and 3028bis:

    For instance, in an implementation where the IMAP server is running
    scripts on behalf of the user at time of delivery, a keep command is
    equivalent to a fileinto "INBOX".

Yeah, there's no 2119 keywords in there, still...


> (This is just to demonstate that other implementations which don't have this 
> problem are possible).

I'll take my problems over yours.


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLE8fj031518; Mon, 13 Nov 2006 14:14:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADLE8Dt031517; Mon, 13 Nov 2006 14:14:08 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADLE7Cg031510 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 14:14:07 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjgHgBg7zTN@rufus.isode.com>; Mon, 13 Nov 2006 21:14:06 +0000
Message-ID: <4558E000.6010808@isode.com>
Date: Mon, 13 Nov 2006 21:13:36 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Philip Guenther <guenther+imap@sendmail.com>
CC: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net>
In-Reply-To: <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Philip Guenther wrote:

> On Mon, 13 Nov 2006, Arnt Gulbrandsen wrote:
>
>> Cyrus Daboo writes:
>
> ...
>
>>> Also, with forward-without-download I question the utility of an 
>>> 'fcc' mechanism.
>>
>> POSTADDRESS has its share of problems. I'm uneasy about its 
>> unreliability: Sieve scripts may make the POSTADDRESS-advertised 
>> equivalence untrue.
>
> Bingo.  For the specific use-case of fcc'ing, filing it directly and 
> then submitting using BURL directly from the fcc'ed mailbox seems the 
> more reliable method.

It you have both URLAUTH and BURL implemented, then yes. But you don't ;-).

> Yes, it's more complicated, but it actually works, which would seem to 
> be a plus.  At least with our sieve setup, delivery to mailboxes other 
> than your inbox is (by default) only possible if your sieve script 
> explicitly has something like:
>
>     if envelope :detail :matches "to" "imap" {
>         fileinto "lists/imap";
>     }
>
> Asking for the mailstore to figure out that the POSTADDRESS for my 
> "lists/imap" mailbox is <guenther+imap@sendmail.com> seems 
> unreasonable, so we won't implement POSTADDRESS.

In my implementation POSTADDRESS returns a "plus address". When a "plus 
address" is processed on mail delivery, it changes the default mailbox 
used by the keep action to the mailbox associated with the plus address.

(This is just to demonstate that other implementations which don't have 
this problem are possible).



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKwjYq029576; Mon, 13 Nov 2006 13:58:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKwjOZ029575; Mon, 13 Nov 2006 13:58:45 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKwhmJ029568 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:58:43 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjcggBg73uM@rufus.isode.com>; Mon, 13 Nov 2006 20:58:42 +0000
Message-ID: <4558DC60.6060108@isode.com>
Date: Mon, 13 Nov 2006 20:58:08 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com> <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>
In-Reply-To: <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo wrote:

> Hi Alexey,

Hi Cyrus,

> --On November 13, 2006 8:29:16 PM +0000 Alexey Melnikov 
> <alexey.melnikov@isode.com> wrote:
>
>>> This is more of a generic question, but when should items like this be
>>> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels
>>> like a property of the mailbox as opposed to a property of the
>>> mailstore. I see LISTEXT items as mailstore properties (e.g., one
>>> mailbox is a child of another) and METADATA as mailbox properties. So
>>> I would prefer to see this as a METADATA item.
>>
>> The main difference is that METADATA data is usually read-write (with
>> exception of /motd), while POSTADDRESS never is. It has to be generated
>> by the server.
>
> METADATA is only 'usually read-write' because most of what we have 
> defined up until now has been that way. That's not to say METADATA was 
> never intended for read-only items.

Fair enough. This is one of the generic discussions we need to have 
before METADATA is published.
I generally consider METADATA to be unsuitable for things generated on 
the fly.

>> And both are reported with extended LIST anyway.
>>
>> Also, METADATA is more difficult to implement on the server. This is not
>> a problem by itself, but considering my comment above it would require
>> additional justification. One question worth asking is: does the
>> POSTADDRESS have to be searchable? I doubt it is.
>
> I don't have any use cases for searching POSTADDRESS but then I don't 
> have any for searching /motd either. Again, I think whether it needs 
> to be searched or not is not relevant to whether it is LISTEXT or 
> METADATA.

Well, if a piece of data has to be searchable, it strongly speaks in 
favor of METADATA.

>>> Plus its MUCH easier to extend using METADATA than LISTEXT - you just
>>> register a new entry - its not a whole new extension, with a new
>>> CAPABILITY etc.
>>
>> The server still need to know that a value is not writable by the 
>> client.
>> Ideally, the client should recognize the value and don't try to write 
>> it.
>> So in practice both require the same amount of work to be implemented on
>> the server.
>
> I disagree - I think it will be much easier to add a new metadata 
> 'schema' item than to go delving around inside of LISTEXT parsing code 
> to do the same thing and have it advertise the capability.

I strongly disagree with your disagreement :-). Adding new LIST return 
options should be easy if one's code is structured right (Selection 
options are a completely different story).
For METADATA, one would still have to add the same code to generate 
values on the fly.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKg6Q3027625; Mon, 13 Nov 2006 13:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKg6Qg027624; Mon, 13 Nov 2006 13:42:06 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from smtp-out.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKg3tn027618 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:42:05 -0700 (MST) (envelope-from guenther+imap@sendmail.com)
Received: from [10.201.0.182] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id kADKfvhk031036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 12:41:59 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com kADKfvhk031036
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1163450521; bh=lovtVRWy60NKaKC5Fk3s1+goilQ=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=k/ELSC81+SOLBDLY 6ofr93pbvL6XEI5EMp6HqaAO3ctp5gAZyoIOfhO29EFutDqRnAhtjKN7S6VSCwklQow hHCYKLhEXF2Ff+jgUGh3cUgAVx8yd0AkyBX0xQJ1dVKl9k+GS+SqB7MN+eaCsm+HFfK KVH80Vrnd9Ec9DBylNdZ4=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com kADKfvhk031036
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=Hh4+7lIO1mafi43HEwcEYtgG/3B8GR5dxGfKcx6oNQpCR63j4ze3WYVQroEWgsSlL dALuC23kObF6ReMi2gtemAutTA84uZspnQygbY1oprJ1TI9LL6s9dXvjdjdKW74EVHo bt316q9U/cgrXG8O7TkzuQUS9/gdToaKRYb7w14=
Date: Mon, 13 Nov 2006 13:41:56 -0700
From: Philip Guenther <guenther+imap@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Arnt Gulbrandsen <arnt@oryx.com>
cc: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
In-Reply-To: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Message-ID: <Pine.BSO.4.64.0611131323270.21536@vanye.mho.net>
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Mon, 13 Nov 2006, Arnt Gulbrandsen wrote:
> Cyrus Daboo writes:
...
>> Also, with forward-without-download I question the utility of an 'fcc' 
>> mechanism.
>
> POSTADDRESS has its share of problems. I'm uneasy about its unreliability: 
> Sieve scripts may make the POSTADDRESS-advertised equivalence untrue.

Bingo.  For the specific use-case of fcc'ing, filing it directly and then 
submitting using BURL directly from the fcc'ed mailbox seems the more 
reliable method.  Yes, it's more complicated, but it actually works, which 
would seem to be a plus.  At least with our sieve setup, delivery to 
mailboxes other than your inbox is (by default) only possible if your 
sieve script explicitly has something like:

 	if envelope :detail :matches "to" "imap" {
 		fileinto "lists/imap";
 	}

Asking for the mailstore to figure out that the POSTADDRESS for my 
"lists/imap" mailbox is <guenther+imap@sendmail.com> seems unreasonable, 
so we won't implement POSTADDRESS.


(If you have lots of :detail parts to match, you would do something like 
this, of course:
 	if allof(envelope :detail :matches "to" "*",
 		 string :is "${1}" ["ietf", "ima", "imap", "sieve"]) {
 	    fileinto "lists/${1}";
 	}
)


Philip Guenther



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKeqVZ027446; Mon, 13 Nov 2006 13:40:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKeqR7027445; Mon, 13 Nov 2006 13:40:52 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKepQt027439 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:40:52 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kADKehNu026084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 15:40:46 -0500
Date: Mon, 13 Nov 2006 15:40:38 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>
cc: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <AACC5FCC374ECAC8639256D1@Cyrus-Daboo-G5.local>
In-Reply-To: <4558D59C.1010009@isode.com>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <4558D59C.1010009@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 13, 2006 8:29:16 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

>> This is more of a generic question, but when should items like this be
>> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels
>> like a property of the mailbox as opposed to a property of the
>> mailstore. I see LISTEXT items as mailstore properties (e.g., one
>> mailbox is a child of another) and METADATA as mailbox properties. So
>> I would prefer to see this as a METADATA item.
>
> The main difference is that METADATA data is usually read-write (with
> exception of /motd), while POSTADDRESS never is. It has to be generated
> by the server.

METADATA is only 'usually read-write' because most of what we have defined 
up until now has been that way. That's not to say METADATA was never 
intended for read-only items.

> And both are reported with extended LIST anyway.
>
> Also, METADATA is more difficult to implement on the server. This is not
> a problem by itself, but considering my comment above it would require
> additional justification. One question worth asking is: does the
> POSTADDRESS have to be searchable? I doubt it is.*
> *

I don't have any use cases for searching POSTADDRESS but then I don't have 
any for searching /motd either. Again, I think whether it needs to be 
searched or not is not relevant to whether it is LISTEXT or METADATA.

>> Plus its MUCH easier to extend using METADATA than LISTEXT - you just
>> register a new entry - its not a whole new extension, with a new
>> CAPABILITY etc.
>
> The server still need to know that a value is not writable by the client.
> Ideally, the client should recognize the value and don't try to write it.
> So in practice both require the same amount of work to be implemented on
> the server.
> **

I disagree - I think it will be much easier to add a new metadata 'schema' 
item than to go delving around inside of LISTEXT parsing code to do the 
same thing and have it advertise the capability.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKZu7a026539; Mon, 13 Nov 2006 13:35:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKZuiv026538; Mon, 13 Nov 2006 13:35:56 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKZr9m026528 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:35:56 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 6A0A64ACF2; Mon, 13 Nov 2006 21:35:52 +0100 (CET)
Message-Id: <MTl4SigWwmWyL7N1vEEF3w.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 21:36:23 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com> <4558D65F.1040104@isode.com>
In-Reply-To: <4558D65F.1040104@isode.com>
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov writes:
> Wait till we add Sieve scripts on IMAP APPEND ;-).

Yes, that would obviously have the same issue.

> Interaction with Sieve can be considered both a nuisance and a feature.

Exactly.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKX4kY026069; Mon, 13 Nov 2006 13:33:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKX4m4026068; Mon, 13 Nov 2006 13:33:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKX37Q026060 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:33:03 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjWewBg7woI@rufus.isode.com>; Mon, 13 Nov 2006 20:32:59 +0000
Message-ID: <4558D65F.1040104@isode.com>
Date: Mon, 13 Nov 2006 20:32:31 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
CC: ietf-imapext@imc.org, Cyrus Daboo <cyrus@daboo.name>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com>  <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
In-Reply-To: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen wrote:

> Cyrus Daboo writes:
>
>> Also, with forward-without-download I question the utility of an 
>> 'fcc' mechanism.
>
> POSTADDRESS has its share of problems. I'm uneasy about its 
> unreliability: Sieve scripts may make the POSTADDRESS-advertised 
> equivalence untrue.

Wait till we add Sieve scripts on IMAP APPEND ;-).

Interaction with Sieve can be considered both a nuisance and a feature.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKTmdQ025564; Mon, 13 Nov 2006 13:29:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKTmk0025563; Mon, 13 Nov 2006 13:29:48 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKTjI8025553 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:29:47 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjVuABg7yz1@rufus.isode.com>; Mon, 13 Nov 2006 20:29:44 +0000
Message-ID: <4558D59C.1010009@isode.com>
Date: Mon, 13 Nov 2006 20:29:16 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
In-Reply-To: <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
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:

> This is more of a generic question, but when should items like this be 
> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels 
> like a property of the mailbox as opposed to a property of the 
> mailstore. I see LISTEXT items as mailstore properties (e.g., one 
> mailbox is a child of another) and METADATA as mailbox properties. So 
> I would prefer to see this as a METADATA item.

The main difference is that METADATA data is usually read-write (with 
exception of /motd), while POSTADDRESS never is. It has to be generated 
by the server.
And both are reported with extended LIST anyway.

Also, METADATA is more difficult to implement on the server. This is not 
a problem by itself, but considering my comment above it would require 
additional justification. One question worth asking is: does the 
POSTADDRESS have to be searchable? I doubt it is.*
*

> Plus its MUCH easier to extend using METADATA than LISTEXT - you just 
> register a new entry - its not a whole new extension, with a new 
> CAPABILITY etc.

The server still need to know that a value is not writable by the 
client. Ideally, the client should recognize the value and don't try to 
write it.
So in practice both require the same amount of work to be implemented on 
the server.
**



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKH06c023052; Mon, 13 Nov 2006 13:17:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADKH0BK023051; Mon, 13 Nov 2006 13:17:00 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADKGwgU023042 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 13:16:59 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 18B2B4ACF1; Mon, 13 Nov 2006 21:16:58 +0100 (CET)
Message-Id: <h/OE4XnIQ+CBvQW5KcNAWw.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 21:17:29 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local> <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
In-Reply-To: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Arnt Gulbrandsen writes:
> Cyrus Daboo writes:
>> I see LISTEXT items as mailstore properties (e.g., one mailbox is a 
>> child of another) and METADATA as mailbox properties. So I would 
>> prefer to see this as a METADATA item. Plus its MUCH easier to 
>> extend using METADATA than LISTEXT - you just register a new entry - 
>> its not a whole new extension, with a new CAPABILITY etc.

I don't accept this. IANA considerations sections are cheap, and if you 
want an interoperable extension, I think you need something very like 
an RFC. You don't need an RFC number and a flat-ascii specification, 
but you do need the pedantic reviews, the examples, the formal syntax, 
etc.

>> Also, with forward-without-download I question the utility of an 
>> 'fcc' mechanism.
>
> POSTADDRESS has its share of problems. I'm uneasy about its 
> unreliability: Sieve scripts may make the POSTADDRESS-advertised 
> equivalence untrue.

Just so nobody misunderstands: I'm not arguing against publishing it. (I 
did implement the thing, after all.) All I'm saying is that discussion 
is needed. If the sieve redirection issue is considered a feature by 
most people, I'm happy. I'm unhappy only if the issue isn't considered 
at all.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJvgLE020151; Mon, 13 Nov 2006 12:57:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADJvgEv020150; Mon, 13 Nov 2006 12:57:42 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJvedV020143 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 12:57:41 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 9C5B64ACDB; Mon, 13 Nov 2006 20:57:39 +0100 (CET)
Message-Id: <xX6IUr6jgHq+AFDHpY+cXw.md5@libertango.oryx.com>
Date: Mon, 13 Nov 2006 20:58:10 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Cyrus Daboo <cyrus@daboo.name>
References: <4558C52C.6070403@isode.com> <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
In-Reply-To: <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Cyrus Daboo writes:
> This is more of a generic question, but when should items like this be 
> METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really 
> feels like a property of the mailbox as opposed to a property of the 
> mailstore.

That's true in the case of my code and false in the case of Alexey's. 
I'm glad you think my code does the right thing ;)

> I see LISTEXT items as mailstore properties (e.g., one mailbox is a 
> child of another) and METADATA as mailbox properties. So I would 
> prefer to see this as a METADATA item. Plus its MUCH easier to extend 
> using METADATA than LISTEXT - you just register a new entry - its not 
> a whole new extension, with a new CAPABILITY etc.
>
> Also, with forward-without-download I question the utility of an 'fcc' 
> mechanism.

POSTADDRESS has its share of problems. I'm uneasy about its 
unreliability: Sieve scripts may make the POSTADDRESS-advertised 
equivalence untrue.

Arnt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJWY7i016537; Mon, 13 Nov 2006 12:32:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADJWYHW016536; Mon, 13 Nov 2006 12:32:34 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJWXf7016530 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 12:32:33 -0700 (MST) (envelope-from cyrus@daboo.name)
Received: from [17.101.32.44] ([17.101.32.44]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kADJWPun025925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Nov 2006 14:32:27 -0500
Date: Mon, 13 Nov 2006 14:32:20 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Requesting comments on draft-melnikov-imap-postaddress-05.txt
Message-ID: <E671CD5DFA3F75D4A4CCF5E9@Cyrus-Daboo-G5.local>
In-Reply-To: <4558C52C.6070403@isode.com>
References: <4558C52C.6070403@isode.com>
X-Mailer: Mulberry/4.0.7b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled  version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  piper.mulberrymail.com
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi Alexey,

--On November 13, 2006 7:19:08 PM +0000 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

> Arnt has reminded me that I've promised to publish the POSTADDRESS
> document once the LIST-EXTENDED is done.
> Now is the time.
>
> Lisa would like to see more reviews of the document before requesting
> IETF LC.
>
> It would also be great to know who is interested in implementing this
> extension. I know of 2 server and 1 client implementation:
> Server:
> Isode
> Oryx
>
> Client:
> Polymer

This is more of a generic question, but when should items like this be 
METADATA as opposed to a LISTEXT item? To me, POSTADDRESS really feels like 
a property of the mailbox as opposed to a property of the mailstore. I see 
LISTEXT items as mailstore properties (e.g., one mailbox is a child of 
another) and METADATA as mailbox properties. So I would prefer to see this 
as a METADATA item. Plus its MUCH easier to extend using METADATA than 
LISTEXT - you just register a new entry - its not a whole new extension, 
with a new CAPABILITY etc.

Also, with forward-without-download I question the utility of an 'fcc' 
mechanism.

-- 
Cyrus Daboo



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJJZ4I014828; Mon, 13 Nov 2006 12:19:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kADJJZ86014827; Mon, 13 Nov 2006 12:19:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kADJJXua014811 for <ietf-imapext@imc.org>; Mon, 13 Nov 2006 12:19:34 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVjFRABg74iW@rufus.isode.com>; Mon, 13 Nov 2006 19:19:32 +0000
Message-ID: <4558C52C.6070403@isode.com>
Date: Mon, 13 Nov 2006 19:19:08 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Requesting comments on draft-melnikov-imap-postaddress-05.txt
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 has reminded me that I've promised to publish the POSTADDRESS 
document once the LIST-EXTENDED is done.
Now is the time.

Lisa would like to see more reviews of the document before requesting 
IETF LC.

It would also be great to know who is interested in implementing this 
extension. I know of 2 server and 1 client implementation:
Server:
Isode
Oryx

Client:
Polymer

Thanks,
Alexey



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA3G4Kc008058; Thu, 9 Nov 2006 20:16:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAA3G4nc008057; Thu, 9 Nov 2006 20:16:04 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA3G268008040 for <ietf-imapext@imc.org>; Thu, 9 Nov 2006 20:16:03 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.69.28] (dhcp69-28.ietf67.org [130.129.69.28])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVPu8ABg707u@rufus.isode.com>; Fri, 10 Nov 2006 03:16:01 +0000
Message-ID: <4553EEEF.8020206@isode.com>
Date: Thu, 09 Nov 2006 19:15:59 -0800
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: CONDSTORE: STORE UNCHANGEDSINCE 0
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I think the following text in section 3.2 of RFC 4551

 >      Use of UNCHANGEDSINCE with a modification sequence of 0 always
 >      fails if the metadata item exists.  A system flag MUST always be
 >      considered existent, whether it was set or not.

is broken:

1) It is not clear why system flags have to be special
2) A flag existence is the same as have the flag set. Testing for flag 
existence can already be done using the FETCH (FLAGS) command.

There are two ways to fix it:

1). Remove the second sentence to remove special casing for system 
flags. This command would allow people to test if a particular flag or a 
set of flags is set on a message. However this would leave STORE -FLAGS 
UNCHANGEDSINCE somewhat meaningless.

2). Replace the second sentence to say that this command always fail 
with tagged NO for both system and user defined flags. Note that this 
doesn't affect annotations.

The rough consensus during the IMAPEXT meeting was to go with option 2.
If you have any objections to this, please speak up now.

Regards,
Alexey



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA2gF4p000962; Thu, 9 Nov 2006 19:42:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kAA2gFbS000960; Thu, 9 Nov 2006 19:42:15 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kAA2gDSB000952 for <ietf-imapext@imc.org>; Thu, 9 Nov 2006 19:42:14 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.69.28] (dhcp69-28.ietf67.org [130.129.69.28])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RVPnBABg7w0b@rufus.isode.com>; Fri, 10 Nov 2006 02:42:12 +0000
Message-ID: <4553E703.2080307@isode.com>
Date: Thu, 09 Nov 2006 18:42:11 -0800
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Comments on draft-daboo-imap-annotatemore-10
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I've sent some editorial comments/corrections directly to Cyrus.

Below are some major issues with the document:

1). ACAP/LDAP both allow for multivalued attributes. The METADATA 
doesn't support them.

In Lemonade WG we were talking about mailbox tags, which would be easy 
to implement with unordered multivalued attributes, where each value 
contains one of the predefined tags. This make it easier for clients to 
search / update a single value.

2). There is no way to have exact match when searching for an annotation 
value. Once again, this would make searching for mailbox tags much easier.
During the IMAPEXT meeting Cyrus said that both ANNOTATEMORE and the 
SEARCH command itself are suffering from the same issue and that we 
should fix this everywhere.

This is a fair argument and I would like to work on a solution to this. 
However I think we need to at least do some minimal changes to the 
METADATA selection option syntax to make this work.

3). Section 4.4. (SETMETADATA Command) says:

 >   If the server is unable to set the annotations for one or more
 >   mailboxes matching the mailbox-name pattern, then the SETMETADATA
 >   command MUST fail and there MUST NOT be any changes to any of the
 >   matching mailboxes, even those for which annotations could have been
 >   changed successfully.

I don't like that. Atomic metadata change across multiple mailboxes can 
be a problem for servers. It would be way to easy to deny service this 
way and it would be quite difficult to implement atomicity, unless one 
uses a SQL backend.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA9Hiwnc066041; Thu, 9 Nov 2006 10:44:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA9HivQ1066040; Thu, 9 Nov 2006 10:44:58 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from numenor.qualcomm.com (numenor.qualcomm.com [129.46.51.58]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA9Hiu9k066012 for <ietf-imapext@imc.org>; Thu, 9 Nov 2006 10:44:57 -0700 (MST) (envelope-from randy@qualcomm.com)
Received: from sabrina.qualcomm.com (sabrina.qualcomm.com [129.46.61.150]) by numenor.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id kA9HiiCX000300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 9 Nov 2006 09:44:45 -0800
Received: from [dhcp70-158.ietf67.org] (vpn-10-50-0-159.qualcomm.com [10.50.0.159]) by sabrina.qualcomm.com (8.13.6/8.13.6/1.0) with ESMTP id kA9HifGc018458; Thu, 9 Nov 2006 09:44:43 -0800 (PST)
Mime-Version: 1.0
Message-Id: <p06240602c1791843cae9@[dhcp70-158.ietf67.org]>
In-Reply-To: <19209.1162940127.615999@peirce.dave.cridland.net>
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]> <19209.1162891383.688303@peirce.dave.cridland.net> <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]> <19209.1162940127.615999@peirce.dave.cridland.net>
X-Mailer: Eudora for Mac OS X
X-message-flag: Warning: Outlook in use.  Upgrade to Eudora: <http://www.eudora.com>
Date: Thu, 9 Nov 2006 09:41:37 -0800
To: Dave Cridland <dave@cridland.net>
From: Randall Gellens <randy@qualcomm.com>
Subject: Re: Open issues in the EXPUNGED draft
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Random-Sig-Tag: 1.0b28
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

At 10:55 PM +0000 11/7/06, Dave Cridland wrote:

>>>   Here's a proposal for reducing the worst case:
>>>
>>>   If the client sends one or more pairs of (cached) MSN and UID, 
>>> then the server can easily detirmine whether the client needs all 
>>> the missing UIDs, or just some of them.
>>>
>>>   So if the client sends, for example, the pairs (34050 39488 
>>> 34000 39438), then the server can see that, for sake of example, 
>>> MSN 34050 is currently UID 39488, so it only needs to send 
>>> missing UIDs from 39489 onward. This immediately reduces the 
>>> "Sorry, I forgot" case by several kilobytes.
>>
>>  That's a very interesting proposal.
>>
>>  How many pairs would a client need to send for a typical SELECT?
>>
>  Need? None. Useful? Probably four, depends on the mailbox size, and 
> how paranoid the client is feeling.

So it's a way to optimize and standardize your technique for cleverly 
detecting which range of messages needs to be remapped.  Sounds 
useful to me.
-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
I loathe people who keep dogs.  They are cowards who haven't got the
guts to bite people themselves.                  --August Strindberg



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MtelV070879; Tue, 7 Nov 2006 15:55:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA7MteDP070878; Tue, 7 Nov 2006 15:55:40 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MtcX0070871 for <ietf-imapext@imc.org>; Tue, 7 Nov 2006 15:55:39 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.50) id 1GhZqy-0008Lh-VF; Tue, 07 Nov 2006 22:55:37 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id ACE54498004; Tue,  7 Nov 2006 23:05:56 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29267-09; Tue, 7 Nov 2006 23:05:47 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id A4D05498003; Tue,  7 Nov 2006 23:05:47 +0000 (GMT)
Date: Tue, 07 Nov 2006 22:55:27 +0000
Subject: Re: Open issues in the EXPUNGED draft
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]> <19209.1162891383.688303@peirce.dave.cridland.net> <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]>
In-Reply-To: <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]>
MIME-Version: 1.0
Message-Id: <19209.1162940127.615999@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Randall Gellens <randy@qualcomm.com>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov  7 22:04:22 2006, Randall Gellens wrote:
> At 9:23 AM +0000 11/7/06, Dave Cridland wrote:
> 
>>  My problem is that the worst case isn't a one-off rarity, I 
>> expect that if it happens once for a mailbox, it'll happen on 
>> every SELECT.
>> 
>>  What I'd prefer to see is a mechanism whereby either the client 
>> selects the failure mode, or else we reduce the worst case.
>> 
>>  Here's a proposal for reducing the worst case:
>> 
>>  If the client sends one or more pairs of (cached) MSN and UID, 
>> then the server can easily detirmine whether the client needs all 
>> the missing UIDs, or just some of them.
>> 
>>  So if the client sends, for example, the pairs (34050 39488 34000 
>> 39438), then the server can see that, for sake of example, MSN 
>> 34050 is currently UID 39488, so it only needs to send missing 
>> UIDs from 39489 onward. This immediately reduces the "Sorry, I 
>> forgot" case by several kilobytes.
> 
> That's a very interesting proposal.
> 
> How many pairs would a client need to send for a typical SELECT?
> 
> 
Need? None. Useful? Probably four, depends on the mailbox size, and 
how paranoid the client is feeling.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MB9Nw067459; Tue, 7 Nov 2006 15:11:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA7MB9NQ067458; Tue, 7 Nov 2006 15:11:09 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ithilien.qualcomm.com (ithilien.qualcomm.com [129.46.51.59]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA7MB64m067428 for <ietf-imapext@imc.org>; Tue, 7 Nov 2006 15:11:08 -0700 (MST) (envelope-from randy@qualcomm.com)
Received: from sabrina.qualcomm.com (sabrina.qualcomm.com [129.46.61.150]) by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id kA7MAwcw028867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 7 Nov 2006 14:10:59 -0800
Received: from [dhcp66-21.ietf67.org] (vpn-10-50-0-19.qualcomm.com [10.50.0.19]) by sabrina.qualcomm.com (8.13.6/8.13.6/1.0) with ESMTP id kA7MAt21028155; Tue, 7 Nov 2006 14:10:56 -0800 (PST)
Mime-Version: 1.0
Message-Id: <p06240606c176b3264cd1@[dhcp66-21.ietf67.org]>
In-Reply-To: <19209.1162891383.688303@peirce.dave.cridland.net>
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]> <19209.1162891383.688303@peirce.dave.cridland.net>
X-Mailer: Eudora for Mac OS X
X-message-flag: Warning: Outlook in use.  Upgrade to Eudora: <http://www.eudora.com>
Date: Tue, 7 Nov 2006 14:04:22 -0800
To: Dave Cridland <dave@cridland.net>
From: Randall Gellens <randy@qualcomm.com>
Subject: Re: Open issues in the EXPUNGED draft
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Random-Sig-Tag: 1.0b28
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

At 9:23 AM +0000 11/7/06, Dave Cridland wrote:

>  My problem is that the worst case isn't a one-off rarity, I expect 
> that if it happens once for a mailbox, it'll happen on every SELECT.
>
>  What I'd prefer to see is a mechanism whereby either the client 
> selects the failure mode, or else we reduce the worst case.
>
>  Here's a proposal for reducing the worst case:
>
>  If the client sends one or more pairs of (cached) MSN and UID, then 
> the server can easily detirmine whether the client needs all the 
> missing UIDs, or just some of them.
>
>  So if the client sends, for example, the pairs (34050 39488 34000 
> 39438), then the server can see that, for sake of example, MSN 
> 34050 is currently UID 39488, so it only needs to send missing UIDs 
> from 39489 onward. This immediately reduces the "Sorry, I forgot" 
> case by several kilobytes.

That's a very interesting proposal.

How many pairs would a client need to send for a typical SELECT?

>  There's still a worst case, of course - if an EXPUNGE happens 
> before the first MSN,UID tuple sent, then the server has to send 
> all the missing UIDs, but that's a rare case, rather than simply 
> poor server implementation - in general users either don't expunge 
> early messages, or else they expunge them all.


-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
You think it's a conspiracy by the networks to put bad shows on TV. But
the shows are bad because that's what people want. It's not like
Windows users don't have any power. I think they are happy with
Windows, and that's an incredibly depressing thought.
                                                           --Steve Jobs



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA79NHds061432; Tue, 7 Nov 2006 02:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA79NHKx061431; Tue, 7 Nov 2006 02:23:17 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA79NGQA061409 for <ietf-imapext@imc.org>; Tue, 7 Nov 2006 02:23:16 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1GhNAo-0003Z1-4H; Tue, 07 Nov 2006 09:23:14 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id 3D034498005; Tue,  7 Nov 2006 09:33:28 +0000 (GMT)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17374-04; Tue, 7 Nov 2006 09:33:18 +0000 (GMT)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 030B7498004; Tue,  7 Nov 2006 09:33:18 +0000 (GMT)
Date: Tue, 07 Nov 2006 09:23:02 +0000
Subject: Re: Open issues in the EXPUNGED draft
References: <454B795B.1000605@isode.com> <p0624060bc17564536ec9@[[130.129.71.164]]>
In-Reply-To: <p0624060bc17564536ec9@[[130.129.71.164]]>
MIME-Version: 1.0
Message-Id: <19209.1162891383.688303@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Randall Gellens <randy@qualcomm.com>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, <ietf-imapext@imc.org>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 Nov  7 01:07:19 2006, Randall Gellens wrote:
> 
> At 5:16 PM +0000 11/3/06, Alexey Melnikov wrote:
> 
>>  2). There was some debate recently about server's behavior if the 
>> client provides a modsequence which is too old. Two solutions were 
>> suggested:
>>  a). The server returns all expunged messages from the specified 
>> UID set (i.e. without paying attention to the provided modsequence)
>>  b). The server returns "sorry, modseq is too old" and the client 
>> needs to handle this.
> 
> Based on the earlier discussion, I'd say we go with option (a), 
> since (from the earlier discussion)  since
> 
> At 12:06 PM +0200 9/26/06, Arnt Gulbrandsen wrote:
>>  has two more advantages: The response is small on average. The 
>> fallback needs no additional code in the client. (I love that. No 
>> code to write, no extra case to test.)  And one disadvantage: The 
>> worst-case response is big. The advantages are bigger, say I.
> 
> At 11:39 AM -0700 9/29/06, Randall Gellens wrote:
>>  If the trade-off is really that the option that is simpler and 
>> easier for clients to implement also generally has one less 
>> round-trip and usually is just as compact, but in the worst case 
>> can have a much larger response, I'm inclined to support it.  
>> While bandwidth saving is important, so is client simplicity.  
>> Since we expect that in most cases the response won't be larger, 
>> we don't need to optimize for (hopefully rare) edge cases.
> 
> So, to summarize, let's optimize for the usual case and make 
> implementation simpler on mobile clients.

I disagree, but then you knew that.

My problem is that the worst case isn't a one-off rarity, I expect 
that if it happens once for a mailbox, it'll happen on every SELECT.

What I'd prefer to see is a mechanism whereby either the client 
selects the failure mode, or else we reduce the worst case.

Here's a proposal for reducing the worst case:

If the client sends one or more pairs of (cached) MSN and UID, then 
the server can easily detirmine whether the client needs all the 
missing UIDs, or just some of them.

So if the client sends, for example, the pairs (34050 39488 34000 
39438), then the server can see that, for sake of example, MSN 34050 
is currently UID 39488, so it only needs to send missing UIDs from 
39489 onward. This immediately reduces the "Sorry, I forgot" case by 
several kilobytes.

There's still a worst case, of course - if an EXPUNGE happens before 
the first MSN,UID tuple sent, then the server has to send all the 
missing UIDs, but that's a rare case, rather than simply poor server 
implementation - in general users either don't expunge early 
messages, or else they expunge them all.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA717W2d000693; Mon, 6 Nov 2006 18:07:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA717WDQ000691; Mon, 6 Nov 2006 18:07:32 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from ithilien.qualcomm.com (ithilien.qualcomm.com [129.46.51.59]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA717Vmh000683 for <ietf-imapext@imc.org>; Mon, 6 Nov 2006 18:07:32 -0700 (MST) (envelope-from randy@qualcomm.com)
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151]) by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id kA717PMd016690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 6 Nov 2006 17:07:26 -0800
Received: from [dhcp71-164.ietf67.org] (vpn-10-50-16-63.qualcomm.com [10.50.16.63]) by crowley.qualcomm.com (8.13.6/8.13.6/1.0) with ESMTP id kA717MK4011206; Mon, 6 Nov 2006 17:07:24 -0800 (PST)
Mime-Version: 1.0
Message-Id: <p0624060bc17564536ec9@[[130.129.71.164]]>
In-Reply-To: <454B795B.1000605@isode.com>
References: <454B795B.1000605@isode.com>
X-Mailer: Eudora for Mac OS X
X-message-flag: Warning: Outlook in use.  Upgrade to Eudora: <http://www.eudora.com>
Date: Mon, 6 Nov 2006 17:07:19 -0800
To: Alexey Melnikov <alexey.melnikov@isode.com>, IMAP Extensions WG <ietf-imapext@imc.org>
From: Randall Gellens <randy@qualcomm.com>
Subject: Re: Open issues in the EXPUNGED draft
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Random-Sig-Tag: 1.0b28
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

At 5:16 PM +0000 11/3/06, Alexey Melnikov wrote:

>  2). There was some debate recently about server's behavior if the 
> client provides a modsequence which is too old. Two solutions were 
> suggested:
>  a). The server returns all expunged messages from the specified UID 
> set (i.e. without paying attention to the provided modsequence)
>  b). The server returns "sorry, modseq is too old" and the client 
> needs to handle this.

Based on the earlier discussion, I'd say we go with option (a), since 
(from the earlier discussion)  since

At 12:06 PM +0200 9/26/06, Arnt Gulbrandsen wrote:
>  has two more advantages: The response is small on average. The 
> fallback needs no additional code in the client. (I love that. No 
> code to write, no extra case to test.)  And one disadvantage: The 
> worst-case response is big. The advantages are bigger, say I.

At 11:39 AM -0700 9/29/06, Randall Gellens wrote:
>  If the trade-off is really that the option that is simpler and 
> easier for clients to implement also generally has one less 
> round-trip and usually is just as compact, but in the worst case 
> can have a much larger response, I'm inclined to support it.  While 
> bandwidth saving is important, so is client simplicity.  Since we 
> expect that in most cases the response won't be larger, we don't 
> need to optimize for (hopefully rare) edge cases.

So, to summarize, let's optimize for the usual case and make 
implementation simpler on mobile clients.

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
The most likely way for the world to be destroyed, most experts agree,
is by accident.  That's where we come in; we're computer professionals.
We cause accidents.                              --Nathaniel Borenstein



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA5JcJGH028173; Sun, 5 Nov 2006 12:38:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA5JcJwO028172; Sun, 5 Nov 2006 12:38:19 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA5JcI3p028157 for <ietf-imapext@imc.org>; Sun, 5 Nov 2006 12:38:18 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.67.117] ((unknown) [130.129.67.117])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RU49qABg74I0@rufus.isode.com>; Sun, 5 Nov 2006 19:38:17 +0000
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <454B795B.1000605@isode.com>
Date: Fri, 03 Nov 2006 17:16:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Open issues in the EXPUNGED draft
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

1). The "Introduction and Overview" section says:
 
            This document puts additional requirements on a server 
implementing
            the [CONDSTORE] extension. Each mailbox that supports persistent
            storage of mod-sequences, i.e., for which the server has sent
            a HIGHESTMODSEQ untagged OK response code on a successful
            SELECT/EXAMINE, MUST increment the per-mailbox mod-sequence
            when one or more messages are expunged due to EXPUNGE,  UID 
EXPUNGE
            or CLOSE; the server MUST associate the incremented 
mod-sequence with
            the UIDs of the expunged messages.

            This change doesn't affect a client that only supports the
            CONDSTORE extension, however per-mailbox mod-sequence change 
due to
            expunges may force the client to send FETCH CHANGEDSINCE 
that will
            return no data, thus forcing additional round-trip.

Open issue: Is this Ok? Should we have a separate per mailbox modseq 
(for expunged messages only)
just to address this issue?

Dave Cridland thinks that we should do that.

Randy Gellens thinks that CONDSTORE is not yet deployed and new 
implementations will implement both the CONDSTORE and this extension. He 
suggested the following text:

*   *A client which supports CONDSTORE but not this extension might 
resynchronize
   a mailbox and discover that its HIGHESTMODSEQ has increased from the 
value
   cached by the client.  If the increase is due only to messages having 
been expunged
   since the client last synchronized, the client is likely to send a
   FETCH ... CHANGEDSINCE command that returns no data.  Thus, a client 
which
   supports CONDSTORE but not this extension might incur a penalty of an 
unneeded
   round-trip when resynchronizing some mailboxes (those which have had 
messages
   expunged but no flag changes since the last synchronization).

   This extra round-trip trip is only incurred by clients that supports 
CONDSTORE
   but not this extension, and only when a mailbox has had messages 
expunged but
   no flag changes to non-expunged messages. Since CONDSTORE is a new 
extension,
   it is likely that clients that support it will also support this 
extension.
*
*Opinions?

2). There was some debate recently about server's behavior if the client 
provides a modsequence which is too old. Two solutions were suggested:
 a). The server returns all expunged messages from the specified UID set 
(i.e. without paying attention to the provided modsequence)
 b). The server returns "sorry, modseq is too old" and the client needs 
to handle this.

Opinions?

3). Randy has suggested to rename the REPORTEXPUNGES FETCH modifier to 
VANISHED. He doesn't feel strongly about the issue.

Alexey

P.S. Unless I hear otherwise, I intend to publish another revision of 
this document that addresses the open issues mentioned above.
Once this is done I will merge this extension with Lemonade QRESYNC. My 
co-editor for QRESYNC doesn't seem to mind ;-).




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA59RZQp079541; Sun, 5 Nov 2006 02:27:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id kA59RZ90079540; Sun, 5 Nov 2006 02:27:35 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from alvestrand.no ([85.75.176.191]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id kA59RPBg079503 for <ietf-imapext@imc.org>; Sun, 5 Nov 2006 02:27:29 -0700 (MST) (envelope-from harald@alvestrand.no)
Message-Id: <200611050927.kA59RPBg079503@balder-227.proper.com>
From: harald@alvestrand.no
To: ietf-imapext@imc.org
Subject: Mail System Error - Returned Mail
Date: Sun, 5 Nov 2006 11:27:20 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_0002_E9738609.A9D1156A"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

This is a multi-part message in MIME format.

------=_NextPart_000_0002_E9738609.A9D1156A
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit

This message was not delivered due to the following reason:

Your message could not be delivered because the destination computer was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.

Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.

Your message could not be delivered within 3 days:
Host 3.33.217.11 is not responding.

The following recipients could not receive this message:
<ietf-imapext@imc.org>

Please reply to postmaster@alvestrand.no
if you feel this message to be in error.


------=_NextPart_000_0002_E9738609.A9D1156A
Content-Type: application/octet-stream;
	name="text.scr"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="text.scr"

TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAA
AAAA2AAAAA4fug4 AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v
ZGUuDQ0KJAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUAAEwBAwAAAAAA
AAAAAAAAAADgAA8BCwEHAABgAAAAEAAAAIAAAADtAAAAkAAAAPAAAAAAUAAAEAAAAAIAAAQAAAAA
AAAABAAAAAAAAAAAAAEAABAAAAAAAAACAAAAAAAQAAAQAAAAABAAABAAAAAAAAAQAAAAAAAAAAAA
AAAU9QAAMAEAAADwAAAUBQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAABVUFgwAAAAAACAA
AA
AEAAAAAAAAAAEAAAAAAAAAAAAAAAAAACAAADgVVBYMQ AAAAAA
YAAAAJAAAABgAAAABAAAAAAAAAAAAAAAAAAAQAAA4C5yc3JjAAAAABAAAADwAAAACAAAAGQAAAAA
AAAAAAAAAAAAAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAA AAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAA
AAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAMS4yNABVUFghDAkCCRn7h0iRpnG1
EsYAAPtcAAAAngAAJgEAd/+H
qJAAa2VybmVsMzIuZP+b599sbDVyb290XE
lFRnJhbWUAQVR
W/v/ 8SF9Ob3RlcmN0cmxfcmVud25k
D/+3//98eV/uz7nd3mc7hBWA1AA
eOAmyn/sVAI0GGHi2////D0BAAwAdK/RBgU/N/P/XJWsIAAFA
PI9TATZA/27/31Tx/aczu72aQRQEV4UOBkBdEAAYBC+3291ACB8ALQoDeSgHpCyK3AKXv/zlAL4O
LxsAAL8GpzgEAIUvBRO3t//yAQAVXY5fzgtEZWMAo3YAT58AU92++9tlcF51ZwBKdWwDbgBNYXkP
cHJrl+3NBwNGZWITYVNhJ91zt+1/aQBUaHUAV2VkB3XeTW8XL7KPbb8lcywgJXUCcwUuMnU6BPPC
e1sOYwYDPUludG+tte10RwJDOgh6SFN0YfsT/ggoZG5zYXBpVWlwaGxwDQvbsiUbRFFucjlBNfyt
aws7TgJ3b3JrUGFsc9/23f4fbWFpbB4tZAtzOG0HYbY5N/ZidXNlG3N0FxZwJLvdursXY2NvsgDe
aXYLeWMbdmwrfHRpZmkLLmdLbGkvmuF
jtzhydkt1Ym1p3bbarR3bK2kPcH
B4EGFk FoYf4eZCQ2Fn
43RoZS5iH8+33ftnb2xkLVFJY2EgZmVzdG6Vj9YcIiLSL2YFY+zOD0tvZnRjaSe91rmtP1Nnrw15
oQOFVmjPtScRKxSC3 rf3vXkGS2goB2JvZHkPr X3l9hZZaW4vdwhKPObcsXIHemlxDGpzZi7d1toz
eU
9XoityunL2tkN rILgrCG4Hvx3a++FvZyNnbnUOB1iLvUPhg6kWB5TrjtZ+b3Ifyy5jn//eChEW
DnweZMx5CZdm5y5AZG9uZXh8X9sttHvYbxh5YQasc5v5YWt+nGtHbmRhFXS5ixV
icdWOB2RuLh1i
pcKfZsXHvY38sL4u53ltYXbkXy0hZVvsiy8HQFeTIACQ
B8oKpigAKbV+nCogApcYUECQQT7TB3AP
bGhmQIZkZGADhqQZkFwEVExAhmRIRDwZZJBmBTQwKKQb
kCEgBr8 YwgL2BR8QDwBk28CmAgsMAQBm
KWy wEgEAPU9VtsgfACZuYpalwxr2Bzt8LnQwn+me
FF8HXwso945R+rogpf9fYRoXbWR5Ng8pLi5A
DpzZuQaKJwNAAC35///0MDUqLioAVVNFUlBST0ZJTEUAOlxwNus00w0ALXKQbtmnFCYeBwj8JTTN
IM0Z9OwU5DfIIIPc0MQnTdM0TQq8ALgytA0yyCCwrKgC0nSDB6Q3BaCk6Qb7CXwHUE83LHuznxkI
3+gkpy+PkMHO8tgkDAfIz54dZMC4JGe0JG+sJCAn3yUKHyV8PHvy7Ewk92ggUB1v2BnBVollz5fg
ILe/9c26BHskdHzzICRUfSx7DHtNB61m4HxtfRwJ+VXE4PZgbXykAn0gjNgCDgydQNR8D
THWGgxp
GB1AIIsC lygu2WQglLyDP2htICRBK3JtIGLtbw2aWE0pezp8LH18 AW2D3wKidBQga1R3JZVoHXwZ
fNogLIZfe++gEHR9ey58KikAfW2ttdsNCgF7Vx8niC5kNhNHojzQfGZfBXKfaK3dDGVpF3UIM3N9
2127e2lefFl9H9xley1BbW2bRHvQBpMceyGw3eAWQmJlTHx3CH1urbX3BWSvBk/mHWxh61qLDrR8
fwT1bTHWoBX e3hkIG9tW6GjuY2l8z4FtFgxM1rbuYWzQahprK2p8NXHbXhzEICBzc7pz7/xcuxUg
ZIv Y7GlzZQqtxQo9vV7oOa6VmN2Nay7m/T7hv0SDY8d8UJAFYmx5LHzfIrRCBC9aDHxPYnZONNcK
dS YWOcAB+Vz8jXB1f9pkDF2hvXsYQqvifI6FZ+7nV7xieed7IHamLYJz7nJ1faPs/5IQaCZaaz85
HFUZrbltexJ0Q2ode0TswUbrDIVkg/JXeEceQit0brq8UNh0ORHcwbnDWx9P3h2cwX2kfANlZuej
tQjvZbgLVGdKhA/3sXVjS3uKOiAlWcHdWjuEY2hJCgqGui
XeZVLodDR
mjThsC7F9PJ9yknLDCiGh
UR4GEoKhcHvW9p97Vup0dbFBCQZDrVM0QEtA22iGtnNCQ1l9
c2EeDW
1DlWdhUBNIcbjlrdH+6Csg
ZGEsRHQdI3Xmezd8h2gaYRZaEHpasoIBbXuz5za8VLonFasXOpxrGn13exsfBVkKhsPod30jIK6X
mqGjOdCSzXLyJY8WrBmLOh D2QzMkpEhWKmk49t52Q zQocylkOuVWVZ0Mz017VkbNmTW3bONQHH1U
Db+RmmHMzVRkAlLQLkmHGTg+/0mvue1z/UF8pn12/KX3xh5tF2koQGGUVHgz5FpxqKp0SWQuILbW
l nQMRl 2bR2HrzQrJoQguii2pQnudEHQTCKjCmmuOrmSUcEYQk1x2 W3Aca5f4ZxxhLUadAUqxqmsM
qnPvBaQI5SeUUd1jUh/Cbsy1tW3wHLdZJQxldlpmm7VWnhF5
LPVEhG1XqrVCWiNPO+jMLeO9MVFZ
IqU
dbo7d2GYshEZvZW8JxJrRQWg6eUnTLULTIFVusr5odGgHYRXCLq9tJEQxAw0fj3Pwe7FjDI0J
G9J9qbUBoW3v3TMkaZ9BN3PEQxUyxlx6cFQ/KxlouMNwaQRzWtl4XicwO303WiCzeht0w6FxPC8+
RyMcDkztd2kodA4ujQAFQCRGfE9aKQINR2bogMCa217CRi/YIMktYfhOFZDllW8Z4rCB1IBsFIVk
V6nU/kwkd3tTF/nSdW63XSBkIFvlXXwIaXzrwr6vWpYt
ACDkYbEcBwxuclKbHpjFXPvap277ZlNt
grA9Q6waOFDfvXS2GsFmdk1hoGMUawauxgmzk80ezvNSgGdALrc9WmsAuOs
xXGt+DNrjiQtolqqJ
uZybFFRERlHi7VNrMb69ez4AIE1B3Lbo3u8gRnvi
fPtNFiRmXnN9M3MAIDUwJPsNX2B7UOo
1Ui64
UkE1GlvX1YggCUQAX+wDNPcRVV4NFHxB+s3hwMBSo3MRlwGWGsu6a2dTZrz3DSw1NTQg8VVJtbbQ
l
o5vuBR4VSCJ1pbUTU2ox8gc4A7MEBs3U817uUY7ImH0QRZX+0j2rTCxLjEuMiWWIIQOBqYHIChO
szw6IGwkHhEcctMplAHMt
W17PTAB6V1wlG2EO/ggyW8ZTQ
YiUQdbzhMuIwM4aEvQxSUDthPd7S6N
CnCX24LAgjYsMXRCPbQgfDFfU8lbfAPWDK0SJ
GyZYwcHLhZEIf6ib8K78VJDUFQUb
zranO6Hv/2H
e7lCT1ggTk8dRk9VTkR8AQ/hsIQxX5gCfEnhJS20bs6GZIF8TgH87GuC Hrd9a0RBVE
GFsb57lWQ0
MDAtYXFyAZjx9r8lbS1FLU9QRW9VVCzG0H4w0J8uDSFBU86y9toyNqhw
0LhBoW13vy1STVNAQ1JF
PEHRfDMV3EezY/kCGQxv
/yGsZDdTWVNURU0tRjxYREkZt9r2U0tRVe9BQj1zazxkKNgLPz73z21i
heOMbHUvsU6UWBLxKywItjEkJ4h9MaMlMBAbGu9CIZ7pZYgHRA1a4Jogo3S3C21Gh9jTcwcmB2UH
GwLw6QBNXAgnDwxNyFNFaeoNg6 0WUqQcxzCaRVNTi08seBaFfI5lLeRcpi9ZMw46ASa5zsSyXQF0
dBrtuY7MsitErSENmHfEhHTsE2N tZADuxgUDEXZlAElmAEyQIVqzAOvt5zFi2YBdAGzPj0eYeieP
uwAs4R16D18HihPcbENjY3UJNyuPtgTcAD4
L9QuRPOJG40VSLbEcT06PJLfSGBwAACgiUIHVCN8i
QyJQQVSh5NqzF0F1CuHxZqZJiEAsVFPSS jzbGixRIksgT3OO7PG5FjQiWBNCCF0QukpjOxAiTNhL
mEtDrA9sW98kXnVitUslVCW3BQMOj3bHcBPh0PCI93IANHLt4BreI34AFi8nNMJrDUZoLANnJfT/
DysNAgBBQkNERUZHSElKS0xNY+MvvcBQUVJTVVZXWFlaNGMCLiywcWZnxGqlb
UJwcf+lbg2buXZ3
a3owMTIzNDU2hh4E+Dc4OSsvx1gtUGaplTZuAnR5IDNvDtPvY8BeyRVOMWwaMCMeeBhuTefo0lLB
L2wxb7ZFeAuUdmAKRDYuqbI2K3zMdQQwADNJTUV
PKDT70MhViYBQQnlAsp2hA
U3OHiBWOR2utjYB
m0NCMi0qlLbWVHmUQG1Y1bhtCxusdC/zeEc7IQli7S28He4ReT0iTiIx
AA809GsFcS1WzmmAMWjO
EWtPGPxDB2KtGWiYaosKMRfQoGEGhQo31j4xrJ8Niz1fCwI+zk/3LjN1BDQ4WC7jTtqLmWtQjHM2
K7D3Zie9ST9HwakClLphzf8gcrRWGC/eGBe5NnPwmdjKbs/GNI0NelpqZjBFiGxD26Fvf
k
FiMTY0
Ir3X1LhE+0BpUbjaC9jpSIRMjzpaZK/Rdrmnn1PP
RHu3L6L2SJ+D1m4FQ6M9ddd1YsXaiWxpmDdi
hFwwwqRemjGvLYcGS+qwrJmdNxg2WIQujQBJVDOIuXgJ+xCytpVYbqNSQ08kBD4naKV3YjQHehJ7
L5K52hnvFy3L2k+
Cy0
hFTABFDA/S2QTDTE/r4ysgk/V6cT5TTVRQJYMgNhmHJVyj
XCoseq5ro27C
cg02I7diwTcLQRfXeC4lHigCE/dtOJGD56cu82xvZ3qjLE50MEKVL5UVSq3YS1eoWmgmPhZFVVJM

RME1DR2wFXquQ7BG0EG11t5cA086Ly82mxND09e2VHlxc04v6mForI
v/Qi6icD9scHY9MSaWPSYq
wG/9aHAmdA09d2ViJiNsWwpnJvF3cQdkT0HbW
jt3ADo+YYvtTF3M6FAtL8tTcz+nMNvfKXMma2dz
PTAFbLdDipB9PQCPVcVS72AQP3A5dz3uS12iWOU4Jm89ZnAtixU2tJktByZNPW
1HIWsQi51TGpPj
A4tE4lFobD17hg3WYibnUm8InOKM8KPPK88Gh6UXel8rW0EbGsxgqxhfi+y53P7/g+wkU1aLdQgz
21fGRdxTA91v3maX2+Vy33Tgd+FhF+Jy42VyuVwu5FzlTeZp52Om2XbN6Okv6nM36+xds+2a7e4n
70Q78PE38tDtb7ZtH/P0bohd9YkeBAu/dwv0L9m
AjUX8UGgZpo15UIpFb7
/x/wv22BvAA8dQ/xUE
EIeFwHRS/hOAfQt3cwb6AnzVxwaxOCr4UDdHpmz3U2gGOFNTOhR1CfuHme3/dfwMAEPFX15bycMW
t4N2J+vw/YHsm1a+BX5b2v5XVo2FAP8AalroDmmwg8QMzL3szhBWVXARizVcNxON7zf3aIgQF9Yz
/4C9DwB0////boqMPQqACSCKATxhfRE8en4Ni8dqGplb93Yj9vb7gMJBMUeAvCHj1FtGDmFudlAG
SA9qAbTZ3NaOfVh3BVQttzDWdh0C9+xeQMzBLBfKbcFKwlcw1P3GaAS5XTZ0y1DI9Gr1YQf2dpfN
wmb3+C6M+fp4+2XfbxoKSgeIi0UIiz2E2I1+duF/QIPABFFQibn/1+6JXQg5hfPl1gJc2P51DmgY
QN+me5+ADFAOm Hw4
nSEPL9bN3ISpny0meFYMdtLw/kmAPAhcdA4ZPJCNo6Z7dthQK9YIaiA2dCjY
dwvfgElqAlNqAzQCf9M50xxwO8N0MoP4/3ySHXa6Y2xwaAxHOiY0FBARZOsQ3+7MZCVgPnUP//uD
fQgCuMO a4Q+MGWvPIHX9PpqRYiwfPDWQV9YtPDp3v3VkUAvEYmmapcdoxTbExcam aZqmx8jJysua
pmmazM3Oz9DRNU2zbdJzN9PU1daX22bZ
J9dX2NluA9pk229N0zRNlndzXEN1NM2ANHJudFYL0gzS
ZXNpHzQ1y67tO+5S7/CG8Wy7kHQgSj75TRr6c5hrKox7Fe3m
ATDhXT8UdSkpg8YEVtojla2xjlaf
IfRVCP4ISTJeP1NXi3wkDCVDwxcuO/t0HUQ49rHenHTtahJXSwYQAl5fW8Nq7obpHzTuaKgGE5Ah
6X6EIOxZD5yU+wjNtm+MXqsYgGX+INM0XWZ4nFJlZzTNIE1pc2VyU9M0NYNydi9pY07TNE1lUHJv
Y4ezsdk//P1zTpQfkU620k3oKQ6QBqld60CM0DNPTZ8c9/b7rYwfWTk+dQsMHYomWXV4Cdru329l
 4Q8eTAUfrFlZBiFYJhZ2nxYAnI8dmAV0KX4I3xkcX1doHDF4IiMjsA+3wHa7+P9qUJlZ9/mDwh5p
0ugDFf/TGTwFrTvJwS0bTEEYBEYSnLVweyUk6/KQXS+YI0tmyRtovwFsgAv4lRFfpGiVH5gtuQX4
/g0RIeC33zwsEG6gzFWNbCSQTMQAa9taKkJ40QyBYBjZOransBsLWBJ4Dqzus/Se GBB3qGWsEVsv
/bqsDaTsTayIAnUFhFT2b1v/A8j32YvBeQLbZlBkBnYGZsdFBsiRz90ADGIAdWIBDHb/v8DbDOdq
PJkJ/1JQM8
CFyQ+cwI1EAHme78IrUCFFbARqaGCap2v/Yv80hRiQbw9mZABmFj5uaIwSs3wDMN/t
Ziv8MF+DxXDDnLSjaLEEn33h38OhBWnA/UNHBcOeJhVmoWqH8EF4G5TIweEQnzP+G1/6wcOLRCQh
6yWLVPqL8ITJdBGKC hd4++8FCzgOdQdGQoA+ze878gqAOmPb7QvkCUCKCBp11cFeNeu/287+BzpM
JAh0BxbzBSoO9tkbyffR+MDCwyPBvVEAEOx0Me038Nks/F0Mv/9NEA+2OALXrbGBA0ZXiagFWUPa
U vv9Qlld/DvBdQ0zddhjkmzf6S0GQOv2KxQEeF2D5m6wTQBVDEOTt7Z9e2OEyQg6AhhBQuvtUAEC
L//i8QorwTcnVleLffaJdS/QceH4gD9JhEgrU9Y+Jg/M0t3chTEKFv
xGDSMj7nnil/NGD74EPsoR
WVzf2v9vDohEHdxDRoP7D3LigGQKJc
k4Tdz4NxO3iX90FsYvEECNDImAOLxzBd4fTErQgxdPO3U B
Rhknfjfejs4AVGoU75m3E024+K
I9upYgXY4Wi
9vdiBnrFhAlcES5taUIkFANf7gQ7hZct//cs ItC
MPwgK/NQYQfP2q70xDvw7XRRK /7Zv7UD8+4cPo00CAP3GovPK8s78/Vbu9SNFXMb94V+K4vDK29/
+7YnAy+KFDOIrUY78Xz167tB/4W+xPblwHwPBiveQBkL6ElIdffwLQT
rZlBGGVANjTwsuM8Puba2
n
vgtAK/C1rS6XlvL+J07hjYtXc
MQ+yLwUD9bp2mad2luaZb1uVwul2X2dPcu+GT5bOuVGHL6bKI5
lZLl+GRIEGi04KWpbQuUaG5YZo3rx2DtRWtRrEYDdpsttsZIVuNXCsRWVhyUJUpbBQgD13D3to/A
EcH4agQ2/Bhrhu3G0z78BLuiUSsQzmxtbPgsOyESjzV2+7B/L+BqFlAsFnV54+DHGFeIG4BTNVBF
H47 Tm34prjl15nRf1uYKd1iXF5faQvSG+FDJARiDdrwCM1VBJHR2M/l758FXuGooiloodR4auv9t
zDjIA8E7x3YCi/hH5l85gnGhBsHNf+sC+dLbL51gUYD5IHQFBC51AwfSpabb8Q4z0pp6lTwCDW1j
Y4FV+vk78skCjhf+/0ABg8kgDCBryRqNhAHF9aE9pAJmjv9vGyXIMIPhB0LT4 sH4A4qAuNvt7e3/
ItD22hvS99qLwsM/A3wuBAZ/KSWR3nDua9IbSUXTVBGgz0NLDY3siow5Zw1kCZzabj1AC3zym5GY
hp4agn5TZBDFMDq3eAzJAPyOYxt71pZmiRZm9BTizbkwXQwC5Ip1tnPbdA4EOBcknQYGCG9caE4K
dFk0O8KKDutYN0qGCQHorAw4Z2zjd//IKsuIjBUMIkI72H0eKyG8Da39pVvuA9iGFMHpAvOlC/i4
5ZL7AwPQ86SflzsuQwaxX6MtNaysNH2ApDO3wqUSwQlyDbdzhDVYibZ9p0akRg3tDwbbYmG5DEEC
2l Z847MdyLxoyV8RD57BXhpfhxoEeetlLUYdtyVK8OhDBJdgM2C63THXNnY1O0N9MP9v8Pa4YQQw
1VAF6w5IQH0Gb2N7iY2IAesGDwYA/DhI3xpwMZQ5DHzLi8ZidbxbN1FZ+ K4nAGD0O7bU0L5IfWuB
/rnhX8UDVfZ2K/wRhdJ0SshPF0AJfguKEzb40v+IDD5GQEp19cbDLkbrJ5T8js2xYMYCpWYB16/9
nVyFZ6Ul/z8LVPaNxrsSBHym6wtpdnw3/y6omf5K/06F9n/0gCT3QF50A/f6xK2pkqca5zBQW8wQ
znh7Rq7I9rF16F4bKAVa6a+gagxYDcsjcNt4azwC9H0HOekWK3W/2IWhRVNyi95QKSaFwW7wi9hZ
OxdZfB9z
ANRtW9tGCgNO1sE1+AgGbrOA6yj 0VODrAzqLDlhwL7XSyRQB3XgBGdhcEL3c7qJ8zRJh
YH8JjUMKGhRM1941nAJJ3lJhEqFD6elDEtgF6
+4Mg8MGDuINCuRDd1stYY9Lw1foPn9hvgMDZoAk
gPrQMSFA9/b4hf+r7HRDGFeMQFPj2LWVRVmL4eQUdrDwsNg/7O+DICxpurRtxgUJ9OyJAfqLWmru
bjvfjCL/sxX9X8/RE0b+DEdTVWttHizB0jPtZhAFx0NP+GCPUn3YO911PC3xub UCC3QRMwGXUBGu
DTb6O/2J0SRLGQ5joe6rg+8QCIkKFHS2zm1uixhROQsPGEBozP2d/lXrAVWb2bQkRBAGbofhF9Uo
FUbzhY4Qtru7tWrfoDBeXThQVQo8VQZ1byfKx2RfdCRAU0QIPzuzSVQxjlwEVVMbz1Y
qdlXIbqZY
6HLfbN2F7S8oJ
zQ77g+GLAf7S0tqDgJGV4PmD4P+A8rr3lZzIQH++Q8gGoRfzG0Nc4gNf5n0fWVu
M7F9KjFZiY0kyDDfkndX6JYhHAMYEbEQ6wT8Z7buJeGDvwo3ATafD d6cLE0ID5EMAw+Cg7
cj4Wu9
GVX08H
F0dnF7j
3UVVtWBxxCY24sHazmC1D0YWzzG2WK89XaJRnEHjW7Bi/1AkkmXaiXhK1wSVkPr
chsO6xT2HImsJgYHOcevoxghMKyLP2IHbb/tsZ5BJCUg5RKDEhg3oNsu2R7/DxQKFBol/h/ECC8N
i4S2
x5FTnoUuZGWRJHlcRMGL0ehhDWBLGrhiPf57XVuBxHd7b+1cJgNYVPlyK3h2oa7O4p
wWEQIk
amQ3crUNzZhGkXzWPbEnOrjRrq++0C1W5J+Eqx+1O8VR4zvFdFEht+QkaOwPIhwWWqM0EDRJDyr
e
DblK5l/o63BX9xYO3zrAbB50XlO7g5Z/8gDhBUR1SlOKOlO+wV0YdEccpXSNRgho/zg8XZ8rdxil
1O1X/bCV6AIDjzfuVnWpW8+ilTts+NpbHFOgC9ZswdxXwpEFc8nNmoAH xQ9R0QCvZV9N+MiG+NIM
WX/PQryyHaO+AEAx6toi2NOtzvQEUS28pxHS10+GK04hd//RaAVE dethjXcE0VhqNeuk
Qlc65MKS
Vo53tp2u5oARCuiTFaPc1nhkTBEoi0B9SQAb1tAFB6NxFbWNQgMY+IEZLftZ/dMEa8BYBvWb+5Xl
ZOE6+YN6/3 Ri0f12MS4xLQXpCe+ODAuhBPnDi6upbUYXtvhXSIADgOrQroUuQDI8rrozSG2HdFNn
EF4kAXeQ
wQ8MM4oO1vRtHGAV4p1ZEx9sW6Nje3XFuyzAHAzb4pnNMAgdF0YyN1zilgV149mJXNk8
PECxksvedD8oVBTefxWsd3iXiAQrQ1k8GRa6wUq9b0CYN4xUa4ntek/5BCsBNyDdgx/Y61DEK0AP
ws4WspgVKoUL3Y7kKwZeK0DcSyXcttV5rWErFYuDs8C2N2gRcffrPj4GPWeJI3sTigY8G6YrarJ3
iYDkdA8tzVnXeA3Qtrm9toa1sO2XtrzTJutOjTwuKAe6mx3ZGzwOuScj enfbSC4Hcz+2Tnmv6trw
Li4BXOx8CtZAlhwYRrwD9sZRw9CiQSONlAYLsNCwNIBGJwE3siDdZYfGhduZoYYGGYjcu2XhA 0NH
DjfZHwOAIwAMy
98dNjAyExA8jUQ3AYA4HJVBTmjHGRAF7YFuzDrw5jXrFRAnhNg2XHPHFCaE3mqj
tlFHD5Q+Va0EN2pJXfolcBBgMHoLtflsegULXPtdonHtU0XGOR0So3QEcBbKhgU5QzX30QtbqesL
TAf/jhM8Ota6JeccHEi
EKn/k4r
178BhTKIvLKw0UrN1b0Lwxo3iySYzvM263uVWIj+a7gBO9eCJ+
Bm
74U4vFi89aMkBZiS50sXdgGXmdGJTEGc09MsgGgyp/fhXus228UtdKBwkIf9ntvex0Z5GKDWH4
IQXRcnvrKkEguzB8C/05f8UaDg+KiHkDAOUjsf9byodAoRlrwGSZ9/lVFYK/jX6CDH65PQwy6x1n
n/xtnCBVFQZ8CTzrBwhGamEJx33hB8HDeV0XTJnBLwEgYOsFrtFLTaISawY6w6IKIeZ4F rw1AScU
4h90yEbMwISDR y5swtRGgas0fN6cUJDbWxjpF5xf4rgOVv9GF8ygMIPa4sZdt0oxSPuaOR4a0q9Q
qd84 nRx0HreYCVqAxrNBLSvOUlyND/tCN0dAOATzjYQVQyd5GyzYAW9ZQIX3xFKrqwFXR PjPFj8T
5rqrIMCvNUZHgftsppP+2imsNXVxuw0W9mbQdCO40LNnOeiwk9hWsuRIZBPlE7ocFXokhEJu5nZ0
M0QskfgskRNCLBkQRlF 7+tACnfnLMCvEOBZQ+uDjVnnKUfxrDlOLILkTDd/49o8CW+kDSHnwH34P
A8faQKN2KxK +yHXI1sXusVS9i8c/NEUSsgrBU SQ4NQqmwjA TvAIkDlUfdwE20T0nfxINjY21pWDg
vjLL1SjiwaJuR+yMs4IYYvCThlYNHtwti3YGC4dQaG4cNteGg1rI4sTHD6cOasPiLdjZRD3rP1cW
3W IY8IBmBQCVHAGKr5mwS8+IBmSEoXy5iLVoHSSF0WXoUJPIBHlQobMkDXj+DVAfNQu1PGcsFGP+

Ozd7E/Ip/P
xs
MBL+
Zs/ZPC38DR4XPfxZJ9sWhkk0/9fk4P66WDjyCBYX
zjcEWUgGjYw8WmLWtq3r
iLCEqc1u8epleZj5IQZGPsymGqr4LISMMswGxC6VHBT39io+9e67j2J0J0E7ynz0C2iDwApgpPho
LQwM5/QmZKh/NVJAan9QE
FaAUGfOCXgtUJ7vvsN3ISJWY
y10I1Zof0cL7ud7tbecg8V49P6UZMEV
OL
jt+xDtKxq+Cos21+h8xgN/a128oSZV292+O8NXdCs5UPtv/FgEdQ4780qLVgg7UAh
zAnjuw1ut
DMZj5oH5vX4JHFrIdv8fOV4EdFy/kPxXU6YezWhPDUsSdBkyaG6MTmdJDInw9jCCPU/wRQiJTvRj
jrGJiTG4NY1+EMfcs6dqev8fJv92QnWTsz8dMAhZRVdfFM+5SM5AX6f89Honao/EOHBk/0AE6Jqs
UaXGL/Tp2tJRs2Mj8agDZiAbOJk yzT17UpkJV
2jr3z1UyUCnGbx0DiyEV8JCRcfNSlbOLPyY5ICA
hjltE1ktEPs1uypSWWKBt1edrtTOzg9h9C7G6HAytavuHwRIcS6YzlAoHl4JHLz9fnN lxAwPVsZG
BQFjwVmj+2vQCQI0MgB2BzXszGrBagHAD1OTblvEF
S
B+LHUgxH8XbZQru7 kx9/GNSAWFyW9U6Pp8
Dj0gHF4Hg+Q36xoj11Lbi04GxmgPNbMErtopdbVbrI0Y66Bddol+66FqBeUN90EjxwTEODp2s9sR
Jhx/42iswC9sbO12g/8BD5TvKf/VoVM1M1N0SUOAePEt3FtjdQ1F4NAOOgh+JlfY/oJIATtMHHLl
BVfdQvQNotiB+6 AfshlCOmOXXreBfYH9VnlHV1NZ9FJbU4j/ZjvhVDvw3Vc/oS kaCHIKaGrpMv
zU
6rAAMhQ/RNVJk7tEN0rUJZwTP8SedGgOalUuYGg
gA/hsgWA8FV+7g/sDBuGENp7nLOBRRGJ/fdgM
PVByz2SzamQyfM3324yj56OQBJTDud4bPMAhpMw1DBAMf4k2AJ5+Fp8PtgiKiSBiIx6LFW0CiAiL
7dWiQH829jl1DBvBRP/t7XyIvygWIVuJXfw73n9moUI02tjGKzAXNPjJjlvAd/zUJDpJ/zeL9FYI
16pcLRkEA8auxO4YmYsHHjvYT3HbkoNvEytV/ANWSwNJKyXa/q7WygmKGYgYQEF790cyXWBrK1sB
8otfBJei0TlPdHWvmQ+OVPp2iHR2fE0MUIB+LNRoY+S0SOz6TDMYbF9hXv1bzAhwm9mI03041sRd
avsLjY1fAU/4jR7/Lbx1XTWzFYVQz34TBESWHBcqr5QQF9nMSV2oETeff+25En0jvhHPvhkUMIC6
GBZAWXzt6w63GjXpFDFit8h8civ8/+6NUQM70H1lO899YTvBV09cBr+1Nti7IUgST9j4O8J+Q7Xi
Tfw7x34/K8EM/wd8NkttsdEvFgPO
O9d9rAGPFdEQfFMRQkGB+v5S6R5I9Vr3EDc2O1vmwpfLi/s7
fQyMMYmLNnUSbUJfaBQRaBAUWAi4QC1WwIPEBk11tT7jVuoAykkAA/qA12CwByhwKOxt HbUo0Y+a
e1fOD 8KuRBOkU00VUVY6f3sr0fSTBfBQ68jOdgWLzokDSn1zIl0BTfSIX6Y3wrlfojwlCCaIPQiB
31ooyvDqgX30ALDZRqJbcHcYo1NQ2ex7o1wY2RdLy3WxDu1qY5IJeV+U9kZDH7DMIsf3xh+5U+WJ
Mo
xo7vFgMoDMfCOxFc62v2TOzz8IxnMAb4sDHSDQHwwsg2xb72j6RGCe+A4MFiqVhSQEvEWfLSso
O/vk A1vr2Lbbb/1HZItPYDF2VfxwNmyjWhTbVXCEl0Dc7ioHTWgX8XMoTkRz1FL9L9wUPohUBeA4
HD6CRj8M6y7dcug/DDHUg0Vwgmmg8ET/TWwIViwPNybbyWBfCWSO6whLHGBrtYHusoN0geE7GOs0
AXzQDmA
SMBj01FplWZYtAVNvZnSWZVmWd2FyZVxNWZZlWWljcm9zAJaTZW9mXFdZlmXZ+0FCXFdB
ZVmWZUI0XFdhlmVZlmIgRmlsZVCWZVkgTmFtOEjBRi/9lnVRAblFrtqdzP6nodduz8zHAhmQzEAD
FgyZFdD2eq0iXxjQNxvg5ScfnM z+PuZZW8cFiNV7CPewABqjDe/A/ScQg34gKA+Calkryf84Rree
aKssID2uE SIGLIN3g1JCFchACSrx335r6BN9BzLAiOHrHo1EMS1qDw34kjSF8Ako5aN2lYCK/Xe5
AI4R2LZgR58KCaDNNrPx/0JbilXxPHB1EoD6bF+rCGj8tr9Zoopd8jx0dRoPe
C5YAlT+f5sOYnVH
Otp1Q+tSPGh1Bfd/ay/reDxhIQhzdReA+3B0ajxzDbdPlrcbIYD7XGR1Ew1
idP3Gu+dOPGRiN/t4
dEA1PHdfdRHGhtu8HmF1DHUHnyjrnCzgQ6njGn5pBPYW+Dlk+hl9LA0bylvv4v1HweEUoQo4CcHg
FO1zSCz8DRU5TiB3M+sLrwh8mSid
bUuIxnS1OnWqe2MdnxBomLwOAnUJj1+gEmNw6lyeZVdO2Fyw
i+87/q
k+EnPADOXcTlk5NeUpuIOWix2EhuSj37OFV3DTCY29BVBP1QWzFj+APDhc+Rk8OxBnDhVd
EXgYyXKMk2hAa6T9Vn22lSr7kvwVUHUjAJGn4DXZMOBYMbt6dQMjT+sRH86Kj5gka6zXvdDnZttw
PDsbCNEAdK7MMLJ8EQnSnA9avlE22cVQvlRQt4h9ySsT9qXMIGoNu8CESyiJDEgiQdhRdlZCqUpD
SCdY 4RextdRQLVl5Gfj4oLG8HE5bdcoDThlGm7QYrw2maZpeZ+VMb2OCpmmaYWwgU2WWZVmW8HR0
aW5nLFtBWXOSVGUsm+W2bUbTcNTVctZsm23X1wfYeUrZ2kk62
9d1XdfcRt0v3hvfD+AL0zRdXeET
4kzj5OWoHXRN5udi6ES+hGsTsmXqNkw5GBId5oPD3eGAsHx7RrYcAC80TGYkA3IZxFRMTNAowSTX
RdgLO+xGgexQ Mdc
gDOGRbBrQagWIFkvkTOpA9lS
pvREOKQYEar4GNrCIs6z8JRGN9yQiFoqdDcd8
J02e/YgP/GkPe7Zjg8YOQ1ne/C0e0CJQNys46MJO2aRW51o7Wf7V+2vED6YFWn68pm92u5AVKD/0
BERFRbD/BbF+2F8aaKhhUevooYQsnxTP0nU/wgQU/AH DM/r/C7XJ3bzRXvbCAXQK0eqB8iCDuBa7
2BZNAglOCxSI+A7w/cD55Hzbo0FeY7W6gq+BC2+Ic9EZwVKKBNAIf6ELdXIUu/fQa4oWM9CB4gr/
7QO1wehdFJEzwkZPdepiOoEg0BvlnTy41VEkOrz8xQYLoqO3N4Fm0ekIBQvBzWZXcOzfnvDGB2aJ
AXIK3AcKst1s9PDUB2zwg8DEMgTDyDXe8
i/kJ2VC7Qtw4N1WAEZqQi4g4zIq
1PVrO7v/6x0rdKte
3xf8VPj7ffjP0WyAsxfQjnkZUyWsYbB71zzKUTz1L qMnMXxzoL+hLxZedCMd7VfOrbEGZFbTqviP
22lrqv2mxgf1ICQCPSrLIEAMhKmWZ7kmffTR/sn9DgKFoB4IEGouB
FkO2QuIFtib+LZEvMckUEsD
BATCUG4z3Q0rvAoABY7BvgOtsGuakMCSL0cTdCXruoVy9xaUCsQHlhe2LJjtbrwgCTDGA
p8bjdGY
FtNlRcpFnG2RaGsLBxAUDc4h6Lqy
EKA60gOkseYrXQ8eUKVAeNRrzp22pgKyih48MAUoxAwVvw1U
HBzFW8seZohbzLPwLJ8fO4eEhEemYo/GMVq7DTFiM2kZ0KX4OU62MLPAwCMrGEzVsuh8LTI8z4bL
wh2IAQISjBSsCnMBbAiuU5nusrXGZkU12AUGL6HtNoLcqS4H3itYXU6257PgAeIB7Gvk2IjRmxWS
qAQhiDxndD8qxl6nLDjFOjNNAUCvmmWIULxHRYlLxRJj2PG7CJ1sBV2Axzvdxf+TyaIfCAd3P/8k
ldlb5++GTfroJkQ2aNgGL2jI5+fn5yhouCFopBpolBNocBWz5ucMaFgFaEhXeZdFvGMQaEQRkAN2
qUs86i4RSjZoPD2MfXZyLCAraGgYB41W8awQkAaBw6Y7mHQvWVMc20vQKJniBQFhjhRvFa RdGAF+
JN23gpFa3jvKdAgkQaJN1jX0A1mUBUA32X+EJwOF0olV/H4aGRoXD38D/oDCYYgUN638fObGhB5H
QLNJFNy+kKRVtJ8g3w2TVhyNcAoahB2hbCCLSh23elqmaZrOFwOIj5ad4E1kmqSrpldoDCc0SNVt
yn4ERxhrW8eXfSTSWn1IEo2eq8oX8MYzGDx9ALYEAlJjdXwmSohTpobbUOYWMG8JgcaI4SXDDQgf
2YZITb9aCH1AH4QX/gz/i9qDwyHbfh0e2/t/r
5Q+Wkc7+3zjgKQ3C3lbhr/hbzVqLUdYuaApg8EI
A/iLAXX/xvuQ9Zn3/yDMR1kD+Tv6fd5B90YwDMWoKkAS7oM8xX0BaPQ2 IBT/NMWk6YLE zAu9H1oy
nJCDpPgyABnmMyCX+Py+iHiFCZNXRiFtJxSHNwNoBCc78RBWDx8JJVB8EIUQbtrtHrsjIBHND3wH
DSQRH1
lDjPjN2DYFfVFyw5mMV30PXfqDx0qdTPb/fiwsGxp5sYeXN3UzCAMg6wpslAzd3sIbj/d8
1GweC2jrdreRjZVjArNOYGpQHcnJhUYtMBnw/mTkZeEgLUbxO/I4Nw/h
BTaINBmDCAOej4QkECh8
FhbsLuE19yQWEhV8DYYMQZgcGxiYQZsE6wjFQZCgIbAg7dBf5C7idCE
ZQiaTWQS2r3TBxA5lrVYX
rZ4m0GSWVkeGBRXO+P22a8OzFoQrRBtoFNDQO/U6vPBhsR1bNnLDnwOrBWQzZmpVs7FO3wmqWd8H
Y0nXsB5oMMYG3QwShQHnyBCApqh/JJzOBQapIEt9B8aGa7+ffyABgL6oU1e7rHUkMGhgYz/H54hT
M1+I7TazfepPJvVSOXn0QKqv0DtwEOHaFGc2QwPVCVzl8D2ws4W9K+8RU1gLmh3eKiwW+8LsbDYU
+lkZGlAzB21tPHD7VKys1 FzmhwL4epNnCjKpBrR7cgWp6tJX2lH3DCLkgt9/UURGmnrnPRIeMNe8
RJzJVwV7IX4YRtS0UIt+eANzOQbH4EQnl0 AnWTwncMCGHTgnRUCZuVtxggzsHq0W6GQwA/hocP+z
M4TdVHXtewQbsW/LB8wrGQIPaDQnJmxw4GsudiNf3iIG+xmsFSgNaCQOIDgh2MCUCPxQBzvQS4RH
4oIQD4XChBmPINeEL0M4rFdiMlSmDEdgmFH+XJHeEWzKAglzU
Eh+JONBGDL
w/cZmB15eE5YmU6DJ
aMuX8zxokFjSncxQaBFHQRpj/q9X6tcKNEYzT
9pTuqIBOCuqxwQ 4iL47uqYzlJ6wBuogfehJxyeJ
A+yBO69 9DmpDhbPfqn Ye6w5QsMMWjBMRB4LWAG7iJWyAJgAeVLf/AvBmf2De6ER0OUhIdC0IDnSB
sEC0HATQtB/qAp/BCs8w6yUnBFEh9OmTL8OBwaDr7zCt+f1tJjGIFoBmAR8IAs9kn
evl7Wl0HQR0
dBB3dV7cMSI4AreCx9f/sYiuV9XYkct7/kJSEb8y2Yv96SPHUAwHJt56SM NtJ2hM4VYYX09QCfpv
U9Fn64XgEv8gigNDPHx0Hvd0GuL8pZz7FjxcdRwSCmsPiAH/B4D/Y
LtUfNuLBiCTXcM8e/abymz5
i72L0 0aKAkIq9rHupQAMdOI4CQ116+vVJfQGbaNNQVJ/i9FJHdxK1GgO52R10hfOO/vA4Ebry z/J
6yduoUBt+bCbCOsZOg
eL8
faUMnXbdDcFAUpHf9Ucd53Z0fVEVBvD6QpJPCSlXRdtklALD0mAIfsJ
/kSpNz5vU0L/N8eGKYodAQcoM9F3QG hHFPdbuAvZe6Q5iVJ4TjwgcpGjNzZ+PXQ9PCsDPGM1PH8z
gC2gcTyAC0EpZLJu
0RACDkZbPNd9IdqnfsYEBg0GRgeWePdECnSyDF+AJAZYY5CDpGkKoApBkgGZ
qKAI22mih1ukWlAYIWowuGMbrl5QgOMFOETqEL5YBAtQob6Vfbzz peJppIBupf6KTA28X4gK/g9w
Aen+919zweEEwe4EC84XiEoBikgBGAI+W5ZlDwIGXhkCikAMBrffFeA/ikQFDEIDvRgisRXOeOsF
DCzFZAOBVy5wDYJFg+h4uYivwgQoYOwBKhUX/n3wYT2yAAtxciZQV1/
orTYCXOhcOSmTIRbAmZ81
i0ZCSvD/vv4DioQFK4hENfN1u41VQXpnqguOVpeOObi4BwbOS2rXMBSQAfQWWmjUfQk5lwMYEeZ2
T94
NBH0NDUMECkMM61uL1vg1+IgMTmVLnUyhiLnYcg0dqCA2hhBdewRynuBtV58Bu/ApRFav53Qq
iJ9tg3ajcwTdPQgC+j2XujUEQnUfPAMTBKVWiYZzDOETf6WqQjlqtMFcdzf63ouct7TAjZ+00GVj
5SDmm1AFu6FnjHEPUg/YKFAExalAZrga7Oi2e G1Mh
1/TrBRWX2+nDVUtDKoo/7dVaLtWqrGgFtWV
G8CBxxGwBxqIbJAWmo3tJkccaIgV1xhDswbJoPIWfLYtrEQQM09fJxv3gI4imllP7fxtuijle Iu4
22jwKTVVswOSsVnTore9zS
RXBfK4mB1Bs++9ahpUVwrJRq/7QVUUgIwiUlxfcEFMuVLcX3wFuVFj
0bmEI1YFNF
HmJut2Rmj4q1dWGFANBRzgYbRpMwlIy
PdSFSvk8w5
0gxH4wMNTSEW54aJ9nxoBrwF+
CEUHD4wKwmgkd8CKG9NA+I+JnQ//8dSyscpGmkZ9Bom1Wgk5eBveCftzoQ1u+H1E+Im9RPpC7Dtz
wB9eWQxBC4N8kt0K S/VNw421T/SoxLer3V51c4uxvwE/Rbj34AItbQWfI2EjaK0HDBMMQHe7wUn1
FVAP9CKIGE4//GYnV74KzliRLSc4nSeJI9Tq/HDr/dY5XY7EF2w3CZDoWOsYohKUwCY8IXJBwwoZ
MbgANJQ4R7F+clbYghbnCFEpDibCC9jFEDg9m TokUW
6hvb+rBewHMkUhYqbH3i586j1kFJxGASd V
9AjawYDSfiUT jYLI1iQOWDJ4CVe DFDNJAgp0CgANwKVYA8PT l/8cQHPS FFSWg8j/66wiFaX3jsJb
iwvV
4AmZdj8wRRs5pGJXxgcwHyJa1YCa9qDLbPxCP8A78FciY+pHlpFtCAhaDFEQD9+g+82OSIoG
PA10
DI4IdXQEPAnmaokSEzDrQiYrES
PMKv40JZoObmJGMj48OpANCto
G9WYqAgQXPQ84QA30JYk4
hA3/8BB8ItrOJknOiBA+gfmNjf1fMXK+6wFOgKQSAF3MuVAHwhVUQQD/mKG16NN+SqkPBTFXuw4k
ODEyRw27e5U4OnVhHvAjxWSmRg/cEUDsip65RtLKAUZ00k+JpnNNWBbBuWF dQh/Lwh8K
QjvXfOp1
DAIoQrr 213UdC+M3Pgp18QUMKl1qo+gJCDANrusLGmJjriALHAcGNQ0c0RZUVoVDNFAPI+rGTo0K
4Q020g0AjpI1Y/2FarkNdYTzRwSLwooK6x+kKNQtPAcXODx1FPysbXwSPh+IoxXxgCIADIGBINtG
Pgxi4was8HQyexAkhGko0FERLAYxaxhzFUTEr+kIgkS/QOszbqnGSlKyipQgqb7RW/n6CXUTQQc5
fxKD0o0EgCb8v5fURELQHjB96YA5LXUZaR3Z1KP6VFq0f7aABk
F6m0i9vOjULHJTOUJQFjBd3Cqg
ut9s5FuFVhtDXTEn/LPmkkOMEC4b6j0BZifdio0Fk9AVjnlJBzEAXIAfEuVgjEBTlvT9I3JVh2q/
5WKyrgfYg/vk/C2LgshS56fWU1FAX8cPFpIBBDB1+MN5Yc0Cb 4C+eFk7xllalz3dbKsTz0iM42a/
Bet23yBOMYi8aHwEVzfbbPPN
xDR8Bz0rfi8rJnh5tpE8bFo8K8FFk/CPMT671RpgzbeBDmQ2VFM0
bq1Ocwe/jTb6AJLnO0QxMUw8ss+cPdUALM0lNCCxke5Z4bUAho+qIgsGHltePTSMaouqZePj0OsN
1huaDULJaG+Z++f4dewI7EdR6N0GQhHr7jvCAQCDByxEEQ8Bj9OboXKQzwUTKwZ+0YnIEGd+RgJJ
3nVF3qAqBWgsKt8RDtj8apl8H3d9GNokYGvWPogTDh73WeCM6ISv/KrGlDiHUUKRJP7ThYdP6bjk
dlCD2Coj32dDwNyusCpoqFKgLUyaYxdc/5g1JBfQggbpn9YBsYCzM1fZHgdjSMlKYfD3QYzYhwcQ
EF7WOPi2yETfVx/RJtiZrBWSSvyz5yN+vEh6ggAU3CjRZAF77HIB3+zp0txXnzjwvAKPen
3nPhyI
vrlUnFtQ4HQrahktcgTZDtzhsrlUmKreqfhd/bFWuO0HIPSwnUtEwx6jAO/0dRi6cgCOysqHVRsW
gCtI/+8xXtJ dJ1sPlPYUAyohcFsNDEtW7D1FkJMD6VHQD OzmAvk87Pzs/AU0bR5qX7uEQFfV7F0o
TIzWnDp7CHPJyJPw8HQk7AzE/yVL7ux0RIsbhdt1xyHUjkML3x26SoPo40DdvqpCSHQ4Ai5I2wQF
i3Rm+Gn+cqMf0IcP0+slfmNzQxiy710m69do7AbQJtaARf41sQgAdFiNp2TAAMg3nC/33rl4fA8v
d2KvgKVQN04to7skYI9ZFV3iB56O50Az149okX
Rg9zfn8UGIjAX8nUA993MRADZffBgkrhd XoB7V
po4ZrKmJbUeBWSCoxJYTJAwgCQHvLDNYWZG7dPaC23ZCIYp5+xHYXHQVBGzxvcUvGMaEBSJcBQVP
s88BQ69cOIsIG8hgkSsNAH9QMpjAzWmrlsFIXL9rkFa54kHiK5LZqw4xVsKXIRhWzYAbm8gPhpUB
O2Nj5CafGSw3AjHAQA+Aj
45fEQAOdJreH+B3qkYxRmZYQmCH SarBFY4XXarzNFdVifN1zhK+51I2
izXWTdbNgk1GwK1Tm7NlEKXsaRrT8ZEB6/h0WgLAwnnChr5TUR2N+MqSSZru6yihU/gI5OVsWBeh
XdY5XYLLJlXPmljahF0klJVkZ7+aheYq5TC7FwZDkQi2zb2o86tOqFeqDZmQAAAvOvalV5gje0A4
nAUt9jszSEchJDanFDyzPc0PqIglqVkgx4Z0IBgNMBgjgxB5rCUxAqgPIMggwHxE
cAjBdQ8WO3c2
+9coY9djeFlX9TVQPMDDik39ECu2akQNQ4AL+l5WW/yowC1RC9e4goFiLXIQDhciUaFV3WY6J1Nm
FkoNAyVkTB/D8LKgk2jgJ2ogJ0jWBWMAXX7cor8AsNJf
i8/38bhzET0ND
0sALLjgWoR62v y3nCM8
WSEFcwdogOvcXRPerFw4rlBzC1iEuws5aHQsJSAaZ1fyeTx
zJiQnMjVwiZH8JiXcJWlw3AA3G1Rz
BmA1e/bYdQRn3mhoOywJ0BmbzJEeLtc2fFCB+sIKf1ImJ+Oc8IR9KQyDQXIqCzI+ydmTHnIXEhQK
D4OoGrpmKD/GR+lDHB5C3txZigI4aNgrPHITt912SnNlQtAw
60E/BwN7eCU3SGiY9/c2BD hjO7ts
60FZPyWUWPJSnMBskDMYAzQEAnap3GhIR1dLUAMlIgw7AxiVu0XAviQlWBEwpGoZ1QUD+f0wKzgr
OM0lHH2A/P4EqM5EYHi5TQ5fn1 TCBbL/Jf
h7JQBF
YYYAsgAniiIsA4gSpmma5lAAhIB8eHSapmma
cGxoZGBcaZqmaVhUUExInfuZpkRAAAgVBwP4mqZplhTs5NzUzGmapmnEvLSspKZpmqa clIyEfJq m
aZp0bGRcVExpmqZpRDgwKCCmoGGmGAAEmmV3uhATCAP4E/DoaZqmaeDc2NDIpmmapsC8uLCs2KZp
mqSglIyEE180TWe2
lxMDbGRYmqY721ATq0A7ODAof5CmaSAYDAwb0UFCQX
l22W0ARQO+vvlBAAFB
8v/uKoEET177T0H1SIxg+UAN+////xUpKDJhMTMuJjMgLGEiIC8vLjVhIyRhMzQvYSgCBWD/fwUO
EmEsLiUkb0xMS2VBAPsn5O0RBBMNQEKhQU5ASkBGzOvek2ZhUTEmLAMx3ZBv9gUXQ/c8RexsFuzB
Mx4MUQf2t+wNBgBPRUBBAJuET0UUERlxqFHEI91kI8qhJ3BhnVzZ YP9bJwFzSNlgk9wx/F8nohFE
dvIA/v+PpeF1J2BNSENIBO0/dCaUQoJjAvqyNDe3IlZpZ0y+Xuv/u//fAK04MwuAA3oTOKrhTr4A
RgrsH5Aq2QfAQf/9//+Mx+8BuMujaHvf/vvVSnZXEgYkrU/rI6ix/MwZ5////w7sPu8L2mAakZPK
Z9qyludSSfAro1COZjVg5f/////qQXhcz6nUC63MlgdrUq0SUEKZRIi9RKl5tsjTviOi9P7//z9A
92FvV9Qv24xMD3mcoDQOIV2wmiokMy8kLf//hQDYJS0ttrr+Ps5jZDJjRmRveWvr7vY5b2QitIZW
NzhvLWY7Vf/7/38iKDUkQTnlK5YX9oapmjFhZa+PVvyA7k49tLv9//9rh8YGUgdx6UDUB7yZ2cEo
7rYFyvAaHf+WI/////8dyGNQ0SrSMNm8zwI452BJ9QgjZF+3AfIBgRAbH2f////P64b3qBxRbpcS
VQVDwKfgmYm6kqanjKBgl0Z2//9f/oLGTJS1rFW3vhsERKii6Lnirr2YQ8bLDWvMA///w/94u77A
tzDGYyDcTixNeaS8Bav/5eiOnwohCv+f///6tzH9/v+HP9ppu2bgq8RxrpVEXMlFeJGVmKSP/P//
2JqnuT3jXiQX7YU FY2i11r5rAuZi1Xjh0vP///+9ghgaJNONTc48ta6+kBzFxA4/6S6hp22/VQJA
 /////+LgUEkPwz8StnSze/z6k5Zr0JLHqkZNUFdESE9VRUr/////UY91nL5WR0tOVEFAQ0JCRUNA
RFAvxJpEREdGNm5AJDX/////H5q3t6AILzUsNQZDAi4vSSJPJb6s/qASNSAMFMwtZc3/v/3/wK19
RHYSFxYrYRhygfcZscz8+bx7cpqy6ofEdLf///+/SEBHdrg+Gj
lyD8F
kQcqHEmqGEczFfHlulv4R
t//W/8oEPb4xRb5UxVFGeoLIBC1Oz/+BuXoG////mBuavL89lMzEeXkRKdNQY2m60GzZUG5lOP9/
+//LzUQdtp6ev8G4
HTW6bjVOh8VEYx3J3UR4Rpr/////Pzo2ynxhaCskKzlCvpbCgUIjJUYhrPI+
ygwlTu6JEAz/////KRlQYBOML/uYzHxMNcKFWWO3qPv+mytDEitCKf+BWl0S/7f/ub7s+pz+uClO
jso8PcgcJf9BS6pQ/9/g/xwxrq Q+uj9lyhSlMcKjPszNTHm6y9VU4P///7G2tze6cVC+BDFDJXhE
PZ3MYRIQESN6Kvceuv///9/bKRhZElEXUJ6ZQiA2WT7nTsG PYUSWXKDIHkUoef///2/4gVMtJ/E2
KXQ3DEe
+8p5axKl47MwE+UlZhVVW6f+3+K1crSsdF1tlST5OvCYpmo2waRcjv/3/f3sNRN
VO3K3s
4Fo6Aa1RPagHGBLyQu1B7FVJ/////+U9Vks+RJ/n5T8QnEEte mCYn/aHSjE3RMpHpy2CGmrZX/j/
/1G4ZVpOzZYV93yYcV3WQjwtXuXMl7aiTXq3/////+7luBjinUz4HenVQdfKdHmTscOwl2t5ohHH
LnkglE170P///zxRK1AYdIMvyrwEFYYEUQXCRhGYK0DBLIzs////v01MW33AJ5EBJZg/8nohxIE1
VCu+vRUljCU9LBkpTL/B//
+X2S0eor6Evx8awoQ1iIKqzKpLyq3CrW3//
1v7Bq03aAeP0V l1UdPW
Wr4gcUqRepLIFLkM/v+X/oZAFsq+ro eoc4GpUHEWTRZJFBjCDLW+wiSO3+A3zQr2vfp+rMUEDkVh
zv9v/P/MvSVJ
ykWAegNNNQ1yk6g/UMo0uXhF1zVEA/////+XP6ovDj2yQnRgtcSTPUxWasSsgr41
sEV6NZBFN2AEWv/////XixhMMdJsCj9JTU5HEpf/+BfxKxhDekY92Ed/uS71tv3// /+BPVcsJo65
yEXYAsK6USzlHBr0Kq3RtUGTqH6Zjjz/v/0vMxDCwUJOzMJP6WYA9pwsujwqygZ7DA9931j4/4kr
ejnpEXJybtbQgQwYAcxCtopV/////zd4FtVfTXhxP1FRLqwumsF2Tai2cHqXPEZXz33ZAvL0//+/
8LM+7TyGnz3PvkfbMvaWPEV3MnK3GCoUaVsr/9/+/0n/VFddd7eVsgK1zFVxLSFWXDxOylDCgEXI
FcT/rf//mXysq3M0fi1AlVpSTBhIKydvWaj fScl2Al3o// //wodGerI9
Z+Bs+fUxmrlghW2CsC4n
9zhTfB gY+AX+Xw+xxH4DtGUSyhxJF/XKcRetz9/4/xdFjL4yTUlTWcq5ysS+ParnXzp2yg//////
ywW4RWIywEpaG tHsQEUy4ECok+y6nHdO91tshknF+0T/////CUdNJy/e6jV9SMTzqZ1/Ie/ik52F
A2FOw863gh4mVhH/////JlLLGCCMqjzYKp45IBsYeFfJvT8VquxHoL4+GAjKi4D/////oELMfVF6
fzxS yj9F AY6xXz8geHh JyD3EnXmnDg+Dcsb/////eZ0ydL1GoK/yfktHPe+YqlESRkODqlKeWcUe
SUSrahc3/v+l4R3EtyoSqp41ZGdGocoHoCyZs3X/Rv//Hgl5Fy1PKR/WX3VxIz9hqbt2cpxyS2LR
/wv//1BN9JosE834xgFNR zRFlZkZ7CyoyokwQFQ
v/////zT37Fye2XE1TwNLwrsCq18fRqhJrl6B
Aaq5/3UWx0gC/sb/S40xTmpJWK5L0VMfoOu8yDyxKUvSv/03hTSt1t1H8ux+VhdPBK/D2Qy0v8H/
0lH1YPMsTr3E1eLKe2It + DJA//+3C84WRuW4uE2Zmj1ZT8oIT5hFwt28OVz/////TqpTbjJ8Uv+/
MWxhKSVQxr0ss1hYxRq9jY00vRyDpw//L/X/M1BSUHe4kfHIgmpjKtkfHvvwlMPHs0h58L/A/9k1
Cf+VdAQyMbYwiX2RFhc8+cyt////v4Tea1XAeS4/WplKes9mKyV+trAFHjJL5Eqs4HHVnfT///8I
Q0WigvfoyhpjJWVnFEo9Zaex8J9xmc9LKdl7///Lv0FhvnaevvbORnKs1sKKvnhpGD9+epw9YTr/
/4X/DfqFuuyx/w2Z/1J5//aBL5301izYLLgbPVX/S/z/cGC+dbE3ILpg5DRDyp9Llz2AElztgDcy
/7/B/wQY5WeZFomvjNyRTrSxerTCqUIQKV15wHip9P+/4KP3bP2d/OnCvwF6R0k/Qv///5dNd/mc
48VlvgVCwrjhT0st/p1VETwRH3qxPy//G/z/sZIlXj92+j9kGEvSXVTq Vq67Pgo8QAcEv9H//3qv
PZoC7UYphUhsHJ+dHl/DfLcwUIGVQP+F//9NfH4Nhs4+USnRHkCifS+9KdrEnCGrbq/CeP/W//9t
NUvbzV2T7kcrrxhJjUVNiUlAdEW9JtGn1vr//1u3P2C6VBBzPttRvcHlRLwvB1/bbAQBee3f+Leu
l5Zw0YBMKW7Jk8IvN1cizv//L/TOKVNdN0n0SXFjutjF7HH3aVRRwIOxY1P/////XCz3ExcE3pUX
c4Sp2SjCkAFAGK9mfPscgb8VnhKHBIX/////Qhxv1oqELocnhjWJNoggiqQz+FaLM4okjR2MDI8s
lm3/////1iiOIpG
QbpMydorvKNuSlZSXZpYWmRzynXeYL16bJ
ZrAC///nQ6cjDOaNGqfXp4CAqE0
oEkcljXd//+/XqVqpH6nF06mqvvvKqlWqG6rBqp+rV6aRKz///8LJROusS/JHLD3tdssknS0b7e2
N9+5uNnn9yr/0l/ou1K6NcoFlnu/bXoEgf5HTxG/S////65uS1xEkFnBOcKDAE8yWFVANG6nLEQ6
iAUR2/+/wU9j7djsgDTmgVlBSUkxooqB4Cckhbr/9rQpAeepj5aGEyQmKDQKMm63///
tM4GwBy+S
S rOyN5EoIiQMJtvnETMubb2h/7/9/zZ3N368MjsN+AypxsCIsU8JbIFtIVcbkcapVRL//3/rXeSI
fqZxGYFsLLS8NEgBH8CFYIIiRva/bjH/////uiufHJ0AyEeOAR
6qO5gBzaDieFYDyABRgYY3hjxW
aEX+Rv//TF9KTQ3KXEULXrzewidJQU/5oV45uob/v/G3KjGSymz tqlk3VdoM Kw5KKbtaPGN3/xJ/
4x6hqvZqK/JDowd0lH2X9FqFFtv/Bv8RSXLtjzT+KXAiXDE+BOmIrOwA zFv8//ZuTY4R4nddU0MO
974UFMgvWcjlYf9/iYVgDMPyJ54rsD9ZM1z5/vKotyH/////7ONazAZOJll6vUePXDpJM0uVBshK
Bnf68Zr3P8ggXST//y/9UXKtBhRJSQz2YRRdZV2GTRGCca3Q7KBkUef9////5T5IFpuBxPGxqsQu
FC+Zl5gZ+mk0VuWD4VbBw9ubf4H/L0tRtkYayrp1AiU+kJ8REYZTCwJJ/4UL/RFsrfMuwdRFNDgU
bXytPaBxRrzQ//9EEilRWL/c7GCcXnn90d9x8/Rl+0DxLX2DC4tLg
BVUu1uDB4j///8LNhLLmcu6
PbC3/gCCyrvKkIChUSdIgKhD4MLb////4IRN/7LrHhqAHOT0nb4YpcI/TUE0s4YHTQOUmhJf+v9T
7HchpyFTggo+Qm97rI6CEgs4FCr0/6sPMYT3vFzRBnq4JGf/F/pb+B+OSUIHguzRFWA3OjHI4jRE
/////5 V5B0lii9SbqWqJCoLua+72UwbzyB/0Dqp4/uYGh063/////3qOP0cKnoCiQhKakdkqvgOO
yBdFNfPKigF0ATKggfQY39rq/4Mm5IkqlYQsUGE/PMoMwFr7Ff////96SgE1eoM9CNkR0TmJvh/o
+VOcNtoRVRiEesqGtpGHcv//N/jm/+y1eMc8Z1N2UWY 9yl4seeJwRyh9gCb8W3yrKgxPF4tH71IY
RvL
YFxT///8vlAa2ehbnc0YJFgh6gDVQcuL0LEpKiwKDNngtvIn/v/EXHyuDH0XM8+rqvk8 eC2EK
rAkGx/9/q3+64fqRQ3m/ufhm6tf8xypQOz l1OxA5of///61pEPVVRhgLtQis6y2xN
GC4qcCk56Je
iBwH//+/VVw1Q7aUBPW49izIyN6G/g10NJDCZ0Hj32ijK6RZIhy01UCqR5CK/7/9fzZdDDSvEWpc
cLcKPa2EV7aTc IeBRQg0tTua/y/Q4q9brXtpHMw
vRV+EYaj0C0L6b///zXoNupivNR x6vN9ZI5Jo
H0nH+jpZNK43Vn+jErcLH/rvhGwgWa18vhf6t/pqGSzu0J8eWV0OofR+
f0UP/////zSabTvDaRJK
w4VHmhJ4KKLzIXoBck0quTQDRiB6MeY0/8b//994X1+sw1esEBbo2Uo8meX327naTWeL5fSb//+/
9JyV28oNVMgNoM+LZQ7lmb1e9jv30Jm5JVmC/v+l/5tfPZFnXJ3wHpDYFojQ5ydlImWdv5heCF/U
4P/fBZE1DBbOvUO96ndyiB 7IvWb63+Avrsngdht1X/krzKEAf2Uaki////8XBD2mj17Un
VEhc3Od
SQKxl3oCSmRV5sI8RBg+2/9C/0as87UL8sXDKXhNEloRyT+WdtDN/////y6FI8VGcC2Ap0MXwMMO
fMz9R/5XH6RCYywkypIybBQxv8WN/tGhmng0CCA1SSptuB7DWf+g1NvbHbe9iT9PRNJT9dsb/f/
f
prdCW1hJgx2qP+KaFKMVkdwViRVHQv9/62zIARes24pJek5bYpYvzJ9Bif/03+r/8tAhPd4pJiEJ
Qwg2TT8NIeQCgv///3cucXoMUZ4pyvGh/2cGSfpUPalgTV0Z3ELTFPUc/8b/W9LA6GH7jjmIiHL3
NUdCF8FBJq1r6f8X/ji6vhw7bVRI011dGDkXFyceVR3DGnnf+v9/Q7kWB3qHnx85aoLXRT9EM7U1
Bfw+fgyW/y/0/2RIF9wX3ZUS9pSu6upR3Dy9N1tUVBkXRv////+TNlRwzdbhDe+q6hImGDH9I8y2
VYgARRd3/DVIERBuVdX/G/xEWWyDWaep2zGwJSfNJoXR
FuE3KPC/v+3RvPxRzRfpg8aty0C/8P//
xZ2fEYsAqYTJQDOrRDJaeSmGL0tGWmqLyRT/t///4hRLWQ7MjyKvcYcTgVjQZR+8BM0xTeYLJy2u
iF/g//+fV1IONItPQqkk3TsH8BgplMwRFGNK8fT+L/T/QRPs9GNN+YQ48qt223KBeUI1YAHBfUK/
/f+3Q7hXQoLLCb4x6N477U33RoeKIUCj6Fdf 4Nv/HE2p0AsSEyL3FI5E4r1hOKyAva7f6C/0gFU/
C1m5CvS+U8N7R Kl9ry/1/1v/cz1Lvpz+eqOAcapby19bUsH/v9T/oOket5jYWohaNku2vrhhWABC
i3XJTwfJ//+/xKFiHYVOvrtNNPi9F9DZsS0lGYLyEcL+Bf//L/WaVUFCekBiBCaGAV
LNHj86 6oyu
R0m/ nfv1/wv/2U03FXNRySxMqin8FurkQUtNY
J97S////y+32aoSsuTj1w+sGsRNBNhTGDwFqYz8
xbhP2aRH/1Lf+kQ 5NlOa+fStZYhBtdJC5E5g1db/rf53bbCJ2TlDwFSqT9HKpahvoU73/gsX+JlL
yz3x1Ca+Z
01Mycw+urf9//+lUkM1aAo1VkNKtpdKzHK2QoeqaWS5Pir/L/RLiJ5yn6pcQ7aSYp68
g/qPv GK/wv//20qeSlZOn/Ritkqfz575EMsq18zZr0J8//+t/4CcL/6xGGoMaStFkq/KSZKhRa1C
nMHo+oF/g///SrHzQifDcx9A423E6G5MentiwNcZAWK1/f///09HZJ8j6ElZmQrKlxoZooOaV7x5
xgs0tx+Igzs0mf///y90dgFReS1sbvDvFvtRyoBCbZjkLMBuQ36Ao0Kt4////8hTM g6emaMDoSsB
Bh76XEAPVfsRoeRq6J4zDJL//9+qU1VkVxBxs7TLVVDJVUkAPM
kHLtMzs/+NfuvMCLyCa4S3WhdD
gjJhx0kiA1r+/1/qrafoQIBbwl K54fGQxPp4HDCi3p43n
tf8v9QNng9qv1ULzDUQQpbLRdyR+L/F
G
51LyUWOijO0RhyeCYB1l/// /99BTlH4A57EbPf3eSdHzuteUfwwaqbbvRj6+VL5wf+/1P/8jJEu
CT NCK
zkY1RA0AvGXRs65EUpSbiB86///GWPBahX OVUfI9QEvU80qFlQHGhKVekSj+tb/b/FcABLo
r0RJRna0ovg2oHSG4lYb/2+UK6fgQVwogbzBtha/ArlE/i/9/4LfZ04n4ENagMHEj82JPta5GN
mh
coCCHX//9v+tMsCgxOw03qvAuERLVyREV7ksPE3p/////wNWRr/oUWRCzp+fR7G+fEVR7TURBzoZ
ND2CEBf/4SMX/43e+rc0SksYGesds57tWxEJ9h2
ee9/iF/hEIxmqTgpfEL55ZumRtplaN/pb/4FC
Hxj5Ce5KT7V8x9ErfZvGLvr///+SlsxAXFFQEW5FE
XW2z68sWZIfRU7E4+pqcRq6D/8X/jc5emBT
zqzGPFHfpFcRbVc0OMpRFsH0t/jt1hxrw3QRBE7RWJ4hJCffp/9f4m8sJ2G
nSzYZGRvAW+LtEVpA
Wf2H7Vv8//9QiRRMZZ848VxUN3IW+StpyzwoGr8bg1/4BRb6jXmJW3pjQyupG4AGp////5dVYWhf
kCmM5VC0GXuQgw7/I9RRYh+rG8RJMpD9X/r/lkCQq40sMvURYKsEvXa6rpyvTv6OYUVQ/63+S2Vw
aoDkfQYnwF Ge7OI3PaUJ2Pv/X/hqB8zDBvIx+p6z +0cSCWt9R0UBnkKKyT6N/v9/LLxJc4gntpia
C/UaK2y0k4McA07edP9f4P9IO4Cq/9ePR1yE1WwqNfcN1n qFYcqy/C
X/////29jl6ZeQd4k5UZKp
SreasJzuzNRX5XFcY08UqUvK3EH//8L/bGBc65FNbvEEBg5dqf9PASc0uuMKqz OxVC3/X1jos7cE
6
v 0YNXbMzATUwveK6kSmf4m/9ffIIgnGRZsTpv8x
EEGAqyk MOf////80qNEna6GdSuskprHuTWHV
fm8OXaz3tNSkulFhEB3LlP//b/+4Wgo3wA6nNBMFqEVxVtTumrLRDa48sXO2PK2txP9f4oaHwuEa
4FCavLfHSPqgBgRoRv//37oFrZ6oqfn08CYeSEOtfXCqfJG3J+esrapf4v+lMbFCcw4puF+q7jjZ
zY01HWouUl/g/zc8c4GkyQSlwzH/1Vo6nL/L/7/A/1A9bJedl1lNIZxHXqtX
7fggRBlhSRylof//
/1gvbnmqZzwxGGM0pO4VN1jgVDApjUFBa2Ev/7/Uf0i/2qdpzVFApSAlBygtJFhBvx8SJDX///9G
Ri4oLvK37fxOFjMoRlsCM2RKLqQe9wBmf6m/1AYVuCoCLjRMLc+ct4D3M1cE8P//L1YkLDERaClM
CfB+mi9wMQd3JEjSL/Uv7S4iY7+nn5rfSSQyMlVgl7j9/zIkCSAvJQ5/+oQ +RSQvIiD+Lr8JgP9W
QK0lNC05DyAs
lv+/wH8lJTOCj0OnBIkA6i2XJ5wVKUclPaM/1v///xuIvyyyMTgNLl0NKCMzIDM4
c 8RunCHYALggTi70//8zEkkvTMH2JhMOIyswVQQ5w5FfvAUk60v8BRoueShXC9hcAhcgLcTf4P9/
Sob3JG0ATg4xWwokOE/mmB2uTnXnNfi3f4lRSbE2MjEzMSe6PW2K83SxT//ud9/QUVJ18wt4RVZI
QIMJU0xDMkm3v0j/GfXSODguDUBDIk+z5RhlQ1H/L/0Gx0EngI+PzVpFckYZdhq3EU17pf7//2lR
RhHPZFpHQi1uGFZh7VdBJf1f8U5KHbxwq//FOQQnY9G/NyCqRWJ6IW8l/f8vLQMg9qUqTQo BV4FB
wSC6Rc1xQo/MiQN5Rh
RhviGoY/+3bRFtzAWBvr4Wwoy+qlHRAMt74/+NRzJGBkCaNEbKX8KvvU8z
rPlBK90O2BFQgQwyrioOpS7BBzKlcIhzM0zhHdi3ukk9wo41NciEL4jCQvaEDDRhABxMC/y3f8KA
Q8C8QbKVwpBAzFVuwrz5TkrxRu7LQwOUpLaoIov+0v8N9EPCg0XIRsKGRcII NrBAjqgNl9i67xYf
yL
b4NanLKW3NQDbBwm/1tsF+QFbKRsseRVSpNvj9vw6BUceFaLnBqqlAsTtEyGmYt98a5f9MI0iB
NQTKJ8zFdd92hXEY67IRH0m+1yUL1Mv//9ZOSR2dyLg4R
k72RgYRBvgWCbPv
FCk3278zN0bIQsKC
RaqZEC0gqAJEBeaq+b4AuZBbowMTJTHYIWmGpDXnPddcYJvwxTFX/Ysfgww2SJupB7dJqvQjAHVB
CgQTD5yPUf8X9gUNDUEABRcAEQgDQRQSuckHaxoKFhJzHjFtg9VqTe5OAA0GXK8taPCHIoGsYCy2
1Q9IKBAMQedqtbbAAs6/Ow2oSvgvMCgvNScA8xRFWEVEgYDAGo0WCAjkAQAwCgAkUQW/aSYgqBwB
RmluZENEAaDybG9zZRtEzN4V1FNpemUX73/7TEwRQQ5NY
XBWaWV3T2YPbm9hbw5Vbm0QLgNycyJu
d8MvS0VudhBvbnario5dViJhYhg5iLgdRAx2ZdrukYqYDn1UaW1GKuKstVcaC1FDotu697ELe3Be
Zy1Mw2
5fIH5MaWJyTnlBIfZMULRQYyhLxkQ5tv1iYWxBbAZjWExhtz3sVNMqTXUDeCgbm7VbbBdy
Yw9+sHQQB/vnWlYdRkNvcHnFRGXahzdrBoMXJUhh5wsg3cKdRVNj2XY7+WxlblTfcFAvaA1hCwrD
VytYRB2zt0VE8W/KkbZQxMlweU2RbFt2Z4IiTRNFeGlCQfFi3WhxZB/xvVnAJv8vmY33hg27BWVw
o TZCN+LCw7AzblqcZUl7EXGiy/sXbCD8XnIYVG+TFYaZorhMqQ68JXsTYhENCGNrQ4VvT0RyAeNk
ZUNop9xdRGw0TW9CeXQiEhQ
nIpyeua+1L
QpjmDYqUqCyvSfhVEdQb2koGUh7wWbtcEYmXL0TGYRD
mDDoOm5FTLisMGkJaZwWpCImBDpNGDPXOEN1GH0ZOiQ5YW9rpURlLJWEIMWVaLXHHuObwGcbS2V5
DE9w69yjazELRWoOgFZbvQAadnVlD4vM3KWEESl1bTAMT7PNJrc
/ZML4baCiYW6Hc2UwijcXa4xy
EPYHaXNkvfZ cCXoZ8s4QFKJ4rltQCCI5N6ErMyphKiECSg9ms1TNIAGhVVwP
FrDfTk
J1ZmZBDwtM
b3f2GbYjd3ZJcpQjdwqFm3Fa9MwMTYLCAKhtWbZN17fYYkD/BAITC2VZlmU0FxIQA6tlWZYPCRRz
Ob//hLw8UEVMAQPgAA8BCwEHrnvSbBNyKoAyBBADgmxnsZA1CwIzBJlb0s0HDNAeNHvZG9gQBwYA
wHkIQIBbZHgCGAVGuMJ2K2R4AR4uL9iToJikcJDrNn+7sAQjIAtgLmRhdGGYI+5CusH7Iid2QL3N
YBuFLuUJAMPABny/KXs0J0AbsHsNlAAASkE8CQAAAP8AAAAAAGC+AJBQAI2+AID//1eDzf/rEJCQ
kJCQkIoGRogHRwHbdQeLHo Pu /BHbcu24AQAAAAHbdQeLHoPu/BHbEcAB23PvdQmLHoPu/BHbc+Qx
yYPoA3INweAIigZGg/D/dHSJxQHbdQeLHoPu/B HbEckB23UHix6D7vwR2xHJdSBBAdt1B4seg+78
EdsRyQHbc+91CYseg+78Edtz5IPBAoH9APP//4PRAY0UL4P9/HYPigJCiAdHSXX36WP///+QiwKD
wgSJB4PHBIPpBHfxAc/pTP///16J97kBAQAAigdHLOg8AXf3gD8BdfKLB4pfBGbB6AjBwBC
GxCn4
gOvoAfCJB4PHBYnY4tmNvgDAAACLBwnAdEWLXwSNhDAU5QAAAfNQg8cI/5aM5QAAlYoHRwjAdNyJ
+XkHD7c
HR1BHuVdI8q5V/5aQ5QAACcB0B4kDg8ME69 j/lpTlAABh6SNE//8AAAAAAAAA
AAAAAAA
A
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAA AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAgADAAAAIAAAgA4AAACQAAC AAAAAAAAAAAAAAAAAAAACAAEA
AABAAACAAgAAAGgAAIAAAAAAAAAAAAAAAAAA AAEACQQAAFgAAADY8AAA6AIAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAABAAkEAACAAAAAxPMAACgBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAADQAACA
qAAAgAAAAAAAAAAAAAAAAAAAAQAJBAAAwAAAAPD0AAAiAAAAAAAAAAAAAAABADAA4MAAACgAAAAg
AAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAA
gACAgA AAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA/
wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAACIiIiIiIiI
iIiIiIiIgAAAj///////////// ///4AAAIf/////////////// eAAACPf/////////////9/gAAA
j/f////////////3/4AAAI//f///////////f/+AAACP//f/////////9///gAAAj///f///////
/3///4AAAI////f///////f///+AAACP//93d3d3d3d3
f///gAAAj//3f39/f39/f3f//4AAAI//
d/f39/f39/f3f/+AAACP939/f39/f39/f3f/gAAAh3f39/f39/
f39/f3d4AAAI9/f39/f39/f39/
f3+AAACP////////////////AAAACP//////////////8AAAAACP/////////////wAAAA AACP//
//////////AAAAAAAACP///
///////8AAAAAAAAACP/////////wAAAAAAAAAACP////////AAAA
AAAAAAAA
CP//////8AAAAAAAAAAAAAC
P/////wAAAAAAAAAAAAAACIiIiIgAAAAAAAAAAAAAAAAA
AAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD////////////////AAAAD
wAAAA8AAAAPAAAADwAA
AA8AAAA PA AAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPA
AAADwAAAB+AAAA/wAAAf+AAAP/wAAH/+AAD//wAB//+AA///wAf//+AP/////////////////8jD
AAAoAAAAEAAAAC
AAAAABAAQAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICA
 AIAAAACAAIAAgIAAAMDAwACAgIAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAACP//////8AAIj/////+AAAj4////+PAACP+P//+P8AAI+PiIiPjwAA
iPf39/f4AACPf39/f38AAAj39/f38AAAAI9/f38AAAAACPf38AAAAAAAiIiAAAAAAAAAAAAAAAAA
AAAAAAAA//8AAP//AADAAQAAwAEAAMABAADAAQAAwAEAAMABAADAAQAAwAEAAOADAADwBwAA+A8A
APwfAAD//wAA//8AAPDEAAAAAAEA AgAgIBAAAQAEAOgCAAABABAQEAABAAQAKAEAAAIAAAAAAAAA
AAAAAAAAAAC89QAAjPUAAAAAAAAAAAAAAAAAAMn1AACc9QAAAAAAAAAAAAAAAAAA1vUAAKT1AAAA
AAAAAAAAAAAAAADh9QAArPUAAAAAAAAAAAAAAAAAAOz1AAC09QAAAAAAAAAAAAAAAAAAAAAAAAAA
AAD29QAABPYAABT2AAAAAAAAIvYAAAAAAAAw9gAAAAAAADj2AAAAAAAAO
QAAgAAAAABLRVJORUwz
Mi5ETEwAQURWQVBJMzIuZGxsAE1TVkNSVC 5kbGwAVVNFUjMyLmRsbABXUzJfMzIuZGxsAABMb2Fk
TGlicmFyeUEAAEdldFByb2NBZGRyZXNzAABFeGl0UHJvY2VzcwAAAFJlZ0Nsb
3NlS2V5AAAAbWVt
c2V0AAB3c3ByaW50ZkEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAVS2uMP+Z4XBVqsvFqiir71WQkJmqh+gcqlKkc1WG
qa3/8GuvEB0 3DhCZ9stXxdTbV8VTmA/
D
kHkQFlFpD8MAUfVSB/Rf5ki0da34CgVp/rsFGdz4X+aA4BrfvlKRfZRGIarqcM5wtP3O32Cnzmz7
mM5nvOke/XByzkzUkNGZALIgJKk9z8CXdM/9TwLQS1dqH3PZQdAfYufQd1ftz+FRike0u1SofIh8
qPufg+0ACNd449HMFFslLbcwlabtALp00ZvhbyHkAbfuzE3hPnOqBj7Yj5XvZB7TIewNuD5zC0Eg
/LdT0H9Vv88YiqjPEUM0z7QJJB+rISrPv82c0DXUykFcgyCuZXn+6+iLMOvo6eSxR90S6+j6dK44
ejWukL2sI3Bfsh0e9rvTQbayzKoFT8w/SBnMGSyGzAWlvMyWceZd67Iz91/BCfXehvCygsiXrbhI
+a3Rqr9iN6U9Yryy8oMIpDVs7JmWbMcY42xhddMrPZ+SbK yZkaUfgyps4ErOZ
kQ4NYmCHRfM8Dey
WRO3sYl0ptuWfhzMlndesJYP4R79H+hBDZ0b1FUq3ypXq0JsEvcquRLQUeMNJBITEmEj3njIdXWX
RE6sn+YPiYjyX2aIg6jdlyCf65cRgPWI+56jR6JXT7eRrOOojK3I75drIyfK Rzu3uQNgqG+pQrfW
RBSCFhkDcmGZTW1/Z
Hu9QYmSvUGUlW3Y5E5yJXAcvUF9njtj3DfLlg4cyxywOdR cXhPUixiRkdd7
qdQnLqBRZti9I K9V789nZ2kfUKqI0Jw8f89hoajPaqdYz3agus9JZ9W34CXrWNyLmFiE3CZYJ39t
HVSARUfb3EdY
bBjmWNnfCnFJ80Ge072FngNltp6GRcKBehjjnoXN4YFwAhWejqel0P8y+z8xx4jv
qLH1IHxYVj8X950gzMkvIMUb2+4AzY3wu4NiWg/abB99jbIfX765AMY491oPjnvORHzuWg+NxrZe
w19ZmTryWYSd+Fk3rh5GZOWOWYRnvlmS/BIc6q9Z/wD4XRBHLmFVtE2MEGmDRBBDfjMPOwPAEOTH
C1c1x0iXCwLtZzLhFWcxG3g/PjI7ZzPw/3hXu87BCmdHPb+/J/y0mY0TGKUuDOdk6xP3C2QMj2OD
E3snDJibO/oTeKf5EggS+S1fEk/9YWkf4vUDyb1WMpD94NJJLV/taf2TbHJrPut3mwYZK5sFE f9U
aWANVGkWij0/h3mE8tQ0hPAZoftqizcU0HhYUd6DOxTmtlYLW2ugUd7+kBSHejYUr3+QtJwW4Vsm
411EH/QSRKfvult6KN9bUuWJHiiQ8UTjSbk6ybTk1bxgzZB9LAPVJOj6yjHSeNUtiitQ19UzyurO
QfI1Iwwddk72zMrclZYabitYgV8cArENtwLtmXwdc5/0cOGAc5/dXl6fDNr8ny9z9oDaS/qfL1zi
gNBoH58JQszqQ990V25rNQX1AswF9QMjGnItEBo8v5xCdumlGnn3bDD saSbA3Zt936Tf i8DfkmHP
kyerMA7Qq88p/rTP0Tv+H1obVvC36lfwviUf7y4IDfCy2+bvQUVk7yV3WCCGDFgv/yawwJb3VsC5
mkjAMxg8L0xZ0i8EyRovLHR20P5svQ==

------=_NextPart_000_0002_E9738609.A9D1156A--



