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

# OR 

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