Managing Mail Queue Using qmHandle


 

The mail queue in Qmail can be managed using qmHandle. The useful commands are given below:

Suffix command "qmhandle" with the below parameters. Eg: qmhande -a
=================================================
-a : try to send all queued messages now (qmail must be running in this case)
-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
-fsender : delete message from sender
-f're' : delete message from senders matching regular expression re
-Stext : delete all messages that have/contain text as Subject
-h're' : delete all messages with headers matching regular expression re (case insensitive)
-b're' : delete all messages with body matching regular expression re (case insensitive)
-H're' : delete all messages with headers matching regular expression re (case sensitive)
-B're' : delete all messages with body matching regular expression re (case sensitive)
-t're' : flag messages with recipients in regular expression 're' for earlier retry (note: this lengthens the time message can stay in queue)
-D : delete all messages in the queue (local & remote)
-V : print program version
====================================================

Contact us now for more information at www.bytehouse.co.uk.

Last update:
2016-07-01 15:37
Author:
Sherin George
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags

top