I have to configure the sending of email alerts on
Vcenter version 22.214.171.124
My mail server wants the password in clear text.
I configured the mail settings both on Configure->Settings->General and
In neither of them there is the possibility to set the authentication mode.
I opened a shell on vcenter and saw in the directory /usr/lib/ vmware-vpx the script config_sendmail.sh which receives the authentication mode as a parameter and generates the files sendmail.cf email configuration in /etc/mail.
In order to have a log with more information I have inserted the followinf line in config_sendmail.sh
echo "define (\`confLOG_LEVEL ', \ `15') dnl"
I would like to know :
In Configure->Settings->General and in
Configure->Settings->Advanced Settings I changed server to use google's open relay server smtp.gmail.com, on /var/mail/root I get the answer:
---- Transcript of session follows -----
... while talking to smtp.gmail.com.:
>>> MAIL From:<firstname.lastname@example.org> SIZE=1157 AUTH=<>
<<< 530-5.7.0 Authentication Required. Learn more at
<<< 530 5.7.0 https://support.google.com/mail/?p=WantAuthError b14sm2069969wrx.35 - gsmtp
554 5.0.0 Service unavailable
it seems that the credentials set are not used.
I also had to manually edit the
file adding the smtp server to the line
# "Smart" relay host (may be null)
otherwise the server was not addressed.
Despite what has been done I cannot receive emails