Remove exim queue mail in console

After stopped the spam, I need to clear the spam queue in exim


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