著者: Jethro R Binks 日付: To: Exim-Users 題目: Re: [exim] Remove from queue
On Tue, 8 Dec 2009, tower wrote:
> I want to remove messages from exim queue. There is a lot of message id
> but one sender, so use exim -Mrm <id-message> isn't a nice idea. I
> should use some like exim -?? <sender address>.
I use something along the lines of:
exiqgrep -i -f senderaddress | xargs exim -Mrm
Make sure you check the output of your exiqgrep before you use it, if you
are sloppy and don't fully specify senderaddress you might match more than
you intended:
exiqgrep -f senderaddress
Jethro.
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks
Computing Officer, IT Services, University Of Strathclyde, Glasgow, UK