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.

restrict only mailbox auth before sending mail ?

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

  1. tyuuu

    tyuuu Well-Known Member

    Joined:
    Oct 16, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    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,146
    Likes Received:
    34
    Trophy Points:
    48
    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
     
Loading...

Share This Page