On Mon, Aug 15, 2005 at 04:20:38PM -0500, Carl Wilhelm Soderstrom wrote:
> 
> I keep telling people that I get about 500 mail messages a day; but I'd
> really like some hard figures (maybe even ones I can graph). the ideal would
> be to do this without installing any system-wide software on the server; so
> I'm thinking there's got to be a pretty trivial way to do a simple counter
> in procmail.

turn on logging with 
   LOGFILE=procmail.log

then
   cat procmail.log | sed -n -e '/From [^@]*@/ s/.*  [^ ]* \([^ ]* [^ ]*\) .*/\1/p' | sort | uniq -c 

florin

-- 

Don't question authority: they don't know either!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20050815/988f10b3/attachment.pgp