Re: [Exim] Frozen messages question.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Yann Golanski
Data:  
Para: Alexei V. Alexandrov
CC: exim-users
Asunto: Re: [Exim] Frozen messages question.
On Tue, Jan 16, 2001 at 12:29:25PM +0300, Alexei V. Alexandrov wrote:
> Hello everyone,
>
> Today i came arround a problem which i don`t understand quite well.
> My queue went full with frozen messages due to configuration error
> on one of our mxes. I would like to know if the following script i
> wrote can be used from cron to unfreeze messages and to remove
> error messages or there is a more better aproach to use
> ignore_errmsg_errors_after.
>
> use strict;


ICK! perl...

Don't use a warship to catch a shrimp. It's generally overkill. Instead,
use something like

$ exim -pba | fgrep frozen | awk '{print $3}' | xargs exim -v -M

Much simpler and it works. If you do not understand any of those
commands, RTFM.

In general it is not advisable to run this from cron.
ignore_errmsg_errors_after will provide you with a much better way of
doing this over time. However, you generally want to have a look at
frozen messages as some may contains clue as to errors on your
system/config/whatever.

-- 
Dr Yann Golanski                                      Senior Developer
         Please use PGP: http://www.kierun.org/pgp/key-planet