exim_mailstats - Plugin to monitor the number of mails received and delivered by exim.
Exim version 3 or 4.
Usually no configuration is needed for this plugin.
[exim*] env.logdir /path/to/exim-logs/ env.logname mainlog env.exim /usr/sbin/exim
The default value for the
logdir variable is determined by running
exim -bP log_file_path.
mainlog is the default name given to exims main log, but it has been known to be called "main.log" in some versions of Red Hat/Fedora for example.
NOTE: If you need to set logname you must also set logdir as there is no automatic way to determine the path then.
The default value of the
exim variable is
/usr/sbin/exim, but if there is a executable called
/usr/sbin/exim4 this is used instead.
Need some input from an exim postmaster here.
#%# family=auto #%# capabilities=autoconf
Copyright (C) 2000-2009 Torstein Svendsen, Henrik Grindal Bakken, Jimmy Olsen, Nicolai Langfeldt and others.
Torstein Svendsen recalls originally writing this with Henrik Grindal Bakken to create MRTG graphs of exims mailqueues for Linpros client RunBox. Thus this code predates Munin itself.
The first traces of the plugin in CVS seems to be in 2002. Further messing by Jimmy Olsen the same year. Bugfixing and cleanup by Nicolai Langfeldt 2008.