I do like this:
transport file:
domain.com to_domain.com:[192.168.1.108]
master.cf file:
to_domain.com unix - - - - - smtp
-o smtp_fallback_relay=[sub1-mx.hosts]
Marius.
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Security Admin (NetSec)
Sent: Saturday, July 4, 2015 6:25 AM
To: postfix users
Subject: Setting up multiple destination e-mail servers using transport
I have a postfix mail gateway sitting in front of my internal Exchange 2013
mail servers. Currently have my "/etc/postfix/transport" file set to send mail
to only one of those Exchange servers:
"domain.com smtp:192.168.1.108"
Would like to setup multiple internal Exchange Server entries for failover
purposes. I was thinking of doing something like this:
"domain.com smtp:sub1-mx.hosts"
But I forget how and where to setup the "sub1-mx.hosts" file. Any help would
be appreciated...Ed