monitoring-plugins/monitoring-plugins — pull request #1242 by evgeni (2014-02-27 19:05:29+00:00)
Title: automatic mta detection

Try to autodetect which mailq implementation we are using

This is done by looking at some common directories and files each MTA installs on the system. If no known file is found, the old default sendmail is used. Of course this still can be overridden by -M.