Re: [sieve] Notify (RFC 5435) questions

NED+mta-filters@mauve.mrochek.com Mon, 05 October 2009 22:30 UTC

Return-Path: <NED+mta-filters@mauve.mrochek.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 1BAB43A686E for <sieve@core3.amsl.com>; Mon, 5 Oct 2009 15:30:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.538
X-Spam-Level:
X-Spam-Status: No, score=-2.538 tagged_above=-999 required=5 tests=[AWL=0.061, 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 3peHzykl-e0I for <sieve@core3.amsl.com>; Mon, 5 Oct 2009 15:30:29 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by core3.amsl.com (Postfix) with ESMTP id 0F8153A6407 for <sieve@ietf.org>; Mon, 5 Oct 2009 15:30:29 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NEJACUDEXS0003SV@mauve.mrochek.com> for sieve@ietf.org; Mon, 5 Oct 2009 15:32:02 -0700 (PDT)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NEJ19RR0BK0000BF@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for sieve@ietf.org; Mon, 05 Oct 2009 15:31:59 -0700 (PDT)
Date: Mon, 05 Oct 2009 15:31:11 -0700
From: NED+mta-filters@mauve.mrochek.com
In-reply-to: "Your message dated Mon, 05 Oct 2009 14:53:25 -0700" <alpine.BSO.2.00.0910051445010.12975@vanye.sendmail.com>
To: Philip Guenther <guenther+mtafilters@sendmail.com>
Message-id: <01NEJACSKIWE0000BF@mauve.mrochek.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN
Content-transfer-encoding: 7bit
References: <20090928143651.GB31810@schlund.de> <6c9fcc2a0909281032g16368fdco2c94185e619380ce@mail.gmail.com> <01NE9GPFVRXE00B359@mauve.mrochek.com> <6c9fcc2a0909282155lad81ccfvae10a5462dbfe258@mail.gmail.com> <29d3c4cb0910011423s3eb0f4a5q159edf4b73404815@mail.gmail.com> <6c9fcc2a0910050626m4b2965b0o1d4c787d67b05171@mail.gmail.com> <01NEIV1RFUPS00004A@mauve.mrochek.com> <A613263E-867F-460D-969A-67D1C390C8C2@serendipity.cx> <01NEJ33W052K0000BF@mauve.mrochek.com> <6c9fcc2a0910051418y7c4a35e5oa8145d48229e306f@mail.gmail.com> <alpine.BSO.2.00.0910051445010.12975@vanye.sendmail.com>
Cc: Ned Freed <ned.freed@mrochek.com>, barryleiba@computer.org, sieveietforg <sieve@ietf.org>, Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: [sieve] Notify (RFC 5435) questions
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: Mon, 05 Oct 2009 22:30:31 -0000

> On Mon, 5 Oct 2009, Barry Leiba wrote:
> ...
> > But I still contend the definition in 5229 of what bits of the core
> > 5228 syntax can be replaced by variables isn't sufficiently clear.
> > Unfortunately, (1) we all know what we meant, and (2) neither of us
> > has yet come up with text that cleanly fixes the issue.
> >
> > As an aside, there *is* an unarguable erratum in 5229: where the text
> > says "multi-line-dotstuff" it should be "multiline-dotstart", and
> > where it says "multi-line-literal" it should say "multiline-literal".

> Yep, those are clearly typos.


> > For an example of the problem of clarity, let's look at an example from
> > 5229:
> >
> >           fileinto "INBOX.lists.${2}"; stop;
> >
> > I contend that's not valid from a strict reading of the grammar,
> > though we clearly want to allow it.  We've said that a variable can
> > stand in for a "quoted-string", but we did not say it could stand in
> > for a PORTION of a quoted string -- specifically, for a quoted-text
> > construction (and I'm not sure even that would do it, given the 5228
> > grammar).

> Umm, what?  5229, section 3p2 says:
>    When a string is evaluated, substrings matching variable-ref SHALL be
>    replaced by the value of variable-name.

> *Substrings* matching variable-ref are replaced.  That seems to me to be
> an explict statement declaration that it "stands in" for a portion of a
> string.  Where do you see syntax or requirements that say that the entire
> string must match the variable-ref syntax?


> > I'll also note that since we don't include "number" in the
> > constructions that can be substituted, we can't use variables in the
> > "size" test, for example.  So this is syntactically invalid:
> >
> >        if size :over ${max} {
> >            discard;
> >        }
> >
> > I'm not sure whether or not that was intended.

> I seemed clear enough to me at the time.  The fact that we call out the
> syntax elements for quoted-string and multiline strings would seem to back
> up that people knew we were just talking about strings.

In case it isn't obvious, I will also point out that this is a change to core
Sieve syntax. That's a very big deal and not a change to be considered lightly.

				Ned