We're running Jira (7.3.8) on a Windows 2012r2 server behind a firewall. We are not using SSL at the moment (not sure if this is relevant).
Now I want to add a new POP/IMAP server reading email from a mailbox in Office 365, but I get the following exception:
SocketTimeoutException: connect timed out
I use SECURE_IMAP and according to our technicians port 993 should be open in the firewall. I have verified user/pwd.
So, do I need to do anything else before? Do I need to import som public certs? Config changes? Really needs some ideas here. Hope someone can help me.
If you enter the settings and try a test connection does it work?
Take a look at the atlassian-jira.log and see if you see something similar to the following:
javax.mail.MessagingException: connect timed out while connecting to host 'outlook.office365.com' as user 'outlookUsers@domain.com' via protocol 'imaps, caused by: java.net.SocketTimeoutException: connect timed out
If you're seeing this you'll need to verify the port is open on your end by testing with Telnet. I would also recommend your technicians run a packet trace and open it up with Wireshark or another tool and view the network traffic to see where the connection is dropping.