I am trying to configure an IMAP-Account in order to create/comment issues in JIRA via email.
After following the documentation, it is still not working. Following is my setup:
Name: Exchange 2013
IMAP Port: 143
"Test connection" returns the following error:
Unfortunately no connection was possible. Review the errors below and rectify:
That usually means that your mail server requires a certain type of login, which is not what you have configured. Or that it simply is not set up for IMAP at all. You'll need to talk to the server admins. Exchange 2013 sadly ships with IMAP disabled in favour of the inferior MAPI protocol, so it could be that.
Ah, sorry, I really should have remembered that as well, as I never recommend using an unencrypted connection - should always be StartTLS or IMAPS. Problem with StartTLS is that Java doesn't do it unless you explicitly kick it into working. To do that, add -Dmail.imap.starttls.enable=true to the startup parameters in setenv.sh
I was able to add this parameter by following this link https://confluence.atlassian.com/display/JIRAKB/%27javax.mail.MessagingException+No+login+methods+supported%27+Due+to+IMAP+over+SSL Now I'm getting error "SunCertPathBuilderException: unable to find valid certification path to requested target". I tried to follow the instructions of the link "Connecting to SSL services" in the document referenced above by using the JIRA SSL Atlassian plugin referenced on that page but I'm getting error "class javax.net.ssl.SSLException during connection to..." Jira is installed locally on a windows server 2012
So the -D parameter works and enables StartTLS, but now your certificates are not installed correctly. You'll need to import the right certificates into the java keystore, and ensure the process running Jira has the correct permissions to read/write it...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot