procmail
[Top] [All Lists]

Re: Is this recipe written properly?

2003-05-28 05:36:04
Dallman Ross skribis:

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 surely hope that Trash has a value)

-- 
Affijn, Ruud


_______________________________________________
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>