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

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to