We're using 3rd-party relays for some of the external domains. For example, a snippet from /etc/mail/mailertable may look like:
example.com relay:[smtp.example.net]:587
example.co.uk relay:[mail.example.org]:587
and I'd like to stack them for redundancy: if, for any reason, one relay refuses to accept a message, sendmail should automatically try another one.
Can the above example be rewritten so that both relays may be used for both domains? Something like:
example.com relay:[smtp.example.net,mail.example.org]:587
example.co.uk relay:[mail.example.org,smtp.example.net]:587
perhaps?
Ideally, the next relay would be tried even if the earlier one(s) replied with a 5xx...