Multiple destination server

Questions and answers about how to do stuff
Post Reply
Sander81
Posts: 2
Joined: 05 Apr 2017 16:46

Multiple destination server

Post 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
thewomble
Posts: 50
Joined: 17 Jan 2017 12:52

Re: Multiple destination server

Post 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.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Multiple destination server

Post 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?
Post Reply