Skip to main content

Block system account to send mail

Comments

1 comment

  • cPanelMichael
    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.