How to disallow php scripts sending out mail from outside server mail addresses?
Hello,
from time to time there are some php spam scripts inected and they send email from some random even non existing mail addresses. How to prrevent this and allow only like:
[System]
root@myserverhostname.com
cpanelusername@myserverhostname.com
?
-
Hello :) For PHP scripts, you could add "mail" to the disable_functions line in your PHP configuration file. However, that's not configurable on a per-email-address basis. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment