Re: [sieve] Sieve include: interactions with MIME loops
NED+mta-filters@mauve.mrochek.com Tue, 24 January 2012 01:03 UTC
Return-Path: <NED+mta-filters@mauve.mrochek.com>
X-Original-To: sieve@ietfa.amsl.com
Delivered-To: sieve@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88CB421F85C3 for <sieve@ietfa.amsl.com>; Mon, 23 Jan 2012 17:03:15 -0800 (PST)
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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id goczsoCOmoyX for <sieve@ietfa.amsl.com>; Mon, 23 Jan 2012 17:03:15 -0800 (PST)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by ietfa.amsl.com (Postfix) with ESMTP id 04D6121F85BD for <sieve@ietf.org>; Mon, 23 Jan 2012 17:03:15 -0800 (PST)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01OB4UBU1HR4006QMA@mauve.mrochek.com> for sieve@ietf.org; Mon, 23 Jan 2012 17:03:08 -0800 (PST)
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset="iso-8859-1"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01OB4EQF85J400ZUIL@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for sieve@ietf.org; Mon, 23 Jan 2012 17:03:00 -0800 (PST)
From: NED+mta-filters@mauve.mrochek.com
Message-id: <01OB4UBRD5QU00ZUIL@mauve.mrochek.com>
Date: Mon, 23 Jan 2012 17:00:17 -0800
In-reply-to: "Your message dated Mon, 23 Jan 2012 16:25:44 -0800" <CAEdAYKWMP2e3UJPCvPH4BwAgvJV3f+5-8UX-gSrzsDHU1OtvQA@mail.gmail.com>
References: <4F1ABE14.5020601@isode.com> <CAEdAYKWMP2e3UJPCvPH4BwAgvJV3f+5-8UX-gSrzsDHU1OtvQA@mail.gmail.com>
To: Aaron Stone <aaron@serendipity.cx>
Cc: Sieve mailing list <sieve@ietf.org>
Subject: Re: [sieve] Sieve include: interactions with MIME loops
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIEVE Working Group <sieve.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 24 Jan 2012 01:03:15 -0000
> On Sat, Jan 21, 2012 at 5:31 AM, Alexey Melnikov > <alexey.melnikov@isode.com> wrote: > > I am looking at the new text in draft-ietf-sieve-include-14.txt: > > > > 3.5. Interaction with Other Extensions > > > > When "include" is used with the Editheader extension [RFC5293], any > > changes made to headers in a script MUST be propagated both to and > > from included scripts. By way of example, if a script deletes one > > header and add another, then includes a second script, the included > > script MUST NOT see the removed header, and MUST see the added > > header. Likewise, if the included script adds or removes a header, > > upon returning to the including script, subsequent actions MUST see > > the added headers and MUST NOT see the removed headers. > > > > When "include" is used with the MIME extension [RFC5703] > > "foreverypart" control structure, the included script MUST be > > presented with the current MIME part as though it were the entire > > message. A script SHALL NOT have any special control over the > > control structure it was included from. In the MIME example once > > again, a "stop" or "return" in an included script cannot directly > > terminate or continue flow of a "foreverypart" block. In such a > > case, the included script should set a global variable that the > > including script can test. > > > > This makes me think that it is not clear what effect the "reject" action > > would have if called in an included script within a "foreverypart" block. > > What does it mean to "reject" a particular body part of a message? > I think it should immediately halt the script chain and reject the > entire message. I don't agree; I think it should simply set reject as the script result and continue. It's possible that some other action that's compatible with reject (e.g., notify) would be done later. If you want it to halt you can put stop after the reject. > I think stop does the same, except with the implicit > keep as the default. Right, but stop should be the only thing that terminates execution. > Some text in an additional "interactions with other extensions" > subsection should state this. > Oh man, here goes another rev. Good thing they're cheap. Ned
- [sieve] Sieve include: interactions with MIME loo… Alexey Melnikov
- Re: [sieve] Sieve include: interactions with MIME… Aaron Stone
- Re: [sieve] Sieve include: interactions with MIME… NED+mta-filters
- Re: [sieve] Sieve include: interactions with MIME… Aaron Stone
- Re: [sieve] Sieve include: interactions with MIME… Barry Leiba
- Re: [sieve] Sieve include: interactions with MIME… Aaron Stone
- Re: [sieve] Sieve include: interactions with MIME… NED+mta-filters
- Re: [sieve] Sieve include: interactions with MIME… Barry Leiba