Herr Bischoff

How to Flush the Postfix Mail Queue

As I’m currently dabbling with email server setups, just as a quick reminder to myself:

Flush mail queue

postfix flush

Check mail queue contents


Remove all mail from the queue

postsuper -d ALL

Remove all mail in the deferred queue

postsuper -d ALL deferred