vRA sends "localhost" as server name in the initial SMTP HELO/EHLO message for notification mails
search cancel

vRA sends "localhost" as server name in the initial SMTP HELO/EHLO message for notification mails

book

Article ID: 314746

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

vRA sends "localhost" as server name in the initial SMTP HELO/EHLO message.


According to RFC 5321 this is not best practise. The SMTP HELO/EHLO message should be sent with FQDN:

- https://tools.ietf.org/html/rfc5321 (Section 4.1.1.1)

Environment

VMware vRealize Automation 7.x

Resolution

The notification-server picks up the hostname from the '/etc/hosts' file by looking at the last entry for 127.0.0.1.

You can move the desired hostname (For example vra.vcloud.local) to be the last entry on the 127.0.0.1 line so that's what's picked up by notification-service. Make sure that you still have an entry for 'localhost' on the 127.0.0.1 line however, ideally as the first entry right after '127.0.0.1’.