[Pkg-exim4-users] Multiple smart hosts in random order

Andrew Hodgson andrew at hodgsonfamily.org
Thu Jan 1 14:33:45 UTC 2009


Hi,

I am wanting to do the following:

Setup Exim4 on Debian as a mail hub between our mail server on the LAN and between the external smart hosts.

All outgoing emails go through one of two smart hosts (chosen in a random fashion), and if those two fail, then they get sent off to a backup smart host.

Incoming mail gets routed onto the email server in the LAN.

Reading the spec.txt file and the Debian README, I am wondering whether I need to do the following:

1.  Install Exim4 package, set it to use a smart host during initial config, and set the smart host to host1.external.com:host2.external.com:+:backupserver.domain.com
2. Edit the file 200_exim4-config_primary, and in the smart host part, add the line hosts_randomize=true
3. Create the file hubbed_users and point the incoming domains at the relevant internal server

Is there a better way of doing this?

Thanks.
Andrew.



More information about the Pkg-exim4-users mailing list