Binary package “pmailq” in ubuntu kinetic
Postfix mail queue manager
pmailq processes the output of the Postfix mailq command, and can list, parse
(machine-
by size, by queue status, and by pattern matching (with wildcards) on
recipient addresses and server error messages.