Re: [Exim] Remove messages from Que

Top Pagina
Delete this message
Reply to this message
Auteur: Dave C.
Datum:  
Aan: Roberto Mason
CC: Exim-User (E-mail)
Onderwerp: Re: [Exim] Remove messages from Que
On Sat, 8 Jun 2002, Roberto Mason wrote:

> Quick question. Is there a way to remove all messages from a Queue,
> regardless whether they are frozen or not. My Exim is for personal use. All
> the emails are test mails. I could remove them one at a time us Mrm, but if
> there is a quicker method, I'd prefer it.


Well, one way to remove EVERY mail for exims queue would be to remove
all the files under /var/spool/exim/input

Another way would be something like

exim -Mrm `exim -q | tr -s " " | sed 's/^ *//g' | cut -f 3 -d" "`

>
> Roberto
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>



--