Skip to content

Instantly share code, notes, and snippets.

@perusio
Created October 21, 2013 10:11
Show Gist options
  • Save perusio/7081563 to your computer and use it in GitHub Desktop.
Save perusio/7081563 to your computer and use it in GitHub Desktop.
Remove all messages from the Postfix queue.
mailq | awk '/^[0-9A-F]+/ {print $1}' | postsuper -d -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment