Re: draft-ietf-sieve-mime-loop: Multiple Enclose actions on the same bodypart

Tony Hansen <tony@att.com> Mon, 15 September 2008 16:05 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 60E7B3A6A7F for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon, 15 Sep 2008 09:05:02 -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 wHRmWkbjPlte for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon, 15 Sep 2008 09:05: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 F275D3A6BA2 for <sieve-archive-Aet6aiqu@ietf.org>; Mon, 15 Sep 2008 09:05: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 m8FFtapo061573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Sep 2008 08:55:36 -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 m8FFtaJA061572; Mon, 15 Sep 2008 08:55:36 -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 mail146.messagelabs.com (mail146.messagelabs.com [216.82.245.3]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8FFtO3e061561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-mta-filters@imc.org>; Mon, 15 Sep 2008 08:55:35 -0700 (MST) (envelope-from tony@att.com)
X-VirusChecked: Checked
X-Env-Sender: tony@att.com
X-Msg-Ref: server-2.tower-146.messagelabs.com!1221494122!9491597!1
X-StarScan-Version: 5.5.12.14.2; banners=-,-,-
X-Originating-IP: [144.160.128.141]
Received: (qmail 29912 invoked from network); 15 Sep 2008 15:55:23 -0000
Received: from sbcsmtp9.sbc.com (HELO flph161.enaf.ffdc.sbc.com) (144.160.128.141) by server-2.tower-146.messagelabs.com with AES256-SHA encrypted SMTP; 15 Sep 2008 15:55:23 -0000
Received: from enaf.ffdc.sbc.com (localhost.localdomain [127.0.0.1]) by flph161.enaf.ffdc.sbc.com (8.14.2/8.14.2) with ESMTP id m8FFtMVB024836 for <ietf-mta-filters@imc.org>; Mon, 15 Sep 2008 08:55:22 -0700
Received: from klph001.kcdc.att.com (klph001.kcdc.att.com [135.188.3.11]) by flph161.enaf.ffdc.sbc.com (8.14.2/8.14.2) with ESMTP id m8FFtI3L024762 for <ietf-mta-filters@imc.org>; Mon, 15 Sep 2008 08:55:18 -0700
Received: from kcdc.att.com (localhost.localdomain [127.0.0.1]) by klph001.kcdc.att.com (8.14.0/8.14.0) with ESMTP id m8FFtHsL014443 for <ietf-mta-filters@imc.org>; Mon, 15 Sep 2008 10:55:17 -0500
Received: from maillennium.att.com (mailgw1.maillennium.att.com [135.25.114.99]) by klph001.kcdc.att.com (8.14.0/8.14.0) with ESMTP id m8FFtDGT014335 for <ietf-mta-filters@imc.org>; Mon, 15 Sep 2008 10:55:13 -0500
Received: from [135.91.110.222] (th1395-n.ugd.att.com[135.91.110.222](untrusted sender)) by maillennium.att.com (mailgw1) with ESMTP id <20080915155512gw1003sn43e> (Authid: tony); Mon, 15 Sep 2008 15:55:12 +0000
Message-ID: <48CE8560.2010809@att.com>
Date: Mon, 15 Sep 2008 11:55:12 -0400
From: Tony Hansen <tony@att.com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: MTA filtering mailing list <ietf-mta-filters@imc.org>
Subject: Re: draft-ietf-sieve-mime-loop: Multiple Enclose actions on the same bodypart
References: <48CD65FA.90702@isode.com>
In-Reply-To: <48CD65FA.90702@isode.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
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>

Any suggested modifications to the text?

	Tony Hansen
	tony@att.com

Alexey Melnikov wrote:
> 
> Folks,
> While reviewing the mailing list archive I've stumbled across an old
> message from Nigel Swinson which I don't think received adequate
> considerations. Nigel wrote in August 2007:
> 
>> 6.  Action Enclose
>>  
>>
> [...]
> 
>> The text implies that enclose happens immediately, and therefore
>> subsequent
>> actions affecting the message header/content apply to the enclosing
>> message,
>> but then it goes on to say if there are multiple enclose actions, then
>> it's
>> only the last one that will win.  This means if I have an enclose action,
>> I'll have to remember that the outer body part is the new "enclosing"
>> body
>> part, and should I get another enclose action then I should "replace"
>> that
>> enclosing body part rather than enclose the message yet again such
>> that it
>> has two layers of enclosing.
>>
>> This sounds like a real hassle to implement for questionable utility, I'd
>> rather two enclose actions just add two layers of enclosing mime
>> structure
>> and body text body parts be present.  Just like they would if the message
>> goes through two separate Sieve scripts, both of which add an enclose.
>>  
>>
> Speaking as an implementor I would like to second this. Do we need this
> extra complexity? If an implementation doesn't want to enclose a
> bodypart twice, it can either use Sieve variables, or construct a
> different Sieve script.
> 
>> Either that or define that the enclose action should happen at the end of
>> the script and therefore doesn't affect the mime structure during the
>> existing processing (that might even be inside a for_every_part
>> construct).
>>  
>>
>> I'd actually suggest we leave it to the implementation like we do for
>> fileinto.  The implementation can choose to have the enclose happen
>> immediately, or at the end.
>>  
>>
> 
>