The typical response from the Perl script is as follows and based on the
docs, my understanding being that hosts should be utilised in order that
they're listed (and assumed host randomization is disabled, which it is).
ACCEPT HOSTS=host1.domain.net:host2.domain.net
However it seems that EXIM is ignoring the ordering of these hosts and its
unclear how it is selecting them from the list. The issue was triggered by
a customer who has three MX's listed roughly as follows:
Now obviously the final MX record, the lowest priority one, is an invalid
TLD for public use but it seems no matter what order the pane_lookup.pl
script orders the HOSTS= in, the lowest priority and clearly invalid host
is picked.
Does anyone have experience with utilising queryprogram router and how it
handles ordering and selection of SMTP next hop?