Re: [exim] multiple hosts in route_data

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: news
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] multiple hosts in route_data
W B Hacker wrote:
> Tony Finch wrote:
>
>> On Tue, 22 Aug 2006, bsd@??? wrote:
>>
>>
>>> How can I configure that exim tries all hosts when the first fails?
>>
>> You can't. Your DNS and Exim configurations must be consistent.
>>
>> Tony.
>
> AFAIK, so long as they *are* consistent, Exim will inherently try all known mx
> hosts in published mx priority order at initial delivery and at each retry
> attempt until it finds one that accepts the traffic, ELSE fails to find *any*
> such active.

I don't want to use MX records. We set up a relay server for a customer.
This relay is the only MX record for this domain. We have a manualroute
router for this customer where route_data is set in a mysql db. Now the
customer's DNS setup was broken and the host didn't resolve. Then exim
denied all incoming mails for this domain with 451 temporary rejected.
Now I search for a solution for this:

- I'd like to add more than one server in route_data for the case that
one of them fails. I tried that with : seperated entries but exim always
only uses the first one.

- I'd like that exim accepts the mail even when the server in route_data
is not resolvable. I added host_find_failed = defer to the router but
exim still rejects the mail with 451.

Michael