Unless I'm missing something, `check_mailq` runs the command `qmail-qstat` if you're using `qmail`, and the command `mailq` if you're using another MTA. You added an option to specify the path to the `qmail-qstat` command; and I asked whether it would be possible to add a `--with-command` option instead. It would specify the path to the `qmail-qstat` command for `qmail` users and the path to `mailq` for users of other MTAs.
-- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1208#issuecomment-49559885
