$ exim -bp | exiqgrep -i | xargs exim -Mrm
Feb. 11, 2019, 8:58 a.m. — Robert
Print exim queue, pipe it to exiqgrep to extract message ids, and pass them to exim -Mrm using xargs to remove.
exiqgrep
exim -Mrm
xargs