procmail
[Top] [All Lists]

Re: forwarding to MULTIPLE adresses?

1997-11-26 18:08:09
At 07:30 PM 11/26/97 EST, Bob Poortinga spoke:

[snip]
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

Profuse appologies - my mistake, as I use this all the time (esp for
handling subdomains), but for complex things, wherein you are attempting
one rule on one line, and another on the next, you can't easily do an OR.
(Run formail to extract some header info and pipe that to fgrep, then do
another formail on the same line sometime - blech!).

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

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