Re: [Exim] remove old frozen messages

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Peter Radcliffe
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] remove old frozen messages
"Tabor J. Wells" <twells@???> probably said:
> Laurent Luyckx <ll@???> is thought to have said:
> > I've a stupid question but I can't find the answer...
> >
> > I've 1156 frozen messages from the 15th of October 1999 (it's the day I
> > began to run Exim).
> >
> > My question is : How can I delete them without deleting non-frozen
> > messages.


> Something like:
>
> exim -bpu | fgrep "*** fro" | awk '{print $3}' | xargs exim -Mrm


I wrote a script some time ago (after staring with a very similar
line as Tabor has there :) to clean up exim queues of frozen messages.

ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/Contrib/scripts/multidelete

It's faster than a pipeline and you can match against the sender of
the message to be more particular about which frozen messages you
delete.

P.

-- 
pir                  pir@???                    pir@???