[Pkg-exim4-users] Multihomed smarthost

ael law_ence.dev at ntlworld.com
Mon Dec 23 20:21:47 UTC 2013

I have made a little progress on this while waiting for expert replies.

> My smarthost is multihomed: dns lookup replies with a list of addresses

> However, setting
> dc_smarthost='smtp.example.com::578'
>  in update-exim.conf.conf
> fails the reverse dns test - which is perhaps not very surprising. 

Above is still a problem using the Debian template.

> I did try 
> dc_smarthost='</ smtp0.example.com::587/smtp1.example.com::587/smtp2.example.com::5870'

I now realize that I had left the repeated :: although I had changed
the separator to /. I had also failed to add the extra quotes to protect
the space after </.

So if instead I use
dc_smarthost='"</ smtp0.mail.ox.ac.uk:587/smtp0.mail.ox.ac.uk:587/smtp2.mail.ox.ac.uk:587"'
things appear to work.

I really need to add hosts-randomize to the smarthost router, but that
means modifying the Debian template. Perhaps that could be added to the
package since I think it is harmless when there is only one entry in the
host list?

I don't think this is a "proper" way, but it seems to provide a possible
workaround provided the revse dns names do not change which can't be


More information about the Pkg-exim4-users mailing list