Re: Working Group Last Call: draft-ietf-sieve-3431bis-01.txt (relational test)

"Mark E. Mallett" <mem@mv.mv.com> Tue, 20 September 2005 15:57 UTC

Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j8KFvPTe067217; Tue, 20 Sep 2005 08:57:25 -0700 (PDT) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j8KFvPZs067215; Tue, 20 Sep 2005 08:57:25 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from mv.mv.com (osmium.mv.net [199.125.85.152]) by above.proper.com (8.12.11/8.12.9) with SMTP id j8KFvNFo067209 for <ietf-mta-filters@imc.org>; Tue, 20 Sep 2005 08:57:24 -0700 (PDT) (envelope-from mem@mv.mv.com)
Received: (qmail 71430 invoked by uid 101); 20 Sep 2005 11:57:23 -0400
From: "Mark E. Mallett" <mem@mv.mv.com>
Date: Tue, 20 Sep 2005 11:57:23 -0400
To: Michael Haardt <michael@freenet-ag.de>
Cc: ietf-mta-filters@imc.org
Subject: Re: Working Group Last Call: draft-ietf-sieve-3431bis-01.txt (relational test)
Message-ID: <20050920155723.GU36028@osmium.mv.net>
References: <431D6F44.6060409@isode.com> <20050908123711.GA12046@nostromo.freenet-ag.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20050908123711.GA12046@nostromo.freenet-ag.de>
User-Agent: Mutt/1.4.2.1i
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>

(Sorry to weigh in so late.)

On Thu, Sep 08, 2005 at 02:37:11PM +0200, Michael Haardt wrote:
> On Tue, Sep 06, 2005 at 11:28:20AM +0100, Alexey Melnikov wrote:
> > I would like to draw your attention to the following draft:
> > 
> > <http://www.ietf.org/internet-drafts/draft-ietf-sieve-3431bis-01.txt>
> 
> Am I right in thinking that using "i;octet", the left side " B " is
> equal to "B" (white space is stripped from the left side), but "B"
> is not equal to " B " (white space is not stripped from the right side)?

That's reasonable for values that are derived from message elements, I
would want a header field value or an address being tested to be
stripped of its leading spaces.  But that section also defines the left
side of a comparison as always being "from the message" which is hard to
apply to the "string" verb from the variables extension.

Speaking of which, 3.1 says:

 >  Leading and trailing white space MUST be removed from the value of
 >  the message for the comparison.  White space is defined as 
 >
 >      SP / HTAB / CRLF
 >
 >  A value from the message is considered the left side of the relation. 

The first sentence says "the value of the message" where it probably
means to say "the value from the message" or "a value from the message" .

Some other random comments, some significant, some not..

Some of the examples use domain names like "example.com.invalid" --
why not just "example.com" ?  Not that I expect to ever see a ".invalid"
TLD but example.tld is supposed to be for examples.

Also, the examples should use "elsif" rather than "elseif".

Some of the examples refer to a test as "being" true or false, and
others refer to the test as "returning" true or false.  I think
"returning" is a bad word, and would prefer e.g. "evaluates to" .

Should the "extended example" (section 5) require "fileinto" ?

The last "allof" in the extended example is missing a closing paren.

mm