Tail::Stat::Plugin::spamd - Statistics collector for SpamAssassin spamd
tstatd -o usr spamd spamd.log
Plugin search spamd logs for records of two types:
clean
spamd: clean message (3.1/5.0) for alex:1004 in 2.3 seconds, 1327 bytes.
spam
spamd: identified spam (16.4/5.0) for andrew:1004 in 6.3 seconds, 2937 bytes.
usr
Turn on collecting per-user statistics.
clean_messages
Total number of messages identified as clean.
spam_messages
Total number of messages identified as spam.
clean_bytes
Total number of bytes for messages identified as clean.
spam_bytes
Total number of bytes for messages identified as spam.
clean:login
Total number of messages identified as clean for login (usr option is required).
spam:login
Total number of messages identified as spam for login (usr option is required).
last_clean_messages
Total number of last messages identified as clean.
last_spam_messages
Total number of last messages identified as spam.
last_clean_bytes
Total number of bytes from last messages identified as clean.
last_spam_bytes
Total number of bytes from last messages identified as spam.
last_clean_rate
Total rate of last messages identified as clean.
last_spam_rate
Total rate of last messages identified as spam.
last_clean_elapsed
Total number of seconds elapsed for processing last messages identified as clean.
last_spam_elapsed
Total number of seconds elapsed for processing last messages identified as spam.
Oleg A. Mamontov, <oleg@mamontov.net>
<oleg@mamontov.net>
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Tail::Stat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tail::Stat
CPAN shell
perl -MCPAN -e shell install Tail::Stat
For more information on module installation, please visit the detailed CPAN module installation guide.