Re: [Exim] delete frozen messages

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tabor J. Wells
Päiväys:  
Vastaanottaja: Suresh Ramasubramanian
Kopio: Michael West, exim-users
Aihe: Re: [Exim] delete frozen messages
On Mon, Mar 17, 2003 at 07:59:48AM +0530,
Suresh Ramasubramanian <mallet@???> is thought to have said:

> What I use is
>
> # exim -Mrm `mailq|grep frozen|cut -c 11-27`


Not terribly safe considering that the sender address of mail on your queue
might be sender@???

Try:

# exim -Mrm `exim -bpu | awk '/\*\*\* frozen \*\*\*/ {print $3}'`

or

# exim -bpu | awk '/\*\*\* frozen \*\*\*/ {print $3}' | xargs exim -Mrm

Tabor

--
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality