Re: [exim] Delete frozen messages

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kjetil Torgrim Homme
Dátum:  
Címzett: Renaud Allard
CC: exim-users, lista_exim
Tárgy: Re: [exim] Delete frozen messages
On Mon, 2007-05-21 at 23:34 +0200, Renaud Allard wrote:
> As you seem to have found the solution by yourself, I will just give you
> a hint if you want to remove them asap..
> /usr/sbin/exim -bp | grep frozen | awk '{print $2}' | xargs
> /usr/sbin/exim -Mrm


of course that will delete messages from sales@???, too.

also please pick up the Useless Use Of GREP Award on the way out ;-)

exim -bp | awk '$6 == "frozen" {print $3}' | xargs exim -Mrm

(only included to illustrate why the grep was unnecessary)
--
Kjetil T.