NAME

Tail::Stat::Plugin::spamd - Statistics collector for SpamAssassin spamd

SYNOPSIS

tstatd -o usr spamd spamd.log

LOG FORMATS

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.

OPTIONS

usr

Turn on collecting per-user statistics.

STATISTICS

Overall 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 statistics

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.

AUTHOR

Oleg A. Mamontov, <oleg@mamontov.net>

COPYRIGHT

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.