Today, I will go to work, QMail's queues have been more than 5,000. They are all spam queues that can not be sent. According to the previous practice:
1) Stop qmail 2) Find / VAR / QMAIL / Queue / $ I -TYPE F -EXEC RM {}; 3) Restart the QMAIL. The queue in the queue is included in the following directory / var / qmail / queue / {info, mess , Remote, Local} / hash / # number
Today, I'm a good idea, I want to see what the online is better, I have found the software below, and I do it. Qmail-Remove Introduction: http://www.linuxmagic.com/opensource/qmail/qmail-Remove/
Download: wget http://www.linuxmagic.com/opensource/qmail/qmail-remove/qmail-remove-0.94.tar.gz
installation:
#tar zxf qmail-transove-0.94.tar.gz
#CD qmail-remove-0.94 # make # make install # cd / var / qmail / queue # mkdir yanked [all queues in all queues will be transferred to this directory, how to deal with you :)]
Run: # qmail-remove -r [Note: Stop QMail before using this command]