I've noticed that PHP sends mail out as nobody@hostname. This, of course, is not a fantasic revelation but as I'm still rather new to running a server it came as a bit of a surprise to me.
I would like to set things up so that PHP sends mail out as webmaster@domain for all domains hosted on my server.
I've tried to find out how this may be done and have consequently spent a lot of time reading through threads concerning phpsuexec.
From what I've read, I understand that enabling phpsuexec will mean that php scripts run as the relevant user instead of nobody. However what I haven't been able to determine is what mail is sent out as when phpsuexec has been enabled. Would mail be sent out as user@domain? If so, then enabling phpsuexect is not going to do what I hope.
Is any way of setting things up so that PHP sends mail out as webmaster@domain?
If anyone has any suggestions, I've very much appreciate them!
Cheers,
Jon



LinkBack URL
About LinkBacks
Reply With Quote




