I'm currently setting up e-mail piping to a PHP script in a directory not accessible by others (it's set to 750). Postfix runs the pipe command under the user 'nobody', who naturally won't be able to access the script. I'm a bit hesitant in adding execute permissions to that folder, since I don't want other users to be able to access it (even if they don't know the path). So, what I do want, is to have the pipe command run under a different user, that does have access to that folder.
The server I want to do this on has Virtualmin installed. I've set everything up with Virtualmin, including the alias that is fed to the PHP script. There's several threads on the Virtualmin forum about this issue, but there's no solution there yet other than making the folder executable by others.
So, how can I let the pipe command run under a different user than nobody?