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

Feb. 11, 2019, 8:58 a.m.Robert

Explanation

Print exim queue, pipe it to exiqgrep to extract message ids, and pass them to exim -Mrm using xargs to remove.