
From cyrus@daboo.name  Sun Aug  1 11:56:01 2010
Return-Path: <cyrus@daboo.name>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 84A933A68D5 for <morg@core3.amsl.com>; Sun,  1 Aug 2010 11:56:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.647
X-Spam-Level: 
X-Spam-Status: No, score=-1.647 tagged_above=-999 required=5 tests=[AWL=-0.952, BAYES_20=-0.74, DATE_IN_PAST_03_06=0.044]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VkLtfUQEDqbX for <morg@core3.amsl.com>; Sun,  1 Aug 2010 11:56:00 -0700 (PDT)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id 8D2693A6784 for <morg@ietf.org>; Sun,  1 Aug 2010 11:56:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 9F17918C1A2E4; Sun,  1 Aug 2010 14:56:23 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MGycvAKeCT2n; Sun,  1 Aug 2010 14:56:22 -0400 (EDT)
Received: from dhcp-63f1.meeting.ietf.org (unknown [10.0.1.1]) by daboo.name (Postfix) with ESMTPSA id 065E318C1A2D6; Sun,  1 Aug 2010 14:56:21 -0400 (EDT)
Date: Sun, 01 Aug 2010 14:56:19 +0200
From: Cyrus Daboo <cyrus@daboo.name>
To: Timo Sirainen <tss@iki.fi>
Message-ID: <87CC64988A0FB9F1D383B5BC@dhcp-63f1.meeting.ietf.org>
In-Reply-To: <CA8B3A3A-5450-4D4D-AEE3-970403B2256F@iki.fi>
References: <A199F09978CEADEC3697D0DA@dhcp-63f1.meeting.ietf.org> <CA8B3A3A-5450-4D4D-AEE3-970403B2256F@iki.fi>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size=1137
Cc: morg@ietf.org
Subject: Re: [MORG] Review: draft-ietf-morg-fuzzy-search-02
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2010 18:56:01 -0000

Hi Timo,

--On July 31, 2010 8:32:41 PM +0100 Timo Sirainen <tss@iki.fi> wrote:

>> 6) Do clients need to care that the FUZZY search key is not
>> distributive, e.g.:
>>
>> FUZZY OR SUBJECT x SUBJECT y != OR FUZZY SUBJECT x FUZZY SUBJECT y
>
> I agree with Barry, those are the same. Added example:

I am not totally convinced. My point is how a server deals with two FUZZY's 
- does it somehow treats those as one, does it do the two separately (as 
per the OR example right-hand side) and then combine relevance in some 
fashion for the aggregate? How does you server handle multiple FUZZY's?

Note that I do think this is an edge case so its probably not worth 
debating too much, but I'd like to understand this for my own sanity...

> FUZZY is applied to all search keys when parenthesis or OR is used. For
> example in this search query everything is matched fuzzily:
>
>  C: A03 SEARCH FUZZY OR (SUBJECT work FROM user@example.com) SUBJECT home
>  S: * SEARCH 2 5
>  S: A03 OK Search completed.

Well that automatically falls out from the syntax since "OR" is itself a 
search-key that is the argument for FUZZY.

-- 
Cyrus Daboo


From cyrus@daboo.name  Sun Aug  1 11:58:02 2010
Return-Path: <cyrus@daboo.name>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B019A3A6784 for <morg@core3.amsl.com>; Sun,  1 Aug 2010 11:58:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.26
X-Spam-Level: 
X-Spam-Status: No, score=-2.26 tagged_above=-999 required=5 tests=[AWL=0.295,  BAYES_00=-2.599, DATE_IN_PAST_03_06=0.044]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id riFdzIJuDFkz for <morg@core3.amsl.com>; Sun,  1 Aug 2010 11:58:02 -0700 (PDT)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id BABB13A694C for <morg@ietf.org>; Sun,  1 Aug 2010 11:58:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 8332718C1A31F; Sun,  1 Aug 2010 14:58:28 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cWOALcOthRNR; Sun,  1 Aug 2010 14:58:28 -0400 (EDT)
Received: from dhcp-63f1.meeting.ietf.org (unknown [10.0.1.1]) by daboo.name (Postfix) with ESMTPSA id 6F50918C1A318; Sun,  1 Aug 2010 14:58:27 -0400 (EDT)
Date: Sun, 01 Aug 2010 14:58:25 +0200
From: Cyrus Daboo <cyrus@daboo.name>
To: Timo Sirainen <tss@iki.fi>, barryleiba@computer.org
Message-ID: <22FDB22B5203DF761DFD4F61@dhcp-63f1.meeting.ietf.org>
In-Reply-To: <C80B2463-5A2E-465D-A800-79EA009131AB@iki.fi>
References: <A199F09978CEADEC3697D0DA@dhcp-63f1.meeting.ietf.org> <AANLkTikpxj788+WaFstG_-9+Uu4rmuhzQSfFqUnR_psg@mail.gmail.com> <C80B2463-5A2E-465D-A800-79EA009131AB@iki.fi>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size=616
Cc: morg@ietf.org
Subject: Re: [MORG] Review: draft-ietf-morg-fuzzy-search-02
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2010 18:58:02 -0000

Hi Timo,

--On July 31, 2010 8:38:59 PM +0100 Timo Sirainen <tss@iki.fi> wrote:

>> I'm not sure I like that requirement.  Maybe you have to use SORT if
>> you want that.  What happens in the general case of PARTIAL?  Might a
>> client that wants the *newest* 10 results be unhappy if it got the
>> OLDEST 10?
>
> Yes, I think SORT (RELEVANCY) should be required for that.  RFC 5267
> isn't super clear on if SORT supports PARTIAL, but I guess it should
> according to ABNF.

Can we get clarification on that? Even add an example to fuzzy search 
showing a client finding the top-10 relevant items.

-- 
Cyrus Daboo


From arnt@gulbrandsen.priv.no  Tue Aug  3 03:18:11 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5CA7F3A695D for <morg@core3.amsl.com>; Tue,  3 Aug 2010 03:18:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.149
X-Spam-Level: 
X-Spam-Status: No, score=-2.149 tagged_above=-999 required=5 tests=[AWL=0.450,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C+SmGnb7X+2b for <morg@core3.amsl.com>; Tue,  3 Aug 2010 03:18:09 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id AF91B3A6951 for <morg@ietf.org>; Tue,  3 Aug 2010 03:18:08 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 84A85FA0074; Tue,  3 Aug 2010 10:18:35 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1280830717-90700-90699/8/32; Tue, 3 Aug 2010 12:18:37 +0200
Message-Id: <4C57ECFA.3040504@gulbrandsen.priv.no>
Date: Tue, 3 Aug 2010 12:18:34 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <4C50244C.8010401@isode.com>
In-Reply-To: <4C50244C.8010401@isode.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2010 10:18:11 -0000

On 07/28/2010 02:36 PM, Alexey Melnikov wrote:
> I think this is useful, as it affects outcome of an INTHREAD search.

Can you suggest some use cases?

> However section 3.3 is lacking any example. In particular, it is not
> clear if this option is going to result in an ESEARCH response.

It lacks an example because I can't think of a useful one.

Arnt

From alexey.melnikov@isode.com  Tue Aug  3 09:14:08 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DD5263A690A for <morg@core3.amsl.com>; Tue,  3 Aug 2010 09:14:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.669
X-Spam-Level: 
X-Spam-Status: No, score=-1.669 tagged_above=-999 required=5 tests=[AWL=0.930,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vvhECIgTgGzA for <morg@core3.amsl.com>; Tue,  3 Aug 2010 09:14:05 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 8229B3A68BD for <morg@ietf.org>; Tue,  3 Aug 2010 09:14:05 -0700 (PDT)
Received: from [10.100.110.81] (cust.dyn.95-152-87-88.swisscomdata.ch [95.152.87.88])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TFhAaQADGwYQ@rufus.isode.com>; Tue, 3 Aug 2010 17:14:33 +0100
Message-ID: <4C58406A.7030205@isode.com>
Date: Tue, 03 Aug 2010 18:14:34 +0200
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no>
In-Reply-To: <4C57ECFA.3040504@gulbrandsen.priv.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2010 16:14:09 -0000

Arnt Gulbrandsen wrote:
> On 07/28/2010 02:36 PM, Alexey Melnikov wrote:
>> I think this is useful, as it affects outcome of an INTHREAD search.
> Can you suggest some use cases?
My understanding is that the parameter changes what is considered to be 
"in a thread"? If that is not the case, then I don't really understand 
why it is needed.
>> However section 3.3 is lacking any example. In particular, it is not
>> clear if this option is going to result in an ESEARCH response.
> It lacks an example because I can't think of a useful one.


From arnt@gulbrandsen.priv.no  Wed Aug  4 19:18:48 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 083BC3A68F3 for <morg@core3.amsl.com>; Wed,  4 Aug 2010 19:18:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.683
X-Spam-Level: 
X-Spam-Status: No, score=-0.683 tagged_above=-999 required=5 tests=[AWL=-1.098, BAYES_40=-0.185, J_CHICKENPOX_61=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FYqtTAAo7L0n for <morg@core3.amsl.com>; Wed,  4 Aug 2010 19:18:47 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id DFA833A6A9F for <morg@ietf.org>; Wed,  4 Aug 2010 19:18:46 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 84DBFFA000B; Wed,  4 Aug 2010 12:11:59 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1280923921-90700-90699/8/41; Wed, 4 Aug 2010 14:12:01 +0200
Message-Id: <4C5958FA.2010403@gulbrandsen.priv.no>
Date: Wed, 4 Aug 2010 14:11:38 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com>
In-Reply-To: <4C58406A.7030205@isode.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2010 02:18:48 -0000

On 08/03/2010 06:14 PM, Alexey Melnikov wrote:
> Arnt Gulbrandsen wrote:
>> Can you suggest some use cases?
> My understanding is that the parameter changes what is considered to be
> "in a thread"?

Yes.

> If that is not the case, then I don't really understand
> why it is needed.

It is the case, and I can't find a reason to implement it. I know how to 
implement it, but not why to.

Consider: Either a client using THREAD=x has to derive x from a) user 
input, or from b) something else.

a) I can't imagine why anyone would waste dialog pixels on that (perhaps 
a failure of my imagination, feel free to improve on it). Remember that 
every checkbox is something the user has to look at when searching for 
something else: Extra UI features need to carry their load.

b) In that case, THREAD=x causes invisible client differences. IMO, if 
two user clients present semantically identical search dialogs, they 
should present the same result set too.

Overall, I think THREAD= is slightly negative. Only what's clearly 
positive is IMO worth implementing. So I want to drop it.

Arnt

From alexey.melnikov@isode.com  Thu Aug  5 05:13:55 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F27703A6951 for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.794
X-Spam-Level: 
X-Spam-Status: No, score=-100.794 tagged_above=-999 required=5 tests=[AWL=-1.395, BAYES_50=0.001, J_CHICKENPOX_61=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O3i5+ZcvcKIb for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:13:53 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 87C123A6940 for <morg@ietf.org>; Thu,  5 Aug 2010 05:13:53 -0700 (PDT)
Received: from [172.16.2.175] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TFqrHgBb2HSs@rufus.isode.com>; Thu, 5 Aug 2010 13:14:22 +0100
Message-ID: <4C5AAB12.2030903@isode.com>
Date: Thu, 05 Aug 2010 13:14:10 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no>
In-Reply-To: <4C5958FA.2010403@gulbrandsen.priv.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2010 12:13:55 -0000

Hi Arnt,
Mostly playing devil's advocate below.

Arnt Gulbrandsen wrote:

> On 08/03/2010 06:14 PM, Alexey Melnikov wrote:
>
>> Arnt Gulbrandsen wrote:
>>
>>> Can you suggest some use cases?
>>
>> My understanding is that the parameter changes what is considered to be
>> "in a thread"?
>
> Yes.
>
>> If that is not the case, then I don't really understand
>> why it is needed.
>
> It is the case, and I can't find a reason to implement it. I know how 
> to implement it, but not why to.
>
> Consider: Either a client using THREAD=x has to derive x from a) user 
> input, or from b) something else.
>
> a) I can't imagine why anyone would waste dialog pixels on that 
> (perhaps a failure of my imagination, feel free to improve on it). 
> Remember that every checkbox is something the user has to look at when 
> searching for something else: Extra UI features need to carry their load.

I agree that this feature is quite hard to explain to users, so it 
shouldn't be exposed in UI.

> b) In that case, THREAD=x causes invisible client differences. IMO, if 
> two user clients present semantically identical search dialogs, they 
> should present the same result set too.

I am not sure I am getting this. Presenting found messages in UI is not 
the only way to use SEARCH.
Let's imagine that a client wants to download all messages in a thread 
for offline use. Surely the set of messages considered "in the thread" 
will be different depending on threading mechanism used.

> Overall, I think THREAD= is slightly negative. Only what's clearly 
> positive is IMO worth implementing. So I want to drop it.


From arnt@gulbrandsen.priv.no  Thu Aug  5 05:44:50 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E8BF3A69AC for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:44:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.498
X-Spam-Level: 
X-Spam-Status: No, score=-0.498 tagged_above=-999 required=5 tests=[AWL=-1.099, BAYES_50=0.001, J_CHICKENPOX_61=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id faBWBDaJkcv5 for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:44:49 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id 310993A6B1F for <morg@ietf.org>; Thu,  5 Aug 2010 05:44:48 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 50563FA000A; Thu,  5 Aug 2010 12:45:18 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1281012320-90700-90699/8/53; Thu, 5 Aug 2010 14:45:20 +0200
Message-Id: <4C5AB25C.30607@gulbrandsen.priv.no>
Date: Thu, 5 Aug 2010 14:45:16 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <4C5AAB12.2030903@isode.com>
In-Reply-To: <4C5AAB12.2030903@isode.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2010 12:44:50 -0000

On 08/05/2010 02:14 PM, Alexey Melnikov wrote:
> I am not sure I am getting this. Presenting found messages in UI is not
> the only way to use SEARCH.

True.

> Let's imagine that a client wants to download all messages in a thread
> for offline use. Surely the set of messages considered "in the thread"
> will be different depending on threading mechanism used.

OK, consider that. I do something like that (that's I-as-user preseeding 
a cache) using INTHREAD OR YOUNGER 604800 UNSEEN. To my mind, that's 
just one of many good-enough approximations. The ideal is "what arnt 
will want", and the smallest algoritmically specified superset of that 
is ALL, which would occasionally be painful via UMTS.

Anyway, in my opinion any good approximation of "what arnt will want" is 
good enough. I could change YOUNGER 604800 to a different nubmer of 
days, or change UNSEEN to RECENT, or use a different threading 
algorithm, and the result should also be good enough. Not significantly 
different.

But this use case doesn't need lots of approximations, any one good 
approximation will do. Therefore this use case does not justify 
THREAD=x. IMO.

Arnt

From tss@iki.fi  Thu Aug  5 05:48:20 2010
Return-Path: <tss@iki.fi>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A94393A6884 for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:48:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.23
X-Spam-Level: 
X-Spam-Status: No, score=-105.23 tagged_above=-999 required=5 tests=[AWL=0.769, BAYES_00=-2.599, J_CHICKENPOX_64=0.6, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GEwJ2NRJs0lD for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:48:19 -0700 (PDT)
Received: from dovecot.org (dovecot.org [62.236.108.70]) by core3.amsl.com (Postfix) with ESMTP id 9CB223A6ADE for <morg@ietf.org>; Thu,  5 Aug 2010 05:48:19 -0700 (PDT)
Received: from [10.134.134.32] (pickles.tp.telepac.pt [194.65.5.228]) by dovecot.org (Postfix) with ESMTP id 85D6DFA8AFF; Thu,  5 Aug 2010 15:48:47 +0300 (EEST)
From: Timo Sirainen <tss@iki.fi>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
In-Reply-To: <4C5958FA.2010403@gulbrandsen.priv.no>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no>
Content-Type: text/plain; charset="UTF-8"
Date: Thu, 05 Aug 2010 13:48:46 +0100
Message-ID: <1281012526.6211.333.camel@kurkku.sapo.corppt.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2010 12:48:20 -0000

On Wed, 2010-08-04 at 14:11 +0200, Arnt Gulbrandsen wrote:

> Overall, I think THREAD= is slightly negative. Only what's clearly 
> positive is IMO worth implementing. So I want to drop it.

So do you want it to always use THREAD=REFS or whatever the server wants
to use? (What if we later figure out a much better THREAD=REFS2?)



From arnt@gulbrandsen.priv.no  Thu Aug  5 05:55:03 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71C8A3A67C2 for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:55:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.714
X-Spam-Level: 
X-Spam-Status: No, score=-1.714 tagged_above=-999 required=5 tests=[AWL=0.285,  BAYES_00=-2.599, J_CHICKENPOX_64=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bc-olO8cx6Ca for <morg@core3.amsl.com>; Thu,  5 Aug 2010 05:55:02 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id 772B13A6B02 for <morg@ietf.org>; Thu,  5 Aug 2010 05:55:02 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 74AAAFA000A; Thu,  5 Aug 2010 12:55:32 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1281012934-90700-90699/8/54; Thu, 5 Aug 2010 14:55:34 +0200
Message-Id: <4C5AB4C3.80007@gulbrandsen.priv.no>
Date: Thu, 5 Aug 2010 14:55:31 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Timo Sirainen <tss@iki.fi>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com>
In-Reply-To: <1281012526.6211.333.camel@kurkku.sapo.corppt.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2010 12:55:03 -0000

On 08/05/2010 02:48 PM, Timo Sirainen wrote:
> So do you want it to always use THREAD=REFS or whatever the server wants
> to use?

Either would be fine with me. I have a preference, but I'd be happy with 
either.

> (What if we later figure out a much better THREAD=REFS2?)

Threading is twentysome years old now and nothing much has changed in 
the past 10-15 years. Therefore, I extrapolate to assume that little 
will change in the foreseeable future.

When it comes to the unforeseeable, well, we can deal with that then.

Arnt

From morg@dankeen.com  Thu Aug  5 09:12:21 2010
Return-Path: <morg@dankeen.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B5DD33A6B24 for <morg@core3.amsl.com>; Thu,  5 Aug 2010 09:12:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.665
X-Spam-Level: 
X-Spam-Status: No, score=-1.665 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_64=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id znZkY3xQaZ0a for <morg@core3.amsl.com>; Thu,  5 Aug 2010 09:12:17 -0700 (PDT)
Received: from mail.dankeen.com (mail.dankeen.com [67.207.134.217]) by core3.amsl.com (Postfix) with ESMTP id 1A6D33A6B0F for <morg@ietf.org>; Thu,  5 Aug 2010 09:12:14 -0700 (PDT)
Received: from [192.168.1.101] (c-71-202-134-255.hsd1.ca.comcast.net [71.202.134.255]) by mail.dankeen.com (Postfix) with ESMTPSA id 86297B0EA3; Thu,  5 Aug 2010 09:12:59 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Dan Keen <morg@dankeen.com>
In-Reply-To: <4C5AB4C3.80007@gulbrandsen.priv.no>
Date: Thu, 5 Aug 2010 09:12:41 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
X-Mailer: Apple Mail (2.1081)
Cc: Timo Sirainen <tss@iki.fi>, morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2010 16:12:21 -0000

On Aug 5, 2010, at 5:55 AM, Arnt Gulbrandsen wrote:

> On 08/05/2010 02:48 PM, Timo Sirainen wrote:
>> So do you want it to always use THREAD=3DREFS or whatever the server =
wants
>> to use?
>=20
> Either would be fine with me. I have a preference, but I'd be happy =
with either.

Devil's advocate here, but this prevents the client from being smarter.

Let's say we have a thread where the client knows some of the messages =
in the thread are malformed (don't have proper references or =
in-reply-to), but it doesn't have all the messages in the thread =
downloaded.

WIthout being able to specify the threading algorithm in the search, we =
can't say "Hey, on this one, use Subject-based threading because we know =
it's malformed".

Yes, the client can try to do it's own subject-based threading =
implementation with multiple searches to the server, but this could be =
an improvement.

I'd agree it's not necessary, but I want to make sure we know there is a =
valid use case for it.

D=

From arnt@gulbrandsen.priv.no  Fri Aug  6 01:09:48 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0BDA03A68C2 for <morg@core3.amsl.com>; Fri,  6 Aug 2010 01:09:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.99
X-Spam-Level: 
X-Spam-Status: No, score=-0.99 tagged_above=-999 required=5 tests=[AWL=-0.480,  BAYES_05=-1.11, J_CHICKENPOX_64=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hXiJSMtbcTd0 for <morg@core3.amsl.com>; Fri,  6 Aug 2010 01:09:44 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id 160D63A67C0 for <morg@ietf.org>; Fri,  6 Aug 2010 01:09:44 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 2BAD9FA000A; Fri,  6 Aug 2010 08:10:14 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1281082216-90700-90699/8/58; Fri, 6 Aug 2010 10:10:16 +0200
Message-Id: <4C5BC365.7080306@gulbrandsen.priv.no>
Date: Fri, 6 Aug 2010 10:10:13 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Dan Keen <morg@dankeen.com>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com>
In-Reply-To: <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Cc: Timo Sirainen <tss@iki.fi>, morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Aug 2010 08:09:48 -0000

Dan answers me, I answer Timo: >>> So do you want it to always use=20
THREAD=3DREFS or whatever the server wants
>>> to use?
>>
>> Either would be fine with me. I have a preference, but I'd be happy =
with either.
>
> Devil's advocate here, but this prevents the client from being smarter.

As so often, the best is the enemy of the good.

...
> I'd agree it's not necessary, but I want to make sure we know there is =
a valid use case for it.

Right.

Arnt

From alexey.melnikov@isode.com  Fri Aug  6 03:02:34 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71B993A6846 for <morg@core3.amsl.com>; Fri,  6 Aug 2010 03:02:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.471
X-Spam-Level: 
X-Spam-Status: No, score=-102.471 tagged_above=-999 required=5 tests=[AWL=0.128, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pUjAHrMKMGEJ for <morg@core3.amsl.com>; Fri,  6 Aug 2010 03:02:33 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 770153A67FD for <morg@ietf.org>; Fri,  6 Aug 2010 03:02:33 -0700 (PDT)
Received: from [188.28.154.48] (188.28.154.48.threembb.co.uk [188.28.154.48])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TFvd1ABSpb6W@rufus.isode.com>; Fri, 6 Aug 2010 11:03:02 +0100
Message-ID: <4C5BDDD3.10405@isode.com>
Date: Fri, 06 Aug 2010 12:02:59 +0200
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
To: barryleiba@computer.org
References: <4C5021F0.5020002@isode.com> <AANLkTik3ayOVth5v5gVowi8ybtj=k99n=evgt7YZQYzw@mail.gmail.com>
In-Reply-To: <AANLkTik3ayOVth5v5gVowi8ybtj=k99n=evgt7YZQYzw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org
Subject: Re: [MORG] Review of draft-ietf-morg-fuzzy-search-02.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Aug 2010 10:02:34 -0000

Barry Leiba wrote:
>> This is not a proper text for this section, as I don't think this is true.
>> It would be better to say that this document doesn't add additional security
>> considerations not already present in implementations of ESEARCH, SORT, etc.
>>     
> I agree.
>   
>> But maybe we should think harder about this in the case of this document.
>>     
> We did think about it, and we think it's correct that it doesn't add
> additional ones.
>
> Did you have anything specific in mind?
>   
Only some vague thoughts:

1) This might be too implementation specific, but should we point out 
possible buffer overflows and other nastiness with fuzzy indexing 
systems that might be used at the backend?

2) It might be worth mentioning that fuzzy search might cause 
Deny-of-Service attacks on the IMAP server. Implementations of this 
extension are likely to consume more disk space, memory and/or CPU.


From alexey.melnikov@isode.com  Mon Aug  9 01:26:37 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3813C3A6950 for <morg@core3.amsl.com>; Mon,  9 Aug 2010 01:26:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.881
X-Spam-Level: 
X-Spam-Status: No, score=-101.881 tagged_above=-999 required=5 tests=[AWL=0.118, BAYES_00=-2.599, J_CHICKENPOX_64=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iT6MbKnwvLCz for <morg@core3.amsl.com>; Mon,  9 Aug 2010 01:26:36 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 408CE3A6819 for <morg@ietf.org>; Mon,  9 Aug 2010 01:26:36 -0700 (PDT)
Received: from [10.0.0.111] (204.80-202-212.nextgentel.com [80.202.212.204])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TF-73ABSpTnt@rufus.isode.com>; Mon, 9 Aug 2010 09:27:09 +0100
Message-ID: <4C5FBBD4.6060906@isode.com>
Date: Mon, 09 Aug 2010 09:27:00 +0100
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: Dan Keen <morg@dankeen.com>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com>
In-Reply-To: <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Timo Sirainen <tss@iki.fi>, morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 08:26:37 -0000

Dan Keen wrote:

>On Aug 5, 2010, at 5:55 AM, Arnt Gulbrandsen wrote:
>  
>
>>On 08/05/2010 02:48 PM, Timo Sirainen wrote:
>>    
>>
>>>So do you want it to always use THREAD=REFS or whatever the server wants
>>>to use?
>>>      
>>>
>>Either would be fine with me. I have a preference, but I'd be happy with either.
>>
>
>Devil's advocate here, but this prevents the client from being smarter.
>  
>
+1.

I don't think Arnt is making very good arguments for removing this 
feature ;-).

>Let's say we have a thread where the client knows some of the messages in the thread are malformed (don't have proper references or in-reply-to), but it doesn't have all the messages in the thread downloaded.
>
>WIthout being able to specify the threading algorithm in the search, we can't say "Hey, on this one, use Subject-based threading because we know it's malformed".
>
>Yes, the client can try to do it's own subject-based threading implementation with multiple searches to the server, but this could be an improvement.
>
>I'd agree it's not necessary, but I want to make sure we know there is a valid use case for it.
>

From arnt@gulbrandsen.priv.no  Mon Aug  9 01:45:46 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5629C28C0DC for <morg@core3.amsl.com>; Mon,  9 Aug 2010 01:45:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.063
X-Spam-Level: 
X-Spam-Status: No, score=-1.063 tagged_above=-999 required=5 tests=[AWL=-0.324, BAYES_20=-0.74]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gd21t+vB-Tl4 for <morg@core3.amsl.com>; Mon,  9 Aug 2010 01:45:45 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id 52B2C28C0CF for <morg@ietf.org>; Mon,  9 Aug 2010 01:45:45 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 8BA65FA004D; Mon,  9 Aug 2010 08:46:18 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1281343581-46992-46991/8/10; Mon, 9 Aug 2010 10:46:21 +0200
Message-Id: <4C5FC059.4070308@gulbrandsen.priv.no>
Date: Mon, 9 Aug 2010 10:46:17 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com> <4C5FBBD4.6060906@isode.com>
In-Reply-To: <4C5FBBD4.6060906@isode.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Cc: Timo Sirainen <tss@iki.fi>, morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 08:45:46 -0000

On 08/09/2010 10:27 AM, Alexey Melnikov wrote:
> I don't think Arnt is making very good arguments for removing this
> feature ;-).

Remove, you say? Timo and I are the only implementers so far, and 
neither of us bothered to implement the return option, so I don't think 
"remove" is the right term here.

I stop trying to add a feature because it didn't get traction.

Arnt

From tss@iki.fi  Mon Aug  9 02:11:26 2010
Return-Path: <tss@iki.fi>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 376DC3A6ABF for <morg@core3.amsl.com>; Mon,  9 Aug 2010 02:11:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GURQwgm3SepI for <morg@core3.amsl.com>; Mon,  9 Aug 2010 02:11:23 -0700 (PDT)
Received: from dovecot.org (dovecot.org [62.236.108.70]) by core3.amsl.com (Postfix) with ESMTP id 67D793A6AB4 for <morg@ietf.org>; Mon,  9 Aug 2010 02:11:23 -0700 (PDT)
Received: from omppu.lan (unknown [81.193.140.20]) by dovecot.org (Postfix) with ESMTP id 8AB24FA8A42; Mon,  9 Aug 2010 12:11:54 +0300 (EEST)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Timo Sirainen <tss@iki.fi>
In-Reply-To: <4C5FC059.4070308@gulbrandsen.priv.no>
Date: Mon, 9 Aug 2010 10:11:53 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <BE0D3DE6-9138-4ED1-A286-7E1A079BE272@iki.fi>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com> <4C5FBBD4.6060906@isode.com> <4C5FC059.4070308@gulbrandsen.priv.no>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
X-Mailer: Apple Mail (2.1081)
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 09:11:27 -0000

On 9.8.2010, at 9.46, Arnt Gulbrandsen wrote:

> On 08/09/2010 10:27 AM, Alexey Melnikov wrote:
>> I don't think Arnt is making very good arguments for removing this
>> feature ;-).
>=20
> Remove, you say? Timo and I are the only implementers so far, and =
neither of us bothered to implement the return option, so I don't think =
"remove" is the right term here.

Looks like my current implementation uses the syntax from your earlier =
drafts:

        search-key   =3D/ "INTHREAD" SP thread-alg SP search-key

Why was search-alg even moved to a return option?..


From arnt@gulbrandsen.priv.no  Mon Aug  9 02:17:15 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1210C3A67A1 for <morg@core3.amsl.com>; Mon,  9 Aug 2010 02:17:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.974
X-Spam-Level: 
X-Spam-Status: No, score=-1.974 tagged_above=-999 required=5 tests=[AWL=0.625,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t3MjhugaHuO7 for <morg@core3.amsl.com>; Mon,  9 Aug 2010 02:17:13 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id 030363A6AB4 for <morg@ietf.org>; Mon,  9 Aug 2010 02:17:13 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 778E5FA004D; Mon,  9 Aug 2010 09:17:46 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1281345469-46992-46991/8/12; Mon, 9 Aug 2010 11:17:49 +0200
Message-Id: <4C5FC7B8.1070404@gulbrandsen.priv.no>
Date: Mon, 9 Aug 2010 11:17:44 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Timo Sirainen <tss@iki.fi>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com> <4C5FBBD4.6060906@isode.com> <4C5FC059.4070308@gulbrandsen.priv.no> <BE0D3DE6-9138-4ED1-A286-7E1A079BE272@iki.fi>
In-Reply-To: <BE0D3DE6-9138-4ED1-A286-7E1A079BE272@iki.fi>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 09:17:15 -0000

On 08/09/2010 11:11 AM, Timo Sirainen wrote:
> Why was search-alg even moved to a return option?..

Someone (perhaps you, but I'm not sure) suggested that any single search 
command should never be able to use two different threading algorithms.

Arnt

From tss@iki.fi  Mon Aug  9 05:49:37 2010
Return-Path: <tss@iki.fi>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 332FB3A68D4 for <morg@core3.amsl.com>; Mon,  9 Aug 2010 05:49:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.749
X-Spam-Level: 
X-Spam-Status: No, score=-105.749 tagged_above=-999 required=5 tests=[AWL=0.850, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c2WcBi-0k-vT for <morg@core3.amsl.com>; Mon,  9 Aug 2010 05:49:36 -0700 (PDT)
Received: from dovecot.org (dovecot.org [62.236.108.70]) by core3.amsl.com (Postfix) with ESMTP id 31A653A67EC for <morg@ietf.org>; Mon,  9 Aug 2010 05:49:36 -0700 (PDT)
Received: from [10.134.134.32] (pickles.tp.telepac.pt [194.65.5.228]) by dovecot.org (Postfix) with ESMTP id AEC5DFA8AEC; Mon,  9 Aug 2010 15:50:06 +0300 (EEST)
From: Timo Sirainen <tss@iki.fi>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
In-Reply-To: <4C5FC7B8.1070404@gulbrandsen.priv.no>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com> <4C5FBBD4.6060906@isode.com> <4C5FC059.4070308@gulbrandsen.priv.no> <BE0D3DE6-9138-4ED1-A286-7E1A079BE272@iki.fi> <4C5FC7B8.1070404@gulbrandsen.priv.no>
Content-Type: text/plain; charset="UTF-8"
Date: Mon, 09 Aug 2010 13:50:03 +0100
Message-ID: <1281358203.2982.4.camel@kurkku.sapo.corppt.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 12:49:37 -0000

On Mon, 2010-08-09 at 11:17 +0200, Arnt Gulbrandsen wrote:
> On 08/09/2010 11:11 AM, Timo Sirainen wrote:
> > Why was search-alg even moved to a return option?..
> 
> Someone (perhaps you, but I'm not sure) suggested that any single search 
> command should never be able to use two different threading algorithms.

Since I already implemented it, I doubt it was me who suggested changing
it. :) But I remember someone said it would make it more complex to
allow multiple algorithms .. then again, to me the return option seems a
bit ugly/wrong place for it. Return options should control what is
returned from the finished search result, not change what messages
actually match the search query..



From arnt@gulbrandsen.priv.no  Mon Aug  9 06:14:39 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F3983A6843 for <morg@core3.amsl.com>; Mon,  9 Aug 2010 06:14:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.009
X-Spam-Level: 
X-Spam-Status: No, score=-2.009 tagged_above=-999 required=5 tests=[AWL=0.590,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b-y-O3jv5U9l for <morg@core3.amsl.com>; Mon,  9 Aug 2010 06:14:38 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id DDB8E28C0DC for <morg@ietf.org>; Mon,  9 Aug 2010 06:14:37 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 77BBBFA004D; Mon,  9 Aug 2010 13:15:11 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1281359713-46992-46991/8/14; Mon, 9 Aug 2010 15:15:13 +0200
Message-Id: <4C5FFF5D.5030906@gulbrandsen.priv.no>
Date: Mon, 9 Aug 2010 15:15:09 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: Timo Sirainen <tss@iki.fi>
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com> <4C5FBBD4.6060906@isode.com> <4C5FC059.4070308@gulbrandsen.priv.no> <BE0D3DE6-9138-4ED1-A286-7E1A079BE272@iki.fi> <4C5FC7B8.1070404@gulbrandsen.priv.no> <1281358203.2982.4.camel@kurkku.sapo.corppt.com>
In-Reply-To: <1281358203.2982.4.camel@kurkku.sapo.corppt.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Cc: morg@ietf.org
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 13:14:39 -0000

On 08/09/2010 02:50 PM, Timo Sirainen wrote:
> Since I already implemented it, I doubt it was me who suggested changing
> it. :)

The name is a digression. Let's not digress (sorry, I started it). Can 
we instead either remove the feature, or else have a use-case good 
enough for use as an example?

> But I remember someone said it would make it more complex to
> allow multiple algorithms .. then again, to me the return option seems a
> bit ugly/wrong place for it. Return options should control what is
> returned from the finished search result, not change what messages
> actually match the search query..

Yes.

Arnt

From arnt@gulbrandsen.priv.no  Mon Aug  9 06:19:06 2010
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 968563A68F5 for <morg@core3.amsl.com>; Mon,  9 Aug 2010 06:19:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.04
X-Spam-Level: 
X-Spam-Status: No, score=-2.04 tagged_above=-999 required=5 tests=[AWL=0.559,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d7c25LpLR6Uo for <morg@core3.amsl.com>; Mon,  9 Aug 2010 06:19:05 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) by core3.amsl.com (Postfix) with ESMTP id A394C3A67B5 for <morg@ietf.org>; Mon,  9 Aug 2010 06:19:05 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (kalyani.aox.org [79.140.39.164]) by strange.aox.org (Postfix) with ESMTP id 6A824FA0099; Mon,  9 Aug 2010 13:19:39 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.3) with esmtpsa id 1281359982-46992-46991/8/15; Mon, 9 Aug 2010 15:19:42 +0200
Message-Id: <4C600069.4010500@gulbrandsen.priv.no>
Date: Mon, 9 Aug 2010 15:19:37 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Organization: Me, http://arnt.gulbrandsen.priv.no
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre
Mime-Version: 1.0
To: morg@ietf.org
References: <4C50244C.8010401@isode.com> <4C57ECFA.3040504@gulbrandsen.priv.no> <4C58406A.7030205@isode.com> <4C5958FA.2010403@gulbrandsen.priv.no> <1281012526.6211.333.camel@kurkku.sapo.corppt.com> <4C5AB4C3.80007@gulbrandsen.priv.no> <8349DB2C-6D37-4B02-B9F6-9DA1834A3058@dankeen.com> <4C5FBBD4.6060906@isode.com> <4C5FC059.4070308@gulbrandsen.priv.no> <BE0D3DE6-9138-4ED1-A286-7E1A079BE272@iki.fi> <4C5FC7B8.1070404@gulbrandsen.priv.no> <1281358203.2982.4.camel@kurkku.sapo.corppt.com> <4C5FFF5D.5030906@gulbrandsen.priv.no>
In-Reply-To: <4C5FFF5D.5030906@gulbrandsen.priv.no>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Subject: Re: [MORG] THREAD= search return option in draft-ietf-morg-inthread-01.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2010 13:19:06 -0000

I wrote:
> The name is a digression. Let's not digress (sorry, I started it). Can
> we instead either remove the feature, or else have a use-case good
> enough for use as an example?

Sorry. Bad wording there.

I'm easily annoyed today. $#@$#@$@ work stuff, nothing to do with morg. 
But if anyone picks nits in my wording today, I'm likely to react very 
badly. Sorry.

Arnt

From tss@iki.fi  Fri Aug 20 11:28:56 2010
Return-Path: <tss@iki.fi>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 840A33A6B18 for <morg@core3.amsl.com>; Fri, 20 Aug 2010 11:28:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.146
X-Spam-Level: 
X-Spam-Status: No, score=-105.146 tagged_above=-999 required=5 tests=[AWL=-0.036, BAYES_05=-1.11, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cd9z9nz90Q3w for <morg@core3.amsl.com>; Fri, 20 Aug 2010 11:28:55 -0700 (PDT)
Received: from dovecot.org (dovecot.org [62.236.108.70]) by core3.amsl.com (Postfix) with ESMTP id 702CA3A67FE for <morg@ietf.org>; Fri, 20 Aug 2010 11:28:55 -0700 (PDT)
Received: from [10.134.132.86] (unknown [194.65.5.235]) by dovecot.org (Postfix) with ESMTP id CDB9DFA8B0F; Fri, 20 Aug 2010 21:29:27 +0300 (EEST)
From: Timo Sirainen <tss@iki.fi>
To: Alexey Melnikov <alexey.melnikov@isode.com>
In-Reply-To: <4C5BDDD3.10405@isode.com>
References: <4C5021F0.5020002@isode.com> <AANLkTik3ayOVth5v5gVowi8ybtj=k99n=evgt7YZQYzw@mail.gmail.com> <4C5BDDD3.10405@isode.com>
Content-Type: text/plain; charset="UTF-8"
Date: Fri, 20 Aug 2010 19:29:26 +0100
Message-ID: <1282328966.6489.20.camel@kurkku.sapo.corppt.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org, barryleiba@computer.org
Subject: Re: [MORG] Review of draft-ietf-morg-fuzzy-search-02.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Aug 2010 18:28:56 -0000

On Fri, 2010-08-06 at 12:02 +0200, Alexey Melnikov wrote:

> 1) This might be too implementation specific, but should we point out 
> possible buffer overflows and other nastiness with fuzzy indexing 
> systems that might be used at the backend?

Mentioning buffer overflows sound like they could be a bit too
implementation specific.

> 2) It might be worth mentioning that fuzzy search might cause 
> Deny-of-Service attacks on the IMAP server. Implementations of this 
> extension are likely to consume more disk space, memory and/or CPU.

How about this, also addresses Cyrus's point of poisoning:

Implementation of this extension might enable a denial-of-service attack
if the implementation isn't careful to prevent them. Fuzzy search
engines are often complex with non-obvious disk space, memory and/or CPU
usage patterns. Implementors should test at least the behavior of large
messages that contain very long words and/or unique random strings. Also
very long search keys might cause excessive memory or CPU usage.

Invalid input may also be problematic. For example if the search engine
takes UTF-8 stream as input, it might fail more or less badly when
illegal UTF-8 sequences are fed to it from a message whose character set
was claimed to be UTF-8. This could be avoided by validating all the
input and replacing illegal UTF-8 sequences with the Unicode replacement
character (U+FFFD).

Search relevancy rankings might be susceptible to "poisoning" by smart
attackers using certain keywords or hidden markup (e.g. HTML) in their
messages to boost the rankings. This can't be fully prevented by
servers, so clients should prepare for it by at least allowing user to
see all the  search results, rather than hide results below a certain
score.



From tss@iki.fi  Fri Aug 20 11:32:57 2010
Return-Path: <tss@iki.fi>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A2B2F3A6B0A for <morg@core3.amsl.com>; Fri, 20 Aug 2010 11:32:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.885
X-Spam-Level: 
X-Spam-Status: No, score=-105.885 tagged_above=-999 required=5 tests=[AWL=0.714, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SOOwOV5aHCi2 for <morg@core3.amsl.com>; Fri, 20 Aug 2010 11:32:55 -0700 (PDT)
Received: from dovecot.org (dovecot.org [62.236.108.70]) by core3.amsl.com (Postfix) with ESMTP id AA5C63A695D for <morg@ietf.org>; Fri, 20 Aug 2010 11:32:54 -0700 (PDT)
Received: from [10.134.132.86] (unknown [194.65.5.235]) by dovecot.org (Postfix) with ESMTP id 8F9EEFA8B0F; Fri, 20 Aug 2010 21:33:28 +0300 (EEST)
From: Timo Sirainen <tss@iki.fi>
To: Cyrus Daboo <cyrus@daboo.name>
In-Reply-To: <87CC64988A0FB9F1D383B5BC@dhcp-63f1.meeting.ietf.org>
References: <A199F09978CEADEC3697D0DA@dhcp-63f1.meeting.ietf.org> <CA8B3A3A-5450-4D4D-AEE3-970403B2256F@iki.fi> <87CC64988A0FB9F1D383B5BC@dhcp-63f1.meeting.ietf.org>
Content-Type: text/plain; charset="UTF-8"
Date: Fri, 20 Aug 2010 19:33:27 +0100
Message-ID: <1282329207.6489.24.camel@kurkku.sapo.corppt.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org
Subject: Re: [MORG] Review: draft-ietf-morg-fuzzy-search-02
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Aug 2010 18:32:58 -0000

On Sun, 2010-08-01 at 14:56 +0200, Cyrus Daboo wrote:

> >> 6) Do clients need to care that the FUZZY search key is not
> >> distributive, e.g.:
> >>
> >> FUZZY OR SUBJECT x SUBJECT y != OR FUZZY SUBJECT x FUZZY SUBJECT y
> >
> > I agree with Barry, those are the same. Added example:
> 
> I am not totally convinced. My point is how a server deals with two FUZZY's 
> - does it somehow treats those as one, does it do the two separately (as 
> per the OR example right-hand side) and then combine relevance in some 
> fashion for the aggregate? 

"Implementation-determined"? :)

> How does you server handle multiple FUZZY's?

I haven't actually implemented FUZZY yet, only the relevancy parts of it
as part of other non-standard search keys. Looking at the code, it
doesn't handle scores for multiple fuzzy searches well at all, simply
drops the earlier searches' scores..

> > FUZZY is applied to all search keys when parenthesis or OR is used. For
> > example in this search query everything is matched fuzzily:
> >
> >  C: A03 SEARCH FUZZY OR (SUBJECT work FROM user@example.com) SUBJECT home
> >  S: * SEARCH 2 5
> >  S: A03 OK Search completed.
> 
> Well that automatically falls out from the syntax since "OR" is itself a 
> search-key that is the argument for FUZZY.

So no point in having that example?


From cyrus@daboo.name  Fri Aug 20 11:35:18 2010
Return-Path: <cyrus@daboo.name>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 41FB73A695D for <morg@core3.amsl.com>; Fri, 20 Aug 2010 11:35:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.341
X-Spam-Level: 
X-Spam-Status: No, score=-102.341 tagged_above=-999 required=5 tests=[AWL=0.258, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nbTp72TADsUJ for <morg@core3.amsl.com>; Fri, 20 Aug 2010 11:35:01 -0700 (PDT)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id 434BE3A6B18 for <morg@ietf.org>; Fri, 20 Aug 2010 11:35:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 118F318F00A6F; Fri, 20 Aug 2010 14:35:31 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jo1Fu2upyQoJ; Fri, 20 Aug 2010 14:35:30 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.101.32.44]) by daboo.name (Postfix) with ESMTPSA id B96B818F00A62; Fri, 20 Aug 2010 14:35:29 -0400 (EDT)
Date: Fri, 20 Aug 2010 14:35:27 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Timo Sirainen <tss@iki.fi>
Message-ID: <06B2F509B0A7ACC4F5C33F71@caldav.corp.apple.com>
In-Reply-To: <1282329207.6489.24.camel@kurkku.sapo.corppt.com>
References: <A199F09978CEADEC3697D0DA@dhcp-63f1.meeting.ietf.org>	 <CA8B3A3A-5450-4D4D-AEE3-970403B2256F@iki.fi>	 <87CC64988A0FB9F1D383B5BC@dhcp-63f1.meeting.ietf.org> <1282329207.6489.24.camel@kurkku.sapo.corppt.com>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size=568
Cc: morg@ietf.org
Subject: Re: [MORG] Review: draft-ietf-morg-fuzzy-search-02
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Aug 2010 18:35:18 -0000

Hi Timo,

--On August 20, 2010 7:33:27 PM +0100 Timo Sirainen <tss@iki.fi> wrote:

>> > FUZZY is applied to all search keys when parenthesis or OR is used. For
>> > example in this search query everything is matched fuzzily:
>> >
>> >  C: A03 SEARCH FUZZY OR (SUBJECT work FROM user@example.com) SUBJECT
>> >  home S: * SEARCH 2 5
>> >  S: A03 OK Search completed.
>>
>> Well that automatically falls out from the syntax since "OR" is itself a
>> search-key that is the argument for FUZZY.
>
> So no point in having that example?
>

No need for that.

-- 
Cyrus Daboo


From barryleiba.mailing.lists@gmail.com  Mon Aug 23 11:57:50 2010
Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B7F83A6A95 for <morg@core3.amsl.com>; Mon, 23 Aug 2010 11:57:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[AWL=-0.991, BAYES_05=-1.11]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gz5uA6YjRMNx for <morg@core3.amsl.com>; Mon, 23 Aug 2010 11:57:49 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by core3.amsl.com (Postfix) with ESMTP id E730B3A68A7 for <morg@ietf.org>; Mon, 23 Aug 2010 11:57:48 -0700 (PDT)
Received: by ywi4 with SMTP id 4so2513936ywi.31 for <morg@ietf.org>; Mon, 23 Aug 2010 11:58:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=8CjlxU8beTap3XJ+c/14u6POHiecu6eM1SfAzx3FNq8=; b=khe2AnDBCjsexKnZTeTOxk1/0h6J0FI2SMfSnU/y68w2/XvgeCnW5kfpaie5JtFtZ3 v5lE0e1oXmYEOpKzWq75PyP+TNPVjf6KMl8F30P3MmKHK2+HRSrAlf4MNWLhTVAB2fDR PAHw2UtxbwROQtgUp2leZfeTsvYFAJkMPxT0o=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=unMS1NeuaC5RgFjReQ1cNT0lVjj7S0fx/JblHSz6oKYHXA+B2MdqG+rHQ8fh0eviUm OstPjsivGMEg2x3pGpolTYFx8uLQDXkzntQBI3hj1x16cEALZeoIMRwKyHT8hEYrWCGY 9drZq7fVuusCuX3FWLco6lyDhszMLpjGWB0Yk=
MIME-Version: 1.0
Received: by 10.151.62.5 with SMTP id p5mr5884672ybk.55.1282589902035; Mon, 23 Aug 2010 11:58:22 -0700 (PDT)
Received: by 10.42.5.137 with HTTP; Mon, 23 Aug 2010 11:58:21 -0700 (PDT)
In-Reply-To: <1282328966.6489.20.camel@kurkku.sapo.corppt.com>
References: <4C5021F0.5020002@isode.com> <AANLkTik3ayOVth5v5gVowi8ybtj=k99n=evgt7YZQYzw@mail.gmail.com> <4C5BDDD3.10405@isode.com> <1282328966.6489.20.camel@kurkku.sapo.corppt.com>
Date: Mon, 23 Aug 2010 13:58:21 -0500
Message-ID: <AANLkTi=L+xekVz67V4v84-7Gf-x4MGjAvXmAJFnxPw_k@mail.gmail.com>
From: Barry Leiba <barryleiba.mailing.lists@gmail.com>
To: Timo Sirainen <tss@iki.fi>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: morg@ietf.org
Subject: Re: [MORG] Review of draft-ietf-morg-fuzzy-search-02.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: barryleiba@computer.org
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2010 18:57:50 -0000

> Mentioning buffer overflows sound like they could be a bit too
> implementation specific.

I agree.  Moreover, I don't think it's the place of the IETF to tell
programmers how to program, and buffer overflow bugs are well enough
known that programmers should already know that they need to watch for
them.  I really don't think this opens things up for any more or
different buffer overflow bugs than any other spec does.

> Implementation of this extension might enable a denial-of-service attack
> if the implementation isn't careful to prevent them. Fuzzy search
> engines are often complex with non-obvious disk space, memory and/or CPU
> usage patterns. Implementors should test at least the behavior of large
> messages that contain very long words and/or unique random strings. Also
> very long search keys might cause excessive memory or CPU usage.
>
> Invalid input may also be problematic. For example if the search engine
> takes UTF-8 stream as input, it might fail more or less badly when
> illegal UTF-8 sequences are fed to it from a message whose character set
> was claimed to be UTF-8. This could be avoided by validating all the
> input and replacing illegal UTF-8 sequences with the Unicode replacement
> character (U+FFFD).
>
> Search relevancy rankings might be susceptible to "poisoning" by smart
> attackers using certain keywords or hidden markup (e.g. HTML) in their
> messages to boost the rankings. This can't be fully prevented by
> servers, so clients should prepare for it by at least allowing user to
> see all the =A0search results, rather than hide results below a certain
> score.

I'm happy with that text.

Barry

From barryleiba.mailing.lists@gmail.com  Mon Aug 23 12:04:07 2010
Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A42673A680D for <morg@core3.amsl.com>; Mon, 23 Aug 2010 12:04:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.881
X-Spam-Level: 
X-Spam-Status: No, score=-1.881 tagged_above=-999 required=5 tests=[AWL=-1.141, BAYES_20=-0.74]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Jj8fAih2XGe for <morg@core3.amsl.com>; Mon, 23 Aug 2010 12:04:04 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by core3.amsl.com (Postfix) with ESMTP id B972D3A6AA8 for <morg@ietf.org>; Mon, 23 Aug 2010 12:04:01 -0700 (PDT)
Received: by yxk8 with SMTP id 8so2666071yxk.31 for <morg@ietf.org>; Mon, 23 Aug 2010 12:04:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=nHYkugIWS/I25j1DWJHfq3KhYLEUYXOutL5DNy3sByw=; b=LBGh4y7ZdwTXhhJM+Kv3qF7bVHjIjxTojQZqxiHJiDS/rUgTOZwmDhTVcpWYE/QM0c bOb8EnN0jPSucGz/ELNXD56cZWA3eYuk7iQ9SoQxE3a6PJXDMdfwO+kyMSW1ib0/cquD 0rRmGAgg7D2qQ1uCEnRbpUSYna5u3/RehmnVc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=Yj7gy5ZOBiJYbQ4+zTbh4TBpJekFBvS7Mtt0fCF1YOAL/ahmDgQEYXOTzoBcSVMnqV 9eYcLbDyiytFBbxWQrLrM1VS1rkdWkxeZv27bsUSudfeORueBdbIjoWkAQPCJxL1LquM h3PKFod7psdb7VNXbeI5JU+b392XHRMt3lnj4=
MIME-Version: 1.0
Received: by 10.151.123.19 with SMTP id a19mr4735713ybn.203.1282590274673; Mon, 23 Aug 2010 12:04:34 -0700 (PDT)
Received: by 10.42.5.137 with HTTP; Mon, 23 Aug 2010 12:04:34 -0700 (PDT)
In-Reply-To: <1282329207.6489.24.camel@kurkku.sapo.corppt.com>
References: <A199F09978CEADEC3697D0DA@dhcp-63f1.meeting.ietf.org> <CA8B3A3A-5450-4D4D-AEE3-970403B2256F@iki.fi> <87CC64988A0FB9F1D383B5BC@dhcp-63f1.meeting.ietf.org> <1282329207.6489.24.camel@kurkku.sapo.corppt.com>
Date: Mon, 23 Aug 2010 14:04:34 -0500
Message-ID: <AANLkTi=hUdy6TY4tVf3Fkr8ZaTr_tTehHJE94cLVuNz=@mail.gmail.com>
From: Barry Leiba <barryleiba.mailing.lists@gmail.com>
To: Timo Sirainen <tss@iki.fi>
Content-Type: text/plain; charset=ISO-8859-1
Cc: morg@ietf.org
Subject: Re: [MORG] Review: draft-ietf-morg-fuzzy-search-02
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: barryleiba@computer.org
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2010 19:04:07 -0000

>> >> 6) Do clients need to care that the FUZZY search key is not
>> >> distributive, e.g.:
>> >>
>> >> FUZZY OR SUBJECT x SUBJECT y != OR FUZZY SUBJECT x FUZZY SUBJECT y
>> >
>> > I agree with Barry, those are the same. Added example:
>>
>> I am not totally convinced. My point is how a server deals with two FUZZY's
>> - does it somehow treats those as one, does it do the two separately (as
>> per the OR example right-hand side) and then combine relevance in some
>> fashion for the aggregate?
>
> "Implementation-determined"? :)

After initially not being sure what people were on about here, I think
I see that the point is determining relevancy.  For anything else, one
just distributes the fuzz.

I suppose I could contrive an example with, say, date searches, where
"or fuzzy (date1) fuzzy (date2)" might be implemented as "within 2
days of date1 or within two days of date2", while (maaaaaybe) "fuzzy
or (date1) (date2)" might be implemented as spanning the entire range
from two days before the earlier date to two days after the later one.

But that seems a stretch.

In any case, I'm happy to see something added that says that it's up
to the implementation how to combine fuzzy searches in boolean
expressions, just as it's up to the implementation how to do the fuzzy
searches in the first place.

Barry

From alexey.melnikov@isode.com  Tue Aug 24 02:50:54 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F05AA3A67CC for <morg@core3.amsl.com>; Tue, 24 Aug 2010 02:50:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.581
X-Spam-Level: 
X-Spam-Status: No, score=-102.581 tagged_above=-999 required=5 tests=[AWL=0.018, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G29Gjwsf19iI for <morg@core3.amsl.com>; Tue, 24 Aug 2010 02:50:52 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 6D7B73A6838 for <morg@ietf.org>; Tue, 24 Aug 2010 02:50:52 -0700 (PDT)
Received: from [172.16.2.150] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <THOWGwBIEC6Q@rufus.isode.com>; Tue, 24 Aug 2010 10:51:24 +0100
Message-ID: <4C739609.5020101@isode.com>
Date: Tue, 24 Aug 2010 10:51:05 +0100
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: barryleiba@computer.org, Timo Sirainen <tss@iki.fi>
References: <4C5021F0.5020002@isode.com> <AANLkTik3ayOVth5v5gVowi8ybtj=k99n=evgt7YZQYzw@mail.gmail.com> <4C5BDDD3.10405@isode.com> <1282328966.6489.20.camel@kurkku.sapo.corppt.com> <AANLkTi=L+xekVz67V4v84-7Gf-x4MGjAvXmAJFnxPw_k@mail.gmail.com>
In-Reply-To: <AANLkTi=L+xekVz67V4v84-7Gf-x4MGjAvXmAJFnxPw_k@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org
Subject: Re: [MORG] Review of draft-ietf-morg-fuzzy-search-02.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Aug 2010 09:50:54 -0000

Barry Leiba wrote:

>>Mentioning buffer overflows sound like they could be a bit too
>>implementation specific.
>>    
>>
>I agree.  Moreover, I don't think it's the place of the IETF to tell
>programmers how to program, and buffer overflow bugs are well enough
>known that programmers should already know that they need to watch for
>them.
>
One would think so. I actually think that educating people is a good 
thing. However I am not going to insist on discussing this.

>I really don't think this opens things up for any more or
>different buffer overflow bugs than any other spec does.
>  
>
That part I agree with.

>>Implementation of this extension might enable a denial-of-service attack
>>if the implementation isn't careful to prevent them. Fuzzy search
>>engines are often complex with non-obvious disk space, memory and/or CPU
>>usage patterns. Implementors should test at least the behavior of large
>>messages that contain very long words and/or unique random strings. Also
>>very long search keys might cause excessive memory or CPU usage.
>>
>>Invalid input may also be problematic. For example if the search engine
>>takes UTF-8 stream as input, it might fail more or less badly when
>>illegal UTF-8 sequences are fed to it from a message whose character set
>>was claimed to be UTF-8. This could be avoided by validating all the
>>input and replacing illegal UTF-8 sequences with the Unicode replacement
>>character (U+FFFD).
>>
>>Search relevancy rankings might be susceptible to "poisoning" by smart
>>attackers using certain keywords or hidden markup (e.g. HTML) in their
>>messages to boost the rankings. This can't be fully prevented by
>>servers, so clients should prepare for it by at least allowing user to
>>see all the  search results, rather than hide results below a certain
>>score.
>>    
>>
>I'm happy with that text.
>
I am too. I am not convinced that mentioning Unicode replacement 
character (U+FFFD) is necessary, but I suppose it is Ok.


From alexey.melnikov@isode.com  Wed Aug 25 02:36:38 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 099923A685E for <morg@core3.amsl.com>; Wed, 25 Aug 2010 02:36:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.586
X-Spam-Level: 
X-Spam-Status: No, score=-102.586 tagged_above=-999 required=5 tests=[AWL=0.013, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eQnW-X88Gcom for <morg@core3.amsl.com>; Wed, 25 Aug 2010 02:36:36 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 777063A6957 for <morg@ietf.org>; Wed, 25 Aug 2010 02:36:33 -0700 (PDT)
Received: from [172.16.2.144] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <THTkMABIEEZ9@rufus.isode.com>; Wed, 25 Aug 2010 10:36:51 +0100
Message-ID: <4C74E427.1060001@isode.com>
Date: Wed, 25 Aug 2010 10:36:39 +0100
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: morg@ietf.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: iana@iana.org
Subject: [MORG] IMAP Keyword IANA registration request for $Junk and $NotJunk
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Aug 2010 09:36:38 -0000

I would like to request registration of $Junk/$NotJunk IMAP keywords in 
the IANA IMAP Keyword registry established by RFC 5788.
The two registrations are described below:

-------------------------------------------------------
   Subject:    Registration of IMAP keyword $Junk


   IMAP keyword name:  $Junk

   Purpose (description):
       The user (or a delivery agent on behalf of the user)
       may choose to mark a message as definitely
       containing junk ($Junk; see also the related keyword
       $NotJunk). The $Junk keyword
       can be used to mark (and potentially move/delete
       messages later), group or hide undesirable messages.

   Private or Shared on a server:  BOTH (see Note 3)

   Is it an advisory keyword or may it cause an automatic action:
       This keyword is advisory.

   When/by whom the keyword is set/cleared:
       $Junk can be set either by a delivery agent or a mail client
       on users behalf. The user must be able to set or clear $Junk
       at any time.
       If the mail client hides all messages with $Junk keyword
       from the current view, the mail client MUST implement a mode
       when it is possible to see all messages marked as $Junk.

   Related keywords: $NotJunk

   Related IMAP capabilities:  None

   Security considerations:
       A message marked the with $Junk keyword by one
       user might not be considered junk by another (or even by the same 
user
       under different circumstances).  Any automated action taken by 
the mail
       system or by the MUA in response to this keyword needs to take 
that into
       account.  Destructive action (such as expunging a message as soon as
       the $Junk keyword is applied) can cause loss of desired messages, and
       mail systems and MUAs SHOULD NOT take such actions.

   Published specification (recommended):

   Person & email address to contact for further information:
       Alexey Melnikov <alexey.melnikov@isode.com>

   Intended usage:  COMMON

   Owner/Change controller:  IESG

   Note:
    1). $Junk and $NotJunk are mutually exclusive. If more than one of
        them is set for a message, the mail client MUST treat this as if
        neither of them is set and SHOULD remove both of them from the IMAP
        server.

    2). There are existing clients that use mutually exclusive keywords
        Junk and NotJunk to mark a message as definitely containing
        /definitely non containing junk information. Use of
        "Junk"/"NotJunk" is deprecated, mail clients should be using
        "$Junk"/"$NotJunk" instead.

    3). Because different users might have differing views of what
        constitutes "junk", server implementations SHOULD favor the use
        of a private keyword, to allow the most flexibility.  However,
        because it will often be the case that there's broad agreement
        on the categorization of most messages in this regard, it
        will make the most sense for systems that implement
        shared messages to use a shared keyword, and to allow
        individual users to override that designation for themselves.
        An implementation might even take multiple overrides as a
        suggestion to change the shared flag, and consider that a
        useful optimization.

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

   Subject:    Registration of IMAP keyword $NotJunk


   IMAP keyword name:  $NotJunk

   Purpose (description):
       The user (or a delivery agent on behalf of the user)
       may choose to mark a message as definitely not containing junk
       ($NotJunk; see also the related keyword
       $Junk). The $NotJunk keyword can be used to mark, group
       or show messages that the user wants to see.

   Private or Shared on a server:  BOTH (see Note 3)

   Is it an advisory keyword or may it cause an automatic action:
       This keyword is advisory.

   When/by whom the keyword is set/cleared:
       $NotJunk can be set either by a delivery agent
       or a mail client on users behalf. The user must be able to
       set or clear $NonJunk at any time.

   Related keywords: $Junk

   Related IMAP capabilities:  None

   Security considerations:
       A message marked with $NotJunk keyword by one user might not be 
considered
       not to be junk by another user (or even by the same user under 
different
       circumstances). Any automated action taken by the mail system or by
       the MUA in response to this keyword needs to take that into account.

   Published specification (recommended):

   Person & email address to contact for further information:
       Alexey Melnikov <alexey.melnikov@isode.com>

   Intended usage:  COMMON

   Owner/Change controller:  IESG

   Note:
    1). $Junk and $NotJunk are mutually exclusive. If more than one of
        them is set for a message, the mail client MUST treat this as if
        none of them is set and SHOULD remove both of them from the IMAP
        server.

    2). There are existing clients that use mutually exclusive keywords
        Junk and NotJunk to mark a message as definitely containing
        /definitely non containing junk information. Use of
        "Junk"/"NotJunk" is deprecated, mail clients should be using
        "$Junk"/"$NotJunk" instead.

    3). Because different users might have differing views of what
        constitutes "junk", server implementations SHOULD favor the use
        of a private keyword, to allow the most flexibility.  However,
        because it will often be the case that there's broad agreement
        on the categorization of most messages in this regard, it
        will make the most sense for systems that implement
        shared messages to use a shared keyword, and to allow
        individual users to override that designation for themselves.
        An implementation might even take multiple overrides as a
        suggestion to change the shared flag, and consider that a
        useful optimization.


From tss@iki.fi  Wed Aug 25 10:51:08 2010
Return-Path: <tss@iki.fi>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 244B63A687E for <morg@core3.amsl.com>; Wed, 25 Aug 2010 10:51:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.866
X-Spam-Level: 
X-Spam-Status: No, score=-105.866 tagged_above=-999 required=5 tests=[AWL=0.733, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AqsPnVMC+dYU for <morg@core3.amsl.com>; Wed, 25 Aug 2010 10:51:05 -0700 (PDT)
Received: from dovecot.org (dovecot.org [62.236.108.70]) by core3.amsl.com (Postfix) with ESMTP id C9F2C3A686B for <morg@ietf.org>; Wed, 25 Aug 2010 10:51:04 -0700 (PDT)
Received: from [10.134.132.86] (unknown [194.65.5.235]) by dovecot.org (Postfix) with ESMTP id 0B9A4FA88EF; Wed, 25 Aug 2010 20:51:35 +0300 (EEST)
From: Timo Sirainen <tss@iki.fi>
To: Alexey Melnikov <alexey.melnikov@isode.com>
In-Reply-To: <4C739609.5020101@isode.com>
References: <4C5021F0.5020002@isode.com> <AANLkTik3ayOVth5v5gVowi8ybtj=k99n=evgt7YZQYzw@mail.gmail.com> <4C5BDDD3.10405@isode.com> <1282328966.6489.20.camel@kurkku.sapo.corppt.com> <AANLkTi=L+xekVz67V4v84-7Gf-x4MGjAvXmAJFnxPw_k@mail.gmail.com> <4C739609.5020101@isode.com>
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 25 Aug 2010 18:51:34 +0100
Message-ID: <1282758694.6489.372.camel@kurkku.sapo.corppt.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3 
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org, barryleiba@computer.org
Subject: Re: [MORG] Review of draft-ietf-morg-fuzzy-search-02.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Aug 2010 17:51:08 -0000

On Tue, 2010-08-24 at 10:51 +0100, Alexey Melnikov wrote:
> >>Invalid input may also be problematic. For example if the search engine
> >>takes UTF-8 stream as input, it might fail more or less badly when
> >>illegal UTF-8 sequences are fed to it from a message whose character set
> >>was claimed to be UTF-8. This could be avoided by validating all the
> >>input and replacing illegal UTF-8 sequences with the Unicode replacement
> >>character (U+FFFD).
> >>
> I am too. I am not convinced that mentioning Unicode replacement 
> character (U+FFFD) is necessary, but I suppose it is Ok.

So just "This could be avoided by validating all the input." would be
better? Or just remove the whole sentence.



From barryleiba.mailing.lists@gmail.com  Wed Aug 25 11:50:37 2010
Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 59F8A3A6888 for <morg@core3.amsl.com>; Wed, 25 Aug 2010 11:50:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.88
X-Spam-Level: 
X-Spam-Status: No, score=-2.88 tagged_above=-999 required=5 tests=[AWL=-0.281,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mEcSNgAUgAB0 for <morg@core3.amsl.com>; Wed, 25 Aug 2010 11:50:36 -0700 (PDT)
Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by core3.amsl.com (Postfix) with ESMTP id 6DC203A67F4 for <morg@ietf.org>; Wed, 25 Aug 2010 11:50:36 -0700 (PDT)
Received: by pxi6 with SMTP id 6so400003pxi.31 for <morg@ietf.org>; Wed, 25 Aug 2010 11:51:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=RTv04Ve74NHK5sW+FRLUM0VtLlCUMFoZ9uWUzk8usE8=; b=c7zL8AdTHGKAWbRwIR3IVTHrSWpDcVu+hfH7gldsKfFnv1lfXFeHvGVX/Fa9Y83Ryi MT6pJepy1pV8quT8z2zfgXPym8a+i6YugewnZr/ZFxTRqigSy3+Q1sysDMD0WPVFOruV wTOT86Yo3WWec9ZbamlBX8mGG66SCHNfH+RS8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=T25YO10aFclordBwkejP+vCtrwA9sijDE4W6+UPehvUfL+Sg8wMVmJF82YnuUcCwoY unvX7qz0o6sn05z9dM05ySJMLtRRvTV8rbQB9Ltpku8NJSAlRPPwUIBhbVZdc8OqjKl3 14aTXEWJunyjCP3rQcwFgvrWp9a9X9Oks6AXI=
MIME-Version: 1.0
Received: by 10.142.155.21 with SMTP id c21mr1672209wfe.82.1282762269105; Wed, 25 Aug 2010 11:51:09 -0700 (PDT)
Received: by 10.42.5.137 with HTTP; Wed, 25 Aug 2010 11:51:08 -0700 (PDT)
In-Reply-To: <4C74E427.1060001@isode.com>
References: <4C74E427.1060001@isode.com>
Date: Wed, 25 Aug 2010 14:51:08 -0400
Message-ID: <AANLkTima9c2=bbr3yeSb6OW7TyjBWvPz398MBWYQkdY5@mail.gmail.com>
From: Barry Leiba <barryleiba.mailing.lists@gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: morg@ietf.org, iana@iana.org
Subject: Re: [MORG] IMAP Keyword IANA registration request for $Junk and $NotJunk
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: barryleiba@computer.org
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Aug 2010 18:50:37 -0000

> I would like to request registration of $Junk/$NotJunk IMAP keywords in the
> IANA IMAP Keyword registry established by RFC 5788.

Only one minor comment (since I've already reviewed this in advance of
Alexey's posting here):

We should probably get rid of the confusing double-negative in the
$NotJunk security considerations.

OLD
   A message marked with $NotJunk keyword by one user might not be considered
   not to be junk by another user

NEW
   A message marked with $NotJunk keyword by one user might be considered
   to be junk by another user

Barry

From alexey.melnikov@isode.com  Thu Aug 26 02:54:47 2010
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8481D3A684A for <morg@core3.amsl.com>; Thu, 26 Aug 2010 02:54:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.286
X-Spam-Level: 
X-Spam-Status: No, score=-102.286 tagged_above=-999 required=5 tests=[AWL=-0.287, BAYES_00=-2.599, J_CHICKENPOX_14=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8X7Dhe7Gak4H for <morg@core3.amsl.com>; Thu, 26 Aug 2010 02:54:46 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id A1A4B3A6359 for <morg@ietf.org>; Thu, 26 Aug 2010 02:54:46 -0700 (PDT)
Received: from [172.16.2.105] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <THY6AwBIEIps@rufus.isode.com>; Thu, 26 Aug 2010 10:55:17 +0100
Message-ID: <4C7639F9.6090106@isode.com>
Date: Thu, 26 Aug 2010 10:55:05 +0100
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>
References: <4C5021F0.5020002@isode.com> <AANLkTik3ayOVth5v5gVowi8ybtj=k99n=evgt7YZQYzw@mail.gmail.com> <4C5BDDD3.10405@isode.com> <1282328966.6489.20.camel@kurkku.sapo.corppt.com> <AANLkTi=L+xekVz67V4v84-7Gf-x4MGjAvXmAJFnxPw_k@mail.gmail.com> <4C739609.5020101@isode.com> <1282758694.6489.372.camel@kurkku.sapo.corppt.com>
In-Reply-To: <1282758694.6489.372.camel@kurkku.sapo.corppt.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: morg@ietf.org, barryleiba@computer.org
Subject: Re: [MORG] Review of draft-ietf-morg-fuzzy-search-02.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2010 09:54:47 -0000

Timo Sirainen wrote:

>On Tue, 2010-08-24 at 10:51 +0100, Alexey Melnikov wrote:
>  
>
>>>>Invalid input may also be problematic. For example if the search engine
>>>>takes UTF-8 stream as input, it might fail more or less badly when
>>>>illegal UTF-8 sequences are fed to it from a message whose character set
>>>>was claimed to be UTF-8. This could be avoided by validating all the
>>>>input and replacing illegal UTF-8 sequences with the Unicode replacement
>>>>character (U+FFFD).
>>>>
>>>>        
>>>>
>>I am too. I am not convinced that mentioning Unicode replacement 
>>character (U+FFFD) is necessary, but I suppose it is Ok.
>>    
>>
>So just "This could be avoided by validating all the input."
>
Yes. Or alternatively something like:

This could be avoided by validating all the
input and, for example, replacing illegal UTF-8 sequences with the Unicode replacement
character (U+FFFD).

I.e. I want to be clear thar replacing with U+FFFD is not the only 
solution.

>would be better? Or just remove the whole sentence.
>  
>


From nicolson@google.com  Mon Aug 30 11:38:22 2010
Return-Path: <nicolson@google.com>
X-Original-To: morg@core3.amsl.com
Delivered-To: morg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DD46C3A699E for <morg@core3.amsl.com>; Mon, 30 Aug 2010 11:38:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.676
X-Spam-Level: 
X-Spam-Status: No, score=-105.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UvE2XfkFBB7S for <morg@core3.amsl.com>; Mon, 30 Aug 2010 11:38:21 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id A42E73A6814 for <morg@ietf.org>; Mon, 30 Aug 2010 11:38:18 -0700 (PDT)
Received: from wpaz37.hot.corp.google.com (wpaz37.hot.corp.google.com [172.24.198.101]) by smtp-out.google.com with ESMTP id o7UIcm1H001962 for <morg@ietf.org>; Mon, 30 Aug 2010 11:38:48 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1283193528; bh=rtZ77Mi2talWTmRXe9L6byJrSr8=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=rNs4dxz8SIYdobtRZapSJrtSUAixQFMlcv+GaohChhcNI2BrTKH1mlXSi5VeRKG40 CswSHvZvOnPU9PP4y27LA==
Received: from qyk9 (qyk9.prod.google.com [10.241.83.137]) by wpaz37.hot.corp.google.com with ESMTP id o7UIckhm028407 for <morg@ietf.org>; Mon, 30 Aug 2010 11:38:47 -0700
Received: by qyk9 with SMTP id 9so5327889qyk.10 for <morg@ietf.org>; Mon, 30 Aug 2010 11:38:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=BrmPl9mgg/J8myU8XMB7fE8rnhmvqIixgI3RYPHpih8=; b=Ak147pvNxrWzKzF/ZnhlhDCJlregz6iBA0eSmQqeTf6kbNm86kHyUj67O84bkUGuqH W1fILI3dST11PHYKrvHg==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=PB+mm8e2fxWlDX41R77w554HIdZaER7Cp9GpDGSMA+s2SL1miNMPZF0ze0H7nFhxts B4/OrqRCuofvTVFDtUBQ==
Received: by 10.224.11.6 with SMTP id r6mr3157668qar.210.1283193526515; Mon, 30 Aug 2010 11:38:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.124.71 with HTTP; Mon, 30 Aug 2010 11:38:26 -0700 (PDT)
In-Reply-To: <AANLkTimafQgtOSTpKu2E-57jClCcZv9yE7_CbaJRKSTu@mail.gmail.com>
References: <1215224143.1688.1276914456927.JavaMail.root@dogfood.zimbra.com> <C6A55EC7-8489-488C-9FD4-0E0718A8C7BF@iki.fi> <AANLkTinL2qLU5RZVrxzfUo2QW3dB80H9SBbmC9axDOpy@mail.gmail.com> <4C21D97F.5050806@isode.com> <AANLkTilZSXG0z2ol2PFsNv45Cxry28_Oh_iBGX9efDoo@mail.gmail.com> <4C224914.4070706@isode.com> <AANLkTikPqoNWAVgi-wIY7TAg_l4vaATviqxusUrLiAGh@mail.gmail.com> <4C226E22.5000007@isode.com> <AANLkTimafQgtOSTpKu2E-57jClCcZv9yE7_CbaJRKSTu@mail.gmail.com>
From: =?UTF-8?B?SmFtaWUgTmljb2xzb24gKOWAquW/l+aYjik=?= <nicolson@google.com>
Date: Mon, 30 Aug 2010 11:38:26 -0700
Message-ID: <AANLkTi=P=FyEmjNR=qcY3t2hdzyQ54H_3hd0ex-g-9xX@mail.gmail.com>
To: barryleiba@computer.org
Content-Type: multipart/alternative; boundary=0015175cb1d4537b87048f0ec687
X-System-Of-Record: true
Cc: morg@ietf.org
Subject: Re: [MORG] I-D Action:draft-ietf-morg-list-specialuse-02.txt
X-BeenThere: morg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Messaging Organization <morg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/morg>
List-Post: <mailto:morg@ietf.org>
List-Help: <mailto:morg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/morg>, <mailto:morg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Aug 2010 18:38:23 -0000

--0015175cb1d4537b87048f0ec687
Content-Type: text/plain; charset=ISO-8859-1

I just re-read this thread and realized there was an unanswered question
addressed to me. Sorry about that. Barry, let me know if there's other ways
I can help with this spec.

On Wed, Jun 23, 2010 at 13:59, Barry Leiba <
barryleiba.mailing.lists@gmail.com> wrote:

> >> I oppose that change, and would like to keep CREATE optional.  I don't
> >> want to set up a barrier for doing the extended-LIST implementation.
> >>
> >
> > To be clear: there is no need to implement the whole extended LIST. The
> > server can only implement handling of the new select and return options.
>
> That's still backward; it's not a question of needing to implement
> extended LIST.  The issue is, for a server that *does* implement
> extended LIST, whether implementing CREATE becomes mandatory.  I want
> it to remain optional, and so I think we need a second capability for
> it.
>

To me, it does seem valuable to separate the capabilities. For Google,
implementing extended list is more likely than supporting CREATE with
special-use flags. If I understand correctly, we wouldn't be able to
advertise support for the special-use return option without also supporting
CREATE with special-use flags.



>
> Barry
> _______________________________________________
> MORG mailing list
> MORG@ietf.org
> https://www.ietf.org/mailman/listinfo/morg
> Note Well: http://www.ietf.org/maillist.html
>

--0015175cb1d4537b87048f0ec687
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I just re-read this thread and realized there was an unans=
wered question addressed to me. Sorry about that. Barry, let me know if the=
re&#39;s other ways I can help with this spec.<br><br><div class=3D"gmail_q=
uote">

On Wed, Jun 23, 2010 at 13:59, Barry Leiba <span dir=3D"ltr">&lt;<a href=3D=
"mailto:barryleiba.mailing.lists@gmail.com">barryleiba.mailing.lists@gmail.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class=3D"im">&gt;&gt; I oppose that change, and would like to keep CRE=
ATE optional. =A0I don&#39;t<br>
&gt;&gt; want to set up a barrier for doing the extended-LIST implementatio=
n.<br>
&gt;&gt;<br>
&gt;<br>
&gt; To be clear: there is no need to implement the whole extended LIST. Th=
e<br>
&gt; server can only implement handling of the new select and return option=
s.<br>
<br>
</div>That&#39;s still backward; it&#39;s not a question of needing to impl=
ement<br>
extended LIST. =A0The issue is, for a server that *does* implement<br>
extended LIST, whether implementing CREATE becomes mandatory. =A0I want<br>
it to remain optional, and so I think we need a second capability for<br>
it.<br></blockquote><div><br></div><div>To me, it does seem valuable to sep=
arate the capabilities. For Google, implementing extended list is more like=
ly than supporting CREATE with special-use flags. If I understand correctly=
, we wouldn&#39;t be able to advertise support for the special-use return o=
ption without also supporting CREATE with special-use flags.</div>

<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color=3D"#888888"><br>
Barry<br>
</font><div><div></div><div class=3D"h5">__________________________________=
_____________<br>
MORG mailing list<br>
<a href=3D"mailto:MORG@ietf.org">MORG@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/morg" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/morg</a><br>
Note Well: <a href=3D"http://www.ietf.org/maillist.html" target=3D"_blank">=
http://www.ietf.org/maillist.html</a><br>
</div></div></blockquote></div><br></div>

--0015175cb1d4537b87048f0ec687--
