Thomas Ackermann:
> I can map the mail-relays hostname only to one IP with /etc/hosts and
> therefor, any redundancy is lost.
That is a bug in your operating system.
As a workaround, use smtp_fallback_relay.
I have used multiple IP addresses per name in /etc/hosts for as
long as I can remember, and that is about 21 years now.
$ grep test /etc/hosts
168.100.189.3 test.porcupine.org
168.100.189.4 test.porcupine.org
$ ./getaddrinfo test.porcupine.org
Hostname: test.porcupine.org
Addresses: 168.100.189.3 168.100.189.4
$ host test.porcupine.org
Host test.porcupine.org not found: 3(NXDOMAIN)
(using the getaddrinfo program that is bundled with Postfix
source code distributions).
Wietse