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!

restrict only mailbox auth before sending mail ?

Discussion in 'E-mail Discussion' started by tyuuu, Sep 27, 2015.

  1. tyuuu

    tyuuu Well-Known Member

    Joined:
    Oct 16, 2005
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    because some site be upload malware script to spam,

    it seems those mails be sent out via cpanel username,

    is it possible that restrict all the mails need taking mailbox auth bofore sending out ?

    it means if the malware script does not know the cpanel account's mailbox and correct password,

    they can not send mail out at all.


    thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,880
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Malware infected scripts are sending mail through php mail function. You will have to secure your server with the following docs

    https://documentation.cpanel.net/display/CKB/How+to+Prevent+Email+Abuse

    Also if you want, you can disable php mail function on your server but once you disable it your site contact form will not work. You will have to update your site mail setting to SMTP authentication instead of php mail
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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