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

SourceForge.net noreply at sourceforge.net
Fri Feb 13 12:08:41 CET 2004


Patches item #880904, was opened at 2004-01-20 17:01
Message generated for change (Settings changed) made by sghosh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=880904&group_id=29880

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

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

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