Re: [Exim] exim -qff, unreachable MX hosts and retry behavio…

Top Pagina
Delete this message
Reply to this message
Auteur: Marc Haber
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] exim -qff, unreachable MX hosts and retry behavior
On Mon, 28 Apr 2003 22:03:23 +0200 (CEST), Tamas TEVESZ
<ice@???> wrote:
>On Mon, 28 Apr 2003, Marc Haber wrote:
> > Or am I probably better off by trying exim -Rff for each domain that I
> > have messages waiting in the queue?
>
>probably. i'm using it like:
>
>exim -bpru | exiqsumm | sed '1,4d;$d;s/^.*\ \(.[^\ ]*$\)/\1/' | \
>xargs -P 10 -n 1 exim -v -qqR


Nifty. Kind of destroys the typescript's readability because of the
parallelism involved, but that isn't too bad because I have switched
to evaluating the msglog files to determine the actual error message
to handle the message.

>and it cleans the queue blazing fast. if you combine this with an
>alternative conffile where you set things like *_timeout aggressively,
>it can be even faster.


I have a macro REM_SMTP_CONN_TIMEOUT = 5m in my exim.conf, and set
connect_timeout = REM_SMTP_CONN_TIMEOUT on my remote_smtp transport. I
can then interactively control the timeout with exim -v -D
REM_SMTP_CONN_TIMEOUT=1m -qqR on the command line.

>i'm not saying it doesn't put a certain kind of load on the system,


AFAICS maximized by the -P argument to xargs since no more than 10
"domain based queue runners" are running at a time.

>but it goes away fast anyway.


*grins*

Greetings
Marc

--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29