Skip to content

Instantly share code, notes, and snippets.

@iammart
Created January 6, 2014 09:31
Show Gist options
  • Select an option

  • Save iammart/8280288 to your computer and use it in GitHub Desktop.

Select an option

Save iammart/8280288 to your computer and use it in GitHub Desktop.
[EXIM] Mail Queue
# Report
/usr/sbin/exim -bp | /usr/sbin/exiqsumm
# Remove all in queue
/usr/sbin/exim -bp | awk '/^ *[0-9]+[mhd]/{print "/usr/sbin/exim -Mrm " $3}' | bas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment