procmail
[Top] [All Lists]

Any logical combination of conditions

2001-04-09 07:50:34
What I want to do is to combinate conditions.
Examples:

(cond1 AND cond2 AND cond3) OR (cond4 AND cond5) OR cond6

Is there a general algorithm or a general way of composing those
combinations?

Maybe you could reverse the logic to:

 :0
 * (cond1|cond2|cond3)
 * (cond4|cond5)
 * cond6
 { }              # do nothing

 :0E
 { do something}