Re: [exim] Remove "not reached" emails

Pàgina inicial
Delete this message
Reply to this message
Autor: Nigel Metheringham
Data:  
A: exim-users
Assumpte: Re: [exim] Remove "not reached" emails
On Tue, 2004-10-19 at 15:21 +0200, Christopher Chaduka wrote:
> On Tuesday 19 October 2004 15:11, sam wun wrote:
> > I found the following command will remove all emails with message "not
> > reached" from the queue:
> > exim -bp | awk '{print $3}' | xargs exim -Mrm
>
> ...errrrmm, that will delete _ALL_ e-mails in the queue


but it DOES remove all emails with message "not reached", and all the
others as a free bonus.

I'd suggest exipick is safer:-
exipick -zi
to list message IDs of frozen emails,

or
exipick -zi | xargs rxim -Mrm
to delete them

    Nigel.


-- 
[ Nigel Metheringham           Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]