procmail
[Top] [All Lists]

Re: Counting hits - revisited

2004-06-05 15:22:04
Toen wij fleet(_at_)teachout(_dot_)org kietelden, kwam er dit uit:

I'd like to be shown a "procmail" way to maintain my counters.  Shelling
out to update the counter for every recipe that gets activated does eat
up resources.

Write a dot to the specific file and the filesize is your counter.

Or write the Message-ID (+NL) to the file, and use wc -l to count
the lines.

You can use LOG= to append to a file.

-- 
Grtz, 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>