[email protected]:
> Hi all!
>
> We're using Postifx as described in the configuration examples [1] for an
> email firewall/gateway delivering the emails to an internal non-Postfix
> smarthost.
>
> Now we're updating our internal core infrastructure by installing two new
> smarthosts for failover and load balancing, but as far as I understand
> it's not possible to configure transport_maps with more than one gateway
> for the same destination.
You can use /etc/hosts if your system supports multiple entries
with the same hostname, or run an internal DNS server that resolves
the smarthost name into multiple MX or A records.
> As I understand the options we have here are: (1) switch from
> transport_maps to relay_domains which introduces the problem that it'll
> also accept mail for 'anything.example.com' (as described in the
No. You need transport_maps otherwise mail loops back to your primary MX.
> PS: any chance of adding support in transport_maps for multiple smarthosts
> with same destination ?
That would complicate the concurrency scheduler, but I might eventually
budge.
Wietse