Block system account to send mail
Hi,
I have this situation. Running a webserver with cPanel and lots of domains with wordpress. Most of the time wordpress is not up to date and is easy hackable because clients just do not care. Because of this I end up with scripts uploaded via vulnerabilities and sending spam.
Since PHP is running under the domain's ftp account via suPHP the spam is often time sent using the system account of the domain that was hacked.
Is there any way to disable emailing out for all system accounts except root?
Please let me know
THanks
-
Since PHP is running under the domain's ftp account via suPHP the spam is often time sent using the system account of the domain that was hacked. Is there any way to disable emailing out for all system accounts except root?
Hello, You could add "mail" to the disable_functions option in your PHP configuration file to prevent PHP scripts from sending out email. Also, the "SMTP Restrictions" option documented at the URL below is often helpful when attempting to prevent SPAM:0
Please sign in to leave a comment.
Comments
1 comment