<p>check_mailq allows checking per domain, but the parameters are never parsed.<br>
I also switched to case-sensitive getopt parsing, because otherwise --critical and --Critical would conflict.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1398'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1398</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>check_mailq: Fix per-domain settings</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1398/files#diff-0">plugins-scripts/check_mailq.pl</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.patch</a></li>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1398">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2SpdZGbxoyRmv86_Njp2SqZ33nHWks5pLpPfgaJpZM4Gs6gx.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1398"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>