Re: comparators and "error"
Dave Cridland <dave@cridland.net> Tue, 02 May 2006 19:49 UTC
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k42JnucU075275; Tue, 2 May 2006 12:49:56 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id k42Jnudh075274; Tue, 2 May 2006 12:49:56 -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 rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k42Jntp7075268 for <ietf-mta-filters@imc.org>; Tue, 2 May 2006 12:49:55 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by rutherford.zen.co.uk with esmtp (Exim 4.34) id 1Fb0sc-0005sc-3N; Tue, 02 May 2006 19:49:54 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id E3FF0498003; Tue, 2 May 2006 21:00:19 +0100 (BST)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13923-03; Tue, 2 May 2006 21:00:14 +0100 (BST)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id 5E970498002; Tue, 2 May 2006 21:00:14 +0100 (BST)
Date: Tue, 02 May 2006 20:49:48 +0100
Subject: Re: comparators and "error"
References: <buylDuhckrLTBjUJ7Xr9Kg.md5@libertango.oryx.com>
In-Reply-To: <buylDuhckrLTBjUJ7Xr9Kg.md5@libertango.oryx.com>
MIME-Version: 1.0
Message-Id: <20998.1146599388.368690@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Cc: ietf-mta-filters@imc.org
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Rutherford-IP: [217.155.137.60]
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 May 2 16:43:44 2006, Arnt Gulbrandsen wrote: > 2. Even though a collation specification distinguishes between > "no-match" and "error", there's no requirement that all protocols > must. If the distinction between "no-match" and "error" is > pointless in e.g. sieve, can't simply sieve treat the two as equal? > Ie. "match" is true, "no-match" is false and "error" is false? I need to think on your argument some more, but note that there's two forms of "error" A) You tried to compare a valid input string against an invalid input string. B) You tried to compare two invalid input strings. It's only case A that's really occured much in the wild, and that's because only one mechanism - Sieve variables - allows for that case to happen except in moments of silliness. Specifically, one operand for a comparator is usually provided by the client (in ACAP) or the script creator (in Sieve). With Sieve variables, both can be derived from the message, which presumably isn't known in advance. I suspect that for Sieve, case A is obviously not a fatal error, and probably indicates a non-match. Case B is a little trickier - there's a reasonable argument that it ought to result in a match. ("Blue" and "Yellow" do have equally non-existent numeric value, after all, and they collate equally at the end, and "i;octet" has that funny bit about the equality of two NIL values in ACAP, which of course you're all familiar with.) Dave. -- You see things; and you say "Why?" But I dream things that never were; and I say "Why not?" - George Bernard Shaw
- comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland
- Re: comparators and "error" Alexey Melnikov
- Re: comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland
- Re: comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland