<p>check_mailq.pl ignores the separate submission queue used in (modern?) sendmail<br>
implementations.</p>
<p>For the queue output below with one message in the submission queue and no<br>
messages in the transport queue, check_mailq.pl reports zero messages in the<br>
queue because the request count from the last queue always overwrites previous<br>
queues. If the sendmail MTA isn't running or has become wedged, messages will<br>
sit in the submission queue forever.</p>
<p>The attached patch fixes this in a backwards compatible way (i.e., it shouldn't</p>
<h2>break any of the currently supported formats).</h2>
<p>Just turning attached patch of github issue <a href="https://github.com/nagios-plugins/nagios-plugins/issues/972" class="issue-link" title="check_mailq.pl ignores separate submission queue [sf#3112695]">#972</a> into a push request.<br>
(Closes <a href="https://github.com/nagios-plugins/nagios-plugins/issues/972" class="issue-link" title="check_mailq.pl ignores separate submission queue [sf#3112695]">#972</a>)</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/waja/nagios-plugins github972</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/nagios-plugins/nagios-plugins/pull/1192'>https://github.com/nagios-plugins/nagios-plugins/pull/1192</a></p>
<h4>Commit Summary</h4>
<ul>
<li>check_mailq.pl: separate submission queue</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1192/files#diff-0">THANKS.in</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1192/files#diff-1">plugins-scripts/check_mailq.pl</a>
(36)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/nagios-plugins/nagios-plugins/pull/1192.patch'>https://github.com/nagios-plugins/nagios-plugins/pull/1192.patch</a></li>
<li><a href='https://github.com/nagios-plugins/nagios-plugins/pull/1192.diff'>https://github.com/nagios-plugins/nagios-plugins/pull/1192.diff</a></li>
</ul>