January 22nd, 2012, 08:36 AM
Join Date: Jan 2012
Time spent in forums: 24 m 49 sec
Reputation Power: 0
Change user which executes script called by postfix (mail pipe)
I have a executable php-script that's called from postfix with a virtual alias:
mail-addr..(is blocked by forum ) test
test "| /test/test.php"
this works great....
the executing user is "nobody", and if I write a file with the script, the file's owner is "nobody".
how can I change this user to "www-data"?
I want to save incoming mails and make them available to download via http.
Greets and thanks for your help!