Re: I-D ACTION:draft-ietf-sieve-variables-04.txt

Philip Guenther <guenther+mtafilters@sendmail.com> Wed, 20 July 2005 21:54 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 j6KLsxx7024089; Wed, 20 Jul 2005 14:54:59 -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 j6KLsxYG024088; Wed, 20 Jul 2005 14:54:59 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from foon.sendmail.com (tls.sendmail.com [209.246.26.40]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j6KLsx5u024081 for <ietf-mta-filters@imc.org>; Wed, 20 Jul 2005 14:54:59 -0700 (PDT) (envelope-from guenther@sendmail.com)
Received: from lab.smi.sendmail.com ([10.210.100.93]) by foon.sendmail.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j6KLspsJ007140 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 20 Jul 2005 14:54:51 -0700
X-DomainKeys: Sendmail DomainKeys Filter v0.2.7 foon.sendmail.com j6KLspsJ007140
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; b=C2Zwgr0gip7+odSJ8OLwVOmybTQLANI4xgUrMErySfMwPvwHfB3gJWyiCIElYJFMp uL41Um0Vxy0u7gu7KKjSr4+22qVMqNZJ6RsB6zbosPBLFVNwqKrzemg+Mlk1NyjXvZP kALMSrE7zSQ2aTNMFwNQC3O6vQzi8NOi9bdaIIY=
Received: from lab.smi.sendmail.com (localhost [127.0.0.1]) by lab.smi.sendmail.com (8.13.3/8.13.3) with ESMTP id j6KLsoeW043863; Wed, 20 Jul 2005 14:54:51 -0700 (PDT) (envelope-from guenther@lab.smi.sendmail.com)
Message-Id: <200507202154.j6KLsoeW043863@lab.smi.sendmail.com>
To: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
Cc: ietf-mta-filters@imc.org
From: Philip Guenther <guenther+mtafilters@sendmail.com>
Subject: Re: I-D ACTION:draft-ietf-sieve-variables-04.txt
In-reply-to: <1121886910.30434.93.camel@chico.njus.no>
References: <E1DtRVp-0002k4-CW@newodin.ietf.org> <1121522976.8017.6.camel@chico.njus.no> <01LQUHIQ7UJA000092@mauve.mrochek.com> <1121886910.30434.93.camel@chico.njus.no>
Date: Wed, 20 Jul 2005 14:54:50 -0700
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>

Kjetil Torgrim Homme <kjetilho@ifi.uio.no> writes:
>On Wed, 2005-07-20 at 10:51 -0700, Ned Freed wrote:
...
>> 4.1.2.2.  Modifier ":quoteregex"
>> 
>>    Every character with special meaning for :regex (".", "*", "?" etc.)
>>    is prefixed with "
>> 
>> I assume you meant '"\"' and not '"'. Looks like you need to apply
>> some quoting to the draft source...
>
>yeah, I always forget that \ must be written \e in roff.
>
>> The lack of a full list of regex specials is a bit awkward here, but I
>> guess I can live with it.
>
>there is no ABNF in [REGEX] to refer to, and a full list will be prone
>to inaccuracies.  not that I expect any changes to the syntax allowed by
>it, but ...

That would be an argument for moving :quoteregex to the regex draft.  I
don't see any wording that limits support for :quotaregex to when the
regex extension is also required, so even implementations that don't
support regex will need to support :quoteregex.  To me, that means that
this document needs to specify exactly what its behavior is.  (Yeah, you
could make [REGEX] a normative reference, but ... ick.)

(Hmm, what if the regex extension is revised to support not just the
normal ("extended") POSIX regexps but also the old "basic" regexps?  The
quoting rules for the two are different.  (Basic regexps are _not_ a
subset of extended regexps for functionality, though the GNU
implementations have blurred that fact by extending them both.))


Anyway, if :quoteregex isn't moved, then the minimal list of characters
that are escaped by :quoteregex is:

\ . [ ^ $ ( ) { * + ? |


On an unrelated point, the [SIEVE] reference needs to be changed to the
replacement I-D to dodge the "no side-effects in tests" restriction.


Philip Guenther