Alarms and events trigger correctly within the vSphere Client UI.
Email notifications are not received by administrators.
The sendmail logs present in /var/log/messages file on the vCenter server contain the following error:
YYYY-MM-DDTHH:MM:SS vcenter sendmail[####]: ###########: to=<smtp_email>, delay=<time>, xdelay=00:00:12, mailer=relay, pri=1202421, relay=<smtp_server> [<smtp_server_IP>], dsn=5.7.57, reply=530 5.7.57 Client not authenticated to send mail. Error: 535 5.7.139 Authentication unsuccessful, the user cred...s were incorrect. [<smtp_email> <time_stamp> ###########], stat=Service unavailableYYYY-MM-DDTHH:MM:SS vcenter sendmail[####]: ###########: ###########: return to sender: Service unavailable...
YYYY-MM-DDTHH:MM:SS vcenter sendmail[####]: ###########: to=<smtp_email>, delay=<time>, xdelay=00:00:00, mailer=relay, pri=1292421, relay=<smtp_server>, dsn=4.4.2, stat=Deferred: Connection reset by <smtp_server>
vCenter Server 8.x
The vCenter Server is configured with an outdated SMTP account password. This occurs when the password for the email account used for relay is changed at the source but not synchronized within the vCenter Server's Mail configuration.
To restore email functionality, manually update the SMTP password in the vCenter Server settings:
mail.smtp.passwordand update the value with the correct, current password for the SMTP account.