[Nagiosplug-devel] [ nagiosplug-Bugs-3112695 ] check_mailq.pl ignores separate submission queue

SourceForge.net noreply at sourceforge.net
Fri Nov 19 16:24:21 CET 2010


Bugs item #3112695, was opened at 2010-11-19 10:23
Message generated for change (Comment added) made by jwm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3112695&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parsing problem
Group: CVS
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Morrissey (jwm)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_mailq.pl ignores separate submission queue

Initial Comment:
check_mailq.pl ignores the separate submission queue used in (modern?) sendmail implementations.

For the queue output below with one message in the submission queue and no messages in the transport queue, check_mailq.pl reports zero messages in the queue because the request count from the last queue always overwrites previous queues. If the sendmail MTA isn't running or has become wedged, messages will sit in the submission queue forever.

The attached patch fixes this in a backwards compatible way (i.e., it shouldn't break any of the currently supported formats).

## MSP Queue status...
##                 /var/spool/mqueue-client (1 request)
## -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------
## oAJEfhdW014123        5 Fri Nov 19 14:41 jwm
##                  (Deferred: Connection refused by [127.0.0.1])
##                                          root
##                 Total requests: 1
## MTA Queue status...
## /var/spool/mqueue is empty
##                 Total requests: 0


----------------------------------------------------------------------

>Comment By: John Morrissey (jwm)
Date: 2010-11-19 10:24

Message:
The attached patch is against the current git repo.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3112695&group_id=29880




More information about the Devel mailing list