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!

PHP SPAM scripts prevent sending from any mail address

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

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    692
    Likes Received:
    14
    Trophy Points:
    68
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    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.
     
    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