procmail
[Top] [All Lists]

Re: forwarding to MULTIPLE adresses?

1997-11-26 17:40:02

Sean B. Straw <PSE-L(_at_)mail(_dot_)professional(_dot_)org> replied to:
 
At 11:59 AM 11/26/97 -0500, _Clint_ wrote:

Alternately, how do you have multiple criterion??  Like logical and, or,
and not.
(deleted...)

Unfortunatley, OR is a bit trickier - I've always just duped up the rule
and used the separate conditions (note you should be able to use an
INCLUDERC for the body of the rule).


OR is easy.  Just remember that the internal pattern matcher is a clone
of E(extended)grep which uses Extended Regular Expressions (EREs).

:0
* (pattern1|pattern2)           # pattern1 OR pattern2
action

--
Bob Poortinga  (mailto:bobp(_at_)tsc(_dot_)com, http://www.tsc.com/~bobp)
Technology Service Corp.
Bloomington, Indiana  USA

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