procmail
[Top] [All Lists]

Re: ORing conditions

1997-05-09 18:26:00
I don't profess to really know procmail well, so let me know (gently) if
this is a dumb question about boolean or's...


Given the two suggestions from Philip and Axel, what's the difference 
between those, and the third one below?

------------------------------------------------------------------
Axel Thimm (thimm(_at_)physik(_dot_)fu-berlin(_dot_)de) suggested this boolean 
or:
------------------------------------------------------------------
 :0
 * ! rule1
 * ! rule2
 * ! rule3
 { } # empty action
 :0 E
 {
  ...
 }

--------------------------------------------------------------------------
Philip Guenther (guenther(_at_)gac(_dot_)edu) suggested the functionally 
equivalent:
--------------------------------------------------------------------------
 :0
 * 987654321^0 rule1
 * 987654321^0 rule2
 * 987654321^0 rule3
 {
  ...
 }

--------------------------------------------------------------------------
But, what's the difference between those two suggestions, and the simpler:
--------------------------------------------------------------------------
 :0
 * rule1 | rule2 | rule3
 ...

A simple example being:
 :0
 * ^Subject:.*hello|Dear|World
 IN.foo

Break it to me gently, thanks,
John Gianni

<Prev in Thread] Current Thread [Next in Thread>