Clear EXIM email queue

📔
Documentation & Help

To clear your queue you can use the following command, but if you have a large queue the command under works a lot better, but it's also file list based.

exim -bp | exiqgrep -i | xargs exim -Mrm

Better for large list

exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash