Postfix: queue management commands

By Druss , 4 February, 2014

Here are some postfix queue management commands that I find myself using regularly (on an Ubuntu server):

  • mailq: Check the current postfix queue.
  • postcat -q 8523E2FA336F: View message stuck in queue with ID 8523E2FA336F. The ID can be found in the mailq output.
  • postqueue -f: Flush the queue; Force postfix to attempt sending the mail immediately instead of waiting for a while.
  • postsuper -d 8523E2FA336F: Delete message in queue with ID 8523E2FA336F. The ID can be found in the mailq output.
Tags Old

All times are UTC. All content licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.