On Mon, Jan 27, 2014 at 12:18:44PM -0800, Quanah Gibson-Mount wrote:
> However, postfix LMTP seems to only take a single destination
> address (please correct me if I'm wrong. ;) ). A possible solution
> we've considered is requiring a load balancer be deployed between
> postfix and the mailstores. Another potential solution would be if
> postfix could take a list of LMTP destinations and failover between
> them, similarly to what is done with LDAP URLs. Other thoughts
> welcome.
You can use a load balancer, or a round-robin A record. The LMTP
code is just SMTP without MX lookups and with unix-domain socket
support. So an LMTP "inet:host:port" destination is equivalent to
an SMTP "[host]:port" destination. Note, on most modern systems
multiple entries in /etc/hosts work pretty much the same as a
round-robin DNS entry.
--
Viktor.