Re: [Exim] How do I delete frozen messages?

Pàgina inicial
Delete this message
Reply to this message
Autor: Nils Ketelsen
Data:  
A: exim-users
Assumpte: Re: [Exim] How do I delete frozen messages?
On Wed, Aug 15, 2001 at 04:29:39PM +0300, Odhiambo Washington wrote:

> Please allow me to also jump into the 'mix' and tell me if what I use is
> okay. In simple terms I just delete the frozen messages and those that I
> call headerless - the ones with <>
> I use the 2 scripts below:
>
>
> To delete frozen,
>
> #!/bin/sh
> mailq | grep frozen | awk '{print "exim -Mrm " $3}' > mailfile
> sh mailfile



And what about Mails to or from, for example, frozen@???

Could be some false positives here.

> To delete those with just <> as the From:
>
> #!/bin/sh
> mailq | grep '<>' | awk '{print "exim -Mrm " $3}' > mailfile-headerless
> sh mailfile-headerless
>
> Am i wrong/using draconian method somewhere?



Well, if you think bounces are completely useless: no.


Nils

-- 
C: Ich möchte nicht länger "Junge" genannt werden. Ich finde den Ausdruck
   demütigend und sexistisch.
H: Wie möchtest Du dann genannt werden?          [aus "Calvin and Hobbes"
C: "Genetisch bevorzugter Jugendlicher".                    by Watterson]