
From owner-ietf-mta-filters@mail.imc.org  Mon May  4 14:29:34 2009
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 BE17F3A6CA1 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon,  4 May 2009 14:29:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.588
X-Spam-Level: 
X-Spam-Status: No, score=-2.588 tagged_above=-999 required=5 tests=[AWL=0.011, 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 zOZfwkNdPgrx for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon,  4 May 2009 14:29:34 -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 C32393A6AE2 for <sieve-archive-Aet6aiqu@ietf.org>; Mon,  4 May 2009 14:29:32 -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 n44LKY95079008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 14:20:34 -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 n44LKYxh079007; Mon, 4 May 2009 14:20:34 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n44LKUom078991 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 14:20:33 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 2A4F684F0; Mon,  4 May 2009 14:24:51 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 04 May 2009 14:24:51 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Cc: ietf-mta-filters@imc.org, Stephan Bosch <stephan@rename-it.nl>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <49E04E83.20001@rename-it.nl>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl>
Message-ID: <4657335a94cef6c214b25b4078af218f@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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>

I'm posting draft-ietf-managesieve-02 that addresses these comments. Thank
you!

On Tue, 14 Apr 2009 15:36:20 +0200, Arnt Gulbrandsen
<arnt@gulbrandsen.priv.no> wrote:
> Aaron Stone answers Stephan Bosch:
>>>  - Where the ManageSieve protocol specifies what characters are 
>>>  allowed for a script name, the include extension for the Sieve 
>>>  language does not. Would it be useful to adopt the same 
>>>  limitations? Especially things like '/' can cause problems.
>>
>> Good suggestion. I think this makes sense to give a consistent opinion 
>> on what script names should look like, but on the other hand, perhaps 
>> it's possible that someone isn't using ManageSieve but IS using 
>> include and might need to get at weird names? Do we care in that 
>> case?
> 
> If so, then they probably will use managesieve at some point anyway.
> 
>>>  - The global command is required to follow 'require' or another 
>>>  global command. I am worried what happens when other extensions 
>>>  have commands with similar requirements. Shouldn't we account for 
>>>  this eventuality?
>>
>> I don't like this restriction anyways. Any objection to lifting it?
> 
> (I don't feel qualified to have an opinion on this issue.)
> 
>>>  - The scope of the :once modifier could be a bit confusing. I am  
>>>  assuming it holds for the whole Sieve execution and not only for 
>>>  the identical include commands within the current script.
>>
>> Correct. Could you suggest how I might clarify that it's the whole 
>> execution? I feel like I'm missing the right word for being inside 
>> one file vs. being inside one delivery/execution instance.
> 
> I think that's enough of an issue that it's worth a whole sentence or
two.
> 
> I like precise words. But sometimes you can be as precise as you want, 
> and someone will read the text after being up half the night with the 
> crying baby and won't get it.
> 
> Or zero words perhaps. Why is :once justified? is "mandatory :once" or 
> ":once not supported" good enough?
> 
> Arnt


From owner-ietf-mta-filters@mail.imc.org  Mon May  4 14:39:41 2009
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 64B113A7137 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon,  4 May 2009 14:39:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.093
X-Spam-Level: 
X-Spam-Status: No, score=-103.093 tagged_above=-999 required=5 tests=[AWL=1.206, BAYES_00=-2.599, MANGLED_TOOL=2.3, 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 AG1uvScoN5-d for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon,  4 May 2009 14:39:12 -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 3EA983A6C5E for <sieve-archive-Aet6aiqu@ietf.org>; Mon,  4 May 2009 14:39:12 -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 n44LVSkq079592 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 14:31:28 -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 n44LVSuD079591; Mon, 4 May 2009 14:31:28 -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.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n44LVStC079585 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 14:31:28 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 6B4963A6CA1; Mon,  4 May 2009 14:30:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-mta-filters@imc.org
Subject: I-D Action:draft-ietf-sieve-include-02.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090504213001.6B4963A6CA1@core3.amsl.com>
Date: Mon,  4 May 2009 14:30:01 -0700 (PDT)
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Sieve Mail Filtering Language Working Group of the IETF.


	Title           : Sieve Email Filtering: Include Extension
	Author(s)       : C. Daboo, A. Stone
	Filename        : draft-ietf-sieve-include-02.txt
	Pages           : 12
	Date            : 2009-05-04

The Sieve Email Filtering "include" extension permits users to
include one Sieve script inside another.  This can make managing
large scripts or multiple sets of scripts much easier, and allows a
site and its users to build up libraries of scripts.  Users are able
to include their own personal scripts or site-wide scripts.

Change History (to be removed prior to publication as an RFC)

Changes from ietf-01 to ietf-02:
a.  Require that script names must be constant strings, not subject

 to variable expansion.
b.  Try the phrase immediate script instead of current script.
c.  Clarify that "global 'varname'" and "global.varname" refer to the

 same variable.
d.  Drop the requirement the global keywords come after require and

 before anything else.

Changes from ietf-00 to ietf-01:
a.  Replaced import/export with global.
b.  Added :once modifier to include.
c.  Added global namespace to see if it holds water.

Changes from daboo-06 to ietf-00:
a.  None

Changes from -05 to -06:
a.  Aaron Stone joins as author.
b.  Removed | characters from the script examples.
c.  Updated draft references to published RFCs.

Changes from -04 to -05:
a.  Fixed examples.
b.  Relaxed requirement that imported/exported variables be set

 before being used.

Changes from -03 to -04:
a.  Fixed missing 2119 definitions.
b.  Defined interaction with variables through use of import and

 export commands.

Changes from -02 to -03:
a.  Refreshing expired draft (updated for nits).
b.  Syntax -> Usage.
c.  Updated to 3028bis reference.

Changes from -01 to -02:
a.  Minor formatting changes only - refreshing expired draft.

Changes from -00 to -01:
a.  Added IPR boiler plate.
b.  Re-ordered sections at start to conform to RFC style.
c.  Moved recursion comment into General Considerations section.
d.  Switched to using optional parameter to indicate personal vs

 global.
e.  Explicitly state that an error occurs when a missing script is

 included.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sieve-include-02.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-sieve-include-02.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:     <2009-05-04142218.I-D@ietf.org>

--NextPart--


From owner-ietf-mta-filters@mail.imc.org  Mon May  4 15:06:23 2009
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 0CB123A68C9 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon,  4 May 2009 15:06:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.59
X-Spam-Level: 
X-Spam-Status: No, score=-2.59 tagged_above=-999 required=5 tests=[AWL=0.010, 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 3-JVYkn77ZYb for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon,  4 May 2009 15:06:22 -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 691E53A6C6D for <sieve-archive-Aet6aiqu@ietf.org>; Mon,  4 May 2009 15:06:21 -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 n44LKYep079002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 14:20:34 -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 n44LKYWU079001; Mon, 4 May 2009 14:20:34 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n44LKMVn078986 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 14:20:33 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 3D3E97080; Mon,  4 May 2009 14:24:42 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 04 May 2009 14:24:41 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Stephan Bosch <stephan@rename-it.nl>
Cc: SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <49E04E83.20001@rename-it.nl>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl>
Message-ID: <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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>

I'm posting draft-ietf-managesieve-02 that addresses these comments. Thank
you!

On Sat, 11 Apr 2009 10:02:11 +0200, Stephan Bosch <stephan@rename-it.nl>
wrote:
> Hi Aaron,
> 
> Aaron Stone wrote:
>> Thanks for your comments. I'd been preparing to send an email to the
list
>> announcing the changes and requesting feedback. You've touched on all
the
>> good points. So let's run with this thread!
>> 
>> On Sat, 11 Apr 2009 01:39:58 +0200, Stephan Bosch <stephan@rename-it.nl>
>> wrote:
>>> First of all, I am very glad that the work on the specification is
being
>>>
>>> continued now. This week I quickly updated my implementation to match 
>>> the new specification. Merging import and export into a single global 
>>> command is a good choice. The use of a global variable namespace is
also
>>>
>>> a good idea (but I did not implement that yet).
>> 
>> I actually wonder if we should drop the global keyword and rely on
>> namespaces entirely.
> The global namespace has one disadvantage: it makes all global variable 
> names longer ('global.*'). Especially when a variable is used often in a 
> script, this may become tedious. Using the global command, it is 
> possible to pull global variables into the script namespace, which is 
> convenient in such situations. I guess it would be best to support both 
> methods of accessing global variables (and to even allow mixing these 
> freely).
> 
>>> - Where the ManageSieve protocol specifies what characters are allowed 
>>> for a script name, the include extension for the Sieve language does 
>>> not. Would it be useful to adopt the same limitations? Especially
things
>>>
>>> like '/' can cause problems.
>> 
>> Good suggestion. I think this makes sense to give a consistent opinion
on
>> what script names should look like, but on the other hand, perhaps it's
>> possible that someone isn't using ManageSieve but IS using include and
>> might need to get at weird names? Do we care in that case?
> You can also make it a recommendation. As long as implementers know that 
> there is some consensus about what a script name is supposed to be and 
> that script names should not be mapped directly to files for security 
> reasons.
> 
>>> - The global command is required to follow 'require' or another global 
>>> command. I am worried what happens when other extensions have commands 
>>> with similar requirements. Shouldn't we account for this eventuality? 
>> I don't like this restriction anyways. Any objection to lifting it?
> Hmm, interesting suggestion. The main implication of this is that the 
> inclusion of global variables into the script namespace can become 
> conditional, i.e. when it is placed into an if statement. I don't know 
> whether this is desirable.
> 
> You could also state that the global command needs to be placed after 
> require commands or any command that also needs to be placed directly 
> below the require commands (choose better wording though). This implies 
> no ordering between the commands that follow the require section, 
> avoiding problems with future commands with similar needs.
> 
>>> - Are there any special security implications for using variables in
the
>>>
>>> value argument in the include command, i.e. to include a script 
>>> specified by a variable? Is that even (intended to be) allowed?
>> 
>> Oh, that's a good question. That'd be an easy vector for contamination
of
>> email contents into a filesystem request. Can we reasonably place such a
>> restriction, though? I'd hate to force implementations to special-case
>> their string expansions.
> Other extensions already have such limitations (e.g. notify) and the 
> variables extension explicitly states that future commands may choose 
> not to allow variables in some of their arguments (the so-called 
> constant string). However, I agree that we should not limit the 
> flexibility of the command more than necessary. Perhaps an explicit 
> mention in the Security Considerations section would suffice to cover 
> our bases.
> 
> On the other hand, one may argue how useful it is to use variables in 
> the include argument in the first place: there are a (known) limited 
> amount of scripts in the Sieve storage and making choices can be done 
> using if commands surrounding multiple alternative include commands.
> 
> People using variables could even make their scripts highly unreliable, 
> since include commands kill Sieve execution when the indicated script 
> does not exist. Perhaps in combination with an ':optional' modifier, 
> variables could be used to change the behavior of a script without 
> actually modifying it. For instance, when a script is added to the Sieve 
> store with a name that matches the sender address, it is included 
> automatically when a message from that person comes in. That sounds a 
> bit freaky though :)
> 
>>> - The scope of the :once modifier could be a bit confusing. I am 
>>> assuming it holds for the whole Sieve execution and not only for the 
>>> identical include commands within the current script.
>> 
>> Correct. Could you suggest how I might clarify that it's the whole
>> execution? I feel like I'm missing the right word for being inside one
>> file
>> vs. being inside one delivery/execution instance.
> I am still not sure what to do here. I guess it is also important to 
> mention that the scope of the :once modifier does not extend into the 
> other scripts of a multiscript sequence (and any scripts included by 
> those).. or does it? For this distinction it matters whether you call it 
> the 'whole Sieve execution', as this would include truly everything.
> 
> Regards,


From owner-ietf-mta-filters@mail.imc.org  Tue May  5 00:00:01 2009
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 40F2B3A6A70 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 00:00:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.591
X-Spam-Level: 
X-Spam-Status: No, score=-2.591 tagged_above=-999 required=5 tests=[AWL=0.008, 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 y5p5-lJMfLmV for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 00:00:00 -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 ED1D03A6407 for <sieve-archive-Aet6aiqu@ietf.org>; Mon,  4 May 2009 23:59:59 -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 n456pH6h010044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 23:51:17 -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 n456pH8Q010043; Mon, 4 May 2009 23:51:17 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n456p5VD009988 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 23:51:15 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 6B26D28B9; Mon,  4 May 2009 23:55:28 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 04 May 2009 23:55:28 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-mta-filters@imc.org, Stephan Bosch <stephan@rename-it.nl>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <4657335a94cef6c214b25b4078af218f@serendipity.cx>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <4657335a94cef6c214b25b4078af218f@serendipity.cx>
Message-ID: <5ce18dfe75eaeb6b4d7b21b830c8945c@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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>

Of course I meant draft-ietf-sieve-INCLUDE-02. I added an informative
reference to managesieve, hence the copy-paste buffer error :)

On Mon, 04 May 2009 14:24:51 -0700, Aaron Stone <aaron@serendipity.cx>
wrote:
> I'm posting draft-ietf-managesieve-02 that addresses these comments.
Thank
> you!
> 
> On Tue, 14 Apr 2009 15:36:20 +0200, Arnt Gulbrandsen
> <arnt@gulbrandsen.priv.no> wrote:
>> Aaron Stone answers Stephan Bosch:
>>>>  - Where the ManageSieve protocol specifies what characters are 
>>>>  allowed for a script name, the include extension for the Sieve 
>>>>  language does not. Would it be useful to adopt the same 
>>>>  limitations? Especially things like '/' can cause problems.
>>>
>>> Good suggestion. I think this makes sense to give a consistent opinion 
>>> on what script names should look like, but on the other hand, perhaps 
>>> it's possible that someone isn't using ManageSieve but IS using 
>>> include and might need to get at weird names? Do we care in that 
>>> case?
>> 
>> If so, then they probably will use managesieve at some point anyway.
>> 
>>>>  - The global command is required to follow 'require' or another 
>>>>  global command. I am worried what happens when other extensions 
>>>>  have commands with similar requirements. Shouldn't we account for 
>>>>  this eventuality?
>>>
>>> I don't like this restriction anyways. Any objection to lifting it?
>> 
>> (I don't feel qualified to have an opinion on this issue.)
>> 
>>>>  - The scope of the :once modifier could be a bit confusing. I am  
>>>>  assuming it holds for the whole Sieve execution and not only for 
>>>>  the identical include commands within the current script.
>>>
>>> Correct. Could you suggest how I might clarify that it's the whole 
>>> execution? I feel like I'm missing the right word for being inside 
>>> one file vs. being inside one delivery/execution instance.
>> 
>> I think that's enough of an issue that it's worth a whole sentence or
> two.
>> 
>> I like precise words. But sometimes you can be as precise as you want, 
>> and someone will read the text after being up half the night with the 
>> crying baby and won't get it.
>> 
>> Or zero words perhaps. Why is :once justified? is "mandatory :once" or 
>> ":once not supported" good enough?
>> 
>> Arnt


From owner-ietf-mta-filters@mail.imc.org  Tue May  5 02:18:44 2009
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 047553A6C1D for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 02:18:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.504
X-Spam-Level: 
X-Spam-Status: No, score=-0.504 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545]
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 U-6ETQ2uYmrj for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 02:18:43 -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 ECB763A70F1 for <sieve-archive-Aet6aiqu@ietf.org>; Tue,  5 May 2009 02:18:42 -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 n4598mpV017792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 02:08:48 -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 n4598mVC017791; Tue, 5 May 2009 02:08:48 -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 cola.rename-it.nl (cola.rename-it.nl [217.119.231.192]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n4598ZeH017774 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 02:08:48 -0700 (MST) (envelope-from stephan@rename-it.nl)
Received: from klara.student.utwente.nl ([130.89.162.218] helo=[10.168.3.2]) by cola.rename-it.nl with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <stephan@rename-it.nl>) id 1M1GdI-0008Nv-1W; Tue, 05 May 2009 11:08:12 +0200
Message-ID: <4A0001EF.3060805@rename-it.nl>
Date: Tue, 05 May 2009 11:07:59 +0200
From: Stephan Bosch <stephan@rename-it.nl>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Aaron Stone <aaron@serendipity.cx>
CC: SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx>
In-Reply-To: <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-RenameIT-MailScanner-VirusScan: Found to be clean
X-RenameIT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.628, required 5, autolearn=not spam, ALL_TRUSTED -0.40, AWL 1.37, BAYES_00 -2.60)
X-RenameIT-MailScanner-From: stephan@rename-it.nl
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>

Hi Aaron,

Aaron Stone wrote:
> I'm posting draft-ietf-managesieve-02 that addresses these comments. Thank
> you!
> 
Ok, looks nice. I'll adjust my implementation as soon as I have some time.

However, as far as I can see, you did not address every issue yet:

- For the global command I would expect text stating that the variables 
extension is required when it is used.

- The scope of the :once modifier could be a bit confusing. I am 
assuming it holds for the whole Sieve execution and not only for the 
identical include commands within the current script. What is the 
interaction with multiscript in this case? I am still not sure what to 
do with this.

- The script examples have various small typos, syntax problems and 
missing require items.

Also, you completely lifted the global command's placement requirements. 
I am not fundamentally opposed to this, but this can make the inclusion 
of a global variable conditional, i.e. inside an if statement. Until I 
actually implement this I won't really know for sure whether there will 
be implementation issues.

And if the possibility for a conditional global command is desired, I 
would expect an explicit mention of this possibility somewhere in the 
command explanation. Now it could come to a surprise to the more naive 
implementer. This also implies that a global variable is not included 
into the local scope until after the first global command that specifies 
it.

Finally, I saw one new typo: Section 4, second paragraph, 'acess'.

Regards,

-- 
Stephan Bosch
stephan@rename-it.nl


From owner-ietf-mta-filters@mail.imc.org  Tue May  5 12:36:31 2009
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 BA59428C275 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 12:36:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.995
X-Spam-Level: 
X-Spam-Status: No, score=-5.995 tagged_above=-999 required=5 tests=[AWL=0.604, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 xoL6zA31QAN6 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 12:36:31 -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 0F97C3A6C8D for <sieve-archive-Aet6aiqu@ietf.org>; Tue,  5 May 2009 12:35:49 -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 n45JPXSW068489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 12:25:33 -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 n45JPXBh068488; Tue, 5 May 2009 12:25:33 -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 jackfruit.srv.cs.cmu.edu (JACKFRUIT.SRV.CS.CMU.EDU [128.2.201.16]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45JPJJE068468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 12:25:32 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from MINBAR.FAC.CS.CMU.EDU (MINBAR.FAC.CS.CMU.EDU [128.2.216.42]) (authenticated bits=0) by jackfruit.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n45JPHd1027472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 15:25:17 -0400 (EDT)
Date: Tue, 05 May 2009 15:25:17 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Stephan Bosch <stephan@rename-it.nl>, Aaron Stone <aaron@serendipity.cx>
cc: SIEVE <ietf-mta-filters@imc.org>, jhutz@cmu.edu
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
Message-ID: <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu>
In-Reply-To: <4A0001EF.3060805@rename-it.nl>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.201.16
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 Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch 
<stephan@rename-it.nl> wrote:

> Also, you completely lifted the global command's placement requirements.
> I am not fundamentally opposed to this, but this can make the inclusion
> of a global variable conditional, i.e. inside an if statement. Until I
> actually implement this I won't really know for sure whether there will
> be implementation issues.
>
> And if the possibility for a conditional global command is desired, I
> would expect an explicit mention of this possibility somewhere in the
> command explanation. Now it could come to a surprise to the more naive
> implementer. This also implies that a global variable is not included
> into the local scope until after the first global command that specifies
> it.


I would expect that a global command has effect only from the command to 
the end of the enclosing scope; as a result, a global inside a conditional 
has effect only on the conditional code, and never on something occurring 
after the conditional, regardless of whether the conditional is taken.

Alternately, a global command could be defined to apply to the entire file 
regardless of where it occurs.


From owner-ietf-mta-filters@mail.imc.org  Tue May  5 13:23:40 2009
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 4C2233A6DD5 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 13:23:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.591
X-Spam-Level: 
X-Spam-Status: No, score=-2.591 tagged_above=-999 required=5 tests=[AWL=0.008, 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 edOmlY5pM4MZ for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 13:23:39 -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 AB2AE3A682E for <sieve-archive-Aet6aiqu@ietf.org>; Tue,  5 May 2009 13:23:36 -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 n45K9snW071705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 13:09:54 -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 n45K9s65071704; Tue, 5 May 2009 13:09:54 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45K9hkW071690 for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 13:09:53 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 000D028B9; Tue,  5 May 2009 13:14:09 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 05 May 2009 13:14:09 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Cc: Stephan Bosch <stephan@rename-it.nl>, SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu>
Message-ID: <0e749334033b7b6a5aba17483a873e72@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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 Tue, 05 May 2009 15:25:17 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
wrote:
> --On Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch 
> <stephan@rename-it.nl> wrote:
> 
>> Also, you completely lifted the global command's placement requirements.
>> I am not fundamentally opposed to this, but this can make the inclusion
>> of a global variable conditional, i.e. inside an if statement. Until I
>> actually implement this I won't really know for sure whether there will
>> be implementation issues.
>>
>> And if the possibility for a conditional global command is desired, I
>> would expect an explicit mention of this possibility somewhere in the
>> command explanation. Now it could come to a surprise to the more naive
>> implementer. This also implies that a global variable is not included
>> into the local scope until after the first global command that specifies
>> it.
> 
> 
> I would expect that a global command has effect only from the command to 
> the end of the enclosing scope; as a result, a global inside a
conditional 
> has effect only on the conditional code, and never on something occurring

> after the conditional, regardless of whether the conditional is taken.

Would require variable scoping rules that follow the curly braces, but
we're doing it PHP / Python style in Sieve.

> Alternately, a global command could be defined to apply to the entire
file 
> regardless of where it occurs.

That presumes pre-parsing the script, which I don't want to sneakily make a
requirement of interpreters.

I went with this approach: the variable is local to the immediate script
until it is called global at some point later in the script. I flipped a
coin, and decided the local value would then overwrite the global value. I
could as easily see it go the other way, though. I can't think of any
particularly good examples from other languages that might apply here.
Feedback appreciated!

Aaron


From owner-ietf-mta-filters@mail.imc.org  Tue May  5 14:00:20 2009
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 802CD3A6BC7 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 14:00:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.01
X-Spam-Level: 
X-Spam-Status: No, score=-6.01 tagged_above=-999 required=5 tests=[AWL=0.589, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 A6fMvapIiijx for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 14:00:19 -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 51F173A6B70 for <sieve-archive-Aet6aiqu@ietf.org>; Tue,  5 May 2009 14:00:19 -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 n45KlFBN074882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 13:47:16 -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 n45KlFtL074881; Tue, 5 May 2009 13:47:15 -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 jackfruit.srv.cs.cmu.edu (JACKFRUIT.SRV.CS.CMU.EDU [128.2.201.16]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45KlDRd074874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 13:47:15 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from MINBAR.FAC.CS.CMU.EDU (MINBAR.FAC.CS.CMU.EDU [128.2.216.42]) (authenticated bits=0) by jackfruit.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n45KlBYx001912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 16:47:11 -0400 (EDT)
Date: Tue, 05 May 2009 16:47:11 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Aaron Stone <aaron@serendipity.cx>
cc: Stephan Bosch <stephan@rename-it.nl>, SIEVE <ietf-mta-filters@imc.org>, jhutz@cmu.edu
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
Message-ID: <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
In-Reply-To: <0e749334033b7b6a5aba17483a873e72@serendipity.cx>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu> <0e749334033b7b6a5aba17483a873e72@serendipity.cx>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.201.16
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 Tuesday, May 05, 2009 01:14:09 PM -0700 Aaron Stone 
<aaron@serendipity.cx> wrote:

>
> On Tue, 05 May 2009 15:25:17 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
> wrote:
>> --On Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch
>> <stephan@rename-it.nl> wrote:
>>
>>> Also, you completely lifted the global command's placement requirements.
>>> I am not fundamentally opposed to this, but this can make the inclusion
>>> of a global variable conditional, i.e. inside an if statement. Until I
>>> actually implement this I won't really know for sure whether there will
>>> be implementation issues.
>>>
>>> And if the possibility for a conditional global command is desired, I
>>> would expect an explicit mention of this possibility somewhere in the
>>> command explanation. Now it could come to a surprise to the more naive
>>> implementer. This also implies that a global variable is not included
>>> into the local scope until after the first global command that specifies
>>> it.
>>
>>
>> I would expect that a global command has effect only from the command to
>> the end of the enclosing scope; as a result, a global inside a
> conditional
>> has effect only on the conditional code, and never on something occurring
>
>> after the conditional, regardless of whether the conditional is taken.
>
> Would require variable scoping rules that follow the curly braces, but
> we're doing it PHP / Python style in Sieve.
>
>> Alternately, a global command could be defined to apply to the entire
> file
>> regardless of where it occurs.
>
> That presumes pre-parsing the script, which I don't want to sneakily make
> a requirement of interpreters.
>
> I went with this approach: the variable is local to the immediate script
> until it is called global at some point later in the script. I flipped a
> coin, and decided the local value would then overwrite the global value. I
> could as easily see it go the other way, though. I can't think of any
> particularly good examples from other languages that might apply here.
> Feedback appreciated!

Hrm.  OK, let's make it simple...

The global command is legal at any point in the script.  However, it must 
appear _and be executed_ before any use of the named variable(s). 
Otherwise, the results are undefined.

This means the question of what happens if you use a local variable and 
then call it global is up to the implementation.  So is the question of 
what happens if the global command appears in a conditional and that branch 
is not executed, and then the variable is used.

I think it gets us all the same implementation simplicity as requiring it 
to be "first", without painting ourselves into the corner of someday having 
multiple things that want to be "first".

-- Jeff


From owner-ietf-mta-filters@mail.imc.org  Tue May  5 14:17:37 2009
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 D19733A6B23 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 14:17:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.592
X-Spam-Level: 
X-Spam-Status: No, score=-2.592 tagged_above=-999 required=5 tests=[AWL=0.007, 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 72hpolG5l2lO for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 14:17:36 -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 805B43A6B1C for <sieve-archive-Aet6aiqu@ietf.org>; Tue,  5 May 2009 14:17:36 -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 n45L9Yvh076462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 14:09:34 -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 n45L9Yxo076461; Tue, 5 May 2009 14:09:34 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45L9XM3076455 for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 14:09:33 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id B1CC328B9; Tue,  5 May 2009 14:14:00 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 05 May 2009 14:14:00 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Cc: Stephan Bosch <stephan@rename-it.nl>, SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu> <0e749334033b7b6a5aba17483a873e72@serendipity.cx> <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
Message-ID: <6139fa957ae34698ee2e7cf01cdcc3af@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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 Tue, 05 May 2009 16:47:11 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
wrote:
> --On Tuesday, May 05, 2009 01:14:09 PM -0700 Aaron Stone 
> <aaron@serendipity.cx> wrote:
> 
>>
>> On Tue, 05 May 2009 15:25:17 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
>> wrote:
>>> --On Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch
>>> <stephan@rename-it.nl> wrote:
>>>
>>>> Also, you completely lifted the global command's placement
>>>> requirements.
>>>> I am not fundamentally opposed to this, but this can make the
inclusion
>>>> of a global variable conditional, i.e. inside an if statement. Until I
>>>> actually implement this I won't really know for sure whether there
will
>>>> be implementation issues.
>>>>
>>>> And if the possibility for a conditional global command is desired, I
>>>> would expect an explicit mention of this possibility somewhere in the
>>>> command explanation. Now it could come to a surprise to the more naive
>>>> implementer. This also implies that a global variable is not included
>>>> into the local scope until after the first global command that
>>>> specifies
>>>> it.
>>>
>>>
>>> I would expect that a global command has effect only from the command
to
>>> the end of the enclosing scope; as a result, a global inside a
>> conditional
>>> has effect only on the conditional code, and never on something
>>> occurring
>>
>>> after the conditional, regardless of whether the conditional is taken.
>>
>> Would require variable scoping rules that follow the curly braces, but
>> we're doing it PHP / Python style in Sieve.
>>
>>> Alternately, a global command could be defined to apply to the entire
>> file
>>> regardless of where it occurs.
>>
>> That presumes pre-parsing the script, which I don't want to sneakily
make
>> a requirement of interpreters.
>>
>> I went with this approach: the variable is local to the immediate script
>> until it is called global at some point later in the script. I flipped a
>> coin, and decided the local value would then overwrite the global value.
>> I
>> could as easily see it go the other way, though. I can't think of any
>> particularly good examples from other languages that might apply here.
>> Feedback appreciated!
> 
> Hrm.  OK, let's make it simple...
> 
> The global command is legal at any point in the script.  However, it must

> appear _and be executed_ before any use of the named variable(s). 
> Otherwise, the results are undefined.

Or an error is thrown at runtime. I'm not a fan of this idea, but at least
it's definitive.

> This means the question of what happens if you use a local variable and 
> then call it global is up to the implementation.  So is the question of 
> what happens if the global command appears in a conditional and that
branch
> is not executed, and then the variable is used.
> 
> I think it gets us all the same implementation simplicity as requiring it

> to be "first", without painting ourselves into the corner of someday
having
> multiple things that want to be "first".

Yuck, I don't like it when a language doesn't specify something like this,
especially knowing it is probably going to be implemented differently right
from the get-go.

Aaron


From owner-ietf-mta-filters@mail.imc.org  Tue May  5 14:36:38 2009
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 69EB13A6E04 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 14:36:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.504
X-Spam-Level: 
X-Spam-Status: No, score=-0.504 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545]
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 H7cD5rH4sy-v for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue,  5 May 2009 14:36:37 -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 BC4003A6A1C for <sieve-archive-Aet6aiqu@ietf.org>; Tue,  5 May 2009 14:35:55 -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 n45LScYK077783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 14:28:39 -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 n45LScqs077782; Tue, 5 May 2009 14:28:38 -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 cola.rename-it.nl (cola.rename-it.nl [217.119.231.192]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45LSQuO077773 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 14:28:38 -0700 (MST) (envelope-from stephan@rename-it.nl)
Received: from klara.student.utwente.nl ([130.89.162.218] helo=[10.168.3.2]) by cola.rename-it.nl with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <stephan@rename-it.nl>) id 1M1SBP-0005Df-HX; Tue, 05 May 2009 23:28:11 +0200
Message-ID: <4A00AF6C.6090603@rename-it.nl>
Date: Tue, 05 May 2009 23:28:12 +0200
From: Stephan Bosch <stephan@rename-it.nl>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Jeffrey Hutzelman <jhutz@cmu.edu>
CC: Aaron Stone <aaron@serendipity.cx>, SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu> <0e749334033b7b6a5aba17483a873e72@serendipity.cx> <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
In-Reply-To: <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-RenameIT-MailScanner-VirusScan: Found to be clean
X-RenameIT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.633, required 5, autolearn=not spam, ALL_TRUSTED -0.40, AWL 1.37, BAYES_00 -2.60)
X-RenameIT-MailScanner-From: stephan@rename-it.nl
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>

Jeffrey Hutzelman schreef:
> Hrm.  OK, let's make it simple...
> 
> The global command is legal at any point in the script.  However, it 
> must appear _and be executed_ before any use of the named variable(s). 
> Otherwise, the results are undefined.
> 
> This means the question of what happens if you use a local variable and 
> then call it global is up to the implementation.  So is the question of 
> what happens if the global command appears in a conditional and that 
> branch is not executed, and then the variable is used.
> 
> I think it gets us all the same implementation simplicity as requiring 
> it to be "first", without painting ourselves into the corner of someday 
> having multiple things that want to be "first".
> 
Eeew, this is getting hairier by the minute :) I don't see any benefit 
for putting the global command anywhere else than the beginning of the 
script, so why don't we just get back to the original plan in a slightly 
modified manner:

"
A global command must be placed at top level directly after the require 
commands or any other command that has the same top level placement 
requirement.
"

And then more properly phrased of course.

Keep in mind that the problem I stated originally was only about 
interaction with other commands with similar placement requirements and 
not the flexibility of the global command in general.

Regards,

-- 
Stephan Bosch
stephan@rename-it.nl


From owner-ietf-mta-filters@mail.imc.org  Tue May 26 14:51:32 2009
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 458543A6AB6 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue, 26 May 2009 14:51:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.571
X-Spam-Level: 
X-Spam-Status: No, score=-2.571 tagged_above=-999 required=5 tests=[AWL=0.028, 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 6AnL3Gm4LjLK for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Tue, 26 May 2009 14:51:30 -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 277433A6B57 for <sieve-archive-Aet6aiqu@ietf.org>; Tue, 26 May 2009 14:51:29 -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 n4QLgWc0073183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 May 2009 14:42:32 -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 n4QLgWT1073182; Tue, 26 May 2009 14:42:32 -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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n4QLgVOV073165 for <ietf-mta-filters@imc.org>; Tue, 26 May 2009 14:42:32 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.2.117] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <ShxiRQAh5EN-@rufus.isode.com>; Tue, 26 May 2009 22:42:30 +0100
Message-ID: <4A1C6207.8080608@isode.com>
Date: Tue, 26 May 2009 22:41:27 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: ietf-mta-filters@imc.org
Subject: [Fwd: More information requested on publication status of        draft-crocker-email-arch]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------050809020002050606060603"
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>

This is a multi-part message in MIME format.
--------------050809020002050606060603
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

FYI.


--------------050809020002050606060603
Content-Type: message/rfc822;
 name="More information requested on publication status of         draft-crocker-email-arch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="More information requested on publication status of         draft-crocker-email-arch"

Return-Path: <alexey.melnikov@isode.com>
Received: from rufus.isode.com ([62.3.217.251])
	by canine (Isode M-Box/14.5a0) with LMTP; Tue, 26 May 2009 22:41:20 +0100 (BST)
Received: from [172.16.2.117] (shiny.isode.com [62.3.217.250]) 
          by rufus.isode.com (submission channel) via TCP with ESMTPA 
          id <Shxh=gAh5H5y@rufus.isode.com>; Tue, 26 May 2009 22:41:19 +0100
Message-ID: <4A1C61C0.4090806@isode.com>
Date: Tue, 26 May 2009 22:40:16 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
            Gecko/20050915
X-Accept-Language: en-us, en
To: ietf-smtp@imc.org
Subject: More information requested on publication status of
         draft-crocker-email-arch
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

There have been two Last Call notices sent to the IETF for:

    'Internet Mail Architecture' <draft-crocker-email-arch> as a 
Proposed Standard

The IESG has received a concern about the intended publication status of 
this document and wishes to confirm the community's preferences.
As the shepherding AD I would like to request more feedback on this 
topic. Please send your answers by the end of June 3rd.
You can either reply to this message, send your response directly to 
iesg@ietf.org, or send it directly to me and Tony Hansen <tony@att.com>.

Please indicate your preference for publishing the document as:

    1. Proposed Standard, as queried in the two Last Call notices

    2. Informational

    3. Some other label

    4. I have another opinion (please describe)

Also please indicate your reason(s) for this choice.


--------------050809020002050606060603--


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 n4QLgWc0073183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 May 2009 14:42:32 -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 n4QLgWT1073182; Tue, 26 May 2009 14:42:32 -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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n4QLgVOV073165 for <ietf-mta-filters@imc.org>; Tue, 26 May 2009 14:42:32 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.2.117] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <ShxiRQAh5EN-@rufus.isode.com>; Tue, 26 May 2009 22:42:30 +0100
Message-ID: <4A1C6207.8080608@isode.com>
Date: Tue, 26 May 2009 22:41:27 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: ietf-mta-filters@imc.org
Subject: [Fwd: More information requested on publication status of        draft-crocker-email-arch]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------050809020002050606060603"
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>

This is a multi-part message in MIME format.
--------------050809020002050606060603
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

FYI.


--------------050809020002050606060603
Content-Type: message/rfc822;
 name="More information requested on publication status of         draft-crocker-email-arch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="More information requested on publication status of         draft-crocker-email-arch"

Return-Path: <alexey.melnikov@isode.com>
Received: from rufus.isode.com ([62.3.217.251])
	by canine (Isode M-Box/14.5a0) with LMTP; Tue, 26 May 2009 22:41:20 +0100 (BST)
Received: from [172.16.2.117] (shiny.isode.com [62.3.217.250]) 
          by rufus.isode.com (submission channel) via TCP with ESMTPA 
          id <Shxh=gAh5H5y@rufus.isode.com>; Tue, 26 May 2009 22:41:19 +0100
Message-ID: <4A1C61C0.4090806@isode.com>
Date: Tue, 26 May 2009 22:40:16 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
            Gecko/20050915
X-Accept-Language: en-us, en
To: ietf-smtp@imc.org
Subject: More information requested on publication status of
         draft-crocker-email-arch
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

There have been two Last Call notices sent to the IETF for:

    'Internet Mail Architecture' <draft-crocker-email-arch> as a 
Proposed Standard

The IESG has received a concern about the intended publication status of 
this document and wishes to confirm the community's preferences.
As the shepherding AD I would like to request more feedback on this 
topic. Please send your answers by the end of June 3rd.
You can either reply to this message, send your response directly to 
iesg@ietf.org, or send it directly to me and Tony Hansen <tony@att.com>.

Please indicate your preference for publishing the document as:

    1. Proposed Standard, as queried in the two Last Call notices

    2. Informational

    3. Some other label

    4. I have another opinion (please describe)

Also please indicate your reason(s) for this choice.


--------------050809020002050606060603--



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 n45LScYK077783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 14:28:39 -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 n45LScqs077782; Tue, 5 May 2009 14:28:38 -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 cola.rename-it.nl (cola.rename-it.nl [217.119.231.192]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45LSQuO077773 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 14:28:38 -0700 (MST) (envelope-from stephan@rename-it.nl)
Received: from klara.student.utwente.nl ([130.89.162.218] helo=[10.168.3.2]) by cola.rename-it.nl with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <stephan@rename-it.nl>) id 1M1SBP-0005Df-HX; Tue, 05 May 2009 23:28:11 +0200
Message-ID: <4A00AF6C.6090603@rename-it.nl>
Date: Tue, 05 May 2009 23:28:12 +0200
From: Stephan Bosch <stephan@rename-it.nl>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Jeffrey Hutzelman <jhutz@cmu.edu>
CC: Aaron Stone <aaron@serendipity.cx>, SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu> <0e749334033b7b6a5aba17483a873e72@serendipity.cx> <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
In-Reply-To: <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-RenameIT-MailScanner-VirusScan: Found to be clean
X-RenameIT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.633, required 5, autolearn=not spam, ALL_TRUSTED -0.40, AWL 1.37, BAYES_00 -2.60)
X-RenameIT-MailScanner-From: stephan@rename-it.nl
X-Spam-Status: No
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>

Jeffrey Hutzelman schreef:
> Hrm.  OK, let's make it simple...
> 
> The global command is legal at any point in the script.  However, it 
> must appear _and be executed_ before any use of the named variable(s). 
> Otherwise, the results are undefined.
> 
> This means the question of what happens if you use a local variable and 
> then call it global is up to the implementation.  So is the question of 
> what happens if the global command appears in a conditional and that 
> branch is not executed, and then the variable is used.
> 
> I think it gets us all the same implementation simplicity as requiring 
> it to be "first", without painting ourselves into the corner of someday 
> having multiple things that want to be "first".
> 
Eeew, this is getting hairier by the minute :) I don't see any benefit 
for putting the global command anywhere else than the beginning of the 
script, so why don't we just get back to the original plan in a slightly 
modified manner:

"
A global command must be placed at top level directly after the require 
commands or any other command that has the same top level placement 
requirement.
"

And then more properly phrased of course.

Keep in mind that the problem I stated originally was only about 
interaction with other commands with similar placement requirements and 
not the flexibility of the global command in general.

Regards,

-- 
Stephan Bosch
stephan@rename-it.nl



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 n45L9Yvh076462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 14:09:34 -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 n45L9Yxo076461; Tue, 5 May 2009 14:09:34 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45L9XM3076455 for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 14:09:33 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id B1CC328B9; Tue,  5 May 2009 14:14:00 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 05 May 2009 14:14:00 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Cc: Stephan Bosch <stephan@rename-it.nl>, SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu> <0e749334033b7b6a5aba17483a873e72@serendipity.cx> <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
Message-ID: <6139fa957ae34698ee2e7cf01cdcc3af@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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 Tue, 05 May 2009 16:47:11 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
wrote:
> --On Tuesday, May 05, 2009 01:14:09 PM -0700 Aaron Stone 
> <aaron@serendipity.cx> wrote:
> 
>>
>> On Tue, 05 May 2009 15:25:17 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
>> wrote:
>>> --On Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch
>>> <stephan@rename-it.nl> wrote:
>>>
>>>> Also, you completely lifted the global command's placement
>>>> requirements.
>>>> I am not fundamentally opposed to this, but this can make the
inclusion
>>>> of a global variable conditional, i.e. inside an if statement. Until I
>>>> actually implement this I won't really know for sure whether there
will
>>>> be implementation issues.
>>>>
>>>> And if the possibility for a conditional global command is desired, I
>>>> would expect an explicit mention of this possibility somewhere in the
>>>> command explanation. Now it could come to a surprise to the more naive
>>>> implementer. This also implies that a global variable is not included
>>>> into the local scope until after the first global command that
>>>> specifies
>>>> it.
>>>
>>>
>>> I would expect that a global command has effect only from the command
to
>>> the end of the enclosing scope; as a result, a global inside a
>> conditional
>>> has effect only on the conditional code, and never on something
>>> occurring
>>
>>> after the conditional, regardless of whether the conditional is taken.
>>
>> Would require variable scoping rules that follow the curly braces, but
>> we're doing it PHP / Python style in Sieve.
>>
>>> Alternately, a global command could be defined to apply to the entire
>> file
>>> regardless of where it occurs.
>>
>> That presumes pre-parsing the script, which I don't want to sneakily
make
>> a requirement of interpreters.
>>
>> I went with this approach: the variable is local to the immediate script
>> until it is called global at some point later in the script. I flipped a
>> coin, and decided the local value would then overwrite the global value.
>> I
>> could as easily see it go the other way, though. I can't think of any
>> particularly good examples from other languages that might apply here.
>> Feedback appreciated!
> 
> Hrm.  OK, let's make it simple...
> 
> The global command is legal at any point in the script.  However, it must

> appear _and be executed_ before any use of the named variable(s). 
> Otherwise, the results are undefined.

Or an error is thrown at runtime. I'm not a fan of this idea, but at least
it's definitive.

> This means the question of what happens if you use a local variable and 
> then call it global is up to the implementation.  So is the question of 
> what happens if the global command appears in a conditional and that
branch
> is not executed, and then the variable is used.
> 
> I think it gets us all the same implementation simplicity as requiring it

> to be "first", without painting ourselves into the corner of someday
having
> multiple things that want to be "first".

Yuck, I don't like it when a language doesn't specify something like this,
especially knowing it is probably going to be implemented differently right
from the get-go.

Aaron



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 n45KlFBN074882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 13:47:16 -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 n45KlFtL074881; Tue, 5 May 2009 13:47:15 -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 jackfruit.srv.cs.cmu.edu (JACKFRUIT.SRV.CS.CMU.EDU [128.2.201.16]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45KlDRd074874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 13:47:15 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from MINBAR.FAC.CS.CMU.EDU (MINBAR.FAC.CS.CMU.EDU [128.2.216.42]) (authenticated bits=0) by jackfruit.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n45KlBYx001912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 16:47:11 -0400 (EDT)
Date: Tue, 05 May 2009 16:47:11 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Aaron Stone <aaron@serendipity.cx>
cc: Stephan Bosch <stephan@rename-it.nl>, SIEVE <ietf-mta-filters@imc.org>, jhutz@cmu.edu
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
Message-ID: <69A1B9126888A0BC2305009A@minbar.fac.cs.cmu.edu>
In-Reply-To: <0e749334033b7b6a5aba17483a873e72@serendipity.cx>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu> <0e749334033b7b6a5aba17483a873e72@serendipity.cx>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.201.16
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 Tuesday, May 05, 2009 01:14:09 PM -0700 Aaron Stone 
<aaron@serendipity.cx> wrote:

>
> On Tue, 05 May 2009 15:25:17 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
> wrote:
>> --On Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch
>> <stephan@rename-it.nl> wrote:
>>
>>> Also, you completely lifted the global command's placement requirements.
>>> I am not fundamentally opposed to this, but this can make the inclusion
>>> of a global variable conditional, i.e. inside an if statement. Until I
>>> actually implement this I won't really know for sure whether there will
>>> be implementation issues.
>>>
>>> And if the possibility for a conditional global command is desired, I
>>> would expect an explicit mention of this possibility somewhere in the
>>> command explanation. Now it could come to a surprise to the more naive
>>> implementer. This also implies that a global variable is not included
>>> into the local scope until after the first global command that specifies
>>> it.
>>
>>
>> I would expect that a global command has effect only from the command to
>> the end of the enclosing scope; as a result, a global inside a
> conditional
>> has effect only on the conditional code, and never on something occurring
>
>> after the conditional, regardless of whether the conditional is taken.
>
> Would require variable scoping rules that follow the curly braces, but
> we're doing it PHP / Python style in Sieve.
>
>> Alternately, a global command could be defined to apply to the entire
> file
>> regardless of where it occurs.
>
> That presumes pre-parsing the script, which I don't want to sneakily make
> a requirement of interpreters.
>
> I went with this approach: the variable is local to the immediate script
> until it is called global at some point later in the script. I flipped a
> coin, and decided the local value would then overwrite the global value. I
> could as easily see it go the other way, though. I can't think of any
> particularly good examples from other languages that might apply here.
> Feedback appreciated!

Hrm.  OK, let's make it simple...

The global command is legal at any point in the script.  However, it must 
appear _and be executed_ before any use of the named variable(s). 
Otherwise, the results are undefined.

This means the question of what happens if you use a local variable and 
then call it global is up to the implementation.  So is the question of 
what happens if the global command appears in a conditional and that branch 
is not executed, and then the variable is used.

I think it gets us all the same implementation simplicity as requiring it 
to be "first", without painting ourselves into the corner of someday having 
multiple things that want to be "first".

-- Jeff



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 n45K9snW071705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 13:09:54 -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 n45K9s65071704; Tue, 5 May 2009 13:09:54 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45K9hkW071690 for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 13:09:53 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 000D028B9; Tue,  5 May 2009 13:14:09 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 05 May 2009 13:14:09 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Cc: Stephan Bosch <stephan@rename-it.nl>, SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl> <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu>
Message-ID: <0e749334033b7b6a5aba17483a873e72@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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 Tue, 05 May 2009 15:25:17 -0400, Jeffrey Hutzelman <jhutz@cmu.edu>
wrote:
> --On Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch 
> <stephan@rename-it.nl> wrote:
> 
>> Also, you completely lifted the global command's placement requirements.
>> I am not fundamentally opposed to this, but this can make the inclusion
>> of a global variable conditional, i.e. inside an if statement. Until I
>> actually implement this I won't really know for sure whether there will
>> be implementation issues.
>>
>> And if the possibility for a conditional global command is desired, I
>> would expect an explicit mention of this possibility somewhere in the
>> command explanation. Now it could come to a surprise to the more naive
>> implementer. This also implies that a global variable is not included
>> into the local scope until after the first global command that specifies
>> it.
> 
> 
> I would expect that a global command has effect only from the command to 
> the end of the enclosing scope; as a result, a global inside a
conditional 
> has effect only on the conditional code, and never on something occurring

> after the conditional, regardless of whether the conditional is taken.

Would require variable scoping rules that follow the curly braces, but
we're doing it PHP / Python style in Sieve.

> Alternately, a global command could be defined to apply to the entire
file 
> regardless of where it occurs.

That presumes pre-parsing the script, which I don't want to sneakily make a
requirement of interpreters.

I went with this approach: the variable is local to the immediate script
until it is called global at some point later in the script. I flipped a
coin, and decided the local value would then overwrite the global value. I
could as easily see it go the other way, though. I can't think of any
particularly good examples from other languages that might apply here.
Feedback appreciated!

Aaron



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 n45JPXSW068489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 12:25:33 -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 n45JPXBh068488; Tue, 5 May 2009 12:25:33 -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 jackfruit.srv.cs.cmu.edu (JACKFRUIT.SRV.CS.CMU.EDU [128.2.201.16]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n45JPJJE068468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 12:25:32 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from MINBAR.FAC.CS.CMU.EDU (MINBAR.FAC.CS.CMU.EDU [128.2.216.42]) (authenticated bits=0) by jackfruit.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n45JPHd1027472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 15:25:17 -0400 (EDT)
Date: Tue, 05 May 2009 15:25:17 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Stephan Bosch <stephan@rename-it.nl>, Aaron Stone <aaron@serendipity.cx>
cc: SIEVE <ietf-mta-filters@imc.org>, jhutz@cmu.edu
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
Message-ID: <8B916CC449230C084C48D700@minbar.fac.cs.cmu.edu>
In-Reply-To: <4A0001EF.3060805@rename-it.nl>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx> <4A0001EF.3060805@rename-it.nl>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.201.16
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 Tuesday, May 05, 2009 11:07:59 AM +0200 Stephan Bosch 
<stephan@rename-it.nl> wrote:

> Also, you completely lifted the global command's placement requirements.
> I am not fundamentally opposed to this, but this can make the inclusion
> of a global variable conditional, i.e. inside an if statement. Until I
> actually implement this I won't really know for sure whether there will
> be implementation issues.
>
> And if the possibility for a conditional global command is desired, I
> would expect an explicit mention of this possibility somewhere in the
> command explanation. Now it could come to a surprise to the more naive
> implementer. This also implies that a global variable is not included
> into the local scope until after the first global command that specifies
> it.


I would expect that a global command has effect only from the command to 
the end of the enclosing scope; as a result, a global inside a conditional 
has effect only on the conditional code, and never on something occurring 
after the conditional, regardless of whether the conditional is taken.

Alternately, a global command could be defined to apply to the entire file 
regardless of where it occurs.



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 n4598mpV017792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2009 02:08:48 -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 n4598mVC017791; Tue, 5 May 2009 02:08:48 -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 cola.rename-it.nl (cola.rename-it.nl [217.119.231.192]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n4598ZeH017774 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-mta-filters@imc.org>; Tue, 5 May 2009 02:08:48 -0700 (MST) (envelope-from stephan@rename-it.nl)
Received: from klara.student.utwente.nl ([130.89.162.218] helo=[10.168.3.2]) by cola.rename-it.nl with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <stephan@rename-it.nl>) id 1M1GdI-0008Nv-1W; Tue, 05 May 2009 11:08:12 +0200
Message-ID: <4A0001EF.3060805@rename-it.nl>
Date: Tue, 05 May 2009 11:07:59 +0200
From: Stephan Bosch <stephan@rename-it.nl>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Aaron Stone <aaron@serendipity.cx>
CC: SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx>
In-Reply-To: <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-RenameIT-MailScanner-VirusScan: Found to be clean
X-RenameIT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.628, required 5, autolearn=not spam, ALL_TRUSTED -0.40, AWL 1.37, BAYES_00 -2.60)
X-RenameIT-MailScanner-From: stephan@rename-it.nl
X-Spam-Status: No
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>

Hi Aaron,

Aaron Stone wrote:
> I'm posting draft-ietf-managesieve-02 that addresses these comments. Thank
> you!
> 
Ok, looks nice. I'll adjust my implementation as soon as I have some time.

However, as far as I can see, you did not address every issue yet:

- For the global command I would expect text stating that the variables 
extension is required when it is used.

- The scope of the :once modifier could be a bit confusing. I am 
assuming it holds for the whole Sieve execution and not only for the 
identical include commands within the current script. What is the 
interaction with multiscript in this case? I am still not sure what to 
do with this.

- The script examples have various small typos, syntax problems and 
missing require items.

Also, you completely lifted the global command's placement requirements. 
I am not fundamentally opposed to this, but this can make the inclusion 
of a global variable conditional, i.e. inside an if statement. Until I 
actually implement this I won't really know for sure whether there will 
be implementation issues.

And if the possibility for a conditional global command is desired, I 
would expect an explicit mention of this possibility somewhere in the 
command explanation. Now it could come to a surprise to the more naive 
implementer. This also implies that a global variable is not included 
into the local scope until after the first global command that specifies 
it.

Finally, I saw one new typo: Section 4, second paragraph, 'acess'.

Regards,

-- 
Stephan Bosch
stephan@rename-it.nl



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 n456pH6h010044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 23:51:17 -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 n456pH8Q010043; Mon, 4 May 2009 23:51:17 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n456p5VD009988 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 23:51:15 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 6B26D28B9; Mon,  4 May 2009 23:55:28 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 04 May 2009 23:55:28 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-mta-filters@imc.org, Stephan Bosch <stephan@rename-it.nl>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <4657335a94cef6c214b25b4078af218f@serendipity.cx>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl> <4657335a94cef6c214b25b4078af218f@serendipity.cx>
Message-ID: <5ce18dfe75eaeb6b4d7b21b830c8945c@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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>

Of course I meant draft-ietf-sieve-INCLUDE-02. I added an informative
reference to managesieve, hence the copy-paste buffer error :)

On Mon, 04 May 2009 14:24:51 -0700, Aaron Stone <aaron@serendipity.cx>
wrote:
> I'm posting draft-ietf-managesieve-02 that addresses these comments.
Thank
> you!
> 
> On Tue, 14 Apr 2009 15:36:20 +0200, Arnt Gulbrandsen
> <arnt@gulbrandsen.priv.no> wrote:
>> Aaron Stone answers Stephan Bosch:
>>>>  - Where the ManageSieve protocol specifies what characters are 
>>>>  allowed for a script name, the include extension for the Sieve 
>>>>  language does not. Would it be useful to adopt the same 
>>>>  limitations? Especially things like '/' can cause problems.
>>>
>>> Good suggestion. I think this makes sense to give a consistent opinion 
>>> on what script names should look like, but on the other hand, perhaps 
>>> it's possible that someone isn't using ManageSieve but IS using 
>>> include and might need to get at weird names? Do we care in that 
>>> case?
>> 
>> If so, then they probably will use managesieve at some point anyway.
>> 
>>>>  - The global command is required to follow 'require' or another 
>>>>  global command. I am worried what happens when other extensions 
>>>>  have commands with similar requirements. Shouldn't we account for 
>>>>  this eventuality?
>>>
>>> I don't like this restriction anyways. Any objection to lifting it?
>> 
>> (I don't feel qualified to have an opinion on this issue.)
>> 
>>>>  - The scope of the :once modifier could be a bit confusing. I am  
>>>>  assuming it holds for the whole Sieve execution and not only for 
>>>>  the identical include commands within the current script.
>>>
>>> Correct. Could you suggest how I might clarify that it's the whole 
>>> execution? I feel like I'm missing the right word for being inside 
>>> one file vs. being inside one delivery/execution instance.
>> 
>> I think that's enough of an issue that it's worth a whole sentence or
> two.
>> 
>> I like precise words. But sometimes you can be as precise as you want, 
>> and someone will read the text after being up half the night with the 
>> crying baby and won't get it.
>> 
>> Or zero words perhaps. Why is :once justified? is "mandatory :once" or 
>> ":once not supported" good enough?
>> 
>> Arnt



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 n44LVSkq079592 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 14:31:28 -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 n44LVSuD079591; Mon, 4 May 2009 14:31:28 -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.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n44LVStC079585 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 14:31:28 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 6B4963A6CA1; Mon,  4 May 2009 14:30:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-mta-filters@imc.org
Subject: I-D Action:draft-ietf-sieve-include-02.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090504213001.6B4963A6CA1@core3.amsl.com>
Date: Mon,  4 May 2009 14:30:01 -0700 (PDT)
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Sieve Mail Filtering Language Working Group of the IETF.


	Title           : Sieve Email Filtering: Include Extension
	Author(s)       : C. Daboo, A. Stone
	Filename        : draft-ietf-sieve-include-02.txt
	Pages           : 12
	Date            : 2009-05-04

The Sieve Email Filtering "include" extension permits users to
include one Sieve script inside another.  This can make managing
large scripts or multiple sets of scripts much easier, and allows a
site and its users to build up libraries of scripts.  Users are able
to include their own personal scripts or site-wide scripts.

Change History (to be removed prior to publication as an RFC)

Changes from ietf-01 to ietf-02:
a.  Require that script names must be constant strings, not subject

 to variable expansion.
b.  Try the phrase immediate script instead of current script.
c.  Clarify that "global 'varname'" and "global.varname" refer to the

 same variable.
d.  Drop the requirement the global keywords come after require and

 before anything else.

Changes from ietf-00 to ietf-01:
a.  Replaced import/export with global.
b.  Added :once modifier to include.
c.  Added global namespace to see if it holds water.

Changes from daboo-06 to ietf-00:
a.  None

Changes from -05 to -06:
a.  Aaron Stone joins as author.
b.  Removed | characters from the script examples.
c.  Updated draft references to published RFCs.

Changes from -04 to -05:
a.  Fixed examples.
b.  Relaxed requirement that imported/exported variables be set

 before being used.

Changes from -03 to -04:
a.  Fixed missing 2119 definitions.
b.  Defined interaction with variables through use of import and

 export commands.

Changes from -02 to -03:
a.  Refreshing expired draft (updated for nits).
b.  Syntax -> Usage.
c.  Updated to 3028bis reference.

Changes from -01 to -02:
a.  Minor formatting changes only - refreshing expired draft.

Changes from -00 to -01:
a.  Added IPR boiler plate.
b.  Re-ordered sections at start to conform to RFC style.
c.  Moved recursion comment into General Considerations section.
d.  Switched to using optional parameter to indicate personal vs

 global.
e.  Explicitly state that an error occurs when a missing script is

 included.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sieve-include-02.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-sieve-include-02.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:     <2009-05-04142218.I-D@ietf.org>

--NextPart--



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 n44LKYep079002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 14:20:34 -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 n44LKYWU079001; Mon, 4 May 2009 14:20:34 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n44LKMVn078986 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 14:20:33 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 3D3E97080; Mon,  4 May 2009 14:24:42 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 04 May 2009 14:24:41 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Stephan Bosch <stephan@rename-it.nl>
Cc: SIEVE <ietf-mta-filters@imc.org>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <49E04E83.20001@rename-it.nl>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl>
Message-ID: <6d66ffddf16f4d41b6051d0fd5853e8f@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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>

I'm posting draft-ietf-managesieve-02 that addresses these comments. Thank
you!

On Sat, 11 Apr 2009 10:02:11 +0200, Stephan Bosch <stephan@rename-it.nl>
wrote:
> Hi Aaron,
> 
> Aaron Stone wrote:
>> Thanks for your comments. I'd been preparing to send an email to the
list
>> announcing the changes and requesting feedback. You've touched on all
the
>> good points. So let's run with this thread!
>> 
>> On Sat, 11 Apr 2009 01:39:58 +0200, Stephan Bosch <stephan@rename-it.nl>
>> wrote:
>>> First of all, I am very glad that the work on the specification is
being
>>>
>>> continued now. This week I quickly updated my implementation to match 
>>> the new specification. Merging import and export into a single global 
>>> command is a good choice. The use of a global variable namespace is
also
>>>
>>> a good idea (but I did not implement that yet).
>> 
>> I actually wonder if we should drop the global keyword and rely on
>> namespaces entirely.
> The global namespace has one disadvantage: it makes all global variable 
> names longer ('global.*'). Especially when a variable is used often in a 
> script, this may become tedious. Using the global command, it is 
> possible to pull global variables into the script namespace, which is 
> convenient in such situations. I guess it would be best to support both 
> methods of accessing global variables (and to even allow mixing these 
> freely).
> 
>>> - Where the ManageSieve protocol specifies what characters are allowed 
>>> for a script name, the include extension for the Sieve language does 
>>> not. Would it be useful to adopt the same limitations? Especially
things
>>>
>>> like '/' can cause problems.
>> 
>> Good suggestion. I think this makes sense to give a consistent opinion
on
>> what script names should look like, but on the other hand, perhaps it's
>> possible that someone isn't using ManageSieve but IS using include and
>> might need to get at weird names? Do we care in that case?
> You can also make it a recommendation. As long as implementers know that 
> there is some consensus about what a script name is supposed to be and 
> that script names should not be mapped directly to files for security 
> reasons.
> 
>>> - The global command is required to follow 'require' or another global 
>>> command. I am worried what happens when other extensions have commands 
>>> with similar requirements. Shouldn't we account for this eventuality? 
>> I don't like this restriction anyways. Any objection to lifting it?
> Hmm, interesting suggestion. The main implication of this is that the 
> inclusion of global variables into the script namespace can become 
> conditional, i.e. when it is placed into an if statement. I don't know 
> whether this is desirable.
> 
> You could also state that the global command needs to be placed after 
> require commands or any command that also needs to be placed directly 
> below the require commands (choose better wording though). This implies 
> no ordering between the commands that follow the require section, 
> avoiding problems with future commands with similar needs.
> 
>>> - Are there any special security implications for using variables in
the
>>>
>>> value argument in the include command, i.e. to include a script 
>>> specified by a variable? Is that even (intended to be) allowed?
>> 
>> Oh, that's a good question. That'd be an easy vector for contamination
of
>> email contents into a filesystem request. Can we reasonably place such a
>> restriction, though? I'd hate to force implementations to special-case
>> their string expansions.
> Other extensions already have such limitations (e.g. notify) and the 
> variables extension explicitly states that future commands may choose 
> not to allow variables in some of their arguments (the so-called 
> constant string). However, I agree that we should not limit the 
> flexibility of the command more than necessary. Perhaps an explicit 
> mention in the Security Considerations section would suffice to cover 
> our bases.
> 
> On the other hand, one may argue how useful it is to use variables in 
> the include argument in the first place: there are a (known) limited 
> amount of scripts in the Sieve storage and making choices can be done 
> using if commands surrounding multiple alternative include commands.
> 
> People using variables could even make their scripts highly unreliable, 
> since include commands kill Sieve execution when the indicated script 
> does not exist. Perhaps in combination with an ':optional' modifier, 
> variables could be used to change the behavior of a script without 
> actually modifying it. For instance, when a script is added to the Sieve 
> store with a name that matches the sender address, it is included 
> automatically when a message from that person comes in. That sounds a 
> bit freaky though :)
> 
>>> - The scope of the :once modifier could be a bit confusing. I am 
>>> assuming it holds for the whole Sieve execution and not only for the 
>>> identical include commands within the current script.
>> 
>> Correct. Could you suggest how I might clarify that it's the whole
>> execution? I feel like I'm missing the right word for being inside one
>> file
>> vs. being inside one delivery/execution instance.
> I am still not sure what to do here. I guess it is also important to 
> mention that the scope of the :once modifier does not extend into the 
> other scripts of a multiscript sequence (and any scripts included by 
> those).. or does it? For this distinction it matters whether you call it 
> the 'whole Sieve execution', as this would include truly everything.
> 
> Regards,



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 n44LKY95079008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2009 14:20:34 -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 n44LKYxh079007; Mon, 4 May 2009 14:20:34 -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.serendipity.cx (serendipity.palo-alto.ca.us [66.92.2.87]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n44LKUom078991 for <ietf-mta-filters@imc.org>; Mon, 4 May 2009 14:20:33 -0700 (MST) (envelope-from aaron@serendipity.cx)
Received: from serendipity.cx (unknown [10.10.10.34]) by mail.serendipity.cx (Postfix) with ESMTP id 2A4F684F0; Mon,  4 May 2009 14:24:51 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 04 May 2009 14:24:51 -0700
From: Aaron Stone <aaron@serendipity.cx>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Cc: ietf-mta-filters@imc.org, Stephan Bosch <stephan@rename-it.nl>
Subject: Re: Questions and remarks on draft-ietf-sieve-include-01.txt
In-Reply-To: <49E04E83.20001@rename-it.nl>
References: <49DFD8CE.6020306@rename-it.nl> <d29473f966b8ad773c54cb6e91ebd107@serendipity.cx> <49E04E83.20001@rename-it.nl>
Message-ID: <4657335a94cef6c214b25b4078af218f@serendipity.cx>
X-Sender: aaron@serendipity.cx
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
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>

I'm posting draft-ietf-managesieve-02 that addresses these comments. Thank
you!

On Tue, 14 Apr 2009 15:36:20 +0200, Arnt Gulbrandsen
<arnt@gulbrandsen.priv.no> wrote:
> Aaron Stone answers Stephan Bosch:
>>>  - Where the ManageSieve protocol specifies what characters are 
>>>  allowed for a script name, the include extension for the Sieve 
>>>  language does not. Would it be useful to adopt the same 
>>>  limitations? Especially things like '/' can cause problems.
>>
>> Good suggestion. I think this makes sense to give a consistent opinion 
>> on what script names should look like, but on the other hand, perhaps 
>> it's possible that someone isn't using ManageSieve but IS using 
>> include and might need to get at weird names? Do we care in that 
>> case?
> 
> If so, then they probably will use managesieve at some point anyway.
> 
>>>  - The global command is required to follow 'require' or another 
>>>  global command. I am worried what happens when other extensions 
>>>  have commands with similar requirements. Shouldn't we account for 
>>>  this eventuality?
>>
>> I don't like this restriction anyways. Any objection to lifting it?
> 
> (I don't feel qualified to have an opinion on this issue.)
> 
>>>  - The scope of the :once modifier could be a bit confusing. I am  
>>>  assuming it holds for the whole Sieve execution and not only for 
>>>  the identical include commands within the current script.
>>
>> Correct. Could you suggest how I might clarify that it's the whole 
>> execution? I feel like I'm missing the right word for being inside 
>> one file vs. being inside one delivery/execution instance.
> 
> I think that's enough of an issue that it's worth a whole sentence or
two.
> 
> I like precise words. But sometimes you can be as precise as you want, 
> and someone will read the text after being up half the night with the 
> crying baby and won't get it.
> 
> Or zero words perhaps. Why is :once justified? is "mandatory :once" or 
> ":once not supported" good enough?
> 
> Arnt


