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
Description: xyz
Protocol: IMAP
Host name:10.50.1.10
IMAP Port: 143
Timeout: 10000
Username: xyz
Password: xyz
"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.
The only way I got Incoming Mail to work is if I set the authentication in Exchange for IMAP to Basic Authentication (Plain Text). Is there any way to get it to work using Secure TLS authentication
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After importing SSL certificates for the wembail server using the JIRA SSL Atlassian plugin and restating Jira the connection was successful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.