
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBS3DuHg076107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 20:13: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 lBS3DuSh076106; Thu, 27 Dec 2007 20:13: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBS3DsAA076099 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 20:13:54 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id 6C0AC22F3B; Fri, 28 Dec 2007 03:13:36 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 0BEB6502EA; Fri, 28 Dec 2007 14:13:50 +1100 (EST)
Date: Fri, 28 Dec 2007 14:13:50 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Lyndon Nerenberg <lyndon@orthanc.ca>
Cc: Bron Gondwana <brong@fastmail.fm>, Ken Murchison <murch@andrew.cmu.edu>, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, ietf-imapext@imc.org, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071228031350.GA12567@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <20071227220934.GA10658@brong.net> <CBA48E6C-5C97-4797-838D-6DC16E083644@orthanc.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CBA48E6C-5C97-4797-838D-6DC16E083644@orthanc.ca>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Dec 27, 2007 at 03:16:07PM -0700, Lyndon Nerenberg wrote:
>
>
> On 2007-Dec-27, at 15:09 , Bron Gondwana wrote:
>
>> You're lucky if you've never seen file corruption due to bitrot on large
>> drive arrays.  We have about 30TB online at the moment and that's
>> growing fairly rapidly.  The research out there suggests we're likely to
>> have a block level corruption every couple of months with the current
>> level of affordable component reliability.
>
> But that's a local hardware issue, and should be handled locally to the 
> host. I.e. have the IMAP server checksum the files when writing to disk, 
> and verify that checksum when reading the data. Doing random checks via the 
> IMAP protocol won't prevent you from offering corrupted data to clients. 
> You have the right solution, but you're applying it at the wrong layer.

Certainly - though once you put replication in the mix then there needs
to be some way to double check things all the way down.  I agree that 
it doesn't need to be exposed all the way out to IMAP.  I just put it
there for convenience.

That said, if the client wants to confirm that it has the same data as
the server, then there needs to be some way for the client to extract
a digest from the server that it can compare to its local copy.  It's
an implementation detail whether this gets calculated on the fly or
is pulled from a cache.

It would be nice to be able to tell the client which digest is already
cached/pre-calculated by the server to save overloading.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMZoiR056724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:35: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 lBRMZooZ056723; Thu, 27 Dec 2007 15:35: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMZo2e056716 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:35:50 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id DF92922E2C; Thu, 27 Dec 2007 22:35:36 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 485F9502E8; Fri, 28 Dec 2007 09:35:46 +1100 (EST)
Date: Fri, 28 Dec 2007 09:35:47 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, imap-protocol@u.washington.edu, robm@fastmail.fm
Subject: Re: Private FETCH items
Message-ID: <20071227223547.GE10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <XwTwF2uoF+TIGCxUu4Im1w.md5@[192.168.1.102]> <46CD9ADE.4090709@andrew.cmu.edu> <6JQK/Y9XpY9K0X8cuRALCQ.md5@[192.168.1.102]> <46CF42AA.5020706@andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <46CF42AA.5020706@andrew.cmu.edu>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 24, 2007 at 04:42:18PM -0400, Ken Murchison wrote:
>
> Arnt Gulbrandsen wrote:
>> Ken Murchison writes:
>>> Arnt Gulbrandsen wrote:
>>>> What does the GUID do?
>>>
>>> Uniquely identifies a message so that if the same message is present in 
>>> more than one mailbox, its contents only gets replicated once.
>> I'm afraid I phrased the question badly. What does the code do when asked 
>> for a GUID?
>
> Pulls the message GUID out of the index file for the mailbox.

This is currently 20 bytes containing the SHA1 of the rfc822 message
bytes, and has been for a while.  It used to be 12 bytes, either
(0x01, hostid, process id, time) or later I added
(0x02, first 11 bytes of md5 digest)

More recently David Carter rewrote it as a 20 bytes value containing
the full sha1, which is not only cryptographically better but it's
complete!  The partial MD5 was a hack to avoid changing the index
file format while still allowing some level of integrity checking.
I knew it was a nasty compromise - but hey, life is built on nasty
compromises.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMUP08056436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:30: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 lBRMUPVp056435; Thu, 27 Dec 2007 15:30: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMUPcG056427 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:30:25 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id D2EAF22ED7; Thu, 27 Dec 2007 22:30:11 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 2F173502E8; Fri, 28 Dec 2007 09:30:21 +1100 (EST)
Date: Fri, 28 Dec 2007 09:30:22 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Tony Finch <dot@dotat.at>
Cc: ietf-imapext@imc.org, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227223022.GD10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <46CD9A95.4030001@andrew.cmu.edu> <Pine.LNX.4.64.0708271125570.16524@hermes-2.csi.cam.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.64.0708271125570.16524@hermes-2.csi.cam.ac.uk>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 27, 2007 at 11:31:20AM +0100, Tony Finch wrote:
> On Thu, 23 Aug 2007, Ken Murchison wrote:
> >
> > I probably wasn't clear in the use case.  Cyrus now has the ability to
> > replicate a mailstore in near realtime.  Several sites (including CMU in the
> > near future) are using this to have redundant mailstores in case of a hardware
> > failure.  Rather than create a new tool or protocol to verify the consistency
> > of the mailstore pairs, extending IMAP with a couple of new FETCH items seems
> > like a reasonable thing to do.
> 
> I should note that the MD5 replica consistency check has been very useful
> in finding lurking bugs in the code, both the original version and across
> versions as the code has evolved. It's also good for discovering bit-
> smashing hardware failures that haven't (yet) affected lower levels of the
> os/driver/raid stack. You can only be sure of data integrity if you test
> it end-to-end.

Thanks :)  My sentiments exactly.

We have layers of integrity checks and scripts watching other scripts to
maintain our replication system.  Even without the replication, it's
good to record the digest of a delivered message into an index file as
it's delivered and be able to compare that to the spooled file itself
at any later time as an integrity check.

Just this week I've been working on an auditlog patch to cyrus:

http://cyrus.brong.fastmail.fm/patches/cyrus-auditlog-2.3.11.diff

This spits out the GUID (sha1) at APPEND time as well as any time a
COPY is performed on the message.  In the same message is the mailbox
name, mailbox unique id (Cyrus internal) and UID.  This is duplicated
on the replica, so by combining those logs you can see that the same
message exists on both ends.

Our backup system fetches index files, and then uses the sha1 to
compare the message pulled from the spool and ensure it's backing
up the message it expects to be backing up.

Integrity checking is the responsibility of every layer, at least
for the semantic things that only that layer understands.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMNDVq056018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:23: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 lBRMNDlJ056017; Thu, 27 Dec 2007 15:23: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMNCpp056011 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:23:12 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id 2EAC922E75; Thu, 27 Dec 2007 22:22:59 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 2458A502E8; Fri, 28 Dec 2007 09:23:08 +1100 (EST)
Date: Fri, 28 Dec 2007 09:23:09 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Mark Crispin <MRC@CAC.Washington.EDU>
Cc: Lyndon Nerenberg <lyndon@orthanc.ca>, Ken Murchison <murch@andrew.cmu.edu>, ietf-imapext@imc.org, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227222309.GC10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <alpine.WNT.0.999.0708221405260.3828@Shimo-Tomobiki.Panda.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.WNT.0.999.0708221405260.3828@Shimo-Tomobiki.Panda.COM>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 22, 2007 at 02:14:14PM -0700, Mark Crispin wrote:
> On Wed, 22 Aug 2007, Lyndon Nerenberg wrote:
>> .FILESIZE is just  asking for trouble.  Nobody cares what the on-disk 
>> representation is, and comparing file sizes is NOT the same as comparing 
>> message content.
>
> I agree.  The c-client library (the beating heart of UW imapd, Pine, etc.) 
> has a concept of an internal size, but that depends upon the mail store and 
> thus is only used by mail store drivers.  It never gets as far as imapd (or 
> other application), much less exported in the protocol.
>
> Let us be clear here; any .FILESIZE value in any server which supports 
> multiple mail store formats could (and WOULD) vary depending upon the 
> mailbox format with no obvious indication to the user as to why.  This, by 
> itself, should be enough cause to reject it.

That's fine with me.  .FILESIZE is really part of an "internal integrity
check" and was only exposed via IMAP because there's no easy way to
compare \Seen flags in Cyrus other than logging in as the user.  Once
you've done that it's easier to have everything else you need to compare
available through the same connection.

>> .MD5 is useful in the general sense as a fast way to compare messages for 
>> equality, although I think it would be better served in that context if 
>> you could MD5 the body content without the 822 headers to be able to 
>> handle Received: differences for the same message delivered to two or more 
>> folders via different [SL]MTP transactions.  It would probably make more 
>> sense to be able to generically MD5 by MIME body part.
>
> IMHO, this functionality belongs as part of CONVERT.  An MD5 checksum is, 
> in effect, a conversion.

So long as it's specified in a way that makes it easy for the server to
cache so that requests for the value are cheap, and it's a digest that
can be calculated at the other end as an integrity check, I'm pretty
happy.  I'd also like all implementation to be using the SAME value so
it's not just unique within a particular implementation but can be used
to track a series of bytes regardless of who is storing them.

>> What's a GUID?
>
> Presumably this is a global UID which uniquely and permanently identifies 
> the message on the server.
>
> I think that IMAP should eventually have a GUID, but it needs careful 
> design and review.  I don't think that we should take the first patch that 
> comes along.

Excellent.  That's what I'm here for.  The intention with the first
patch was purely to have an internal integrity check.  This time I want
everyone else to be doing it as well.  Now that I've found the right
forum I'd like to start work on a proper design, and I'd love input on
it.

>> But overall I guess I have to question why it's necessary to burden the 
>> protocol with this just because somebody wrote some broken code.  I have 
>> done an awful lot of server migrations over the years and I have never yet 
>> come up against the problem this is trying to detect. I realize you intend 
>> this as private data, but once it's in the wild, it will get used, for 
>> better and worse.
>
> I agree with this sentiment.

Definitely.  I'm pretty sure I tagged that Cyrus patch Ken is talking
about "Not a candidate for upstream without further review" when I was
submitting the series of patches it was in.  I've got a few patches
like that floating around.

Thanks,

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGamM055649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:16: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 lBRMGa74055648; Thu, 27 Dec 2007 15:16: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 orthanc.ca (unknown.dsl-460.edge9.vwc.uniserve.ca [204.174.99.133] (may be forged)) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGYjx055639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:16:35 -0700 (MST) (envelope-from lyndon@orthanc.ca)
Received: from [192.168.0.106] (s142-179-159-132.tascal.biz [142.179.159.132] (may be forged)) (authenticated bits=0) by orthanc.ca (8.14.1/8.14.1) with ESMTP id lBRMGDHc075798 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 27 Dec 2007 14:16:14 -0800 (PST) (envelope-from lyndon@orthanc.ca)
Cc: Ken Murchison <murch@andrew.cmu.edu>, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, ietf-imapext@imc.org, robm@fastmail.fm
Message-Id: <CBA48E6C-5C97-4797-838D-6DC16E083644@orthanc.ca>
From: Lyndon Nerenberg <lyndon@orthanc.ca>
To: Bron Gondwana <brong@fastmail.fm>
In-Reply-To: <20071227220934.GA10658@brong.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v915)
Subject: Re: [Imap-protocol] Private FETCH items
Date: Thu, 27 Dec 2007 15:16:07 -0700
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <20071227220934.GA10658@brong.net>
X-Mailer: Apple Mail (2.915)
X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=no version=3.2.3
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on orthanc.ca
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 2007-Dec-27, at 15:09 , Bron Gondwana wrote:

> You're lucky if you've never seen file corruption due to bitrot on  
> large
> drive arrays.  We have about 30TB online at the moment and that's
> growing fairly rapidly.  The research out there suggests we're  
> likely to
> have a block level corruption every couple of months with the current
> level of affordable component reliability.

But that's a local hardware issue, and should be handled locally to  
the host. I.e. have the IMAP server checksum the files when writing to  
disk, and verify that checksum when reading the data. Doing random  
checks via the IMAP protocol won't prevent you from offering corrupted  
data to clients. You have the right solution, but you're applying it  
at the wrong layer.

--lyndon



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGQ3t055631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:16: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 lBRMGQKs055630; Thu, 27 Dec 2007 15:16: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGP0K055624 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:16:25 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id 3CA7222EB7; Thu, 27 Dec 2007 22:16:12 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 5D02C502E8; Fri, 28 Dec 2007 09:16:22 +1100 (EST)
Date: Fri, 28 Dec 2007 09:16:22 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Dave Cridland <dave@cridland.net>
Cc: Lyndon Nerenberg <lyndon@orthanc.ca>, ietf-imapext@imc.org, imap-protocol@u.washington.edu, Ken Murchison <murch@andrew.cmu.edu>, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227221622.GB10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <29508.1187817223.002157@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <29508.1187817223.002157@peirce.dave.cridland.net>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 22, 2007 at 10:13:42PM +0100, Dave Cridland wrote:
> Note that I've proposed "CRC" instead of explicitly naming MD5, partly in 
> case people are tempted to use it in clients, and partly to stop the flurry 
> of emails you'll otherwise get telling you that MD5 is insecure.

Two things here.

1) I consider auditability to be very important.  I want to
   be able to cheaply fetch some form of digest (preferably
   cheaply for both the server and the network) that allows
   me to check that the local message is the same.

More on this - it allows detection of both copies and folder
renames to occur without fetching the full content of the
message again.  Even without detecting two different deliveries
with different Received headers, this is a massive win.  Indeed,
it's 90+% of the duplication I would expect to see.  Multiple
deliveries with different received headers is much rarer than
re-filing a message to a different folder (at least in our users'
usage)

2) I'd prefer this to be usable across multiple different server
   implementations.  My current goal (and the reason I'm re-visiting
   this rather than just maintaining yet another patch against Cyrus.
   I already have about 20, what's one more!) is to build an
   intelligent IMAP proxy/synchroniser.  Having to write separate
   logic for every IMAP server out there would suck.

Assuming this makes it as far as a draft, I would be happy to work
on adding support to a few of the most popular open-source servers
and possibly a client or two to bootstrap support.  I think it's
worth the effort.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRM9eoT055104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:09: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 lBRM9eQb055103; Thu, 27 Dec 2007 15:09: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRM9d8D055092 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:09:39 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id EA65D22EBE; Thu, 27 Dec 2007 22:09:24 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id E7E81502E8; Fri, 28 Dec 2007 09:09:34 +1100 (EST)
Date: Fri, 28 Dec 2007 09:09:34 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Lyndon Nerenberg <lyndon@orthanc.ca>
Cc: Ken Murchison <murch@andrew.cmu.edu>, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, ietf-imapext@imc.org, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227220934.GA10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ducking in to follow up on this thread as the author of the
patch Ken is talking about.  I work at FastMail.FM, and have
been doing an awful lot of work patching Cyrus recently.

I have signed up to the imapext mailing list now (should have
before!) - I can't see imap-protocol@u.washington.edu on the public
lists page, so have not signed up there.  I'd be happy to join
if that's allowed though.

On Wed, Aug 22, 2007 at 12:27:15PM -0700, Lyndon Nerenberg wrote:
> On Aug 22, 2007, at 12:05 PM, Ken Murchison wrote:
>
>> FYI, the difference between RFC822.SIZE and RFC822.FILESIZE is that the 
>> former uses the cached size in the message index file, and the latter 
>> stat()s for the file size at the time of the request.
>
> .FILESIZE is just  asking for trouble.  Nobody cares what the on-disk 
> representation is, and comparing file sizes is NOT the same as comparing 
> message content.

I added these options originally to support our replication integrity
checking script.  We run Cyrus replication, and it had quite a few
bugs at first.  We still run it as an advance warning if something goes
wrong.

I wanted some method to access the underlying file size and digest to
compare, and I agree that FILESIZE is not ideal and shouldn't be
exposed publically.  It's useful not to have to use a separate protocol
or direct filesystem lookup for us though.

We find that with multiple terabytes of disk and non-ZFS filesystems
(ZFS didn't even exist when I started work on this) there are occasional
underlying errors.  There needs to be integrity checking up at the layer
which understands the semantic meaning of the files.

> .MD5 is useful in the general sense as a fast way to compare messages for 
> equality, although I think it would be better served in that context if you 
> could MD5 the body content without the 822 headers to be able to handle 
> Received: differences for the same message delivered to two or more folders 
> via different [SL]MTP transactions.  It would probably make more sense to 
> be able to generically MD5 by MIME body part.

There are two different values we have now, 'GUID' and 'RFC822.SHA1'.
The first is indexed and fast, the second is calculated by reading the
bytes directly from disk.  We check that for 1/1000 messages at the
moment in a standard replication scan.  Enough to find a systematic
issue fairly quickly without bringing our system IO to its knees.

I have recently re-written the GUID part as "DIGEST.SHA1" and added
a CAPABILITY line "DIGEST=SHA1" with a view to making it extensible
to other message digests in future.  Cyrus now stores the GUID as a
SHA1.
> What's a GUID?

Globally Unique ID.

> But overall I guess I have to question why it's necessary to burden the 
> protocol with this just because somebody wrote some broken code.  I have 
> done an awful lot of server migrations over the years and I have never yet 
> come up against the problem this is trying to detect. I realize you intend 
> this as private data, but once it's in the wild, it will get used, for 
> better and worse.

You're lucky if you've never seen file corruption due to bitrot on large
drive arrays.  We have about 30TB online at the moment and that's
growing fairly rapidly.  The research out there suggests we're likely to
have a block level corruption every couple of months with the current
level of affordable component reliability.

Bron ( now to reply to some other messages )



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBNLHQOr097080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Dec 2007 14:17: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 lBNLHQZi097079; Sun, 23 Dec 2007 14:17: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 lBNLHPFe097072 for <ietf-imapext@imc.org>; Sun, 23 Dec 2007 14:17:26 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.0.11] (atomnet2.ttr.ru [195.245.249.86])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R27QYgAMlpkf@rufus.isode.com>; Sun, 23 Dec 2007 21:17:24 +0000
Message-ID: <476ED224.8010901@isode.com>
Date: Mon, 24 Dec 2007 00:24:52 +0300
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
To: Pete Resnick <presnick@qualcomm.com>
CC: ietf-imapext <ietf-imapext@imc.org>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina> <1197811823.4084.163.camel@hurina> <1197813271.4084.172.camel@hurina> <4765B8B2.3060501@isode.com> <p0625010bc3908cb64d14@[74.134.5.163]>
In-Reply-To: <p0625010bc3908cb64d14@[74.134.5.163]>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Pete Resnick wrote:
> On 12/16/07 at 11:45 PM +0000, Alexey Melnikov wrote:
>> but I agree it was not entirely clear and I reworded the text along 
>> the lines of your proposal:
> I'm going to go ahead and write up -14 for IETF Last Call and send it 
> to Lisa. We'll consider Timo's comments and your clarification part of 
> that last call and make the correction there.
This is fine with me.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBKLJhfe058811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 14:19: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 lBKLJhkW058810; Thu, 20 Dec 2007 14:19: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 episteme-software.com (74-134-5-162.dhcp.insightbb.com [74.134.5.162]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBKLJd6a058800 for <ietf-imapext@imc.org>; Thu, 20 Dec 2007 14:19:42 -0700 (MST) (envelope-from presnick@qualcomm.com)
Received: from [74.134.5.163] (127.0.0.1) by episteme-software.com with ESMTP (EIMS X 3.3.2); Thu, 20 Dec 2007 15:19:39 -0600
Mime-Version: 1.0
X-Sender: resnick@resnick1.qualcomm.com
Message-Id: <p0625010bc3908cb64d14@[74.134.5.163]>
In-Reply-To: <4765B8B2.3060501@isode.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>            <p06250145c382455126af@[192.17.144.29]>            <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>            <1197805419.4084.135.camel@hurina>            <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>            <1197809264.4084.140.camel@hurina>            <1197811823.4084.163.camel@hurina>            <1197813271.4084.172.camel@hurina> <4765B8B2.3060501@isode.com>
User-Agent: Eudora 6.2.5b1(Macintosh)
Date: Thu, 20 Dec 2007 15:19:42 -0600
To: Alexey Melnikov <alexey.melnikov@isode.com>
From: Pete Resnick <presnick@qualcomm.com>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Cc: Timo Sirainen <tss@iki.fi>, ietf-imapext <ietf-imapext@imc.org>
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 12/16/07 at 11:45 PM +0000, Alexey Melnikov wrote:

>but I agree it was not entirely clear and I reworded the text along 
>the lines of your proposal:

I'm going to go ahead and write up -14 for IETF Last Call and send it 
to Lisa. We'll consider Timo's comments and your clarification part 
of that last call and make the correction there.

pr
-- 
Pete Resnick <http://www.qualcomm.com/~presnick/>
Qualcomm Incorporated - Direct phone: (858)651-4478, Fax: (858)651-1102



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBHApGNN066558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Dec 2007 03:51: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 lBHApGaB066557; Mon, 17 Dec 2007 03:51: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 lBHApFBx066548 for <ietf-imapext@imc.org>; Mon, 17 Dec 2007 03:51: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 <R2ZUoAAMlnzS@rufus.isode.com>; Mon, 17 Dec 2007 10:51:13 +0000
Message-ID: <4765B8B2.3060501@isode.com>
Date: Sun, 16 Dec 2007 23:45:54 +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: Timo Sirainen <tss@iki.fi>
CC: ietf-imapext <ietf-imapext@imc.org>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina> <1197811823.4084.163.camel@hurina> <1197813271.4084.172.camel@hurina>
In-Reply-To: <1197813271.4084.172.camel@hurina>
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>

Timo Sirainen wrote:

>On Sun, 2007-12-16 at 15:30 +0200, Timo Sirainen wrote:
>  
>
>>I just realized it's possible for collations to return "undefined" even
>>if all the input characters are valid.
>>    
>>
>(Continuing to talk to myself..)
>
>Am I correct about this? To me it looks like RFC 4790 defines "valid
>string" as "passes validity test", which may not be as simple as "all
>characters have valid code points".
>  
>
Correct.

>If this is correct, then the i18n draft needs changing, since currently
>it only specifies what to do with charset decoding failures. 4.6.c
>should then be something like:
>
>"All strings are collated using the active comparator. If the comparator
>returns "undefined", the string is moved to a second list. The second
>list is sorted using i;octet and appended after the first sorted list."
>  
>
This was implied by the following text:

  The ordering operation (e.g., IMAP SORT and THREAD) SHOULD collate the 
following
  together: strings encoded using unknown or invalid character 
encodings, strings
  in unrecognized charsets, and invalid input (as defined by the active 
collation).

but I agree it was not entirely clear and I reworded the text along the 
lines of your proposal:

    All strings that were successfully converted by step (b) are
    separated from all strings that failed step (b). Strings in
    each group are collated independently.  All strings successfully
    converted by step (b) are then validated by the active
    comparator. Strings that pass validation are collated using the
    active comparator. All strings that either fail step (b) or fail
    the active collation's validity operation are collated (after
    applying step (a)) using the i;octet comparator (see [RFC4790]).
    The resulting sorted list is produced by appending all collated
    "failed" strings after all strings collated using the active
    comparator.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDsYvZ089269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 06:54: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 lBGDsY2Z089268; Sun, 16 Dec 2007 06:54: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDsWXV089260 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 06:54:33 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id 35D9816471E4 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 15:54:32 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <1197811823.4084.163.camel@hurina>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina>  <1197811823.4084.163.camel@hurina>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BlSSngy9BBzqQkYjbPDT"
Date: Sun, 16 Dec 2007 15:54:31 +0200
Message-Id: <1197813271.4084.172.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Sun, 2007-12-16 at 15:30 +0200, Timo Sirainen wrote:
> I just realized it's possible for collations to return "undefined" even
> if all the input characters are valid.

(Continuing to talk to myself..)

Am I correct about this? To me it looks like RFC 4790 defines "valid
string" as "passes validity test", which may not be as simple as "all
characters have valid code points".

If this is correct, then the i18n draft needs changing, since currently
it only specifies what to do with charset decoding failures. 4.6.c
should then be something like:

"All strings are collated using the active comparator. If the comparator
returns "undefined", the string is moved to a second list. The second
list is sorted using i;octet and appended after the first sorted list."


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

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

iD8DBQBHZS4XyUhSUUBViskRAhuKAJ40p0FpDOMiOMrW+7D0LUd1v9+zyACfe/ji
SGC4vGjiVU0zfSHeGJr9YHw=
=/T1J
-----END PGP SIGNATURE-----

--=-BlSSngy9BBzqQkYjbPDT--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDrCjl089183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 06:53: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 lBGDrCLp089182; Sun, 16 Dec 2007 06:53: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 kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDrB1E089175 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 06:53:12 -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 F216D4AC7B; Sun, 16 Dec 2007 14:53:09 +0100 (CET)
Message-Id: <DFL4vozpOfi+fRIUI3BceA.md5@libertango.oryx.com>
Date: Sun, 16 Dec 2007 14:51:35 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Cc: Timo Sirainen <tss@iki.fi>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina>
In-Reply-To: <1197809264.4084.140.camel@hurina>
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>

Timo Sirainen writes:
> On Sun, 2007-12-16 at 13:18 +0100, Arnt Gulbrandsen wrote:
>>  > Anyway having to specifically track a list of valid and non-valid
>>  > strings and sort them separately would require adding a lot of new
>>  > code, all just to comply with a specification that works worse (from
>>  > user's POV) than what I could have implemented much more easily.
>>
>>  As I see it, you're adding support for all codepoints and all character
>>  sets,
>
> When it gets to collation, yes, but is this really allowed for 
> implementing SORT?

Why not?

>>  so the exception we're discussing no longer applies to your code.
>
> Why would anyone do anything different then?

Beats me.

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 lBGDUQNG087644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 06:30: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 lBGDUQu1087643; Sun, 16 Dec 2007 06:30: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDUOvZ087636 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 06:30:25 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id 35B3216471E4 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 15:30:24 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <1197809264.4084.140.camel@hurina>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3jgGaz40hdiWy2jWA9s9"
Date: Sun, 16 Dec 2007 15:30:23 +0200
Message-Id: <1197811823.4084.163.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

I just realized it's possible for collations to return "undefined" even
if all the input characters are valid. So I guess I'll have to redefine
my request a bit.

Change:

4.6.

(b) The decoded text from (a) MUST be converted to the charset expected
by the active comparator.

to something like:

(b) The decoded text from (a) MUST be converted to the charset expected
by the active comparator. The server MAY/SHOULD handle failures (e.g.
the text is in an unknown charset, contains a sequence which is not
valid according in that charset, etc.) by replacing the failed part with
a unicode "replacement character" #FFFD (or equivalent in other
charsets).


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

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

iD8DBQBHZShvyUhSUUBViskRAl4hAJ49pTkA+onPeJAre21D5/hueLqWHQCghYLB
EsIy3TZS2PZbEoN49hhjMnk=
=tGoq
-----END PGP SIGNATURE-----

--=-3jgGaz40hdiWy2jWA9s9--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGClkmW084635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 05:47: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 lBGClkKh084634; Sun, 16 Dec 2007 05:47: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGCljex084625 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 05:47:46 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id A0F04FA8AED for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 14:47:44 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oD5TbLhPGjl8mMfeyHnP"
Date: Sun, 16 Dec 2007 14:47:44 +0200
Message-Id: <1197809264.4084.140.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Sun, 2007-12-16 at 13:18 +0100, Arnt Gulbrandsen wrote:
> > Anyway having to specifically track a list of valid and non-valid=20
> > strings and sort them separately would require adding a lot of new=20
> > code, all just to comply with a specification that works worse (from=20
> > user's POV) than what I could have implemented much more easily.
>=20
> As I see it, you're adding support for all codepoints and all character=20
> sets,=20

When it gets to collation, yes, but is this really allowed for
implementing SORT?

> so the exception we're discussing no longer applies to your code.

Why would anyone do anything different then? I see only benefits doing
it this way.


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

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

iD8DBQBHZR5wyUhSUUBViskRAitkAJ0cXy6O49C7oPYckU2SzVkf6S+aSgCggbAl
Ig9CivyQtozx4u7I8Xulwh8=
=eNdw
-----END PGP SIGNATURE-----

--=-oD5TbLhPGjl8mMfeyHnP--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGCKZ5Q083327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 05:20: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 lBGCKZsE083326; Sun, 16 Dec 2007 05:20: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 kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGCKY0E083320 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 05:20:35 -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 0259C4AC6D for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 13:20:31 +0100 (CET)
Message-Id: <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>
Date: Sun, 16 Dec 2007 13:18:57 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina>
In-Reply-To: <1197805419.4084.135.camel@hurina>
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>

Timo Sirainen writes:
> On Fri, 2007-12-14 at 04:46 +0000, Alexey Melnikov wrote:
>>  >Would be better if this rule applied only at the position where the
>>  >unknown data was found.
>>  IMAP doesn't feed partial strings into collations. Describing this 
>>  would be a nightmare and I am not sure it is worth the effort.
>
> Since no-one's talking, I'll continue..
>
> The way I was going to implement it was to just replace 
> invalid/unknown input with a special unicode character and have it 
> get sorted in whatever way it normally gets sorted. This would all be 
> done before the string is fed to collation.

I do that sometimes. And sometimes I map to some private use codepoints.

> I'm not yet sure what the special character would be, but IIRC there 
> were some control characters in unicode already that user wasn't 
> allowed to write. Or maybe it could be just some non-coding 
> character, like the highest valid UTF-8 character. That would make it 
> automatically get sorted to the end.

You can use U+FFFD, which means "a character I couldn't represent while 
translating to unicode", or U+0F0000 to U+10FFFD, which are reserved 
for private use.

> Anyway having to specifically track a list of valid and non-valid 
> strings and sort them separately would require adding a lot of new 
> code, all just to comply with a specification that works worse (from 
> user's POV) than what I could have implemented much more easily.

As I see it, you're adding support for all codepoints and all character 
sets, so the exception we're discussing no longer applies to your code.

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 lBGC0LgH082071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 05:00: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 lBGC0LoA082070; Sun, 16 Dec 2007 05:00: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGC0JDr082062 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 05:00:20 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id 22D02FA8A79 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 14:00:19 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <1197805419.4084.135.camel@hurina>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>  <1197805419.4084.135.camel@hurina>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FNHi/+1E/hFbVXeRRGp8"
Date: Sun, 16 Dec 2007 14:00:18 +0200
Message-Id: <1197806418.4084.136.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

--=-FNHi/+1E/hFbVXeRRGp8
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2007-12-16 at 13:43 +0200, Timo Sirainen wrote:
> I'm not yet sure what the special character would be, but IIRC there
> were some control characters in unicode already that user wasn't allowed
> to write. Or maybe it could be just some non-coding character, like the
> highest valid UTF-8 character. That would make it automatically get
> sorted to the end.

#fffd I suppose.=20
http://www.fileformat.info/info/unicode/char/fffd/index.htm

--=-FNHi/+1E/hFbVXeRRGp8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBHZRNSyUhSUUBViskRAi13AKCbA5cBdlRSn1BZIhnCVO6denve+gCbBu7X
ykxccIC5DG3Hyy3IDUJjSf4=
=pKqK
-----END PGP SIGNATURE-----

--=-FNHi/+1E/hFbVXeRRGp8--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGBhsgQ080943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 04:43: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 lBGBhsDN080942; Sun, 16 Dec 2007 04:43: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGBhqeK080926 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 04:43:53 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id DBB7E16471E4 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 13:43:39 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <47620A8C.7070500@isode.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-747T55IOzcaOcTQMdE66"
Date: Sun, 16 Dec 2007 13:43:39 +0200
Message-Id: <1197805419.4084.135.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Fri, 2007-12-14 at 04:46 +0000, Alexey Melnikov wrote:
> >Would be better if this rule applied only at the position where the
> >unknown data was found.
> IMAP doesn't feed partial strings into collations. Describing this would=20
> be a nightmare and I am not sure it is worth the effort.

Since no-one's talking, I'll continue..

The way I was going to implement it was to just replace invalid/unknown
input with a special unicode character and have it get sorted in
whatever way it normally gets sorted. This would all be done before the
string is fed to collation.

I'm not yet sure what the special character would be, but IIRC there
were some control characters in unicode already that user wasn't allowed
to write. Or maybe it could be just some non-coding character, like the
highest valid UTF-8 character. That would make it automatically get
sorted to the end.

Anyway having to specifically track a list of valid and non-valid
strings and sort them separately would require adding a lot of new code,
all just to comply with a specification that works worse (from user's
POV) than what I could have implemented much more easily.


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

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

iD8DBQBHZQ9ryUhSUUBViskRAuBEAJ4zvw9ZAzD828RjOONzJd2bVdG1AgCdFTP7
j2lIosbruXoWrs+m1m5dLoo=
=Nbpi
-----END PGP SIGNATURE-----

--=-747T55IOzcaOcTQMdE66--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDY7vq053352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Dec 2007 06:34: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 lBEDY716053351; Fri, 14 Dec 2007 06:34: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDY5TG053342 for <ietf-imapext@imc.org>; Fri, 14 Dec 2007 06:34:06 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.217] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id A4B4D16471E1; Fri, 14 Dec 2007 15:34:03 +0200 (EET)
In-Reply-To: <47620A8C.7070500@isode.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-288678712"
Message-Id: <4B399628-6E71-486F-BA9F-6281FFAAF89B@iki.fi>
Cc: ietf-imapext <ietf-imapext@imc.org>
Content-Transfer-Encoding: 7bit
From: Timo Sirainen <tss@iki.fi>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Date: Fri, 14 Dec 2007 15:33:30 +0200
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Pgp-Agent: GPGMail 1.1.2 (Tiger)
X-Mailer: Apple Mail (2.752.2)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-1-288678712
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On 14.12.2007, at 6.46, Alexey Melnikov wrote:

> Timo Sirainen wrote:
>
>> On Sun, 2007-12-09 at 19:25 -0600, Pete Resnick wrote:
>>
>>> It is currently the belief of the chair and the editor that this  
>>> document reasonably addresses all outstanding issues. Consider  
>>> this a 1 week last call for the WG. I'll be out of town until  
>>> Monday, Dec. 17. If you are not heard of by then, this document  
>>> will be written up for IETF Last Call.
>>>
>>
>> Looks pretty good, although I'm not sure if it's such a good idea to
>> have it specify how to handle invalid input / unknown charsets.
>>
> I think we need some degree of predictability here. Sieve defines  
> something similar.

Why? For Sieve I can understand because there a wrong decision could  
in worst case cause a message to be discarded completely.

Unknown charset handling especially isn't predictable between servers  
and clients. For example a client can't reliably update its internal  
SORT view for new messages exactly the same as the server would have  
done it, if they support different charsets.

I'd like it more if both unknown charset and invalid input handling  
was just left up to implementation to handle the best way it knows how.

>> Would be better if this rule applied only at the position where the
>> unknown data was found.
>>
> IMAP doesn't feed partial strings into collations. Describing this  
> would be a nightmare and I am not sure it is worth the effort.

Which is why I'd vote to just replace all of it with being  
"implementation specific"..

I doubt anyone really cares how invalid input is handled, unless they  
see that sorting clearly goes wrong, which is what the current draft  
requires.

--Apple-Mail-1-288678712
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFHYoYuyUhSUUBViskRAluTAJ9iBmEMZVx7r00qDBOTeTRYbVu58QCfZXik
i61SBQE2GEAX3hGblzskXYk=
=ObAa
-----END PGP SIGNATURE-----

--Apple-Mail-1-288678712--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDO1mk052752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Dec 2007 06: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 lBEDO1CM052751; Fri, 14 Dec 2007 06: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 kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDNxMa052745 for <ietf-imapext@imc.org>; Fri, 14 Dec 2007 06:24:00 -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 CAEE04AC80; Fri, 14 Dec 2007 14:23:56 +0100 (CET)
Message-Id: <vykLNwoc38oIktoMI0+A9g.md5@libertango.oryx.com>
Date: Fri, 14 Dec 2007 14:22:37 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Timo Sirainen <tss@iki.fi>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>
In-Reply-To: <47620A8C.7070500@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:
> IMAP doesn't feed partial strings into collations. Describing this 
> would be a nightmare and I am not sure it is worth the effort.

I strongly agree. Having IMAP-I18N reach through 4790 and specify how 
collations behave would be bad.

Also it's not a big problem. The worst that can happen is that for e.g. 
THREAD ORDEREDSUBJECT, a thread can be sorted in a possibly bad 
position if its subject is encoded in a character set the server 
doesn't support. That is a very mild consequence of an unlikely 
occurence. IMO it's not enough to justify a layering violation.

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 lBECQ1Yl048292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Dec 2007 05:26: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 lBECQ1Pp048291; Fri, 14 Dec 2007 05:26: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 lBECQ0XI048282 for <ietf-imapext@imc.org>; Fri, 14 Dec 2007 05:26: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 <R2J2UQAMlhyJ@rufus.isode.com>; Fri, 14 Dec 2007 12:25:55 +0000
Message-ID: <47620A8C.7070500@isode.com>
Date: Fri, 14 Dec 2007 04:46:04 +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: Timo Sirainen <tss@iki.fi>
CC: ietf-imapext <ietf-imapext@imc.org>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina>
In-Reply-To: <1197286415.922.474.camel@hurina>
MIME-Version: 1.0
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>

Timo Sirainen wrote:

>On Sun, 2007-12-09 at 19:25 -0600, Pete Resnick wrote:
>  
>
>>It is currently the belief of the chair and the editor that this 
>>document reasonably addresses all outstanding issues. Consider this a 
>>1 week last call for the WG. I'll be out of town until Monday, Dec. 
>>17. If you are not heard of by then, this document will be written up 
>>for IETF Last Call.
>>    
>>
>
>Looks pretty good, although I'm not sure if it's such a good idea to
>have it specify how to handle invalid input / unknown charsets.
>  
>
I think we need some degree of predictability here. Sieve defines 
something similar.

>Especially for SORT:
>
>    The ordering operation (e.g., IMAP SORT and THREAD) SHOULD collate
>    the following together: strings encoded using unknown or invalid
>    character encodings, strings in unrecognized charsets, and invalid
>    input (as defined by the active collation).
>
>Does that mean if I have messages sorted by subject:
>
>abc
>bcd =?unknown-charset?q?1234?=
>cde
>
>These should instead be sorted by:
>
>abc
>cde
>bcd =?unknown-charset?q?1234?=
>  
>
Yes.

>Would be better if this rule applied only at the position where the
>unknown data was found.
>  
>
IMAP doesn't feed partial strings into collations. Describing this would 
be a nightmare and I am not sure it is worth the effort.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBACF6bh091699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Dec 2007 05:15: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 lBACF65k091698; Mon, 10 Dec 2007 05:15: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 lBACEvbt091678 for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 05:15:03 -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 BC4FE4AC8B for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 13:14:50 +0100 (CET)
Message-Id: <6qCyTS5WuQ/BqZQHX3OUQw.md5@libertango.oryx.com>
Date: Mon, 10 Dec 2007 13:14:02 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina>
In-Reply-To: <1197286415.922.474.camel@hurina>
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>

Timo Sirainen writes:
> Would be better if this rule applied only at the position where the 
> unknown data was found.

I think that's in scope for RFC 4790, not this document. And I don't 
remember what 4790 says, and I haven't the time to look it up now.

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 lBABXv1D087747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Dec 2007 04:33: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 lBABXvhE087746; Mon, 10 Dec 2007 04:33: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBABXumS087704 for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 04:33:57 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id CEE3B16471E1 for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 13:33:35 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <p06250145c382455126af@[192.17.144.29]>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9GzIi25CgvpgLNpbfW2u"
Date: Mon, 10 Dec 2007 13:33:35 +0200
Message-Id: <1197286415.922.474.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Sun, 2007-12-09 at 19:25 -0600, Pete Resnick wrote:
> It is currently the belief of the chair and the editor that this=20
> document reasonably addresses all outstanding issues. Consider this a=20
> 1 week last call for the WG. I'll be out of town until Monday, Dec.=20
> 17. If you are not heard of by then, this document will be written up=20
> for IETF Last Call.

Looks pretty good, although I'm not sure if it's such a good idea to
have it specify how to handle invalid input / unknown charsets.
Especially for SORT:

    The ordering operation (e.g., IMAP SORT and THREAD) SHOULD collate
    the following together: strings encoded using unknown or invalid
    character encodings, strings in unrecognized charsets, and invalid
    input (as defined by the active collation).

Does that mean if I have messages sorted by subject:

abc
bcd =3D?unknown-charset?q?1234?=3D
cde

These should instead be sorted by:

abc
cde
bcd =3D?unknown-charset?q?1234?=3D

Would be better if this rule applied only at the position where the
unknown data was found.

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

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

iD8DBQBHXSQPyUhSUUBViskRAreAAKCO0XFsx7L97K5FaJDsBflvux8q0gCdHaHI
TfE+0JtA0ZifRZCwhlX5meI=
=Xggh
-----END PGP SIGNATURE-----

--=-9GzIi25CgvpgLNpbfW2u--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBA1P8pu033437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Dec 2007 18:25: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 lBA1P8D1033436; Sun, 9 Dec 2007 18:25: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 episteme-software.com (74-134-5-162.dhcp.insightbb.com [74.134.5.162]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBA1P77P033429 for <ietf-imapext@imc.org>; Sun, 9 Dec 2007 18:25:07 -0700 (MST) (envelope-from presnick@qualcomm.com)
Received: from [192.17.144.29] (127.0.0.1) by episteme-software.com with ESMTP (EIMS X 3.3.2) for <ietf-imapext@imc.org>; Sun, 9 Dec 2007 19:25:07 -0600
Mime-Version: 1.0
X-Sender: resnick@resnick1.qualcomm.com
Message-Id: <p06250145c382455126af@[192.17.144.29]>
In-Reply-To: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>
User-Agent: Eudora 6.2.5b1(Macintosh)
Importance: High
Date: Sun, 9 Dec 2007 19:25:07 -0600
To: ietf-imapext@imc.org
From: Pete Resnick <presnick@qualcomm.com>
Subject: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
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>

It is currently the belief of the chair and the editor that this 
document reasonably addresses all outstanding issues. Consider this a 
1 week last call for the WG. I'll be out of town until Monday, Dec. 
17. If you are not heard of by then, this document will be written up 
for IETF Last Call.

pr
-- 
Pete Resnick <http://www.qualcomm.com/~presnick/>
Qualcomm Incorporated - Direct phone: (858)651-4478, Fax: (858)651-1102



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB8MIH56002448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Dec 2007 15:18: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 lB8MIHWa002447; Sat, 8 Dec 2007 15:18: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 lB8MIF0C002439 for <ietf-imapext@imc.org>; Sat, 8 Dec 2007 15:18:16 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.1.129] (S0106005018446c5d.vc.shawcable.net [24.85.75.120])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1sYJABCHLIg@rufus.isode.com>; Sat, 8 Dec 2007 22:18:14 +0000
Message-ID: <475B1814.7060001@isode.com>
Date: Sat, 08 Dec 2007 22:17: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: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Updated IMAP I18N document
References: <473B16CF.7060600@isode.com> <alpine.WNT.0.99999.0711140754530.5152@Shimo-Tomobiki.Panda.COM> <473B3743.7060205@isode.com> <alpine.WNT.0.99999.0711141637400.4728@Tomobiki-Cho.CAC.Washignton.EDU>
In-Reply-To: <alpine.WNT.0.99999.0711141637400.4728@Tomobiki-Cho.CAC.Washignton.EDU>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:

> I am uneasy about having COMPARATOR and UNICASEMAP as separate 
> capabilities, especially since COMPARATOR implies but does not require 
> UNICASEMAP.  This means that a client that only cares about UNICASEMAP 
> capability must test for both requirements.
>
> As an alternative, how about I18NLEVEL=<version #>, where version 1 
> means UNICASEMAP capability and version 2 means COMPARATOR?  This 
> implies that any subsequent additions will be additive with all 
> previous ones being mandatory-to-implement; but I think that is the 
> right thing in this case.

Based on various discussions in Vancouver it seems that people are Ok 
with this change.
If you object, please speak up now.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB8MdR17001190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Dec 2007 15:39: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 lB8MdR9M001189; Sat, 8 Dec 2007 15:39: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 ns4.neustar.com (ns4.neustar.com [156.154.24.139]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB8MdPkh001181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-imapext@imc.org>; Sat, 8 Dec 2007 15:39:26 -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 3D0A42AC77; Sat,  8 Dec 2007 22:40:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1J18L4-0003Go-0W; Sat, 08 Dec 2007 17:40:02 -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-i18n-14.txt 
Message-Id: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>
Date: Sat, 08 Dec 2007 17:40:02 -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 Internationalization
	Author(s)       : C. Newman, et al.
	Filename        : draft-ietf-imapext-i18n-14.txt
	Pages           : 18
	Date            : 2007-12-08

Internet Message Access Protocol (IMAP) version 4rev1 has basic
 support for non-ASCII characters in mailbox names and search
 substrings.  It also supports non-ASCII message headers and content
 encoded as specified by Multipurpose Internet Mail Extensions
 (MIME).  This specification defines a collection of IMAP extensions
 which improve international support including comparator negotiation
 for search, sort and thread, language negotiation for international
 error text, and translations for namespace prefixes.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-i18n-14.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-i18n-14.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-i18n-14.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:     <2007-12-08173840.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-i18n-14.txt

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

Content-Type: text/plain
Content-ID:     <2007-12-08173840.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 lB3HWC1e085430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2007 10:32: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 lB3HWCFF085429; Mon, 3 Dec 2007 10:32: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3HWB3h085423 for <ietf-imapext@imc.org>; Mon, 3 Dec 2007 10:32:12 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.17.12] (dhcp-110c.ietf70.org [130.129.17.12])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1Q9lwB-qEWR@rufus.isode.com>; Mon, 3 Dec 2007 17:32:09 +0000
Message-ID: <47543D90.20907@isode.com>
Date: Mon, 03 Dec 2007 17:32: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: Lemonade WG <lemonade@ietf.org>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Friends of IMAP dinner meeting time
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Let's meet at 8pm today near the IETF message board.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3HI9I2083671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2007 10:18: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 lB3HI9S2083670; Mon, 3 Dec 2007 10:18: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3HI8tu083664 for <ietf-imapext@imc.org>; Mon, 3 Dec 2007 10:18:09 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.17.12] (dhcp-110c.ietf70.org [130.129.17.12])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1Q6TQB-qDsb@rufus.isode.com>; Mon, 3 Dec 2007 17:18:06 +0000
Message-ID: <47541091.8020300@isode.com>
Date: Mon, 03 Dec 2007 14:20:01 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Discussion of IMAP I18N in Vancouver
MIME-Version: 1.0
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>

We will meet on Thursday, 10am near the IETF message board.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3FtdAO076742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2007 08: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 lB3FtdIo076741; Mon, 3 Dec 2007 08: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 smtp.andrew.cmu.edu (SMTP.andrew.cmu.edu [128.2.10.83]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3FtZak076732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Mon, 3 Dec 2007 08:55:36 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.23] (cpe-69-207-86-125.buffalo.res.rr.com [69.207.86.125]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.8/8.13.8) with ESMTP id lB3FtT8C015065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 3 Dec 2007 10:55:30 -0500
Message-ID: <475426D6.50508@andrew.cmu.edu>
Date: Mon, 03 Dec 2007 10:55:02 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: draft-daboo-imap-annotatemore-11
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.60 on 128.2.10.83
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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'm in the process of migrating my older ANNOTATEMORE implementation to 
the new METADATA syntax and I noticed that draft -11 doesn't contain 
ABNF for the LIST-EXTENDED METADATA return option or the METADATA 
extended list data item (response).

-- 
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 lB1N3I8m080635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Dec 2007 16:03: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 lB1N3Ik3080633; Sat, 1 Dec 2007 16:03: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 brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB1N3HVH080627 for <ietf-imapext@imc.org>; Sat, 1 Dec 2007 16:03:18 -0700 (MST) (envelope-from peter.coates@sun.com)
Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id lB1N3HJa013330 for <ietf-imapext@imc.org>; Sat, 1 Dec 2007 23:03:17 GMT
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JSE000017YFIT00@mail-amer.sun.com> (original mail from peter.coates@sun.com) for ietf-imapext@imc.org; Sat, 01 Dec 2007 16:03:17 -0700 (MST)
Received: from kluane ([199.247.229.42]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JSE008NG81EGA70@mail-amer.sun.com>; Sat, 01 Dec 2007 16:03:17 -0700 (MST)
Date: Sat, 01 Dec 2007 15:02:40 -0800
From: Peter Coates <peter.coates@sun.com>
Subject: RE: Ad-hoc meeting to discuss IMAP Internationalization
In-reply-to: <4751E1B2.7040503@isode.com>
To: "'Alexey Melnikov'" <alexey.melnikov@isode.com>, "'IMAP Extensions WG'" <ietf-imapext@imc.org>
Message-id: <007501c8346e$473c7310$d5b55930$%coates@sun.com>
MIME-version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Content-type: text/plain; charset=us-ascii
Content-language: en-ca
Content-transfer-encoding: 7BIT
Thread-index: Acg0bTXf8Z0WphoBRuitJEnkaHBPwwAAIBMQ
References: <4751E1B2.7040503@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>

I'm only going to be there the Wednesday and Thursday.  Either of those
times work for me.



-----Original Message-----
From: owner-ietf-imapext@mail.imc.org
[mailto:owner-ietf-imapext@mail.imc.org] On Behalf Of Alexey Melnikov
Sent: December 1, 2007 14:36
To: IMAP Extensions WG
Subject: Ad-hoc meeting to discuss IMAP Internationalization


With permissions of IMAPEXT and Lemonade chairs, I've put IMAP I18N 
document on the Lemonade WG agenda on Thursday, December 6th.
But I was thinking it might be better to spend some time before that, in 
order to make some progress on the document and save some time during 
the Lemonade WG meeting. I would also like to discuss future potential 
work on IMAP internationalization, because I would prefer to get 
draft-ietf-imapext-i18n done pretty much as is soon (within 2 months) 
and defer any further work till another document.

So, is there any interest to meet up during one of the following slots 
in Vancouver:

Wednesday, December 5th, 15:10-16:10
Thursday, December 6th, 09:00-11:30

?





Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB1MZfLV079013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Dec 2007 15:35:41 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id lB1MZfoe079012; Sat, 1 Dec 2007 15:35:41 -0700 (MST) (envelope-from owner-ietf-imapext@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 lB1MZeY3079006 for <ietf-imapext@imc.org>; Sat, 1 Dec 2007 15:35:41 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.1.129] (S0106005018446c5d.vc.shawcable.net [24.85.75.120])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1HhuAB-qLEM@rufus.isode.com>; Sat, 1 Dec 2007 22:35:38 +0000
Message-ID: <4751E1B2.7040503@isode.com>
Date: Sat, 01 Dec 2007 22:35: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: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Ad-hoc meeting to discuss IMAP Internationalization
MIME-Version: 1.0
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>

With permissions of IMAPEXT and Lemonade chairs, I've put IMAP I18N 
document on the Lemonade WG agenda on Thursday, December 6th.
But I was thinking it might be better to spend some time before that, in 
order to make some progress on the document and save some time during 
the Lemonade WG meeting. I would also like to discuss future potential 
work on IMAP internationalization, because I would prefer to get 
draft-ietf-imapext-i18n done pretty much as is soon (within 2 months) 
and defer any further work till another document.

So, is there any interest to meet up during one of the following slots 
in Vancouver:

Wednesday, December 5th, 15:10-16:10
Thursday, December 6th, 09:00-11:30

?




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBS3DuHg076107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 20:13: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 lBS3DuSh076106; Thu, 27 Dec 2007 20:13: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBS3DsAA076099 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 20:13:54 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id 6C0AC22F3B; Fri, 28 Dec 2007 03:13:36 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 0BEB6502EA; Fri, 28 Dec 2007 14:13:50 +1100 (EST)
Date: Fri, 28 Dec 2007 14:13:50 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Lyndon Nerenberg <lyndon@orthanc.ca>
Cc: Bron Gondwana <brong@fastmail.fm>, Ken Murchison <murch@andrew.cmu.edu>, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, ietf-imapext@imc.org, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071228031350.GA12567@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <20071227220934.GA10658@brong.net> <CBA48E6C-5C97-4797-838D-6DC16E083644@orthanc.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CBA48E6C-5C97-4797-838D-6DC16E083644@orthanc.ca>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Dec 27, 2007 at 03:16:07PM -0700, Lyndon Nerenberg wrote:
>
>
> On 2007-Dec-27, at 15:09 , Bron Gondwana wrote:
>
>> You're lucky if you've never seen file corruption due to bitrot on large
>> drive arrays.  We have about 30TB online at the moment and that's
>> growing fairly rapidly.  The research out there suggests we're likely to
>> have a block level corruption every couple of months with the current
>> level of affordable component reliability.
>
> But that's a local hardware issue, and should be handled locally to the 
> host. I.e. have the IMAP server checksum the files when writing to disk, 
> and verify that checksum when reading the data. Doing random checks via the 
> IMAP protocol won't prevent you from offering corrupted data to clients. 
> You have the right solution, but you're applying it at the wrong layer.

Certainly - though once you put replication in the mix then there needs
to be some way to double check things all the way down.  I agree that 
it doesn't need to be exposed all the way out to IMAP.  I just put it
there for convenience.

That said, if the client wants to confirm that it has the same data as
the server, then there needs to be some way for the client to extract
a digest from the server that it can compare to its local copy.  It's
an implementation detail whether this gets calculated on the fly or
is pulled from a cache.

It would be nice to be able to tell the client which digest is already
cached/pre-calculated by the server to save overloading.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMZoiR056724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:35: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 lBRMZooZ056723; Thu, 27 Dec 2007 15:35: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMZo2e056716 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:35:50 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id DF92922E2C; Thu, 27 Dec 2007 22:35:36 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 485F9502E8; Fri, 28 Dec 2007 09:35:46 +1100 (EST)
Date: Fri, 28 Dec 2007 09:35:47 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: Arnt Gulbrandsen <arnt@oryx.com>, ietf-imapext@imc.org, imap-protocol@u.washington.edu, robm@fastmail.fm
Subject: Re: Private FETCH items
Message-ID: <20071227223547.GE10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <XwTwF2uoF+TIGCxUu4Im1w.md5@[192.168.1.102]> <46CD9ADE.4090709@andrew.cmu.edu> <6JQK/Y9XpY9K0X8cuRALCQ.md5@[192.168.1.102]> <46CF42AA.5020706@andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <46CF42AA.5020706@andrew.cmu.edu>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 24, 2007 at 04:42:18PM -0400, Ken Murchison wrote:
>
> Arnt Gulbrandsen wrote:
>> Ken Murchison writes:
>>> Arnt Gulbrandsen wrote:
>>>> What does the GUID do?
>>>
>>> Uniquely identifies a message so that if the same message is present in 
>>> more than one mailbox, its contents only gets replicated once.
>> I'm afraid I phrased the question badly. What does the code do when asked 
>> for a GUID?
>
> Pulls the message GUID out of the index file for the mailbox.

This is currently 20 bytes containing the SHA1 of the rfc822 message
bytes, and has been for a while.  It used to be 12 bytes, either
(0x01, hostid, process id, time) or later I added
(0x02, first 11 bytes of md5 digest)

More recently David Carter rewrote it as a 20 bytes value containing
the full sha1, which is not only cryptographically better but it's
complete!  The partial MD5 was a hack to avoid changing the index
file format while still allowing some level of integrity checking.
I knew it was a nasty compromise - but hey, life is built on nasty
compromises.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMUP08056436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:30: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 lBRMUPVp056435; Thu, 27 Dec 2007 15:30: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMUPcG056427 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:30:25 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id D2EAF22ED7; Thu, 27 Dec 2007 22:30:11 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 2F173502E8; Fri, 28 Dec 2007 09:30:21 +1100 (EST)
Date: Fri, 28 Dec 2007 09:30:22 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Tony Finch <dot@dotat.at>
Cc: ietf-imapext@imc.org, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227223022.GD10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <46CD9A95.4030001@andrew.cmu.edu> <Pine.LNX.4.64.0708271125570.16524@hermes-2.csi.cam.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.64.0708271125570.16524@hermes-2.csi.cam.ac.uk>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 27, 2007 at 11:31:20AM +0100, Tony Finch wrote:
> On Thu, 23 Aug 2007, Ken Murchison wrote:
> >
> > I probably wasn't clear in the use case.  Cyrus now has the ability to
> > replicate a mailstore in near realtime.  Several sites (including CMU in the
> > near future) are using this to have redundant mailstores in case of a hardware
> > failure.  Rather than create a new tool or protocol to verify the consistency
> > of the mailstore pairs, extending IMAP with a couple of new FETCH items seems
> > like a reasonable thing to do.
> 
> I should note that the MD5 replica consistency check has been very useful
> in finding lurking bugs in the code, both the original version and across
> versions as the code has evolved. It's also good for discovering bit-
> smashing hardware failures that haven't (yet) affected lower levels of the
> os/driver/raid stack. You can only be sure of data integrity if you test
> it end-to-end.

Thanks :)  My sentiments exactly.

We have layers of integrity checks and scripts watching other scripts to
maintain our replication system.  Even without the replication, it's
good to record the digest of a delivered message into an index file as
it's delivered and be able to compare that to the spooled file itself
at any later time as an integrity check.

Just this week I've been working on an auditlog patch to cyrus:

http://cyrus.brong.fastmail.fm/patches/cyrus-auditlog-2.3.11.diff

This spits out the GUID (sha1) at APPEND time as well as any time a
COPY is performed on the message.  In the same message is the mailbox
name, mailbox unique id (Cyrus internal) and UID.  This is duplicated
on the replica, so by combining those logs you can see that the same
message exists on both ends.

Our backup system fetches index files, and then uses the sha1 to
compare the message pulled from the spool and ensure it's backing
up the message it expects to be backing up.

Integrity checking is the responsibility of every layer, at least
for the semantic things that only that layer understands.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMNDVq056018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:23: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 lBRMNDlJ056017; Thu, 27 Dec 2007 15:23: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMNCpp056011 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:23:12 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id 2EAC922E75; Thu, 27 Dec 2007 22:22:59 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 2458A502E8; Fri, 28 Dec 2007 09:23:08 +1100 (EST)
Date: Fri, 28 Dec 2007 09:23:09 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Mark Crispin <MRC@CAC.Washington.EDU>
Cc: Lyndon Nerenberg <lyndon@orthanc.ca>, Ken Murchison <murch@andrew.cmu.edu>, ietf-imapext@imc.org, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227222309.GC10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <alpine.WNT.0.999.0708221405260.3828@Shimo-Tomobiki.Panda.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.WNT.0.999.0708221405260.3828@Shimo-Tomobiki.Panda.COM>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 22, 2007 at 02:14:14PM -0700, Mark Crispin wrote:
> On Wed, 22 Aug 2007, Lyndon Nerenberg wrote:
>> .FILESIZE is just  asking for trouble.  Nobody cares what the on-disk 
>> representation is, and comparing file sizes is NOT the same as comparing 
>> message content.
>
> I agree.  The c-client library (the beating heart of UW imapd, Pine, etc.) 
> has a concept of an internal size, but that depends upon the mail store and 
> thus is only used by mail store drivers.  It never gets as far as imapd (or 
> other application), much less exported in the protocol.
>
> Let us be clear here; any .FILESIZE value in any server which supports 
> multiple mail store formats could (and WOULD) vary depending upon the 
> mailbox format with no obvious indication to the user as to why.  This, by 
> itself, should be enough cause to reject it.

That's fine with me.  .FILESIZE is really part of an "internal integrity
check" and was only exposed via IMAP because there's no easy way to
compare \Seen flags in Cyrus other than logging in as the user.  Once
you've done that it's easier to have everything else you need to compare
available through the same connection.

>> .MD5 is useful in the general sense as a fast way to compare messages for 
>> equality, although I think it would be better served in that context if 
>> you could MD5 the body content without the 822 headers to be able to 
>> handle Received: differences for the same message delivered to two or more 
>> folders via different [SL]MTP transactions.  It would probably make more 
>> sense to be able to generically MD5 by MIME body part.
>
> IMHO, this functionality belongs as part of CONVERT.  An MD5 checksum is, 
> in effect, a conversion.

So long as it's specified in a way that makes it easy for the server to
cache so that requests for the value are cheap, and it's a digest that
can be calculated at the other end as an integrity check, I'm pretty
happy.  I'd also like all implementation to be using the SAME value so
it's not just unique within a particular implementation but can be used
to track a series of bytes regardless of who is storing them.

>> What's a GUID?
>
> Presumably this is a global UID which uniquely and permanently identifies 
> the message on the server.
>
> I think that IMAP should eventually have a GUID, but it needs careful 
> design and review.  I don't think that we should take the first patch that 
> comes along.

Excellent.  That's what I'm here for.  The intention with the first
patch was purely to have an internal integrity check.  This time I want
everyone else to be doing it as well.  Now that I've found the right
forum I'd like to start work on a proper design, and I'd love input on
it.

>> But overall I guess I have to question why it's necessary to burden the 
>> protocol with this just because somebody wrote some broken code.  I have 
>> done an awful lot of server migrations over the years and I have never yet 
>> come up against the problem this is trying to detect. I realize you intend 
>> this as private data, but once it's in the wild, it will get used, for 
>> better and worse.
>
> I agree with this sentiment.

Definitely.  I'm pretty sure I tagged that Cyrus patch Ken is talking
about "Not a candidate for upstream without further review" when I was
submitting the series of patches it was in.  I've got a few patches
like that floating around.

Thanks,

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGamM055649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:16: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 lBRMGa74055648; Thu, 27 Dec 2007 15:16: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 orthanc.ca (unknown.dsl-460.edge9.vwc.uniserve.ca [204.174.99.133] (may be forged)) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGYjx055639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:16:35 -0700 (MST) (envelope-from lyndon@orthanc.ca)
Received: from [192.168.0.106] (s142-179-159-132.tascal.biz [142.179.159.132] (may be forged)) (authenticated bits=0) by orthanc.ca (8.14.1/8.14.1) with ESMTP id lBRMGDHc075798 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 27 Dec 2007 14:16:14 -0800 (PST) (envelope-from lyndon@orthanc.ca)
Cc: Ken Murchison <murch@andrew.cmu.edu>, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, ietf-imapext@imc.org, robm@fastmail.fm
Message-Id: <CBA48E6C-5C97-4797-838D-6DC16E083644@orthanc.ca>
From: Lyndon Nerenberg <lyndon@orthanc.ca>
To: Bron Gondwana <brong@fastmail.fm>
In-Reply-To: <20071227220934.GA10658@brong.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v915)
Subject: Re: [Imap-protocol] Private FETCH items
Date: Thu, 27 Dec 2007 15:16:07 -0700
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <20071227220934.GA10658@brong.net>
X-Mailer: Apple Mail (2.915)
X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=no version=3.2.3
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on orthanc.ca
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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 2007-Dec-27, at 15:09 , Bron Gondwana wrote:

> You're lucky if you've never seen file corruption due to bitrot on  
> large
> drive arrays.  We have about 30TB online at the moment and that's
> growing fairly rapidly.  The research out there suggests we're  
> likely to
> have a block level corruption every couple of months with the current
> level of affordable component reliability.

But that's a local hardware issue, and should be handled locally to  
the host. I.e. have the IMAP server checksum the files when writing to  
disk, and verify that checksum when reading the data. Doing random  
checks via the IMAP protocol won't prevent you from offering corrupted  
data to clients. You have the right solution, but you're applying it  
at the wrong layer.

--lyndon



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGQ3t055631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:16: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 lBRMGQKs055630; Thu, 27 Dec 2007 15:16: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRMGP0K055624 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:16:25 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id 3CA7222EB7; Thu, 27 Dec 2007 22:16:12 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id 5D02C502E8; Fri, 28 Dec 2007 09:16:22 +1100 (EST)
Date: Fri, 28 Dec 2007 09:16:22 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Dave Cridland <dave@cridland.net>
Cc: Lyndon Nerenberg <lyndon@orthanc.ca>, ietf-imapext@imc.org, imap-protocol@u.washington.edu, Ken Murchison <murch@andrew.cmu.edu>, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227221622.GB10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca> <29508.1187817223.002157@peirce.dave.cridland.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <29508.1187817223.002157@peirce.dave.cridland.net>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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, Aug 22, 2007 at 10:13:42PM +0100, Dave Cridland wrote:
> Note that I've proposed "CRC" instead of explicitly naming MD5, partly in 
> case people are tempted to use it in clients, and partly to stop the flurry 
> of emails you'll otherwise get telling you that MD5 is insecure.

Two things here.

1) I consider auditability to be very important.  I want to
   be able to cheaply fetch some form of digest (preferably
   cheaply for both the server and the network) that allows
   me to check that the local message is the same.

More on this - it allows detection of both copies and folder
renames to occur without fetching the full content of the
message again.  Even without detecting two different deliveries
with different Received headers, this is a massive win.  Indeed,
it's 90+% of the duplication I would expect to see.  Multiple
deliveries with different received headers is much rarer than
re-filing a message to a different folder (at least in our users'
usage)

2) I'd prefer this to be usable across multiple different server
   implementations.  My current goal (and the reason I'm re-visiting
   this rather than just maintaining yet another patch against Cyrus.
   I already have about 20, what's one more!) is to build an
   intelligent IMAP proxy/synchroniser.  Having to write separate
   logic for every IMAP server out there would suck.

Assuming this makes it as far as a draft, I would be happy to work
on adding support to a few of the most popular open-source servers
and possibly a client or two to bootstrap support.  I think it's
worth the effort.

Bron.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRM9eoT055104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Dec 2007 15:09: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 lBRM9eQb055103; Thu, 27 Dec 2007 15:09: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 paragon.brong.net (paragon.brong.net [74.52.187.94]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBRM9d8D055092 for <ietf-imapext@imc.org>; Thu, 27 Dec 2007 15:09:39 -0700 (MST) (envelope-from brong@ravna.brong.net)
Received: from ravna (ravna.brong.net [192.168.203.4]) by paragon.brong.net (Postfix) with ESMTP id EA65D22EBE; Thu, 27 Dec 2007 22:09:24 +0000 (UTC)
Received: by ravna (Postfix, from userid 1000) id E7E81502E8; Fri, 28 Dec 2007 09:09:34 +1100 (EST)
Date: Fri, 28 Dec 2007 09:09:34 +1100
From: Bron Gondwana <brong@fastmail.fm>
To: Lyndon Nerenberg <lyndon@orthanc.ca>
Cc: Ken Murchison <murch@andrew.cmu.edu>, IMAP Protocol Interest List <imap-protocol@u.washington.edu>, ietf-imapext@imc.org, robm@fastmail.fm
Subject: Re: [Imap-protocol] Private FETCH items
Message-ID: <20071227220934.GA10658@brong.net>
References: <46CC88EE.5040500@andrew.cmu.edu> <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <22D7E33A-FD12-4B76-8240-89A4690A03B6@orthanc.ca>
Organization: brong.net
User-Agent: Mutt/1.5.16 (2007-06-11)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Ducking in to follow up on this thread as the author of the
patch Ken is talking about.  I work at FastMail.FM, and have
been doing an awful lot of work patching Cyrus recently.

I have signed up to the imapext mailing list now (should have
before!) - I can't see imap-protocol@u.washington.edu on the public
lists page, so have not signed up there.  I'd be happy to join
if that's allowed though.

On Wed, Aug 22, 2007 at 12:27:15PM -0700, Lyndon Nerenberg wrote:
> On Aug 22, 2007, at 12:05 PM, Ken Murchison wrote:
>
>> FYI, the difference between RFC822.SIZE and RFC822.FILESIZE is that the 
>> former uses the cached size in the message index file, and the latter 
>> stat()s for the file size at the time of the request.
>
> .FILESIZE is just  asking for trouble.  Nobody cares what the on-disk 
> representation is, and comparing file sizes is NOT the same as comparing 
> message content.

I added these options originally to support our replication integrity
checking script.  We run Cyrus replication, and it had quite a few
bugs at first.  We still run it as an advance warning if something goes
wrong.

I wanted some method to access the underlying file size and digest to
compare, and I agree that FILESIZE is not ideal and shouldn't be
exposed publically.  It's useful not to have to use a separate protocol
or direct filesystem lookup for us though.

We find that with multiple terabytes of disk and non-ZFS filesystems
(ZFS didn't even exist when I started work on this) there are occasional
underlying errors.  There needs to be integrity checking up at the layer
which understands the semantic meaning of the files.

> .MD5 is useful in the general sense as a fast way to compare messages for 
> equality, although I think it would be better served in that context if you 
> could MD5 the body content without the 822 headers to be able to handle 
> Received: differences for the same message delivered to two or more folders 
> via different [SL]MTP transactions.  It would probably make more sense to 
> be able to generically MD5 by MIME body part.

There are two different values we have now, 'GUID' and 'RFC822.SHA1'.
The first is indexed and fast, the second is calculated by reading the
bytes directly from disk.  We check that for 1/1000 messages at the
moment in a standard replication scan.  Enough to find a systematic
issue fairly quickly without bringing our system IO to its knees.

I have recently re-written the GUID part as "DIGEST.SHA1" and added
a CAPABILITY line "DIGEST=SHA1" with a view to making it extensible
to other message digests in future.  Cyrus now stores the GUID as a
SHA1.
> What's a GUID?

Globally Unique ID.

> But overall I guess I have to question why it's necessary to burden the 
> protocol with this just because somebody wrote some broken code.  I have 
> done an awful lot of server migrations over the years and I have never yet 
> come up against the problem this is trying to detect. I realize you intend 
> this as private data, but once it's in the wild, it will get used, for 
> better and worse.

You're lucky if you've never seen file corruption due to bitrot on large
drive arrays.  We have about 30TB online at the moment and that's
growing fairly rapidly.  The research out there suggests we're likely to
have a block level corruption every couple of months with the current
level of affordable component reliability.

Bron ( now to reply to some other messages )



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBNLHQOr097080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Dec 2007 14:17: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 lBNLHQZi097079; Sun, 23 Dec 2007 14:17: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 lBNLHPFe097072 for <ietf-imapext@imc.org>; Sun, 23 Dec 2007 14:17:26 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.0.11] (atomnet2.ttr.ru [195.245.249.86])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R27QYgAMlpkf@rufus.isode.com>; Sun, 23 Dec 2007 21:17:24 +0000
Message-ID: <476ED224.8010901@isode.com>
Date: Mon, 24 Dec 2007 00:24:52 +0300
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
To: Pete Resnick <presnick@qualcomm.com>
CC: ietf-imapext <ietf-imapext@imc.org>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina> <1197811823.4084.163.camel@hurina> <1197813271.4084.172.camel@hurina> <4765B8B2.3060501@isode.com> <p0625010bc3908cb64d14@[74.134.5.163]>
In-Reply-To: <p0625010bc3908cb64d14@[74.134.5.163]>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Pete Resnick wrote:
> On 12/16/07 at 11:45 PM +0000, Alexey Melnikov wrote:
>> but I agree it was not entirely clear and I reworded the text along 
>> the lines of your proposal:
> I'm going to go ahead and write up -14 for IETF Last Call and send it 
> to Lisa. We'll consider Timo's comments and your clarification part of 
> that last call and make the correction there.
This is fine with me.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBKLJhfe058811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 14:19: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 lBKLJhkW058810; Thu, 20 Dec 2007 14:19: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 episteme-software.com (74-134-5-162.dhcp.insightbb.com [74.134.5.162]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBKLJd6a058800 for <ietf-imapext@imc.org>; Thu, 20 Dec 2007 14:19:42 -0700 (MST) (envelope-from presnick@qualcomm.com)
Received: from [74.134.5.163] (127.0.0.1) by episteme-software.com with ESMTP (EIMS X 3.3.2); Thu, 20 Dec 2007 15:19:39 -0600
Mime-Version: 1.0
X-Sender: resnick@resnick1.qualcomm.com
Message-Id: <p0625010bc3908cb64d14@[74.134.5.163]>
In-Reply-To: <4765B8B2.3060501@isode.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>            <p06250145c382455126af@[192.17.144.29]>            <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>            <1197805419.4084.135.camel@hurina>            <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>            <1197809264.4084.140.camel@hurina>            <1197811823.4084.163.camel@hurina>            <1197813271.4084.172.camel@hurina> <4765B8B2.3060501@isode.com>
User-Agent: Eudora 6.2.5b1(Macintosh)
Date: Thu, 20 Dec 2007 15:19:42 -0600
To: Alexey Melnikov <alexey.melnikov@isode.com>
From: Pete Resnick <presnick@qualcomm.com>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Cc: Timo Sirainen <tss@iki.fi>, ietf-imapext <ietf-imapext@imc.org>
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 12/16/07 at 11:45 PM +0000, Alexey Melnikov wrote:

>but I agree it was not entirely clear and I reworded the text along 
>the lines of your proposal:

I'm going to go ahead and write up -14 for IETF Last Call and send it 
to Lisa. We'll consider Timo's comments and your clarification part 
of that last call and make the correction there.

pr
-- 
Pete Resnick <http://www.qualcomm.com/~presnick/>
Qualcomm Incorporated - Direct phone: (858)651-4478, Fax: (858)651-1102



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBHApGNN066558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Dec 2007 03:51: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 lBHApGaB066557; Mon, 17 Dec 2007 03:51: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 lBHApFBx066548 for <ietf-imapext@imc.org>; Mon, 17 Dec 2007 03:51: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 <R2ZUoAAMlnzS@rufus.isode.com>; Mon, 17 Dec 2007 10:51:13 +0000
Message-ID: <4765B8B2.3060501@isode.com>
Date: Sun, 16 Dec 2007 23:45:54 +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: Timo Sirainen <tss@iki.fi>
CC: ietf-imapext <ietf-imapext@imc.org>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina> <1197811823.4084.163.camel@hurina> <1197813271.4084.172.camel@hurina>
In-Reply-To: <1197813271.4084.172.camel@hurina>
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>

Timo Sirainen wrote:

>On Sun, 2007-12-16 at 15:30 +0200, Timo Sirainen wrote:
>  
>
>>I just realized it's possible for collations to return "undefined" even
>>if all the input characters are valid.
>>    
>>
>(Continuing to talk to myself..)
>
>Am I correct about this? To me it looks like RFC 4790 defines "valid
>string" as "passes validity test", which may not be as simple as "all
>characters have valid code points".
>  
>
Correct.

>If this is correct, then the i18n draft needs changing, since currently
>it only specifies what to do with charset decoding failures. 4.6.c
>should then be something like:
>
>"All strings are collated using the active comparator. If the comparator
>returns "undefined", the string is moved to a second list. The second
>list is sorted using i;octet and appended after the first sorted list."
>  
>
This was implied by the following text:

  The ordering operation (e.g., IMAP SORT and THREAD) SHOULD collate the 
following
  together: strings encoded using unknown or invalid character 
encodings, strings
  in unrecognized charsets, and invalid input (as defined by the active 
collation).

but I agree it was not entirely clear and I reworded the text along the 
lines of your proposal:

    All strings that were successfully converted by step (b) are
    separated from all strings that failed step (b). Strings in
    each group are collated independently.  All strings successfully
    converted by step (b) are then validated by the active
    comparator. Strings that pass validation are collated using the
    active comparator. All strings that either fail step (b) or fail
    the active collation's validity operation are collated (after
    applying step (a)) using the i;octet comparator (see [RFC4790]).
    The resulting sorted list is produced by appending all collated
    "failed" strings after all strings collated using the active
    comparator.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDsYvZ089269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 06:54: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 lBGDsY2Z089268; Sun, 16 Dec 2007 06:54: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDsWXV089260 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 06:54:33 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id 35D9816471E4 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 15:54:32 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <1197811823.4084.163.camel@hurina>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina>  <1197811823.4084.163.camel@hurina>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BlSSngy9BBzqQkYjbPDT"
Date: Sun, 16 Dec 2007 15:54:31 +0200
Message-Id: <1197813271.4084.172.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Sun, 2007-12-16 at 15:30 +0200, Timo Sirainen wrote:
> I just realized it's possible for collations to return "undefined" even
> if all the input characters are valid.

(Continuing to talk to myself..)

Am I correct about this? To me it looks like RFC 4790 defines "valid
string" as "passes validity test", which may not be as simple as "all
characters have valid code points".

If this is correct, then the i18n draft needs changing, since currently
it only specifies what to do with charset decoding failures. 4.6.c
should then be something like:

"All strings are collated using the active comparator. If the comparator
returns "undefined", the string is moved to a second list. The second
list is sorted using i;octet and appended after the first sorted list."


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

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

iD8DBQBHZS4XyUhSUUBViskRAhuKAJ40p0FpDOMiOMrW+7D0LUd1v9+zyACfe/ji
SGC4vGjiVU0zfSHeGJr9YHw=
=/T1J
-----END PGP SIGNATURE-----

--=-BlSSngy9BBzqQkYjbPDT--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDrCjl089183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 06:53: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 lBGDrCLp089182; Sun, 16 Dec 2007 06:53: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 kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDrB1E089175 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 06:53:12 -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 F216D4AC7B; Sun, 16 Dec 2007 14:53:09 +0100 (CET)
Message-Id: <DFL4vozpOfi+fRIUI3BceA.md5@libertango.oryx.com>
Date: Sun, 16 Dec 2007 14:51:35 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Cc: Timo Sirainen <tss@iki.fi>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina>
In-Reply-To: <1197809264.4084.140.camel@hurina>
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>

Timo Sirainen writes:
> On Sun, 2007-12-16 at 13:18 +0100, Arnt Gulbrandsen wrote:
>>  > Anyway having to specifically track a list of valid and non-valid
>>  > strings and sort them separately would require adding a lot of new
>>  > code, all just to comply with a specification that works worse (from
>>  > user's POV) than what I could have implemented much more easily.
>>
>>  As I see it, you're adding support for all codepoints and all character
>>  sets,
>
> When it gets to collation, yes, but is this really allowed for 
> implementing SORT?

Why not?

>>  so the exception we're discussing no longer applies to your code.
>
> Why would anyone do anything different then?

Beats me.

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 lBGDUQNG087644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 06:30: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 lBGDUQu1087643; Sun, 16 Dec 2007 06:30: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGDUOvZ087636 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 06:30:25 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id 35B3216471E4 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 15:30:24 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <1197809264.4084.140.camel@hurina>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com> <1197809264.4084.140.camel@hurina>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3jgGaz40hdiWy2jWA9s9"
Date: Sun, 16 Dec 2007 15:30:23 +0200
Message-Id: <1197811823.4084.163.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

I just realized it's possible for collations to return "undefined" even
if all the input characters are valid. So I guess I'll have to redefine
my request a bit.

Change:

4.6.

(b) The decoded text from (a) MUST be converted to the charset expected
by the active comparator.

to something like:

(b) The decoded text from (a) MUST be converted to the charset expected
by the active comparator. The server MAY/SHOULD handle failures (e.g.
the text is in an unknown charset, contains a sequence which is not
valid according in that charset, etc.) by replacing the failed part with
a unicode "replacement character" #FFFD (or equivalent in other
charsets).


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

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

iD8DBQBHZShvyUhSUUBViskRAl4hAJ49pTkA+onPeJAre21D5/hueLqWHQCghYLB
EsIy3TZS2PZbEoN49hhjMnk=
=tGoq
-----END PGP SIGNATURE-----

--=-3jgGaz40hdiWy2jWA9s9--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGClkmW084635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 05:47: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 lBGClkKh084634; Sun, 16 Dec 2007 05:47: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGCljex084625 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 05:47:46 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id A0F04FA8AED for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 14:47:44 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina> <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oD5TbLhPGjl8mMfeyHnP"
Date: Sun, 16 Dec 2007 14:47:44 +0200
Message-Id: <1197809264.4084.140.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Sun, 2007-12-16 at 13:18 +0100, Arnt Gulbrandsen wrote:
> > Anyway having to specifically track a list of valid and non-valid=20
> > strings and sort them separately would require adding a lot of new=20
> > code, all just to comply with a specification that works worse (from=20
> > user's POV) than what I could have implemented much more easily.
>=20
> As I see it, you're adding support for all codepoints and all character=20
> sets,=20

When it gets to collation, yes, but is this really allowed for
implementing SORT?

> so the exception we're discussing no longer applies to your code.

Why would anyone do anything different then? I see only benefits doing
it this way.


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

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

iD8DBQBHZR5wyUhSUUBViskRAitkAJ0cXy6O49C7oPYckU2SzVkf6S+aSgCggbAl
Ig9CivyQtozx4u7I8Xulwh8=
=eNdw
-----END PGP SIGNATURE-----

--=-oD5TbLhPGjl8mMfeyHnP--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGCKZ5Q083327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 05:20: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 lBGCKZsE083326; Sun, 16 Dec 2007 05:20: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 kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGCKY0E083320 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 05:20:35 -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 0259C4AC6D for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 13:20:31 +0100 (CET)
Message-Id: <BJHsuVTW+mHHzmR/TFbhxA.md5@libertango.oryx.com>
Date: Sun, 16 Dec 2007 13:18:57 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com> <1197805419.4084.135.camel@hurina>
In-Reply-To: <1197805419.4084.135.camel@hurina>
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>

Timo Sirainen writes:
> On Fri, 2007-12-14 at 04:46 +0000, Alexey Melnikov wrote:
>>  >Would be better if this rule applied only at the position where the
>>  >unknown data was found.
>>  IMAP doesn't feed partial strings into collations. Describing this 
>>  would be a nightmare and I am not sure it is worth the effort.
>
> Since no-one's talking, I'll continue..
>
> The way I was going to implement it was to just replace 
> invalid/unknown input with a special unicode character and have it 
> get sorted in whatever way it normally gets sorted. This would all be 
> done before the string is fed to collation.

I do that sometimes. And sometimes I map to some private use codepoints.

> I'm not yet sure what the special character would be, but IIRC there 
> were some control characters in unicode already that user wasn't 
> allowed to write. Or maybe it could be just some non-coding 
> character, like the highest valid UTF-8 character. That would make it 
> automatically get sorted to the end.

You can use U+FFFD, which means "a character I couldn't represent while 
translating to unicode", or U+0F0000 to U+10FFFD, which are reserved 
for private use.

> Anyway having to specifically track a list of valid and non-valid 
> strings and sort them separately would require adding a lot of new 
> code, all just to comply with a specification that works worse (from 
> user's POV) than what I could have implemented much more easily.

As I see it, you're adding support for all codepoints and all character 
sets, so the exception we're discussing no longer applies to your code.

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 lBGC0LgH082071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 05:00: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 lBGC0LoA082070; Sun, 16 Dec 2007 05:00: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGC0JDr082062 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 05:00:20 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id 22D02FA8A79 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 14:00:19 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <1197805419.4084.135.camel@hurina>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>  <1197805419.4084.135.camel@hurina>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FNHi/+1E/hFbVXeRRGp8"
Date: Sun, 16 Dec 2007 14:00:18 +0200
Message-Id: <1197806418.4084.136.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

--=-FNHi/+1E/hFbVXeRRGp8
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2007-12-16 at 13:43 +0200, Timo Sirainen wrote:
> I'm not yet sure what the special character would be, but IIRC there
> were some control characters in unicode already that user wasn't allowed
> to write. Or maybe it could be just some non-coding character, like the
> highest valid UTF-8 character. That would make it automatically get
> sorted to the end.

#fffd I suppose.=20
http://www.fileformat.info/info/unicode/char/fffd/index.htm

--=-FNHi/+1E/hFbVXeRRGp8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBHZRNSyUhSUUBViskRAi13AKCbA5cBdlRSn1BZIhnCVO6denve+gCbBu7X
ykxccIC5DG3Hyy3IDUJjSf4=
=pKqK
-----END PGP SIGNATURE-----

--=-FNHi/+1E/hFbVXeRRGp8--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGBhsgQ080943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 04:43: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 lBGBhsDN080942; Sun, 16 Dec 2007 04:43: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBGBhqeK080926 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 04:43:53 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id DBB7E16471E4 for <ietf-imapext@imc.org>; Sun, 16 Dec 2007 13:43:39 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <47620A8C.7070500@isode.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-747T55IOzcaOcTQMdE66"
Date: Sun, 16 Dec 2007 13:43:39 +0200
Message-Id: <1197805419.4084.135.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Fri, 2007-12-14 at 04:46 +0000, Alexey Melnikov wrote:
> >Would be better if this rule applied only at the position where the
> >unknown data was found.
> IMAP doesn't feed partial strings into collations. Describing this would=20
> be a nightmare and I am not sure it is worth the effort.

Since no-one's talking, I'll continue..

The way I was going to implement it was to just replace invalid/unknown
input with a special unicode character and have it get sorted in
whatever way it normally gets sorted. This would all be done before the
string is fed to collation.

I'm not yet sure what the special character would be, but IIRC there
were some control characters in unicode already that user wasn't allowed
to write. Or maybe it could be just some non-coding character, like the
highest valid UTF-8 character. That would make it automatically get
sorted to the end.

Anyway having to specifically track a list of valid and non-valid
strings and sort them separately would require adding a lot of new code,
all just to comply with a specification that works worse (from user's
POV) than what I could have implemented much more easily.


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

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

iD8DBQBHZQ9ryUhSUUBViskRAuBEAJ4zvw9ZAzD828RjOONzJd2bVdG1AgCdFTP7
j2lIosbruXoWrs+m1m5dLoo=
=Nbpi
-----END PGP SIGNATURE-----

--=-747T55IOzcaOcTQMdE66--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDY7vq053352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Dec 2007 06:34: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 lBEDY716053351; Fri, 14 Dec 2007 06:34: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDY5TG053342 for <ietf-imapext@imc.org>; Fri, 14 Dec 2007 06:34:06 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.217] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id A4B4D16471E1; Fri, 14 Dec 2007 15:34:03 +0200 (EET)
In-Reply-To: <47620A8C.7070500@isode.com>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-288678712"
Message-Id: <4B399628-6E71-486F-BA9F-6281FFAAF89B@iki.fi>
Cc: ietf-imapext <ietf-imapext@imc.org>
Content-Transfer-Encoding: 7bit
From: Timo Sirainen <tss@iki.fi>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Date: Fri, 14 Dec 2007 15:33:30 +0200
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Pgp-Agent: GPGMail 1.1.2 (Tiger)
X-Mailer: Apple Mail (2.752.2)
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-1-288678712
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On 14.12.2007, at 6.46, Alexey Melnikov wrote:

> Timo Sirainen wrote:
>
>> On Sun, 2007-12-09 at 19:25 -0600, Pete Resnick wrote:
>>
>>> It is currently the belief of the chair and the editor that this  
>>> document reasonably addresses all outstanding issues. Consider  
>>> this a 1 week last call for the WG. I'll be out of town until  
>>> Monday, Dec. 17. If you are not heard of by then, this document  
>>> will be written up for IETF Last Call.
>>>
>>
>> Looks pretty good, although I'm not sure if it's such a good idea to
>> have it specify how to handle invalid input / unknown charsets.
>>
> I think we need some degree of predictability here. Sieve defines  
> something similar.

Why? For Sieve I can understand because there a wrong decision could  
in worst case cause a message to be discarded completely.

Unknown charset handling especially isn't predictable between servers  
and clients. For example a client can't reliably update its internal  
SORT view for new messages exactly the same as the server would have  
done it, if they support different charsets.

I'd like it more if both unknown charset and invalid input handling  
was just left up to implementation to handle the best way it knows how.

>> Would be better if this rule applied only at the position where the
>> unknown data was found.
>>
> IMAP doesn't feed partial strings into collations. Describing this  
> would be a nightmare and I am not sure it is worth the effort.

Which is why I'd vote to just replace all of it with being  
"implementation specific"..

I doubt anyone really cares how invalid input is handled, unless they  
see that sorting clearly goes wrong, which is what the current draft  
requires.

--Apple-Mail-1-288678712
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFHYoYuyUhSUUBViskRAluTAJ9iBmEMZVx7r00qDBOTeTRYbVu58QCfZXik
i61SBQE2GEAX3hGblzskXYk=
=ObAa
-----END PGP SIGNATURE-----

--Apple-Mail-1-288678712--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDO1mk052752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Dec 2007 06: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 lBEDO1CM052751; Fri, 14 Dec 2007 06: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 kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBEDNxMa052745 for <ietf-imapext@imc.org>; Fri, 14 Dec 2007 06:24:00 -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 CAEE04AC80; Fri, 14 Dec 2007 14:23:56 +0100 (CET)
Message-Id: <vykLNwoc38oIktoMI0+A9g.md5@libertango.oryx.com>
Date: Fri, 14 Dec 2007 14:22:37 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Timo Sirainen <tss@iki.fi>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina> <47620A8C.7070500@isode.com>
In-Reply-To: <47620A8C.7070500@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:
> IMAP doesn't feed partial strings into collations. Describing this 
> would be a nightmare and I am not sure it is worth the effort.

I strongly agree. Having IMAP-I18N reach through 4790 and specify how 
collations behave would be bad.

Also it's not a big problem. The worst that can happen is that for e.g. 
THREAD ORDEREDSUBJECT, a thread can be sorted in a possibly bad 
position if its subject is encoded in a character set the server 
doesn't support. That is a very mild consequence of an unlikely 
occurence. IMO it's not enough to justify a layering violation.

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 lBECQ1Yl048292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Dec 2007 05:26: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 lBECQ1Pp048291; Fri, 14 Dec 2007 05:26: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 lBECQ0XI048282 for <ietf-imapext@imc.org>; Fri, 14 Dec 2007 05:26: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 <R2J2UQAMlhyJ@rufus.isode.com>; Fri, 14 Dec 2007 12:25:55 +0000
Message-ID: <47620A8C.7070500@isode.com>
Date: Fri, 14 Dec 2007 04:46:04 +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: Timo Sirainen <tss@iki.fi>
CC: ietf-imapext <ietf-imapext@imc.org>
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina>
In-Reply-To: <1197286415.922.474.camel@hurina>
MIME-Version: 1.0
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>

Timo Sirainen wrote:

>On Sun, 2007-12-09 at 19:25 -0600, Pete Resnick wrote:
>  
>
>>It is currently the belief of the chair and the editor that this 
>>document reasonably addresses all outstanding issues. Consider this a 
>>1 week last call for the WG. I'll be out of town until Monday, Dec. 
>>17. If you are not heard of by then, this document will be written up 
>>for IETF Last Call.
>>    
>>
>
>Looks pretty good, although I'm not sure if it's such a good idea to
>have it specify how to handle invalid input / unknown charsets.
>  
>
I think we need some degree of predictability here. Sieve defines 
something similar.

>Especially for SORT:
>
>    The ordering operation (e.g., IMAP SORT and THREAD) SHOULD collate
>    the following together: strings encoded using unknown or invalid
>    character encodings, strings in unrecognized charsets, and invalid
>    input (as defined by the active collation).
>
>Does that mean if I have messages sorted by subject:
>
>abc
>bcd =?unknown-charset?q?1234?=
>cde
>
>These should instead be sorted by:
>
>abc
>cde
>bcd =?unknown-charset?q?1234?=
>  
>
Yes.

>Would be better if this rule applied only at the position where the
>unknown data was found.
>  
>
IMAP doesn't feed partial strings into collations. Describing this would 
be a nightmare and I am not sure it is worth the effort.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBACF6bh091699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Dec 2007 05:15: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 lBACF65k091698; Mon, 10 Dec 2007 05:15: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 lBACEvbt091678 for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 05:15:03 -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 BC4FE4AC8B for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 13:14:50 +0100 (CET)
Message-Id: <6qCyTS5WuQ/BqZQHX3OUQw.md5@libertango.oryx.com>
Date: Mon, 10 Dec 2007 13:14:02 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: ietf-imapext@imc.org
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]> <1197286415.922.474.camel@hurina>
In-Reply-To: <1197286415.922.474.camel@hurina>
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>

Timo Sirainen writes:
> Would be better if this rule applied only at the position where the 
> unknown data was found.

I think that's in scope for RFC 4790, not this document. And I don't 
remember what 4790 says, and I haven't the time to look it up now.

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 lBABXv1D087747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Dec 2007 04:33: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 lBABXvhE087746; Mon, 10 Dec 2007 04:33: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 dovecot.org (dovecot.org [82.118.211.50]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBABXumS087704 for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 04:33:57 -0700 (MST) (envelope-from tss@iki.fi)
Received: from [192.168.10.2] (82-203-162-146.dsl.gohome.fi [82.203.162.146]) by dovecot.org (Postfix) with ESMTP id CEE3B16471E1 for <ietf-imapext@imc.org>; Mon, 10 Dec 2007 13:33:35 +0200 (EET)
Subject: Re: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
From: Timo Sirainen <tss@iki.fi>
To: ietf-imapext <ietf-imapext@imc.org>
In-Reply-To: <p06250145c382455126af@[192.17.144.29]>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org> <p06250145c382455126af@[192.17.144.29]>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9GzIi25CgvpgLNpbfW2u"
Date: Mon, 10 Dec 2007 13:33:35 +0200
Message-Id: <1197286415.922.474.camel@hurina>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.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>

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

On Sun, 2007-12-09 at 19:25 -0600, Pete Resnick wrote:
> It is currently the belief of the chair and the editor that this=20
> document reasonably addresses all outstanding issues. Consider this a=20
> 1 week last call for the WG. I'll be out of town until Monday, Dec.=20
> 17. If you are not heard of by then, this document will be written up=20
> for IETF Last Call.

Looks pretty good, although I'm not sure if it's such a good idea to
have it specify how to handle invalid input / unknown charsets.
Especially for SORT:

    The ordering operation (e.g., IMAP SORT and THREAD) SHOULD collate
    the following together: strings encoded using unknown or invalid
    character encodings, strings in unrecognized charsets, and invalid
    input (as defined by the active collation).

Does that mean if I have messages sorted by subject:

abc
bcd =3D?unknown-charset?q?1234?=3D
cde

These should instead be sorted by:

abc
cde
bcd =3D?unknown-charset?q?1234?=3D

Would be better if this rule applied only at the position where the
unknown data was found.

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

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

iD8DBQBHXSQPyUhSUUBViskRAreAAKCO0XFsx7L97K5FaJDsBflvux8q0gCdHaHI
TfE+0JtA0ZifRZCwhlX5meI=
=Xggh
-----END PGP SIGNATURE-----

--=-9GzIi25CgvpgLNpbfW2u--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBA1P8pu033437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Dec 2007 18:25: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 lBA1P8D1033436; Sun, 9 Dec 2007 18:25: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 episteme-software.com (74-134-5-162.dhcp.insightbb.com [74.134.5.162]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lBA1P77P033429 for <ietf-imapext@imc.org>; Sun, 9 Dec 2007 18:25:07 -0700 (MST) (envelope-from presnick@qualcomm.com)
Received: from [192.17.144.29] (127.0.0.1) by episteme-software.com with ESMTP (EIMS X 3.3.2) for <ietf-imapext@imc.org>; Sun, 9 Dec 2007 19:25:07 -0600
Mime-Version: 1.0
X-Sender: resnick@resnick1.qualcomm.com
Message-Id: <p06250145c382455126af@[192.17.144.29]>
In-Reply-To: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>
References: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>
User-Agent: Eudora 6.2.5b1(Macintosh)
Importance: High
Date: Sun, 9 Dec 2007 19:25:07 -0600
To: ietf-imapext@imc.org
From: Pete Resnick <presnick@qualcomm.com>
Subject: QUICK WG Last Call: draft-ietf-imapext-i18n-14.txt
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>

It is currently the belief of the chair and the editor that this 
document reasonably addresses all outstanding issues. Consider this a 
1 week last call for the WG. I'll be out of town until Monday, Dec. 
17. If you are not heard of by then, this document will be written up 
for IETF Last Call.

pr
-- 
Pete Resnick <http://www.qualcomm.com/~presnick/>
Qualcomm Incorporated - Direct phone: (858)651-4478, Fax: (858)651-1102



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB8MIH56002448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Dec 2007 15:18: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 lB8MIHWa002447; Sat, 8 Dec 2007 15:18: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 lB8MIF0C002439 for <ietf-imapext@imc.org>; Sat, 8 Dec 2007 15:18:16 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.1.129] (S0106005018446c5d.vc.shawcable.net [24.85.75.120])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1sYJABCHLIg@rufus.isode.com>; Sat, 8 Dec 2007 22:18:14 +0000
Message-ID: <475B1814.7060001@isode.com>
Date: Sat, 08 Dec 2007 22:17: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: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: Updated IMAP I18N document
References: <473B16CF.7060600@isode.com> <alpine.WNT.0.99999.0711140754530.5152@Shimo-Tomobiki.Panda.COM> <473B3743.7060205@isode.com> <alpine.WNT.0.99999.0711141637400.4728@Tomobiki-Cho.CAC.Washignton.EDU>
In-Reply-To: <alpine.WNT.0.99999.0711141637400.4728@Tomobiki-Cho.CAC.Washignton.EDU>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:

> I am uneasy about having COMPARATOR and UNICASEMAP as separate 
> capabilities, especially since COMPARATOR implies but does not require 
> UNICASEMAP.  This means that a client that only cares about UNICASEMAP 
> capability must test for both requirements.
>
> As an alternative, how about I18NLEVEL=<version #>, where version 1 
> means UNICASEMAP capability and version 2 means COMPARATOR?  This 
> implies that any subsequent additions will be additive with all 
> previous ones being mandatory-to-implement; but I think that is the 
> right thing in this case.

Based on various discussions in Vancouver it seems that people are Ok 
with this change.
If you object, please speak up now.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB8MdR17001190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Dec 2007 15:39: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 lB8MdR9M001189; Sat, 8 Dec 2007 15:39: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 ns4.neustar.com (ns4.neustar.com [156.154.24.139]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB8MdPkh001181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-imapext@imc.org>; Sat, 8 Dec 2007 15:39:26 -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 3D0A42AC77; Sat,  8 Dec 2007 22:40:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1J18L4-0003Go-0W; Sat, 08 Dec 2007 17:40:02 -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-i18n-14.txt 
Message-Id: <E1J18L4-0003Go-0W@stiedprstage1.ietf.org>
Date: Sat, 08 Dec 2007 17:40:02 -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 Internationalization
	Author(s)       : C. Newman, et al.
	Filename        : draft-ietf-imapext-i18n-14.txt
	Pages           : 18
	Date            : 2007-12-08

Internet Message Access Protocol (IMAP) version 4rev1 has basic
 support for non-ASCII characters in mailbox names and search
 substrings.  It also supports non-ASCII message headers and content
 encoded as specified by Multipurpose Internet Mail Extensions
 (MIME).  This specification defines a collection of IMAP extensions
 which improve international support including comparator negotiation
 for search, sort and thread, language negotiation for international
 error text, and translations for namespace prefixes.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-i18n-14.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-i18n-14.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-i18n-14.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:     <2007-12-08173840.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-imapext-i18n-14.txt

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

Content-Type: text/plain
Content-ID:     <2007-12-08173840.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 lB3HWC1e085430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2007 10:32: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 lB3HWCFF085429; Mon, 3 Dec 2007 10:32: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3HWB3h085423 for <ietf-imapext@imc.org>; Mon, 3 Dec 2007 10:32:12 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.17.12] (dhcp-110c.ietf70.org [130.129.17.12])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1Q9lwB-qEWR@rufus.isode.com>; Mon, 3 Dec 2007 17:32:09 +0000
Message-ID: <47543D90.20907@isode.com>
Date: Mon, 03 Dec 2007 17:32: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: Lemonade WG <lemonade@ietf.org>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Friends of IMAP dinner meeting time
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Let's meet at 8pm today near the IETF message board.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3HI9I2083671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2007 10:18: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 lB3HI9S2083670; Mon, 3 Dec 2007 10:18: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3HI8tu083664 for <ietf-imapext@imc.org>; Mon, 3 Dec 2007 10:18:09 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.17.12] (dhcp-110c.ietf70.org [130.129.17.12])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1Q6TQB-qDsb@rufus.isode.com>; Mon, 3 Dec 2007 17:18:06 +0000
Message-ID: <47541091.8020300@isode.com>
Date: Mon, 03 Dec 2007 14:20:01 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Discussion of IMAP I18N in Vancouver
MIME-Version: 1.0
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>

We will meet on Thursday, 10am near the IETF message board.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3FtdAO076742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2007 08: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 lB3FtdIo076741; Mon, 3 Dec 2007 08: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 smtp.andrew.cmu.edu (SMTP.andrew.cmu.edu [128.2.10.83]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB3FtZak076732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-imapext@imc.org>; Mon, 3 Dec 2007 08:55:36 -0700 (MST) (envelope-from murch@andrew.cmu.edu)
Received: from [192.168.137.23] (cpe-69-207-86-125.buffalo.res.rr.com [69.207.86.125]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.13.8/8.13.8) with ESMTP id lB3FtT8C015065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 3 Dec 2007 10:55:30 -0500
Message-ID: <475426D6.50508@andrew.cmu.edu>
Date: Mon, 03 Dec 2007 10:55:02 -0500
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
CC: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: draft-daboo-imap-annotatemore-11
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.60 on 128.2.10.83
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <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'm in the process of migrating my older ANNOTATEMORE implementation to 
the new METADATA syntax and I noticed that draft -11 doesn't contain 
ABNF for the LIST-EXTENDED METADATA return option or the METADATA 
extended list data item (response).

-- 
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 lB1N3I8m080635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Dec 2007 16:03: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 lB1N3Ik3080633; Sat, 1 Dec 2007 16:03: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 brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB1N3HVH080627 for <ietf-imapext@imc.org>; Sat, 1 Dec 2007 16:03:18 -0700 (MST) (envelope-from peter.coates@sun.com)
Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id lB1N3HJa013330 for <ietf-imapext@imc.org>; Sat, 1 Dec 2007 23:03:17 GMT
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JSE000017YFIT00@mail-amer.sun.com> (original mail from peter.coates@sun.com) for ietf-imapext@imc.org; Sat, 01 Dec 2007 16:03:17 -0700 (MST)
Received: from kluane ([199.247.229.42]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JSE008NG81EGA70@mail-amer.sun.com>; Sat, 01 Dec 2007 16:03:17 -0700 (MST)
Date: Sat, 01 Dec 2007 15:02:40 -0800
From: Peter Coates <peter.coates@sun.com>
Subject: RE: Ad-hoc meeting to discuss IMAP Internationalization
In-reply-to: <4751E1B2.7040503@isode.com>
To: "'Alexey Melnikov'" <alexey.melnikov@isode.com>, "'IMAP Extensions WG'" <ietf-imapext@imc.org>
Message-id: <007501c8346e$473c7310$d5b55930$%coates@sun.com>
MIME-version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Content-type: text/plain; charset=us-ascii
Content-language: en-ca
Content-transfer-encoding: 7BIT
Thread-index: Acg0bTXf8Z0WphoBRuitJEnkaHBPwwAAIBMQ
References: <4751E1B2.7040503@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>

I'm only going to be there the Wednesday and Thursday.  Either of those
times work for me.



-----Original Message-----
From: owner-ietf-imapext@mail.imc.org
[mailto:owner-ietf-imapext@mail.imc.org] On Behalf Of Alexey Melnikov
Sent: December 1, 2007 14:36
To: IMAP Extensions WG
Subject: Ad-hoc meeting to discuss IMAP Internationalization


With permissions of IMAPEXT and Lemonade chairs, I've put IMAP I18N 
document on the Lemonade WG agenda on Thursday, December 6th.
But I was thinking it might be better to spend some time before that, in 
order to make some progress on the document and save some time during 
the Lemonade WG meeting. I would also like to discuss future potential 
work on IMAP internationalization, because I would prefer to get 
draft-ietf-imapext-i18n done pretty much as is soon (within 2 months) 
and defer any further work till another document.

So, is there any interest to meet up during one of the following slots 
in Vancouver:

Wednesday, December 5th, 15:10-16:10
Thursday, December 6th, 09:00-11:30

?





Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id lB1MZfLV079013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Dec 2007 15:35:41 -0700 (MST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id lB1MZfoe079012; Sat, 1 Dec 2007 15:35:41 -0700 (MST) (envelope-from owner-ietf-imapext@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 lB1MZeY3079006 for <ietf-imapext@imc.org>; Sat, 1 Dec 2007 15:35:41 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.1.129] (S0106005018446c5d.vc.shawcable.net [24.85.75.120])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <R1HhuAB-qLEM@rufus.isode.com>; Sat, 1 Dec 2007 22:35:38 +0000
Message-ID: <4751E1B2.7040503@isode.com>
Date: Sat, 01 Dec 2007 22:35: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: IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Ad-hoc meeting to discuss IMAP Internationalization
MIME-Version: 1.0
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>

With permissions of IMAPEXT and Lemonade chairs, I've put IMAP I18N 
document on the Lemonade WG agenda on Thursday, December 6th.
But I was thinking it might be better to spend some time before that, in 
order to make some progress on the document and save some time during 
the Lemonade WG meeting. I would also like to discuss future potential 
work on IMAP internationalization, because I would prefer to get 
draft-ietf-imapext-i18n done pretty much as is soon (within 2 months) 
and defer any further work till another document.

So, is there any interest to meet up during one of the following slots 
in Vancouver:

Wednesday, December 5th, 15:10-16:10
Thursday, December 6th, 09:00-11:30

?



