? Clear / Clean Qmail Queue Completely, Safely & Fast.

Clear / Clean Qmail Queue Completely, Safely & Fast.

Posted: Friday, August 13, 2010 4:12 PM Quote
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.
It just clears all email from the queue safely.
This is just for qmail. ( Not for use with any other email programs)
Thanks goes to my Friend Zike at RS / EV1.
1) login to your server via ssh
2) su -
3) wget http://wepraisehim.org/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://wepraisehim.org/qmailclean.sh
5) sh qmailclean.sh or sh ./qmailclean.sh
6) done.
Posted: Friday, August 13, 2010 4:13 PM Quote
use the following command to get the email count in qmail
/var/qmail/bin/qmail-qstat
Posted: Saturday, August 14, 2010 4:43 PM Quote
use to delete all the queued email from the
postfix MTA under linux use the following command.
postsuper -d ALL
For changing root password SSH with your server using any
SSH tool then use the below command
[root@servername ~]#su root
[root@servername ~]#passwd
then the server will ask you new password enter and confirm the same.