Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.2.1, 5.0, 4.4.4, 4.4.5, 5.1
-
4.02
-
Description
Since JIRA 4.4.4 some configurations of Exchange smtp mailboxes are receiving errors when connecting to the mailbox.
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:102) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:76) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) ... Caused by: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669) at javax.mail.Service.connect(Service.java:317) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:154) ...
I think this came about from a change in javamail. Versions earlier than 4.4.4 use javamail 1.4.1 and the newer versions use 1.4.4.
Workaround:
JIRA KB
Attachments
Issue Links
- is duplicated by
-
JRASERVER-31584 No authentication mechansims supported by both server and client
- Closed
- relates to
-
BSERV-3482 Java mail doesn't work when connecting Microsoft Exchange 2010
- Closed
-
CONFSERVER-28655 No authentication mechansims supported by both SMTP server and client
- Closed
- mentioned in
-
Wiki Page Loading...