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.

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:
    175
    Likes Received:
    0
    Trophy Points:
    16
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page