procmail
[Top] [All Lists]

Re: Boolean usage

1996-03-21 07:39:35
Pekka Koski <koski(_at_)rieska(_dot_)oulu(_dot_)fi> writes:
      ??? I see that "_" used for 1st time...this site is using version 
      2.92pre7. Gotta experiment right away!

Whoops, the ^TO_ expansion was added in v3.11pre4.  You'll probably have
to just ^TO (no '_'), which should work almost as well.  The differance
is that ^TOalias1(_at_)site may match something like

        bobs-alias1(_at_)site

while ^TO_ won't.  If that's a problem you can explicitly put in what
^TO_ expands to in the new versions, in your recipe, thus:

:0
* 
(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)alias1(_at_)site
| action


Though I would suggest upgrading to at least 3.10 if not 3.11pre4 so
you get al the bugfixes since then.  pre4 is quite stable: we're using
it as the local delivery agent here with nary a problem.  We used pre1
for almost a year before I bothered to upgrade to pre4.  Stephen writes
good solid code...in fact, I once thought the return key was broken on
his keyboard after looking at the source, but I've gotten over that.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>