exim -bp | exiqgrep -i | xargs exim -Mrm
February 11, 2019 — 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