exim command line question

I would like to delete all pending mail in my mail queue that contains the string "foofoo".  I know the command to delete everything is exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}'| shHow would I amend this for just the string "foofoo"?

 

Thanks!

 

 

 

 

Top