[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail conditions



Jason Majors wrote:

> Is there a way to OR procmail conditions?

Yes, like this:

* ^(To|Cc|X-Apparently-To|From):.*@(foo|bar)\.com
$MAILDIR/foo/

This means "if the To:, Cc:, X-Apparently-To:, or From: header contains
either @foo.com or @bar.com, put the message in $MAILDIR/foo/".

Craig



Reply to: