Re: procmail conditions

2001-08-30 Thread John Patton
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 &

Re: procmail conditions

2001-08-29 Thread Karsten M. Self
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

Re: procmail conditions

2001-08-29 Thread Jason Majors
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 c

Re: procmail conditions

2001-08-29 Thread Craig Dickson
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

procmail conditions

2001-08-29 Thread Jason Majors
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 and I'd like to make them more like this: :0 * (^From:.*Reel\.com) OR * (^From:.*sonypictures\.com) /dev/null I tried to DeMorganize them