I’m trying to configure Openfire SMTP service in order to send mail fom one of my plugins. The problem I’m having when I try to test the configuration is that my SMTP server returns “501 Syntax: HELO hostname”. I think this is correct as Openfire only sends HELO and EHLO and does not include the hostname. Am I missing some configuration parameter that tells openfire which hostname it should use?
Another symptom is that the hostname (In adminGUI, tab: Server Manager, section: Server Information, section: Environment) is empty. Host is ubuntu 12.04 LTS.
Cause:
/etc/hosts contains
127.0.0.1 localhost
127.0.1.1 ubuntu
[…]
Hereby ubuntu is the old hostname and does not match /etc/hostname.