amavis - plugin to monitor the amavis mail filter.
Hosts running amavis localy and logtail(8) installed.
The configuration environment variables are available
Path to logfile (Default: "/var/log/mail/mail.info")
Path to logtail command (Default: "logtail")
On most systems the mail logs are not readable by nobody which the plugin usually runs at. To enable log reading it needs to run as a group or user that has read access, as shown above.
By default the logtail program is started without any explicit path, but if it is not found in the system $PATH then you'll need to specify the full path for the program.
The following shows a typical configuration:
[amavis] env.amavislog /var/log/mail/mail.info env.logtail /usr/bin/logtail group adm
The plugin shows "probable spam", "surley spam" and "virus". If your "probable spam" raises you may need to tune your spam configuration to classify more spam as "surley spam" and so be able to elliminate it.
#%# family=auto #%# capabilities=autoconf
Should use counters since the origin data is really counters. If the node has multiple masters the data served will now be incorrect. Proper operation may require porting to perl or such.