procmail
[Top] [All Lists]

Re: Is there a option to OR the conditions instead of AND

1997-08-08 07:32:00
On Fri, 8 Aug 1997, Martin Terpstra wrote:

:0
* ^From.*peter
$BIGMAILBOX
< --- Cut for brevity -->

All to the same mailbox. 
Does an option exist to change the above recipe into this ?

:0
* ^From.*peter
* ^From.*alex
* ^From.*erwin
$BIGMAILBOX

try

:0
* ^From.*(peter|alex|erwin)
$BIGMAILBOX

or the like.

---
Ian