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

Re: procmail conditions



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:.*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 like:
> * ! {
> * ! (^From:.*Reel\.com)
> * ! (^From:.*sonypictures\.com)
> }
> 
> But that doesn't work.
> 
> And ideas?
> 
> Thanks,
> Jason
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
John Patton                      patton66@home.com

"Any fool can criticize, condemn, and complain -  and most
fools do."  - Dale Carnegie



Reply to: