Re: [exim] zone_data expansion oddity

Top Page

Reply to this message
Author: Philip Hazel
To: Derek Buttineau
CC: exim-users
Subject: Re: [exim] zone_data expansion oddity
On Thu, 8 Mar 2007, Derek Buttineau wrote:

> I guess my confusion is with the expansion on manualroute, I would
> think that given:
> That the expansion should put the second manual route entry below the
> lowest preference option returned by DNS. i.e. so you'd have
> something like:
> 10
> 20
> 30

Yes, I would expect that too, though having put the MX hosts into order
using the preferences, there are then no preference values attached to
things. I would certainly expect the list to be equivalent to

/mx is meant to mean "get an MX host list, in order, and stuff it in

> Instead, manulroute appears to be believing that it has a higher
> preference than the lowest preference returned from DNS? At least
> when the local host is removed from the list, everything other than
> the highest preference MX in the entry before it gets removed. So
> basically when it removes it also removes
> from the list.

That certainly doesn't seem right. I'll do some experiments when I get
time, but that won't be right away as I'm diverted onto PCRE work just
at the moment. Maybe towards the end of next week.

However, I did take a brief look at the code earlier today, and it just
chops the list away - doesn't look as if there's any possibility of
removing earlier hosts.

Some tests with -bt and -d might give some clues as to what is
happening. If you can run that with your real domain and host names and
send me the result, it might make it easier to find out whether this is
a problem with Exim.

Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book: