procmail
[Top] [All Lists]

Re: [procmail] simple recipe

2002-05-14 06:48:27
erik(_at_)dd(_dot_)nec(_dot_)com(_dot_)au skribis:
On Mon, May 13, 2002 at 07:46:54PM -0400, Chris LaFrance wrote:

I'm wondering what the recipe is to have mail that either the To,
From Cc match to be routed to a folder.

   The procmail custom seems to be to use scoring to OR successive
conditions. 

For mutiple-OR-ing I always use not-ands with an empty action, 
and then an else (:0E:).


Is the following to simple?

:0:
* (^TO_|^From:[  ]*)nice_regexp
action

-- 
Affijn, Ruud


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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