hey folks (:
i'm trying to add an incoming mailserver and mailhandler in Jira Servicedesk.
First of all: POP and IMAP are working perfect on our Exchange 2016. I can connect with every client in our environment. Outlook, Mobile Devices etc.
It is possible to set up the incoming mailserver. After that it is not even more possible to connect to the exchange because of 'Authenticate-Errors' like '
- AuthenticationFailedException: AUTHENTICATE failed.'
However the initial set up is working perfect. If i click after that on 'Test Connection' it fails. Nothing has changed!
In the Exchange-Logs there are Authenticate-Errors too but only from the Jira-Server. I tried the same credentials (in every way like 'domain\user, user@domain' etc.) with different Mail-Clients. Works perfect.
- Certificates are installed on the jira-server
- POP and IMAP tested. Same problem
- Credentials and User changed. Same problem
- Different Ports tested
- double checked everything
- checked every KB-Articles from Atlassian.
Summary:
First setup is working perfect. Testing after that fails every time. How can this be possible?
Pls help me 
EDIT //
samples for correct first login while setting up the mailserver and failed login after setup (when i click test..) below.
Exchange-Log IMAP
AUTHENTICATE SUCCESSFUL
2017-12-20T10:31:34.835Z,0000000000000004,0,x.x.x.x:143,x.x.x.x:34462,,1,0,53,OpenSession,,,
2017-12-20T10:31:34.837Z,0000000000000004,1,x.x.x.x:143,x.x.x.x:34462,,1,13,145,capability,,R=ok,
2017-12-20T10:31:35.082Z,0000000000000004,2,x.x.x.x:143,x.x.x.x:34462,jiratest,236,32,34,authenticate,PLAIN,"R=ok;Msg=""Proxy:ourexchangeserver:1993:SSL;ProxySuccess"";
2017-12-20T10:31:35.088Z,0000000000000004,3,x.x.x.x:143,x.x.x.x:34462,jiratest,0,22,255,CloseSession,,,
AUTHENTICATE FAILED
2017-12-20T10:33:23.878Z,0000000000000006,0,x.x.x.x:143,x.x.x.x:34500,,1,0,53,OpenSession,,,
2017-12-20T10:33:23.879Z,0000000000000006,1,x.x.x.x:143,x.x.x.x:34500,,1,13,145,capability,,R=ok,
2017-12-20T10:33:24.009Z,0000000000000006,2,x.x.x.x:143,x.x.x.x:34500,domain/jiratest,128,32,31,authenticate,PLAIN,"R=""A1 NO AUTHENTICATE failed."";Msg=""AuthFailed:LogonDenied,User: efs\jiratest"";ErrMsg=AuthFailed:LogonDenied",
2017-12-20T10:33:24.009Z,0000000000000006,3,x.x.x.x:143,x.x.x.x:34500,domain/jiratest,0,0,0,CloseSession,,,