HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


Fastest method for removing massive amount of spam emails from exim queue

There are a number of methods for removing emails from exim queue. The following one is a generic method , but it is slow ,

#exim -bpru | awk {‘print $3’} | xargs exim -Mrm

But using a generic find command is easy , because it will remove the spam email files on-the-way .You can use the following find command to remove it from a cpanel exim server.

# find /var/spool/exim/input/ -type f -exec rm -vf {} \;

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 12
3456789
10111213141516
17181920212223
24252627282930
31 

Born in 2004 ... Trusted By Clients n' Experts