Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    263

  2. #2
    What do you use for mail server?
    If it is Exim then the following would give you a headstart :

    Who is having large number of emails?

    exim -bp | exiqsumm


    To check message header

    exim -Mvh messageid


    To check message content

    exim -Mvb messageid


    Removing Bad Mail

    for i in `exiqgrep -i -f nobody`; do exim -Mrm $i; done >> Removes Nobody Mail

    for i in `exiqgrep -i -o 259200`; do exim -Mrm $i; done >> Removes Mail older than 3 Days

    for i in `exiqgrep -i -f ^<>$`; do exim -Mrm $i; done >> Removes Mail with weird Characters (Spam)


    Delete mails from a particular domain

    for i in `exiqgrep -i -f domain.com`; do exim -Mrm $i; done



    Delete mails to a particular domain

    for i in `exiqgrep -i -r domain.com`; do exim -Mrm $i; done


    Flush the entire Mail queue

    for i in `exiqgrep -i -f `; do exim -Mrm $i; done


    Run Mail queue

    runq -qqff&

  3. #3
    Join Date
    Jun 2006
    Location
    Cluj Napoca
    Posts
    468
    until you can find the spammer you can block access for 'nobody' or 'apache' a.s.o. through iptables. Do you by chance have csf or apf installed ?
    IntoDNS - Check your DNS health and configuration
    FLEIO - OpenStack billing and control panel for service providers

Similar Threads

  1. Mail server ip comes up as spam
    By Hostingunderadollar in forum Hosting Security and Technology
    Replies: 4
    Last Post: 12-19-2008, 12:10 PM
  2. mail server & anti spam etc
    By daninmanchester in forum Hosting Software and Control Panels
    Replies: 0
    Last Post: 11-13-2006, 08:59 PM
  3. Help: Exim + Unknown Domain SPAM?
    By LiNUxG0d in forum Hosting Security and Technology
    Replies: 0
    Last Post: 12-27-2005, 02:20 PM
  4. Mail server error - spam? How to fix?
    By Dann2 in forum Hosting Security and Technology
    Replies: 0
    Last Post: 10-12-2004, 11:51 AM
  5. using mail server for spam
    By cannibal in forum Dedicated Server
    Replies: 23
    Last Post: 07-31-2004, 03:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •