'javax.mail.MessagingException 501 Syntax HELO hostname' Due to Server Host Name
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 ....
The server's hostname is not set. JIRA is sending the server's IP address instead.
- Refer to your system's documentation to set the hostname correctly.
- Alternatively, add an entry in
- If this doesn't work, pass the hostname to JIRA specifically.
See Problems Sending Email from JIRA - EHLO requires domain address for details.