Unable to receive the mail notification from VC.
search cancel

Unable to receive the mail notification from VC.

book

Article ID: 378820

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

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:
 
systemctl daemon-reload
systemctl restart sendmail
 
    • Dumped the dnsmasq cache and reload it using the below command :
 
kill -USR1 $(pgrep dnsmasq)
 
    • This was needed so the next lookup will be fresh.
    • Triggered manual mail after the changes should be Successful.