On Wed, Jan 29, 2020 at 10:52:02AM +0100, Ralf Hildebrandt wrote:
> > This looks wrong, it should be :
> >
> > exchange.charite.de
> > exchange:s-mx14-ht01.charite.de,s-mx14-ht02.charite.de
> >
> > One "exchange" transport, multiple nexthop hosts.
>
> Cool.
>
> > Not sure why it worked, it wasn't supposed to. :-)
>
> Maybe it always tried the first entry, and once the first machine was
> unreachable (or failed, see the log snippet) it tried the second
> machine - just to find a broken nexthop!
Yes. The nexthop syntax is essentially:
<name>[:<port>] ("," <name>[:<port>])*
So set a fallback relay of "exchange" on port "s-mx14-ht02.charite.de",
which presumably does not appear in your /etc/services file.
Mind you, if you have working MX records, I'd stick with those.
Especially if there's no reason to prefer "ht01" to "ht02".
--
Viktor.