Changing permissions of postfixs "local"

Ingo Lantschner ingo.lists at vum.at
Wed Dec 13 08:01:58 UTC 2006


Hello,
I am using Ubuntu Server 6.06 as base os for a Nagios systemmonitor. 
Yesterday I was looking for a way to feed alerts send as emails from 
RAID-controllers like 3ware. First it was quite simple: Adding a line to 
/etc/aliases
nagios: "|/usr/local/nagios/libexec/eventhandlers/handle-RAID-mail"

Writing the script was not the problem, but the permissions were. Nagios 
uses a pipe which is for obvious reasons not writable by nobody:nogroup.

In order to get around this problem I changed the user runing "local":
$ sudo postconf -e default_privs=nagios

Now the emails go straight into Nagios.

BUT: What are the security implications of tampering with the 
permissions of postfix? Any input is welcome - tia Ingo.




More information about the ubuntu-server mailing list