Useful Exim Commands

Here are some useful CLI commands when dealing with mail queues on EXIM:   List amount of messages in the queue /usr/sbin/exim -bpc   List all messages in the queue /usr/sbin/exim -bp   Get a summary of the current mail queue /usr/sbin/exim -bp | exiqsumm Here is an example output Count  Volume  Oldest  Newest  Domain Read More…

Add NRPE Exim Mailqueue Check to cPanel Server

This blog assumes that NRPE and nagios plugins are already installed on the remote server. Remote OS: Centos 6.7 Nagios Server OS: Centos 5.7 WHM: 11.50.0 NRPE: 2.14   Remote server Download the check_eximailqueue plugin (version 1.3 as of writing) from Nagios.org . Upload the plugin to the the Nagios plugin directory (/usr/lib64/nagios/plugins/) on the remote server [RemoteServer]# vi /usr/lib64/nagios/plugins/check_eximailqueue Uncomment Read More…