Table of Contents

Mail Server#MTA (mail transfer agent)

Qmail

Commands

Explanation Commands
List Configuration /var/qmail/bin/qmail-showctl

Queue

Explanation Commands
qmail-qstat gives a human-readable breakdown of the number of messages /var/qmail/bin/qmail-qstat
qmail-qread scans the outgoing queue of messages. /var/qmail/bin/qmail-qread
Delete All Queues
# bash
# shopt -s extglob       <-   Enable regular expression in bash
# find /var/qmail/queue/?(mess|info|remote|local) -type f -name '[0-9]*' -exec rm {} ?;