Re: [Exim] delete frozen messages

Top Pagina
Delete this message
Reply to this message
Auteur: Tabor J. Wells
Datum:  
Aan: Suresh Ramasubramanian
CC: Michael West, exim-users
Onderwerp: 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