EFA deliver to multiple servers?

General eFa discussion
Post Reply
SharazJek
Posts: 70
Joined: 01 Sep 2016 05:15
Location: Dallas, TX

EFA deliver to multiple servers?

Post by SharazJek »

could EFA be configured to deliver to multiple servers for a domain, in either a round-robin or failover setup?
User avatar
pdwalker
Posts: 1583
Joined: 18 Mar 2015 09:16

Re: EFA deliver to multiple servers?

Post by pdwalker »

Sure.

One obvious way is to take advantage of DNS round robin.

E.g. efa, accepts mail for example.com. In my mail transport settings, I have 3 hosts that will accept the mail for example.com and do the right thing. So in my dns, I might do the following:

10.10.1.1 A mail.example.com
10.10.1.2 A mail.example.com
10.10.1.3 A mail.example.com

Then in my transport settings, I will configure the EFA transport settings to for example.com to send it to mail.example.com. When EFA does a host lookup, it will tend to rotate through the different IP addresses defined in the DNS.

Note that postfix is what is actually configured to deliver the mail to multiple hosts.

Lastly, if that way doesn't work for you, consider using HAProxy to do the work instead, but that's more complicated and beyond the scope of configuring EFA.
Post Reply