Hi,
I have several customers using the PHP mail() and it is not relaying messages to external mailboxes. It does appear, from initial observations that it is sending mail to accounts actually on the server.
Any idea how to fix this?
Thanks.
Hi,
I have several customers using the PHP mail() and it is not relaying messages to external mailboxes. It does appear, from initial observations that it is sending mail to accounts actually on the server.
Any idea how to fix this?
Thanks.
Hi,
make sure you use a valid smtp username and password if you've dis-allowed nobody's mail from Root WHM.
you should also enable "phpsuexec ".
if this doesn't helps, look into log for more details.
see ya,
mohit
Learn atleast A word Daily
7+1 Dedicated Boxes with cPanel...
yeah, go into tweak settings. I bet "nobody" has been forbidden from sending mail for security purposes.
Hello,
"Nobody" is allowed to send mail to remote addresses.
I once compiled Apache for phpsuexec but it caused alot of major issues for alot of sites such as causing .htaccess not to work and several other things that caused the affected sites to not load.
Anyway WHM says:
Prevent the user 'nobody' from sending out mail to remote addresses (php and cgi scripts generally run as nobody if you are not using phpsuexec and suexec respectively.)
Which implies that phpsuexec is not required.
Any other suggestions please?
Thank you.
tail -f /var/log/exim_mainlog
watch the logs output when you're trying to send to an external address.
phpsuexec is no longer being developed as far as I know.
http://www.webhostgear.com/forums/showthread.php?t=16
Upload Guardian 2.0 - Sign up for our early beta
ServerProgress - Server security, consulting and assistance
I had heard that it had been picked up again, but haven't been able to find any evidence. cPAnel have said that they will continue to support it, though, while it still works with apache. Shame the php developers can't take real world web hosting security into accountOriginally Posted by ramprage
![]()
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Thanks; I did this and the message did not appear in the Exim queue which is what I have been observing before.Originally Posted by ramprage
Messages are being delivered locally to accounts on the server, but not being relayed to Exim it seems.
Any further ideas?
Thanks.
That doesn't make sense. You should see the email being relayed in exim_mainlog, if you don't then it's not reaching exim and your problem lies elsewhere. If it is being logged in exim_mainlog then you need to follow the email delivery process in it and post it here if you don't understand it.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com