Re: [exim] hubbed_hosts

Etusivu
Poista viesti
Vastaa
Lähettäjä: Magnus Holmgren
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] hubbed_hosts
On Thursday 31 May 2007 23:32, Jeroen van Aart wrote:
> If I were to add 2 or more IPs belonging to the same domain in the
> "hubbed_hosts" file like this (the IPs are remote smtp servers):
>
> myhost.org:    11.22.33.44
> myhost.org:    22.33.44.55

>
> Would this mean exim would use the second IP if the first was
> unavailable, or would it randomly choose one? If not is there a way to
> enable this?


This is part of the Debian-specific configuration and should have been asked
about on the Debian-specific mailing list
(see /usr/share/doc/exim4-base/README.Debian.html).

The way /etc/exim4/conf.d/router/150_exim4-config_hubbed_hosts is written, it
uses an lsearch lookup, and thus uses only the first match. Your file should
look like this:

myhost.org: 11.22.33.44:22.33.44.55

as per section 20.3 of the specification
(http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch20.html#id2656307).
Note that there can be no whitespace around the colon between the hosts
unless you put the whole list inside quotes.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans