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!

Spamming on shared hosting

Discussion in 'Security' started by milindras, Apr 23, 2013.

  1. milindras

    milindras Member

    Joined:
    Dec 29, 2010
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    UK
    Hi,
    We have a whm/cpanel web hosting server which hosts many websites. All websites shared 01 IP address.

    Customer A has a hosting plan with us which also has email hosting
    Recently Customer A's computer was effected with a trojan/virus started to send thousands of spam emails to outside and that made our shared IP black listed with several Spam blocking servers so they could not send emails to some users. This also effected all the other customers on our server as they also use the same IP to send emails.
    My questions are

    1. Is this a normal situation for shared hosting? Or is there any other things I can tweak from my server end to prevent this?

    2. How do I know when this kind of situation likely to be happen or as soon as it happens? Is there any free tools I can use so they can send alerts when spamming from my IP?

    Many Thanks
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    1,010
    Likes Received:
    87
    Trophy Points:
    78
    cPanel Access Level:
    DataCenter Provider
  3. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    ConfigServer Firewall
    ConfigServer Security & Firewall
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    There are a few tweaks that can help fight spam from your server.

    Max hourly emails per domain - Set this to something to contain their damage if a site starts sending out spam.

    Prevent “nobody” from sending mail

    Track email origin via X-Source email headers

    This way if you do have a site go rouge on you, it's easier to track or they can't do as much damage.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    If there is any hacked account on server then spamming can also happen from it. Check the script source by monitoring exim logs with the help of below command.

    tail -f /var/log/exim_mainlog | grep cwd
    cwd= current source of the emails.
     
    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