Re: [Exim] Queue Question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Toffe
Dátum:  
Címzett: John Jetmore
CC: exim-users
Tárgy: Re: [Exim] Queue Question
On Mon, Mar 17, 2003 at 09:31:11AM -0600, John Jetmore wrote:
> On Sun, 16 Mar 2003, Toffe wrote:
>
> > On Sat, Mar 15, 2003 at 08:13:34PM -0800, JP Kelly wrote:
> > > How can I use the exim command to generate a list of frozen message Ids
> > > which I can pipe in to exim -Mrm to remove all frozen messages?
> > > Like this:
> > > 'list of frozen message ids' | exim -Mrm
> > >
> > I think this is the best way:
> > mailq | awk '/frozen/ {print $3}' | xargs exim -Mrm
>
> users who receive mail from senders w/ 'frozen' in their domain name may
> get grumy about this.


so, the regexp must match for the real frozen indicator, which is something like this "*** frozen ***".
in fact I don't know so much domain containing 'frozen'... ;)

--
Toffe
UIN #39872819
http://www.nah-ko.org/

Pour marcher au pas d'une musique militaire, il n'y a pas besoin de
cerveau, une moelle epiniere suffit. Albert Enstein