procmail
[Top] [All Lists]

Re: Is this recipe written properly?

2003-05-29 18:47:44
On Wed, 28 May 2003, Ruud H.G. van Tol wrote:

Since you are trashing anything that hits any one, why make all mail
go through every condition test even after you find a hit?  Use the
"infinity" value to short-circuit the multiple tests when you get a
hit:

:0:
* 2147483647^0  ^whatever
* 2147483647^0  ^whatever else
$Trash

Or, if you tend to forget the exact value of infinity:
  :0:
  * 9876543210^0  ^whatever
  * 9876543210^0  ^whatever else
  $Trash

I must be missing something. My understanding is that

* xxxxxxxxxxxx
* xxxxxxxxxxxx

means that all conditions must be met for a match. Is this what the OP had 
in mind or is my understanding wrong?

Can someone straighten me out on this?

Thanks.

-- 
Bob Holtzman
"Nothing would please me more than being able to 
 hire ten programmers and deluge the hobby market 
 with good software." -- Bill Gates 1976

 We are still waiting ....



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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