Outgoing mail via Exchange server using NTLM auth

I post this here, since other people might find the info useful:

Can someone at Atlassian please confirm or deny the following as being a bug?

In JIRA 5.1, setting Outgoing mail to be delivered via an MS Exchange server that only permits NTLM authentication, sending fails with Authentication Failed, even with correct credentials. Setting the startup option pertaining to auth domain has no effect.

Replacing atlassian-jira/WEB-INF/lib/mail-1.4.6.jar with version 1.4.1 resolves the problem.

It seems to me, that either there is a bug in JavaMail 1.4.6 *or* there is a bug in JIRA 5.1 regarding its use of JavaMail 1.4.6 - it being possible that something changed between 1.4.1 and 1.4.6 regarding how to make use of the library.

Best regards,

Sune Mølgaard

1 answer

1 accepted

Hi Sune,

There was a modification in mail-1.4.6 which prevents the NTLM to work as it should. As I've seen, it works for many Exchange servers, but for some, it doesn't. All this is detailed on the bug JRA-27623.

Best regards,
Lucas Timm

Thank you - I don't know why I was unable to google my way to that bug.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,815 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot