Email Statistics

From SME Server
Revision as of 14:29, 27 July 2007 by Mmccarn (talk | contribs) (New page: ==Email Statistics== How to get statistics about the performance of your mail server ===Brian Read's spamfilter-stats-7.pl=== Brian Read's mailstats.pl script analyzes your qpsmtpd log fil...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Email Statistics

How to get statistics about the performance of your mail server

Brian Read's spamfilter-stats-7.pl

Brian Read's mailstats.pl script analyzes your qpsmtpd log files and sends a daily email to "admin" summarizing that day's email activity.

wget -O /etc/cron.d/mailstats.cron http://mirror.contribs.org/smeserver/contribs/bread/mailstats/mailstats.cron
wget -O /usr/bin/spamfilter-stats-7.pl http://mirror.contribs.org/smeserver/contribs/bread/mailstats/spamfilter-stats-7.pl

The email recipient is specified in the spamfilter-stats-7.pl file, currently at line 108, using:

 $opt{'mail'}     = "admin";