Viewing and manipulating the postfix mail queue

Today I learned about the ‘mailq’ and ‘postqueue’ commands.

The ‘mailq’ command will list the contents of the Postfix mail queue.

The command ‘postqueue -f’ will process all items in the Postfix mail queue.

There’s more information in this article, View the Sendmail or Postfix mail queue.

Leave a Reply