AuthenticationFailedException: AUTHENTICATE failed

I'm evaluating JIRA Service Desk and I cannot get my exchange server connected in as the incoming mail source. When I enter the information for my server and test it I get the error: "AuthenticationFailedException: AUTHENTICATE failed."

I searched the knowledge base and found this article:

I then added -Dmail.imap.auth.plain.disable=true and -Dmail.imaps.auth.plain.disable=true to the file in the JVM_SUPPORT_RECOMMENDED_ARGS section. Then restarted the JIRA service. This did not work, same error message.

I turned on email debugging by adding the -Dmail.debug into the same section and file referenced above. (The file I'm working on is located in /opt/atlassian/jira/bin by the way). Then I tried to test again and got the same error message.

After combing through the logs I pulled this line out: 

http-bio-8080-exec-11 ERROR <username> 911x91x1 1u33boo <my ip address> /secure/admin/VerifyPopServerConnection!update.jspa [plugins.mail.webwork.VerifyMailServer] Unable to connect to the server at <email server name> due to the following exception: javax.mail.AuthenticationFailedException: AUTHENTICATE failed.

I'm combing through the knowledge base and forums and cannot find anything relevant. My JIRA server is linux, my exchange is 2007 and I'm trying to connect via IMAP. 

I've tried different user names, that doesn't change the error. I've tried referencing the email server by ip address and by DNS name, that doesn't change the error. My server can ping the email server. The username I'm using has full admin rights on the mail server.

Any help is appreciated as I'd really like to try this software out.

2 answers

After searching my server I find only one file. Also the log file I'm looking at is catalina.out inside /opt/atlassian/jira/logs/

0 vote
Andy Brook Community Champion Dec 18, 2014

The article you link indicates that Exchange has been configured to deny plain auth.  You can't fix that with and configuration of JIRA, its an exchange setting, perhaps this helps:


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

798 views 5 7
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you