Re: [Exim] Removing/Freezing mails to a server

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeffrey Goldberg
Datum:  
To: Nigel Metheringham
CC: exim-users
Betreff: Re: [Exim] Removing/Freezing mails to a server
On Thu, 10 Feb 2000, Nigel Metheringham wrote:

> mailq | \
> perl -00 -ne 'if (/\*frozen\*/&&/addr/) {@x=split;print "$x[2]\n";}'
> |\
> xargs /usr/sbin/exim -Mrm


Presumably you only want undelivered addresses so that /addr/ re should
be something like /\n\s+addr/ to avoid the "D addr" lines.

-j


-- 
Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
 J.Goldberg@???     http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.