Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can't connect SMTP to Fisheye

Added my server IP to the /etc/hosts file


Starting mail system... =
mail.smtp.starttls.enable = true
mail.smtp.port = 25
mail.from =
mail.smtp.connectiontimeout = 30000
mail.smtp.timeout = 30000
mail.smtp.auth = true
password = *******
Mail system started.
Invalid user email '' - using server email as from address.
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "", port 25, isSSL false
220 ESMTP SimpleEmailService-2110753669 7yyiErG1p2Ow5Qfl2guB
DEBUG SMTP: connected to host "", port: 25
501 Syntax: EHLO hostname
501 Syntax: HELO
problem sending email
501 Syntax: HELO

at com.sun.mail.smtp.SMTPTransport.issueCommand(
at com.sun.mail.smtp.SMTPTransport.helo(
at com.sun.mail.smtp.SMTPTransport.protocolConnect(
at javax.mail.Service.connect(
at javax.mail.Service.connect(

1 answer

1 accepted

Yep tried that. Stopped and started the application and still doesn't work. Anything I should do after editing the hosts file? It is behind a load balancer. 

Hmm not sure, I would double check that it was done correctly. All occurances of this problem that I can find all come back to the same fix.

I expect that your loadbalancer is in front of the application as a proxy, not as an outbound proxy? If yes, it shouldn't matter.

Can you get any logs from the Amazon side of the connection information?

Ah, okay I realized that my hostname on the EC2 instance was 

ip-10-0-X-X so I had to update my hosts file with the public IP, the cname, and then that hostname.

Works now. Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

186 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you