Config of sending emails SEN-9169397

I configure the sending emails with an account on an smtp server working on standard port 25 without ssl nor tls, the username and password are correct but the system on linux ubintu 16.4TLS is unable to make the test of sending emails from JIRA server.


An error has occurred with sending the test email:
com.atlassian.mail.MailException: com.sun.mail.util.MailConnectException: Couldn't connect to host, port:, 25; timeout 10000;


1 answer

0 votes

There's three most common problems that cause this:

  • The name resolution - your server is unable to resolve to the actual server address.  Try nslookup on your server to see if it gets an address and that it's the right one
  • A firewall blocking the route between your JIRA server and the mail server
  • No smtp server actually running on that host

The is associated to the IP Address: and, this was reported by the ping command, once it reports the first adress and an other time, it reports the other but the nslookup reports the following


Non-authoritative answer:

I tried to fill directly the IP adress in JIRA but the response is the same. SocketTimeoutException: connect timed out

Ok, that's good, it rules out the first problem.

What does "telnet 25" return?  It should respond quickly with something recognisable as a prompt to log into a mail server.

It response a timeout

telnet 25
telnet: Unable to connect to remote host: Connection timed out

Ok, there's either a firewall (unlikely, as I'd expect a flat refusal) or there is something running on the server on port 25 that is not allowing login.  Probably an SMTP server, as 25 is the default port for that, but if it is that, it has been configured not to listen on that port.

Contact the email server administrator.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

628 views 0 7
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you