procmail
[Top] [All Lists]

Re: Outlook98/ Outlook express and procmail

1998-11-30 14:20:00
Matt Staley <mstaley(_at_)vma(_dot_)verio(_dot_)net> writes:
I copied and pasted your code.  Apparently, it's now no longer working
altogether.  Kept saying like this:
...
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.
*[^a-zA-Z])?)_news"
...

Okay, you're using a version of procmail before 3.11pre4.  The ^TO_
token was added in 3.11pre4 -- before then you have to make do with the
(also magic) ^TO token.  Change the opening condition from:

        :0
        * ^TO_news
        {
to:
        :0
        * ^TOnews
        {

If you find it distracting or unintuitive to have tyhe "^TO" and "news"
run together then insert some parens:

        :0
        * ^TO()news
        {
or
        :0
        * ^TO(news)
        {


Philip Guenther