Bypass nobody email sending

HuMaN-BeInG

Registered
Jan 30, 2017
2
0
1
Egypt
cPanel Access Level
Root Administrator
Hello there,
I'm using WHM/Cpanel server whose sending mail from php nobody is disabled within tweak settings for keeping our server secure against spam issues,
Now we have installed Modsecurity but we want to enable sending email alerts within modsecurity which is refused to sent & throw the following error
Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings
so how could we keep disabling nobody from sending emails except for specific script ?
any help will be appreciated
please all accept our best regards,,
 

HuMaN-BeInG

Registered
Jan 30, 2017
2
0
1
Egypt
cPanel Access Level
Root Administrator
Hello NOC_Serverpoint,
first thak you so much for trying to help me,
second, suExex is already enabled within the server as shown
Available handlers: suphp cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
SUEXEC: enabled
RUID2: not installed
so what is the problem, i have searched & tried sudo but nothing fix my problem
please all accept my best regards,,
Hi,

To use a PHP or CGI script to send mail, enable the suEXEC or mod_php modules in your Apache configuration.

Regards,
BTW the script i used to run isnt either php or cgi instead its bash script
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363