OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: AW: Permissions and alias commands.
From: Tobias Wolff (wolffnewstrader.de)
Date: Thu Oct 12 2000 - 07:39:07 CDT


>Better:
>user: "|/someplace/script.pl param1 > /somewhere/tmp.log"

OK.

>No, it isn't. Try RTFM (man local) -- in absence of a user context,
>the commands are executed as the default user (which is nobody).

Mmmh. In absence of a user context .... can I set a user context????

>What you could do is to create a separate aliases file, with owner "user".
>Reference this from main.cf using the alias_maps parameter:

>alias_maps = hash:/etc/postfix/aliases,
> hash:/etc/postfix/aliases.user

>aliases.user belongs to the user "user" (don't forget to postalias!)

I am using a mysql database fro the aliases.

Thanks Ralf,
Tobias.