In the Linux operating system provided with the VMware vCenter Server appliance (VCSA), the sendmail program is configured to do a DNS search to locate the SMTP gateway. This is good practice.
To resolve the issue, first try to correct the issue in DNS. This issue occurs because the sendmail program checks the MX record in DNS, which does not give the correct address. You should try and resolve this issue in DNS. It is not unlikely that a mail server has been replaced and the MX record has not been updated.
SMTP is by default configured through DNS and one should try and retain this, in order to simply administration of the whole network. Therefore we recommend setting the domain's MX record to the correct server and avoiding individualised configurations. You can find a good description how to create and modify MX records in Windows DNS here https://www.mustbegeek.com/add-mx-record-in-windows-dns-server/
If this is not possible for any reason, please take the following steps
To disable MX lookup:
Note: After completing the preceding steps vCenter Server appliance sends an email using the SMTP relay gateway (entered as an IP address in Mail configuration) instead of performing DNS lookup.