Re: [exim] retry time not reached for any host

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Ted Cooper
Data:  
Para: exim-users
Asunto: Re: [exim] retry time not reached for any host
Adam Giddens wrote:
> Hi,
>
> I need some help, I'm fairly new to exim so go easy with me .
>
> I'm getting the following error and have seen on the net that I need to
> set a option in the 'smtp transport' to stop this from happening but I
> don't know which file I need to edit to do this. I tried looking in
> exim.conf but can't see it in there. Could someone tell me which file I
> need to edit?


exim.conf should have it. There will be a "begin transports" in there
somewhere and a one of them will have "driver = smtp" which is the smtp
transport. BUT .. read on ..

> Error is: retry time not reached for any host


This is a normal error message that will come up each time a queue
runner finds a message in the queue where the "retry time not reached
for any host". This is a basic part of exim (or any MTA) to prevent it
from hammering a remote host in the event it is offline or has deferred
your attempts to send it an email.

eg.
If your server tries to deliver to example.com, but their mail server is
missing, exim will queue the message for later delivery.
When the delivery happens depends on the configured retry times, but for
this example let's say it's once an hour.
If you have a queue runner going once every 15 minutes then there will
be at least 3 queue runs where you will get the "retry time not reached
for any host" message popping up for that message.


> I found this on the net:


You read and searched the FAQ! I love you!

> A0620: This message means that all hosts to which the message could be
> sent have been failing for so long that the end of the retry period
> (typically 4 or 5 days) has been reached. In this situation, Exim still
> computes a next time to retry, but any messages that arrive in the
> meantime are bounced straight away. You can alter this behaviour by
> unsetting the delay_after_cutoff option on the smtp transport. Then Exim
> will try most messages for those hosts once before giving up.


This option has more to do with hosts that have been missing for a LONG
time. On most configurations this is about 4-7 days. In this case
setting "delay_after_cutoff = false" will cause exim to attempt delivery
if a host has been missing for 4-7 days and the X hour retry window
hasn't been reached.
More than likely, not what you're after.

> But in what file is this? Where do I need to set this?


See my super detailed description of there the smtp transport is hiding
above. Of course if you're using Debian or one of the other
configurations that builds your main config file from many files, I have
no idea where it will be hiding.

> Any help would be great,


Ted.
--
The Exim Manual
http://www.exim.org/docs.html
http://docs.exim.org/current/