Useful Postfix Commands

Below are a list of useful commands for managing a postfix mail server:

mailq – Use to list items in your mails queues

postcat -q MESSAGE_ID – Used to read messages that are in your postfix queue

postsuper -d ALL – Delete all queued messages

postsuper -d ALL deferred – Delete all messages in the deferred queue