Re: [exim] "retry time not reached for any host after a long…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Christiaan den Besten
Date:  
À: exim-users
Sujet: Re: [exim] "retry time not reached for any host after a longfailureperiod" (2)
Ohw, I feel lame ..... 'user error' :). Well, somewhat ...

I use Mailscanner for mail filtering, so the 'input' exim daemon has 'queue
only' set in the configuration. But exim requires to have a 'valid' router
and transport anyway .... ( even when you have queue_only enabled ). To make
exim happy I made the following router:

smarthost:
driver = manualroute
domains = *
transport = remote_smtp
route_list = * 1.2.3.4
no_more

( localhost does not work, for exim than thinks it should forward the
message to the same host and suspects a loop )

It should simply accepts all mail (yes, should have used an 'accept' router,
juist build that one :) ) and should never realy be used because the daemon
should just (and does) queue the message.

But, exim -does- check if it can reach the (nonexistent) host. So its gives
an error once every 5 days ;) ....

Is there any particular reason for exim to check for 'valid'
transports/routers in a queue_only mode?

bye,
Chris

----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Christiaan den Besten" <chris@???>
Cc: <exim-users@???>
Sent: Wednesday, October 13, 2004 4:14 PM
Subject: Re: [exim] "retry time not reached for any host after a
longfailureperiod" (2)


> On Wed, 13 Oct 2004, Christiaan den Besten wrote:
>
>> What usually happend:
>>    - I send a message to a recipient sending me a message.
>>    - It bounces right back to me.
>>    - I send another messages to the same recipient within the same 
>> minute. No
>> problems, delivered promptly without errors.

>
> On the face of it, that is completely weird. I can think of ways this
> could happen, but they are unusual. For example: If the recipient is
> remote, and Exim has to use the DNS, and the name servers for the domain
> have got out of step. One time one server might yield one IP address and
> the next time a different server yields a different address. So, for a
> first check: Are the IP addresses that Exim uses in both cases the same?
> They should be listed in the log lines.
>
>> Can I somehow send some debug info into syslog explaining me what info
>> exim is
>> retrieving from is retry database or something?
>
> You can't get info into syslog, but you can run Exim with debugging
> turned on to do a single delivery. For example
>
> exim -d someone@???
> Your message here
> .
>
> You will get a lot of debugging output send to the standard error.
>
> -- 
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>
>