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: smtp.gnet.tn, 25; timeout 10000;
There's three most common problems that cause this:
The smtp.gnet.tn is associated to the IP Address: 193.95.59.10 and 193.95.57.10, 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
nslookup smtp.gnet.tn
Server: 213.186.33.99
Address: 213.186.33.99#53
Non-authoritative answer:
Name: smtp.gnet.tn
Address: 193.95.59.10
I tried to fill directly the IP adress in JIRA but the response is the same. SocketTimeoutException: connect timed out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, that's good, it rules out the first problem.
What does "telnet smtp.gnet.tn 25" return? It should respond quickly with something recognisable as a prompt to log into a mail server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It response a timeout
telnet smtp.gnet.tn 25
Trying 193.95.57.10...
telnet: Unable to connect to remote host: Connection timed out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.