DOKK / manpages / debian 10 / qmhandle / qmhandle.1.en
Qmhandle(1) General Commands Manual Qmhandle(1)

qmhandle - tool to manage the qmail message queue

qmhandle [--help] [--version]

qmHandle is a tool which can be used to manage the qmail message queue. It's written in Perl (so fully customizable) and has more features than qmail-qread and qmail-qstat.

try to send queued messages now (qmail must be running)
list message queues
list local message queue
list remote message queue
show some statistics
display message number N
delete message number N
delete message from sender
delete message from senders matching regular expression re
delete all messages that have/contain text as Subject
delete all messages with headers matching regular expression re (case insensitive)
delete all messages with body matching regular expression re (case insensitive)
delete all messages with headers matching regular expression re (case sensitive)
delete all messages with body matching regular expression re (case sensitive)
flag messages with recipients in regular expression 're' for earlier retry (note: this lengthens the time message can stay in queue)
delete all messages in the queue (local and remote)
print program version
display colored output
list message numbers only

Marcela Tiznado <mlt@debian.org>