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.

PHP SPAM scripts prevent sending from any mail address

Discussion in 'E-mail Discussions' started by postcd, Aug 12, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    619
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    some spam php scripts are being uploaded to my one cpanel accounts. its wordpresses.

    the spammer uses various russian email addfresses as a sender, how can i prevent this and allow sending only from domain which is hosted on that cpanel account?

    Or how i can disallow some cpanel account to queue more than lets say 1000 emails?

    thx
     
  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 can use the "Advanced Editor" in "WHM Home » Service Configuration » PHP Configuration Editor" and add "mail" to the disable_functions option to prevent PHP scripts from sending out email without authenticating. Search for terms such as "prevent spam" and you will see dozens on threads on this topic.

    Thank you.
     
Loading...

Share This Page