check_mailq changes for exim?
Subhendu Ghosh
sghosh at sghosh.org
Mon Sep 8 04:07:10 CEST 2003
On Fri, 5 Sep 2003, Skip Montanaro wrote:
> >> Before I exercise my feeble Perl skills, does anyone have mods for
> >> the check_mailq plugin which will check exim's mail queue?
>
> Cal> I actually wrote one, in bash, got completely finished with it and
> Cal> began testing before I remembered that you have to be an root to
> Cal> execute exim -bp? I'm not really keen on making nagios an admin for
> Cal> my mail server so I'm currently in 'thinking' mode on this one.
>
> Cal> I'm open to suggestions though.
>
> I did a little reading of the exim spec.txt file today and saw that there's
> an option (queue_list_requires_admin) which, when set false, allows mere
> mortals to list the mail queue. I'm not an exim user, just trying to
> monitor a system that runs it, so take this suggestion with a grain of
> salt. I doubt there'd be a huge security hole opened up as a result, but
> the restriction is probably there for a reason.
>
A similar restriction exists for other MTA - root only.
The recommended work-around has been to enable adequate group permissions
between the MTA user and Nagios user.
A working patch for exim would be welcome.
--
-sg
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list