Re: [draft-melnikov-sieve-external-lists] 2.2 Allow Extensions To Use List

Robert Burrell Donkin <robertburrelldonkin@gmail.com> Fri, 31 July 2009 09:08 UTC

Return-Path: <owner-ietf-mta-filters@mail.imc.org>
X-Original-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Delivered-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7661E3A698A for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Fri, 31 Jul 2009 02:08:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 jyqnxq8mNUI2 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Fri, 31 Jul 2009 02:08:01 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 4E94E3A68B4 for <sieve-archive-Aet6aiqu@ietf.org>; Fri, 31 Jul 2009 02:08:00 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n6V8wj9n053665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 31 Jul 2009 01:58:45 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n6V8wj51053664; Fri, 31 Jul 2009 01:58:45 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n6V8wgtK053651 for <ietf-mta-filters@imc.org>; Fri, 31 Jul 2009 01:58:43 -0700 (MST) (envelope-from robertburrelldonkin@gmail.com)
Received: by fxm7 with SMTP id 7so1229970fxm.10 for <ietf-mta-filters@imc.org>; Fri, 31 Jul 2009 01:58:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kzfmrrbgALi8qIT7X2EwZ3KXGa9URS7f0ZX2ptX15nw=; b=oKxk5JzTWGE21UwQIy7bLmJQnrjMlh9NcH/CvpkqV+5ESWd2DZvhFaHRybBC1zd6iX 2pUrvMI0JW51o1XtT2tU1iYumiEtuNoZR042OtUq6PGzjmNz46XDze9SC9bv/4PM8/Gn 8mdXvO7FsthKFI1jQU1xHQUKN3ag9Iugl5GZQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZpEvpEAQyACAAjFWTiFzWgCnoQtaInwJH/nsi/dJYZ4LXWj2TN5Wi9jR8CIoXbfZzm GK4BjzZvcI54Uj4O0nXNtkJdqDL+MQrr1VduVAAuAYp4TfES55tWDcCgeaiu3JiTY6IY XQJuhQnKzO4TvZwj0ZYP2JKMwrTCaUMQuvQ4A=
MIME-Version: 1.0
Received: by 10.204.102.14 with SMTP id e14mr2465147bko.183.1249030721876; Fri, 31 Jul 2009 01:58:41 -0700 (PDT)
In-Reply-To: <6c9fcc2a0907301036t3f96bedehb27c56632d0a987b@mail.gmail.com>
References: <f470f68e0907300524w6116f6aet4ce9b95546486862@mail.gmail.com> <01NBX999C2K200007A@mauve.mrochek.com> <6c9fcc2a0907301036t3f96bedehb27c56632d0a987b@mail.gmail.com>
Date: Fri, 31 Jul 2009 09:58:41 +0100
Message-ID: <f470f68e0907310158h1f8d935ax57ab90fd19c8d581@mail.gmail.com>
Subject: Re: [draft-melnikov-sieve-external-lists] 2.2 Allow Extensions To Use List
From: Robert Burrell Donkin <robertburrelldonkin@gmail.com>
To: barryleiba@computer.org
Cc: MTA filtering mailing list <ietf-mta-filters@imc.org>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>

On Thu, Jul 30, 2009 at 6:36 PM, Barry
Leiba<barryleiba.mailing.lists@gmail.com> wrote:
>> Require implementations to raise a compile time error when list
>> is used with an unsupported test.
>
> That's already what happens when there are such errors in scripts.
> Why should we say it explicitly here, and not everywhere else?

philosophically, i believe in full and complete specifications, with
any areas of variance clearly indicated

practically, as the draft 00 stands, i feel that an implementator
might reasonably elect to test the combination of test and match-type
at compile time, at run time or not verify the condition at all. my
strong preference would be to just issue a warning with an option for
raising a runtime error.

so, though my implementation preference would be excluded by this
proposal, at least the expected behaviour would be clearly specified

>>    Implementations MAY support other tests but MUST raise a compile
>>    time error when a script contains any standard test where support has
>>    not been explicitly specified.
>
> Not explicitly specified by whom?  How?

yes - i'm not happy with the wholley language either

probably better just to specify those tests which should not be supported

> How does this make scripts portable?

i'm a little confused by this

when a script contains an extension, it will only compile on engines
that support that extension. asking extensions to abide by the
description of list in this draft (if they support it) means that at
least that may be relied upon by the script writer.

> This seems to encourage private
> extensions, which has really become a thorn in the web.

an extremely controversial statement ATM (but i'm going to avoid
taking the bait)

happily, sieve is extensible so this philosophical question has
already been resolved in the original specification. i think that a
revision of RFC 5228 would be the right place to start for anyone who
disagrees with this fundamental design decision.

what needs to be decided by this working group is whether the group
thinks that list should work uniformly across all extensions

- robert