User Tools

Site Tools


using_qmhandle_to_delete_qmail_messages

Using qmHandle to delete messages in queue

Download it from here:

   wget wget http://jaist.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz

Untar it

   tar -xzf qmhandle-1.3.2.tar.gz

Head on into the directory

   cd qmhandle-1.3.2

Stop qmail (will be different for RHEL/CentOS)

   sudo service qmail stop

Run the commands for whatever you like. This one deletes all emails for a specific domain:

   ./qmHandle -h'\@stevewi.uk'

Delete all failure notices

   ./qmHandle -Sfailure

Start qmail and wait

   sudo service qmail start

Check the queue and the emails should be gone after a few minutes!

using_qmhandle_to_delete_qmail_messages.txt · Last modified: 2017/03/22 23:19 (external edit)