=encoding UTF-8 =head1 NAME collectd-email - Documentation of collectd's C =head1 SYNOPSIS # See collectd.conf(5) LoadPlugin email # ... SocketGroup "collectd" SocketPerms "0770" MaxConns 5 =head1 DESCRIPTION The C opens an UNIX-socket over which one can submit email statistics, such as the number of "ham", "spam", "virus", etc. mails received/handled, spam scores and matched spam checks. This plugin is intended to be used with the L SpamAssassin-plugin which is included in F, but is of course not limited to that use. =head1 OPERATION This plugin collects data indirectly by providing a UNIX-socket that external programs can connect to. A simple line based protocol is used to communicate with the plugin: =over 4 =item * E-Mail type (e.g. "ham", "spam", "virus", ...) and size (bytes): e:: If C is less than or equal to zero, C is ignored. =item * Spam score: s: =item * Successful spam checks (e.g. "BAYES_99", "SUBJECT_DRUG_GAP_C", ...): c:[,,...] Each line is limited to 256 characters (including the newline character). Longer lines will be ignored. =back =head1 SEE ALSO L, L =head1 AUTHOR The C has been written by Sebastian Harl EshEatEtokkee.orgE. The SpamAssassin-plugin has been written by Alexander Wirt EformorerEatEformorer.deE. This manpage has been written by Florian Forster EoctoEatEcollectd.orgE. =cut