You can do this:
:0
* 1^0 ^cond 1
* 1^0 ^cond 2
* 1^0 ^cond 3
/dev/null
It uses scoring to do exactly what you want.
On Wed, Aug 29, 2001 at 08:54:34PM -0700, Jason Majors wrote:
> Is there a way to OR procmail conditions?
> I have lots of lines like so:
> :0
> * (^From:.*Ree
on Wed, Aug 29, 2001 at 08:54:34PM -0700, Jason Majors ([EMAIL PROTECTED])
wrote:
> Is there a way to OR procmail conditions?
> I have lots of lines like so:
> :0
> * (^From:.*Reel\.com)
> /dev/null
> :0
> * (^From:.*sonypictures\.com)
> /dev/null
You want a list processor:
:0
*
/de
On Wed, Aug 29, 2001 at 09:03:48PM -0700, Craig Dickson scribbled...
> 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 is ORing the contents of a condition. Trying to put the
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
4 matches
Mail list logo