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!

How secure mail function

Discussion in 'Security' started by mahdy_sharifi, Nov 10, 2014.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Hello :

    On our server even after good secureing We see sometimes our customer victim of Hacker and their site or weak scripts used as sending Spam over php mail() function .

    How Can secure this function ? we don't like disable this function.

    We use :
    modsec
    CSF
    CXS
    ....

    but sometimes this problem occured

    Regards
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You will need to disable the "Mail" function for PHP to prevent email from sending out through PHP scripts. Otherwise, you would simply need to better monitor the accounts or make sure your users are uploading secure scripts.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice