procmail
[Top] [All Lists]

Re: Fw: Misunderstanding $=

2001-08-17 15:50:25
"David W. Tamkin" <dattier(_at_)ripco(_dot_)com> writes:
...
Here's another; its logic is more streamlined but it counts the bytes twice,

:0 # if over threshold, register size as a score
* > 500000
* 1^1 > 1
{

Size conditions ala "> 500000" require practically no effort from
procmail: it knows the size of the message from when it read it in and
adjusts it whenever a filtering action takes place.  Doing variable
expansion on a condition is probably more 'work' than a plain size
condition.


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