qmHandle on plesk server

On your plesk dedicated server you already have qmail as your mail server and now you’re looking to manage the qmail message queue. qmHandle is the simple program for this.

Install qmHandle on plesk dedicated server using the below steps:

Login to the sever as root.

Download the tar from here using the following command:

root# wget http://jaist.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz
root# tar -zxvf qmhandle-1.3.2.tar.gz
root# chmod 755 qmHandle
root# ./qmHandle –h

Few commands of qmhandle :

List help for qmhandle commands.

qmHandle -h

Show statistics for qmail mail queue

qmHandle -s

Deliver all mails in mail queue.

qmHandle -a

 

 

Available parameters:
-a : try to send queued messages now (qmail must be running)
-l : list message queues
-L : list local message queue
-R : list remote message queue
-s : show some statistics
-mN : display message number N
-dN : delete message number N
-Stext : delete all messages that have/contain text as Subject
-D : delete all messages in the queue (local and remote)
-V : print program versionAdditional (optional) parameters:
-c : display colored output
-N : list message numbers only(to be used either with -l, -L or -R)
You can view/delete multiple message i.e. -d123 -v456 -d567

Leave a comment