Hello,

Graeme Fowler pisze:
> 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 :)
>   
Thank you very much for your advice Graeme but xargs complains about 
illegal option -i
I am reading man xargs and even if I substitute -i with -o or the like, 
exim then says:
exim: malformed message id {} after -Mrm option

Thanks!

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