Re: [sieve] Question about draft-ietf-sieve-external-lists-02

Alexey Melnikov <alexey.melnikov@isode.com> Wed, 04 August 2010 09:45 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sieve@core3.amsl.com
Delivered-To: sieve@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ED0D83A69D6 for <sieve@core3.amsl.com>; Wed, 4 Aug 2010 02:45:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.281
X-Spam-Level:
X-Spam-Status: No, score=-2.281 tagged_above=-999 required=5 tests=[AWL=0.318, 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 5MaJtBZdxsL7 for <sieve@core3.amsl.com>; Wed, 4 Aug 2010 02:45:32 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id F01F73A6984 for <sieve@ietf.org>; Wed, 4 Aug 2010 02:45:29 -0700 (PDT)
Received: from [188.28.67.237] (188.28.67.237.threembb.co.uk [188.28.67.237]) by rufus.isode.com (submission channel) via TCP with ESMTPA id <TFk21ABb2GCn@rufus.isode.com>; Wed, 4 Aug 2010 10:45:57 +0100
Message-ID: <4C5936D6.1000502@isode.com>
Date: Wed, 04 Aug 2010 11:45:58 +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: Jeffrey Hutzelman <jhutz@cmu.edu>
References: <4C500AB3.7040808@rename-it.nl> <01NQ4OHCU1HE00004A@mauve.mrochek.com> <18437_1280824505_o738Z4AF020978_4C57D4A6.1080902@rename-it.nl> <E6ACF2B10BCC81BCB369A119@minbar.fac.cs.cmu.edu>
In-Reply-To: <E6ACF2B10BCC81BCB369A119@minbar.fac.cs.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Ned Freed <ned.freed@mrochek.com>, sieve@ietf.org
Subject: Re: [sieve] Question about draft-ietf-sieve-external-lists-02
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIEVE Working Group <sieve.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sieve>, <mailto:sieve-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sieve>
List-Post: <mailto:sieve@ietf.org>
List-Help: <mailto:sieve-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sieve>, <mailto:sieve-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Aug 2010 09:45:34 -0000

Jeffrey Hutzelman wrote:
> --On Tuesday, August 03, 2010 10:34:46 AM +0200 Stephan Bosch 
> <stephan@rename-it.nl> wrote:
>>> There's also the possibility of doing something akin to how the
>>> current regex
>>> draft uses comparators - as a means of identifying a canonicalization
>>> and what
>>> constitutes a unit of comparison. Do we want to allow that sort of use
>>> with
>>> :list?
>> Hmm, well.... why not? I suggest we make it an error only when the list
>> has no explicit use for it, meaning that implementors MAY accept
>> comparators for an external list, but MUST trigger an error when the 
>> list
>> does not use the specified comparator or the comparator is incompatible
>> somehow.
>>
>> I guess the main question is: what would be the disadvantage of 
>> providing
>> more flexibility to the implementor for the interaction of :list with
>> comparators?
> This sounds like an interoperability nightmare.  You describe a 
> situation where a SIEVE implementation has the option to accept 
> comparators or not, but if not, then providing them is an error, and 
> there is no way for the producer of the sieve script to know in 
> advance what will happen.
>
> This is _not_ analogous to comparators that work with :is but not with 
> :matches or :contains, because you can know from the specifications 
> which combinations are acceptable and which will produce errors.
Good point. Before I saw your message Stephan almost got me convinced 
otherwise.