+++ Iain Donaldson [exim-users] <19/09/01 18:09 +0100>: > Anyway, one of our customers had a spam attack and it's left our exim mailer
> with a queue of duff e-mails (several hundred at least). I need to clear
> them all out, is there an easy way to do this other than kill each one in
> turn or just wait for them to be frozen ?
# exim -Mrm `mailq|grep regexp|cut -c 11-27`
That regexp can be, for example, the from address the spammer has used.
[those ` are backticks, just below the ~ character - to the left of the 1 on
your keyboard]
> I'm a bit of an exim novice as my exim guru left the company a few weeks ago
> and has not been replaced so any thoughts/help much appreciated.