How to clear postfix mail queue

If you want to clear postfix mail que. You need to login to server using SSH and run the following commands

To remove all mail from the queue, enter:
# postsuper -d ALL

To remove all mails in the deferred queue, enter:
# postsuper -d ALL deferred

Was this article helpful?

Leave A Comment?