Page 1 of 1

Multiple destination server

Posted: 27 Dec 2017 10:36
by Sander81
Dear all,
Is it possible to set up multiple destination server on transport setting for a domain?
I need to set something like:
Domain.com -> 1.1.1.1
Domain.com -> 1.1.1.2
So if the server 1.1.1.1 is down, mails are delivered to 1.1.1.2

Thank you

Re: Multiple destination server

Posted: 03 Jan 2018 16:02
by thewomble
example.com :[gateway.example.com]

where gateway.example.com would two A records 1.1.1.1 and 1.1.1.2 it would round rob, so send to both.

or use load balancer for sending to 1.1.1.1 and 1.1.1.2 if the first is not available, do not think this logic is available in postfix.

Re: Multiple destination server

Posted: 04 Jan 2018 06:36
by pdwalker
What thewomble says. RRDNS or a single ip served by a load balancer.

If you’re really paranoid, you can have multiple, load balanced ips from multiple load balancers, but the I’ve never had a use case for this with email.

What exactly is the problem you are trying to solve/avoid?