Hi All
I am trying to set up an incoming mail server on Jira. However, I am receiving this error when trying to test the connection, see UI below:
Unfortunately no connection was possible. Review the errors below and rectify:
AuthenticationFailedException: LOGIN failed.
I have tried adding the following parameters in the JVM System property however no joy:
-Dmail.imap.auth.plain.disable=true
-Dmail.imap.auth.ntlm.disable=true
-Dmail.imap.auth.gssapi.disable=true
The log file is as follows:
*********
debug mail 3
*********
2015-12-22 12:45:42,402 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa Getting session
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa Debug messages from JavaMail session initialization will not appear in this log. These messages are sent to standard out.
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa Session providers: [[javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]]]
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa Session addressMap: [{rfc822=smtp}]
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: mail.imap.fetchsize: 16384
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: mail.imap.statuscachetimeout: 1000
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: mail.imap.appendbuffersize: -1
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: mail.imap.minidletime: 10
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: disable AUTH=PLAIN
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: disable AUTH=NTLM
2015-12-22 12:45:42,418 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: trying to connect to host "x.x.x.x", port xxx, isSSL false
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa * OK The Microsoft Exchange IMAP4 service is ready.
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa A0 CAPABILITY
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN STARTTLS IDLE NAMESPACE LITERAL+
A0 OK CAPABILITY completed.
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG IMAP: AUTH: NTLM
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG IMAP: AUTH: GSSAPI
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG IMAP: AUTH: PLAIN
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG: protocolConnect login, host=x.x.x.x, user=first.lastname@helloworld.com, password=<non-null>
2015-12-22 12:45:42,433 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG IMAP: LOGIN command trace suppressed
2015-12-22 12:45:47,020 DEBUG [Incoming Mail] http-nio-8080-exec-14 first.lastname 765x149x1 jz895c x.x.x.x /secure/admin/VerifyPopServerConnection!update.jspa DEBUG IMAP: LOGIN command result: A1 NO LOGIN failed.Any help would be much appreciated
Thanks,
Richard.