Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    18

    Default I think I have a spammer on my webserver

    Long story short:

    My outbound internet connection at work is being taxed, heavily. If I kill Exim on my webserver, my connection returns to normal. Re-enable Exim and seconds later I'm being hosed again.

    Abuse.net doesn't seem to think I have an open relay. I have tried telnet'ing in and sending email, only to be denied access. I can't seem to find a rogue process that might be sending tons of spam.

    I'm nowhere near an Exim expert so I don't really know how to read the logfiles to pinpoint possible causes of the massive bandwidth usage.

    Any thoughts on what I can do/check to hopefully fix my problem? I'm at a complete loss here.

    Thanks in advance.

  2. #2
    Member
    Join Date
    Jun 2007
    Posts
    18

    Default

    I've been looking at /var/log/exim_mainlog and you'd think that a compromised exim that's completely saturating a 1meg upload would be constantly writing to that file, right?

    It's barely updating every couple seconds. I don't get it.

    Any thoughts?

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    You want to look at all the logs, these are just a few ...

    /var/log/maillog
    /var/log/exim_mainlog
    /var/log/exim_rejectlog

    One that might be more important in your case:

    /var/log/exim_paniclog

    You could also have a configuration error in your exim or your firewall that could be dragging your connection down and might not be doing anything with spam at all (Then again it could be that too). Depending on your security configuration, you could also have some script somewhere that is bypassing your system processes and making direct connections but this can very easily be restricted.

    If you have not done so already, I would suggest setting up extended logging for your mail server so you can more readily detect scripts making repeat mail server calls

    To do this, go in to "Exim Configuration Editor" in WHM and click on the "Advanced Editor" button and in the page that comes up, go to the first white textbox you see scrolling down from the top of the page and write the following line and then save everything:
    Code:
    log_selector = +arguments +subject +received_recipients
    How much system memory do you have? If you are operating on a low memory configuration such as the case may be with a VPS server, you will probably want to use "Dovecot" instead of "Courier" as it has a bit lower memory overhead and might work better in that situation.

    If you want to get a better feel of what is going on in your system, here is a couple of commands you may want to take a look at:
    Code:
    ps aux | less
    top
    netstat -ntu
    You can always reset Exim's configuration back to default from the "Exim Configuration Editor" at anytime and start over or reinstall Exim using Cpanel's included script "/scripts/eximup --force"

    Chirpy has a few scripts at configserver.net that may be of interest to you also and are easy to install and most notable to for this particular issue would be "Mail Queues" (cmq) and "Mail Manage" (cmm)

Similar Threads & Tags
Similar threads

  1. Is this a good webserver ?
    By cobro in forum New User Questions
    Replies: 2
    Last Post: 11-11-2009, 02:34 PM
  2. Webserver error
    By mr_benz101 in forum New User Questions
    Replies: 1
    Last Post: 02-23-2008, 08:51 PM
  3. A better webserver then apache 1.3 ?
    By bjarne in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-28-2006, 06:20 PM
  4. Re Webserver [moved]
    By ecn in forum New User Questions
    Replies: 3
    Last Post: 01-14-2006, 04:33 PM
  5. WebServer Crashing
    By xavierkca in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-25-2005, 04:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube