<p>Unless I'm missing something, <code>check_mailq</code> runs the command <code>qmail-qstat</code> if you're using <code>qmail</code>, and the command <code>mailq</code> if you're using another MTA. You added an option to specify the path to the <code>qmail-qstat</code> command; and I asked whether it would be possible to add a <code>--with-command</code> option instead. It would specify the path to the <code>qmail-qstat</code> command for <code>qmail</code> users and the path to <code>mailq</code> for users of other MTAs.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1208#issuecomment-49559885">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMTUxMDMxOCwiZGF0YSI6eyJpZCI6MTg3NzcwMzV9fQ==--0a7979ea125e7c626fe9840b257e73ada58acd4a.gif" width="1" /></p>