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!

Email limit not working

Discussion in 'E-mail Discussion' started by fate12, Jan 4, 2017.

  1. fate12

    fate12 Active Member

    Joined:
    Oct 29, 2013
    Messages:
    41
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    We lately had some accounts hacked (Wordpress) on our shared hosting server.
    Scripts are uploaded that run as apache processes (index.php disquised a Joomla fies)
    We immediaty limit those accounts to 1 email per hour.

    This hacker found something to simply bypass this.
    Its send mail from info@"other domains on server".
    Apparently the limit does not apply then and lots of spam is beïng send.

    A lot more spam then usuall is send that way because the normal limit of 500 mails an hour is also bypassed because each domein can send 500 mails.

    Is there a way to solve this?

    Thanks!
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I think your accounts sending mails using php mail script and due to that "email per hour" setting not work.

    Bellow command will show the exact path for the mail script.

    Code:
    cwd /var/log/exim_mainlog|grep -v /var/spool|awk -F"cwd=" '{print $2}'|awk '{print $1}'|sort|uniq -c|sort -n 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fate12

    fate12 Active Member

    Joined:
    Oct 29, 2013
    Messages:
    41
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    So there's no way to make scripts sending email to respect the email limit?
     
  4. 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:
    Hello,

    Could you verify which PHP handler (e.g. DSO, suPHP) is enabled on the system for the version of PHP assigned to this account?

    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