postfix_mailstats_ - Plugin to monitor the number of mails delivered and rejected by postfix
Uses the last part of the symlink name for grepping the correct data from the postfix log file. The name must be syslog_name from the postfix config. The environment settings still applay to this plugin.
Configuration parameters for /etc/munin/postfix_mailstats_, if you need to override the defaults below:
[postfix_mailstats] env.logdir - Which logfile to use env.logfile - What file to read in logdir
[postfix_mailstats] env.logdir /var/log env.logfile mail.log
Records show that the plugin was contributed by Nicolai Langfeldt in 2003. Nicolai can't find anything in his email about this and expects the plugin is based on the corresponding exim plugin - to which it now bears no resemblance.
Extended for multiple queue use by Clemens Schwaighofer (email@example.com) in 2010.
#%# family=manual #%# capabilities=autoconf
Would be cool if someone ported this to Munin::Plugin for both state file and log tailing.