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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeffrey Goldberg
日付:  
To: Nigel Metheringham
CC: exim-users
題目: 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.