Problems Sending Email from Fisheye/Crucible - 501 Command "HELO" requires an argument
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Emails are not sent from Fisheye/Crucible.
The following appears in the atlassian-fisheye-YYYY-MM-DD.log
and in the user interface when testing the feature:
1
2
3
DEBUG [<thread_id> ] fisheye.mail Mailer$2-log - 501 Command "HELO" requires an argument
ERROR [<thread_id> ] fisheye.mail Mailer-sendMessage - problem sending email
javax.mail.MessagingException: 501 Command "HELO" requires an argument
Cause
HELO requires a fully qualified domain name. When the source machine does not have set a fully qualified name configured, the command cannot be performed.
Resolution
Stop Fisheye/Crucible
- add
-Dmail.smtp.localhost=<computer_name>
as Environment variablesStart Fisheye/Crucible
Was this helpful?