Prevent “nobody” from sending mail in server with smarthost

24x7server

Well-Known Member
Apr 17, 2013
1,913
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

Which php handler are you using on your server ?

Preventing the nobody system user from sending mail will be work when PHP and CGI scripts generally run as nobody when the system is using mod_php, or when suEXEC is disabled on the server. If you enable SuExec and SuPHP so that scripts should no longer be running as user nobody. Instead, these scripts run as the actual cPanel user.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hello :)

I suggest implementing rules on the smart host to prevent outgoing emails from certain users such as "nobody".

Thank you.