[PLUG] Interpreting postfix's statistics
Dan Young
dan_young at parkrose.k12.or.us
Tue May 28 17:19:07 UTC 2002
Here's what I've got in root's crontab on the mail server:
# minute | hour | date | month | day | command
# (0-59) | (0-23) | (1-31) | (1-12) | (0-6) |
#--------|--------|--------|--------|-------|---------------------------
59 23 * * * perl \
/usr/local/pflogsumm-1.0.3.pl -d today /var/log/maillog
It runs right before midnight, giving the statistics for today, so I can
read them first thing tomorrow morning. As long as you are getting
root's mail on that server, the results will go to you. If not, edit
/etc/aliases appropriately.
-Dan Young
-Parkrose School District
Rob Hudson wrote:
> Nice overall summary of Postfix's activities.
>
> How can I run this, and mail the results from the command line? I'd
> like to run this as a cron job every night.
>
> Thanks,
> Rob
>
>
>>On 20020528.0920, Rich Shepard said ...
>>
>>On Tue, 28 May 2002, Dan Young wrote:
>>
>>
>>>Take a look at pflogsumm.pl here:
>>>
>>>http://jimsun.linxnet.com/postfix_contrib.html
>>>
>>>It does a nice summary of postfix logs, including bounced messages, etc.
>>>This may not be verbose enough for your needs but I've been waiting for
>>>an opportunity to "PLUG" this neat perl script on the list.
>>
>> Thank you, Dan, I'll take a look at it. Regardless of how the numbers are
>>summarized (and I can follow what's been mailed to me), I have questions
>>about what the categories/numbers represent. I suspect that the perl script
>>won't tell me that.
>>
>>Rich
>>
>>
>>_______________________________________________
>>PLUG mailing list
>>PLUG at lists.pdxlinux.org
>>http://lists.pdxlinux.org/mailman/listinfo/plug
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
More information about the PLUG
mailing list