Jason R. Mastaler wrote:
> Jesse Guardiani <[EMAIL PROTECTED]> writes:
>
>> Hmmm... I wonder how I could keep track of messages/day?
>>
>> My users each have their own .tmdarc file and their own log
>> files.
>>
>> I suppose I could write a script that enters each virtual
>> home dir and pulls stats from the log files, but that would
>> be incredibly inefficient...
>
> How about just using your MTA's logfiles? For example, my Postfix
> system has entries that look like this:
>
> Aug 7 11:05:12 hrothgar postfix/local[12463]: C1E84164681:
> to=<[EMAIL PROTECTED]>, orig_to=<jasonrm>, relay=local,
> delay=5, status=sent ("| /sw/bin/python2.1
> $HOME/cvs/tmda/dist/bin/tmda-filter")
>
> So it's easy to count the occurrences of 'tmda-filter' to arrive at a
> system total.
AFAIK, qmail doesn't log things like that. I only get error
messages if the local delivery or remote delivery fails.
--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v) 423-559-5145 (f)
http://www.wingnet.net
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers