procmail
[Top] [All Lists]

Re: Body text filtering exceptions

1998-06-21 09:03:39
Eric Hilding wrote about trouble with this recipe:

| :0 B
| * !^TOany-exception-address(_at_)oneofmydomains(_dot_)com
| * ()\<(word #1|word #2|word #3|\
|       some phrase #1|some phrase #2)\>
| /dev/null

The `B' flag applies regexp conditions to the body, Eric.  You have one
condition that should search the head and one that should search the body. 
So you need to do either this (since H without B is implicit),

 :0
 * !^TOany-exception-address(_at_)oneofmydomains(_dot_)com
 * B ?? ()\<(word #1|word #2|word #3|\
       some phrase #1|some phrase #2)\>
 /dev/null

or this:

 :0 B
 * H ?? !^TOany-exception-address(_at_)oneofmydomains(_dot_)com
 * ()\<(word #1|word #2|word #3|\
       some phrase #1|some phrase #2)\>
 /dev/null