PHP running as nobody can't send emails
One of my clients is trying to run a PHP form mailer via Apache (rather than having it in the CGI-BIN). This means the form mailer is running as the user nobody. The emails are not sent but they keep coming back. I guess this is because Sendmail or whatever PHP uses to send emails doesn't like the user nobody.What can I do about this ? Please remember this is a shared server and I do not want to change any settings that would make the server spammer friendly etc. I did ask the client to move the script to CGI-BIN but this seems to cause problem since the script accesses other scripts and he would have to change a lot of paths etc.
If you recommend to change the system configuration (like allowing Sendmail to send emails as nobody or switchig on the -f thingy in php.ini please let me know if there are any security problems with that). I'm not really sure what to do here...What would you do ?