Joe Acquisto-j4: > >>>> Wietse Venema <wie...@porcupine.org> 10/20/16 1:56 PM >>> > >Joe Acquisto-j4: > >> Currently have postifx configured to relay mail via a "relay_host" > >> (main.cf). There is a need to send mail to a certain domain via > >> a different host. Google has suggested a few ways, transport > >> hash, header filter. > >> > >> Since this special destination has a primary and a secondary IP, > >> how might I specify more than one IP for this "custom" domain? > > > >With multiple address records in DNS or /etc/hosts. See also: > >http://www.postfix.org/postconf.5.html#smtp_host_lookup > > > > Wietse > > /etc/hosts as it is a "private" domain. A VPN is used. I would need to > "fall back" to the secondary, should the primary be unresponsive. >
Use a separate master.cf smtp client, with -o smtp_fallback_relay setting in master.cf. And a relay_transport in main.cf that hands mail off to that smtp client. Sorry, no example, typing from a waiting room. Wietse