[Nagiosplug-devel] [ nagiosplug-Patches-880904 ] check_mailq: -f option for sendmail config file

SourceForge.net noreply at sourceforge.net
Wed May 25 08:48:40 CEST 2005


Patches item #880904, was opened at 2004-01-20 17:01
Message generated for change (Comment added) made by sghosh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=880904&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: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Don Badrak (dbadrak)
Assigned to: Subhendu Ghosh (sghosh)
Summary: check_mailq: -f option for sendmail config file

Initial Comment:
In my sendmail configuration, I have two instances of
sendmail, with non-standard config files and spool
directories.

This is a patch to both check_mailq.pl and utils.pm.in
that allows a -f options.  The -f option is for
sendmail only.  It allows a non-standard configuration
file to be used by the mailq command (mailq -C
filename).  It also looks through the config file for
the QueueDirectory, and uses that, rather than assuming
'mqueue' will be in the string.

I also included a fix in check_mailq.pl to ignore the
case of the command line options (--warning vs --Warning).

The patch for utils.pm.in is for a PATH_TO_SENDMAIL_CF.

These patches are both against the HEAD revision.

Don

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

>Comment By: Subhendu Ghosh (sghosh)
Date: 2005-05-25 11:46

Message:
Logged In: YES 
user_id=46572

Sorry about holding this up for so long..

Do you haave corresponding patch to Configure.in for
checking PATH_TO_SENDMAIL_CF ?

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

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




More information about the Devel mailing list