Created
November 30, 2017 12:27
-
-
Save deviousway/d0ad3ccef9882869c6e876803b9ff43e to your computer and use it in GitHub Desktop.
Exim Remove All messages From the Mail Queue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash | |
or | |
exim -bp | exiqgrep -i | xargs exim -Mrm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment