Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Problem: Server sending SPAM mails. Mail Queue with thousand of mails

    My server is sending SPAM mails. There are more than 4096 mails in queue. When I delete de mails in queue, in minutes it's get over thousand again.

    I attach TOP order by CPU and by Memory. Also attach an example of the mail queue and the mails that are sent.

    Please help that my server runs out of memory all the time.

    Problem: Server sending SPAM mails. Mail Queue with thousand of mails-top.png
    Problem: Server sending SPAM mails. Mail Queue with thousand of mails-top2.png
    Problem: Server sending SPAM mails. Mail Queue with thousand of mails-mail-queue.png
    mail example.txt

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Problem: Server sending SPAM mails. Mail Queue with thousand of mails

    Are you using DSO on the machine for the PHP handler? If so, I would suggest switching to suPHP and then changing this to "On" in WHM > Tweak Settings:

    Prevent “nobody” from sending mail
    The email you've provided was sent by the user nobody, so it isn't even possible to track down any other details without a lot of effort:

    1QU3hD-0004bX-KY-H
    nobody 99 99
    <nobody@cp01.picton.cl>
    1307481619 0
    -ident nobody
    -received_protocol local
    By preventing nobody from sending emails, you'll stop these emails. Unfortunately, if you are using DSO for the PHP handler (WHM > Apache Configuration > PHP and SuExec Configuration area shows your current PHP handler), then you cannot stop the user nobody from sending emails as PHP scripts run as nobody and any mail script will run as that nobody user.

    Here are some additional tips for configuring exim to improve detection of spammers and to prevent spoofing:

    http://forums.cpanel.net/f34/setup-l...tml#post843452
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Re: Problem: Server sending SPAM mails. Mail Queue with thousand of mails

    Many thanks for the answer. I'll try to do this.

    But, there is a way for knowing wich subdomain is sending this mail? So I could fix the root of the problem.

    Thanks!

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Problem: Server sending SPAM mails. Mail Queue with thousand of mails

    If you are running DSO, then it is nearly impossible to determine.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Re: Problem: Server sending SPAM mails. Mail Queue with thousand of mails

    Now I'm trying to change php handler to suPHP, but the server it really slow

    When I have this done. How can I know from where this mails are sent?

    Many thanks for everything!

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Problem: Server sending SPAM mails. Mail Queue with thousand of mails

    Did you review the previous thread I provided a link? This one:

    http://forums.cpanel.net/f34/setup-l...tml#post843452

    You need to change your settings after changing to suPHP to prevent nobody from sending first off. After that, you need to add the additional logging for exim in WHM > Exim Configuration Editor > Advanced Editor area. I don't imagine you want to remove sendmail as mentioned in the link, but you should do everything else. Once you have, then let us know how it is going for these spam sending out even. You are never going to be able to backtrack the existing emails to see who sent them. There isn't enough information to determine it under DSO.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 03-28-2011, 11:01 PM
  2. mails sent from server are in Queue Manager...
    By DenisJ in forum E-mail Discussions
    Replies: 0
    Last Post: 09-29-2010, 04:25 PM
  3. mail server (exim) forwards mails marked as spam
    By hariskhan in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-11-2006, 01:33 AM
  4. Separate queue for mail() e-mails
    By netlook in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-15-2006, 08:26 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube