procmail
[Top] [All Lists]

Re: Determining a message's size in Procmail

2006-12-10 11:40:00
On Dec 10, 2006, at 2:25 AM, Ruud H.G. van Tol wrote:
Michael J Wise schreef:
Cute Hack, thanks.
How processor intensive is it?

Virtually none I suppose, since it is only using standard procmail
functionality.

If it were a big message, I'd expect it would require some amount of 
time to compute 1+1+1+1+...

"There Should Be A Better Way..."[tm]

You could have your MTA give the size to "procmail -a" via a parameter,
but that would only be an advantage if the MTA has the size available.

But procmail already knows the size.
It writes it out with the abstract....

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
   and Usenet Registration handy..."


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail