Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when trying to send emails from Jira

Esteban Paredes January 8, 2014

Even when everything outgoing server was configured correctly and is currently registered and active, no email are sent from Jira.

When testing, we get this error:

com.sun.mail.smtp.SMTPAddressFailedException: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname

But the hostname is correctly configured like n1.domain.com.

We cannot find the place from within Jira where this parameter is configured.

Just to clarify, Jira was installed before the server configuration was finished, so it seems like Java does not recover the correct hostname.

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2014

If you ping/nslookup n1.domain.comdoes it resolve to the correct email address?

Is the mail server on that set up correctly with it's correct FQDN, or (like the one I messed up yesterday) does it have a similar but incorrect simple host name or one that does not actually match the FQDN? Try "hostname -f" to see what the server thinks it is called.

0 votes
Esteban Paredes January 8, 2014

Hostname -f returns localhost instead. You are right. We have fixed /etc/hosts file and placing FQDN server name in first place.

It seems it is an issue on Cent OS.

Thanks a lot Nic.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events