'javax.mail.MessagingException 501 Syntax HELO hostname' Due to Server Host Name
Symptoms
JIRA fails to send an email message stating:
Attempted test email send. Log shows the following (this is the top of the output):
com.atlassian.mail.MailException: javax.mail.MessagingException: 501 Syntax: HELO hostname
....
Cause
The server's hostname is not set. JIRA is sending the server's IP address instead.
Resolution
Resolutions include:
- Refer to your system's documentation to set the hostname correctly.
- Alternatively, add an entry in
/etc/hosts
. - If this doesn't work, pass the hostname to JIRA specifically.
See Problems Sending Email from JIRA - EHLO requires domain address for details.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.