VMware Cloud Community
Punitvmware
Contributor
Contributor

SMTP username and password on Vcenter

Want to configure SMTP and using a hosted exchange which requires SSL and port 587 to be used.

Updated the port on the Vcenter advanced setting and want to know what will be the key parameter to add on the advanced setting for username and password.

Not able to receive an email and getting the error message on the vpxd as:

Failed to send the mail to SMTP server servername at port 587

error = the server rejected one or more recipient address. the server response was sender address rejected: access denied

Reply
0 Kudos
3 Replies
weinstein5
Immortal
Immortal

THe username and password should have access to your exchange environment -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
admin
Immortal
Immortal

You cannot use username and password with vCenter SMTP authentication, only anonymous is allowed as of now.

For further information see the following kb article.

http://kb.vmware.com/kb/1004070

Verify that the mail server configuration allows for mail to be sent from the vCenter Server.  The ability to send mail may be restricted so that anonymous email is not allowed or that specific user accounts are required to send mail. If this is the case a rule must be created to allow the vCenter Server to send email, as there is currently no way to configure SMTP authentication with vCenter Server.

This behaviour did not change in vCenter 5.1.

Reply
0 Kudos
VM_JOf
Enthusiast
Enthusiast

Hi Punitvmware

SMTP will do.

Try these steps:
Select your vCenter Server and go to Configure menu Under General, provide your Mail server (e.g mail.smtpserver.com) and mail sender (e.g vcenter-notification@smtpserver.com) Once done, go to Advance Settings and look for mail.smtp.password and provide the value by clicking the Edit same with mail.smtp.port and set port 25 then lastly, provide the mail.smtp.username Once done click Ok

Good Luck!

Reply
0 Kudos