I think this question is related to this post but I feel that it's different enough to warrant a separate post.
I currently have my Sendmail server configured to send to a downstream VIP. In my sendmail.mc file, I have:
define(`SMART_HOST',`relay:[vip.example.local]')dnl
My understanding is that because the value is enclosed in brackets, sendmail will perform a DNS query and send to the A record that is returned.
I want to have sendmail query the MX record instead. What is the appropriate syntax for that?
Based on the prior post, I suspect that it should be:
define(`SMART_HOST',`vip.example.local')dnl
but I'm not sure if the RELAY:
reference is needed.