Does DISCOURSE_SMTP_ADDRESS do MX lookup

MX lookups get the mail server name(s) for a given domain found in an email address. It is not used to resolve the IP of an outgoing mail server. You need to put the host name or IP of your outgoing mail server in that config setting.