Unable to receive the mail notification from VC even after SMTP configuration.
Environment
VMware vCenter Server.
Cause
This issue can occur If DNS records not found in the name server which is added to VC & The nameserver is always returning `SERVER FAIL` for the lookups.
Resolution
Make sure there is `[]` around the smtp address. - This is required because we were unable to add the DNS records in the name server added to VC.
In /etc/nsswitch.conf file we moved the `resolv` param for the `hosts:` key to the last.
This is required because the nameserver is always returning `SERVER FAIL` for the lookups.
reload the configurations using the below commands: