Skip to content
Nigel Metheringham edited this page Nov 29, 2012 · 2 revisions

Q5022

Question

Is there an easy way of removing all queued messages at once in a safe way?

Answer

Try this command:

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

Clone this wiki locally