Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bypass nobody email sending

Discussion in 'E-mail Discussions' started by HuMaN-BeInG, Jan 30, 2017.

Tags:
  1. HuMaN-BeInG

    HuMaN-BeInG Registered

    Joined:
    Jan 30, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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,,
     
  2. NOC_Serverpoint

    NOC_Serverpoint Well-Known Member

    Joined:
    Jul 3, 2016
    Messages:
    102
    Likes Received:
    6
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Hi,

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

    Regards,
     
  3. HuMaN-BeInG

    HuMaN-BeInG Registered

    Joined:
    Jan 30, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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,,
    BTW the script i used to run isnt either php or cgi instead its bash script
     
    #3 HuMaN-BeInG, Jan 31, 2017
    Last edited by a moderator: Jan 31, 2017
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page