3,806 views

How to Clear / Clean Qmail Queue Instantly!

Solution to this problem as noted from the ev1 forum from back in 2004, scripts in this post are currently hosted at another site to ensure this post stays live and active to help others.

Clear / Clean Qmail Queue Completely, Safely & Fast.

Here is a quick and easy way to clear all email from the queue.
This will not remove anything it should not remove. The script just clears all email from the queue safely and this is ONLY for qmail.
( Note: This is not for use with any other email programs )

CLICK HERE FOR THE UPDATED VERSION!
Clear / clean / empty the qmail queue

1) login to your server via ssh
2) su -
3) wget http://www.japanitup.com/scripts/qmailclear.sh
5) sh qmailclear.sh or sh ./qmailclear.sh
6) done.

For those that receive oversized file truncting errors.
Use the following more intense script. It take a little
longer but gets the job done.

1) login to your server via ssh
2) su -
3) wget http://www.japanitup.com/scripts/qmailclean.sh
5) sh qmailclean.sh or sh ./qmailclean.sh
6) done.

I hope this has helped others out!

0 Responses to “How to Clear / Clean Qmail Queue Instantly!”


  1. No Comments

Leave a Reply