On Wed, 2008-01-02 at 15:34 +0100, zbigniew szalbot wrote:
> I have a lot of mailman bounces destined for an admin address (my 
> error). I would like to delete them from queue (no need to send them). 
> How do I do that? I can delete a single message using -Mrm option but 
> can anyone share how to do that for all messages destined for one 
> recipient? We're talking about 4K emails in this instance.

Assuming a sender of the form:

[EMAIL PROTECTED]

you'd do:

exipick -f "[EMAIL PROTECTED]" -i |\
   xargs -i exim -Mrm {}

exipick really is your friend, especially in cases like this :)


-- 
## 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