This is an old revision of the document!
http://gnufreakz.wordpress.com/2010/06/08/postfix-queue-management
http://blog.gtuhl.com/2008/08/14/basic-postfix-queue-management
http://postfixmail.com/blog/index.php/manage-mail-in-the-deferred-queue/
These systems use Postfix as the MTA:
postqueue -p
View a particular message:
postcat -q <queueID> | head --lines 100
grep "Nov 13 06:13:" /var/log/maillog* grep "D233911382F9" /var/log/maillog*
Attempt to send queued mail now:
postqueue -f
View a deferred message:
postcat -q 022412012A | head -40
or:
postcat /var/spool/postfix/deferred/0/022412012A
Delete all queued mail:
postsuper -d ALL