Small blog about system administration.

HOWTO: Catching spammer on cPanel based server.

If you see many processes of exim then you can check exim in more detail. shows the total no of email in qmail.
Print a listing of the messages in the queue:

#exim –bpc

Shows no of frozen emails:

#exim -bpr | grep frozen | wc -l

To remove FROZEN mails from the server:

#exim -bp | exiqgrep -i | xargs exim -Mrm

To shows the domain name and the no of emails sent by that domain:

#exim -bp | exiqsumm | more

Check if any php script is causing the mass mailing with:

#cd /var/spool/exim/input && egrep “X-PHP-Script” * -R

Just cat the ID that you get and you will be able to check which script is here causing problem for you.
To Remove particular email account email:

#exim -bpr |grep “”|awk {‘print $3′}|xargs exim -Mrm


Post a Comment