postfix tips

Logs are usually in /var/log/maillog. Be root to perform commands below.

Show all messages in the queue:

postqueue -p

Delete messages in queue, by one or by all:

postsuper -d <QUEUE_ID>
postsuper -d ALL