In my company they've just changed authentication with exchange, so reading emails through thunderbird/davmail no longer works.
After looking at the logs upon unsuccessful connection, the problem is reminiscent of closed request
"#111 Two factor authentication on EWS."
From the inspection of the logs of the connection, it transpires that davmail does not follow the redirect. I am confused, and any help would be appreciated:
2018-11-26 15:54:04,156 DEBUG [davmail.imap.ImapServer] davmail - Connection from /127.0.0.1 on port 1143
2018-11-26 15:54:04,156 INFO [davmail.imap.ImapServer] davmail.connection - CONNECT - 127.0.0.1:49540
2018-11-26 15:54:04,157 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.useragent = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)
2018-11-26 15:54:04,157 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.max-redirects = 10
2018-11-26 15:54:04,157 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.cookie-policy = DavMailCookieSpec
2018-11-26 15:54:04,157 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.methods.GetMethod - enter GetMethod(String)
2018-11-26 15:54:04,157 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpClient - enter HttpClient.executeMethod(HttpMethod)
2018-11-26 15:54:04,157 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpClient - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
2018-11-26 15:54:04,157 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodDirector - Attempt number 1 to process request
2018-11-26 15:54:04,158 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.open()
2018-11-26 15:54:04,158 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - Open connection to outlook.office365.com:443
2018-11-26 15:54:04,243 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState, HttpConnection)
2018-11-26 15:54:04,243 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
2018-11-26 15:54:04,243 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2018-11-26 15:54:04,243 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] httpclient.wire.header - >> "GET /owa/osram.com/ HTTP/1.1[\r][\n]"
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.getCookies()
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] httpclient.wire.header - >> "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)[\r][\n]"
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-26 15:54:04,244 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] httpclient.wire.header - >> "Host: outlook.office365.com[\r][\n]"
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.writeLine()
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] httpclient.wire.header - >> "[\r][\n]"
2018-11-26 15:54:04,245 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.flushRequestOutputStream()
2018-11-26 15:54:04,332 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection)
2018-11-26 15:54:04,333 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2018-11-26 15:54:04,333 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.readLine()
2018-11-26 15:54:04,333 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,333 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String)
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Content-Length: 719[\r][\n]"
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,450 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Content-Type: text/html; charset=utf-8[\r][\n]"
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Location: https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000002-0000-0ff1-ce00-000000000000&redirect_uri=https%3a%2f%2foutlook.office365.com%2fowa%2f&resource=00000002-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code+id_token&scope=openid&msafed=0&client-request-id=d29c3af4-1c10-4387-a901-52e1d3e61e56&protectedtoken=true&domain_hint=osram.com&nonce=636788624447312712.28a97b2c-9c8d-47ba-bc54-e371378268f3&state=DcuxEYAgDEDRoAM4CSBJJGEcQO047rRwfVO8330HAKtZjNstIJmyqGZkZqGEkjCg1iINuy9dT8_Sqm_9YH-RJBLFrDc5e7c4vxrn-9QR-hzxBw[\r][\n]"
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Server: Microsoft-IIS/10.0[\r][\n]"
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] httpclient.wire.header - << "request-id: d29c3af4-1c10-4387-a901-52e1d3e61e56[\r][\n]"
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-CalculatedFETarget: VI1PR09CU004.internal.outlook.com[\r][\n]"
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-BackEndHttpStatus: 302[\r][\n]"
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,451 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] httpclient.wire.header - << "P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"[\r][\n]"
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: ClientId=2F90ED8A9DD74DD3959AD15F877772BB; expires=Tue, 26-Nov-2019 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: ClientId=2F90ED8A9DD74DD3959AD15F877772BB; expires=Tue, 26-Nov-2019 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OIDC=1; expires=Sun, 26-May-2019 20:54:04 GMT; path=/; secure; HttpOnly[\r][\n]"
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: domainName=osram.com; path=/; secure; HttpOnly[\r][\n]"
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.token.v1=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,452 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.token.v1=; domain=outlook.office365.com; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.id_token.v1=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.code.v1=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.idp_nonce.v1=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.idp_correlation_id=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.tokenPostPath=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.id_token.v1=; domain=outlook.office365.com; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,453 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.code.v1=; domain=outlook.office365.com; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.idp_nonce.v1=; domain=outlook.office365.com; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.idp_correlation_id=; domain=outlook.office365.com; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.tokenPostPath=; domain=outlook.office365.com; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OpenIdConnect.nonce.v3.Eav3_XILkMhtWGEJ3jGhGCJoAS2FJYQoWKPnPuITCM0=636788624447312712.28a97b2c-9c8d-47ba-bc54-e371378268f3; expires=Mon, 26-Nov-2018 21:54:04 GMT; path=/; secure; HttpOnly[\r][\n]"
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: HostSwitchPrg=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,454 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: OptInPrg=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Set-Cookie: SuiteServiceProxyKey=; expires=Sat, 26-Nov-1988 20:54:04 GMT; path=/; secure[\r][\n]"
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-FEProxyInfo: VI1PR09CA0096.EURPRD09.PROD.OUTLOOK.COM[\r][\n]"
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-CalculatedBETarget: VI1PR04MB1120.eurprd04.prod.outlook.com[\r][\n]"
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-BackEndHttpStatus: 302[\r][\n]"
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-RUM-Validated: 1[\r][\n]"
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-Content-Type-Options: nosniff[\r][\n]"
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,455 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-BeSku: Gen8[\r][\n]"
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-OWA-DiagnosticsInfo: 2;0;0[\r][\n]"
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-BackEnd-Begin: 2018-11-26T20:54:04.731[\r][\n]"
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-BackEnd-End: 2018-11-26T20:54:04.731[\r][\n]"
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-DiagInfo: VI1PR04MB1120[\r][\n]"
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-BEServer: VI1PR04MB1120[\r][\n]"
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,456 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-UA-Compatible: IE=EmulateIE7[\r][\n]"
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-FEServer: VI1PR09CA0096[\r][\n]"
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-Powered-By: ASP.NET[\r][\n]"
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] httpclient.wire.header - << "X-FEServer: AM5PR0402CA0001[\r][\n]"
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] httpclient.wire.header - << "Date: Mon, 26 Nov 2018 20:54:04 GMT[\r][\n]"
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-26 15:54:04,457 DEBUG [ImapConnection-49540] httpclient.wire.header - << "[\r][\n]"
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processCookieHeaders(Header[], HttpState, HttpConnection)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; ClientId=2F90ED8A9DD74DD3959AD15F877772BB; $Path=/"
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,458 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; ClientId=2F90ED8A9DD74DD3959AD15F877772BB; $Path=/"
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,459 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OIDC=1; $Path=/"
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HeaderElement - enter HeaderElement.parseElements(char[])
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,460 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; domainName=osram.com; $Path=/"
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.token.v1=; $Path=/"
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,461 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.token.v1=; $Path=/; $Domain=outlook.office365.com"
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.id_token.v1=; $Path=/"
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,462 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.code.v1=; $Path=/"
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,463 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.idp_nonce.v1=; $Path=/"
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.idp_correlation_id=; $Path=/"
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,464 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.tokenPostPath=; $Path=/"
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.id_token.v1=; $Path=/; $Domain=outlook.office365.com"
2018-11-26 15:54:04,465 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.code.v1=; $Path=/; $Domain=outlook.office365.com"
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,466 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.idp_nonce.v1=; $Path=/; $Domain=outlook.office365.com"
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.idp_correlation_id=; $Path=/; $Domain=outlook.office365.com"
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,467 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.tokenPostPath=; $Path=/; $Domain=outlook.office365.com"
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,468 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OpenIdConnect.nonce.v3.Eav3_XILkMhtWGEJ3jGhGCJoAS2FJYQoWKPnPuITCM0=636788624447312712.28a97b2c-9c8d-47ba-bc54-e371378268f3; $Path=/"
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; HostSwitchPrg=; $Path=/"
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,469 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; OptInPrg=; $Path=/"
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; SuiteServiceProxyKey=; $Path=/"
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpConnection)
2018-11-26 15:54:04,470 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-26 15:54:04,471 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.canResponseHaveBody(int)
2018-11-26 15:54:04,471 DEBUG [ImapConnection-49540] org.apache.commons.httpclient.HttpMethodDirector - Redirect required
2018-11-26 15:54:04,471 DEBUG [ImapConnection-49540] davmail.exchange.ExchangeSession - Test configuration status: 302
2018-11-26 15:54:04,471 DEBUG [ImapConnection-49540] httpclient.wire.content - << "<title>Object moved</title>[\r][\n]"
2018-11-26 15:54:04,471 DEBUG [ImapConnection-49540] httpclient.wire.content - << "
As you are on Office 365, please try the right URL or use one of the new O365 authenticator.
Do not use /owa url to access Outlook Web Access.
Ticket moved from /p/davmail/feature-requests/122/
If I understood you correctly, I should set exchange protocol to O365Modern, which will then set the EWS URL to default.
In the log below, I did set
davmail.authenticator=davmail.exchange.auth.O365InteractiveAuthenticator
and it seems to endup in HTTP 401 error.
018-11-28 09:54:27,851 DEBUG [davmail.imap.ImapServer] davmail - Connection from /127.0.0.1 on port 1143
2018-11-28 09:54:27,851 INFO [davmail.imap.ImapServer] davmail.connection - CONNECT - 127.0.0.1:33344
2018-11-28 09:54:27,851 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.useragent = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)
2018-11-28 09:54:27,851 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.max-redirects = 10
2018-11-28 09:54:27,851 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.cookie-policy = DavMailCookieSpec
2018-11-28 09:54:27,852 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.methods.GetMethod - enter GetMethod(String)
2018-11-28 09:54:27,852 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpClient - enter HttpClient.executeMethod(HttpMethod)
2018-11-28 09:54:27,852 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpClient - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
2018-11-28 09:54:27,852 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodDirector - Attempt number 1 to process request
2018-11-28 09:54:27,852 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.open()
2018-11-28 09:54:27,852 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - Open connection to outlook.office365.com:443
2018-11-28 09:54:28,019 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] httpclient.wire.header - >> "GET /EWS/Exchange.asmx HTTP/1.1[\r][\n]"
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpState - enter HttpState.getCookies()
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] httpclient.wire.header - >> "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)[\r][\n]"
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] httpclient.wire.header - >> "Host: outlook.office365.com[\r][\n]"
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.writeLine()
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] httpclient.wire.header - >> "[\r][\n]"
2018-11-28 09:54:28,020 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.flushRequestOutputStream()
2018-11-28 09:54:28,365 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection)
2018-11-28 09:54:28,365 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2018-11-28 09:54:28,365 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.readLine()
2018-11-28 09:54:28,365 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,365 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "HTTP/1.1 401 Unauthorized[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "HTTP/1.1 401 Unauthorized[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "Server: Microsoft-IIS/10.0[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "request-id: 02e9f210-fce0-4ec2-b871-58dab438710b[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-WSSecurity-Enabled: True[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-WSSecurity-For: Logon[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-FederationTrustTokenIssuerUri: urn:federation:MicrosoftOnline[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-WSSecurity-SymmetricKey-Enabled: True[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-WSSecurity-X509Cert-Enabled: True[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-OAuth-Enabled: True[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-Powered-By: ASP.NET[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "X-FEServer: BN6PR12CA0035[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "WWW-Authenticate: Basic Realm=""[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "Date: Wed, 28 Nov 2018 14:54:28 GMT[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "Content-Length: 0[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] httpclient.wire.header - << "[\r][\n]"
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processCookieHeaders(Header[], HttpState, HttpConnection)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpConnection)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.canResponseHaveBody(int)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodDirector - Authorization required
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodDirector - enter HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Supported authentication schemes in the order of preference: [ntlm, digest, basic, basic]
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Challenge for ntlm authentication scheme not available
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Challenge for digest authentication scheme not available
2018-11-28 09:54:28,534 INFO [ImapConnection-33344] org.apache.commons.httpclient.auth.AuthChallengeProcessor - basic authentication scheme selected
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Using authentication scheme: basic
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Authorization challenge processed
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodDirector - Authentication scope: BASIC ''@outlook.office365.com:443
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpState - enter HttpState.getCredentials(AuthScope)
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodDirector - Credentials required
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodDirector - Credentials provider not available
2018-11-28 09:54:28,534 INFO [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodDirector - No credentials available for BASIC ''@outlook.office365.com:443
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] davmail.exchange.ExchangeSession - Test configuration status: 401
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.isResponseAvailable()
2018-11-28 09:54:28,534 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.releaseConnection()
2018-11-28 09:54:28,535 DEBUG [ImapConnection-33344] org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
2018-11-28 09:54:28,535 DEBUG [ImapConnection-33344] davmail - > * OK [CAPABILITY IMAP4REV1 AUTH=LOGIN MOVE SPECIAL-USE] IMAP4rev1 DavMail 5.0.0-2801 server ready
2018-11-28 09:54:28,535 DEBUG [ImapConnection-33344] davmail - < 1 authenticate LOGIN
2018-11-28 09:54:28,535 DEBUG [ImapConnection-33344] davmail - > + VXNlcm5hbWU6
2018-11-28 09:54:28,536 DEBUG [ImapConnection-33344] davmail - < TWFyaWphbi5Lb3N0cnVuQG9zcmFtLmNvbQ==
2018-11-28 09:54:28,536 DEBUG [ImapConnection-33344] davmail - > + UGFzc3dvcmQ6
2018-11-28 09:54:28,536 DEBUG [ImapConnection-33344] davmail - < **
2018-11-28 09:54:28,536 INFO [ImapConnection-33344] davmail.connection - DISCONNECT - 127.0.0.1:33344
In the second attempt with O365Modern, I set the
davmail.authenticator=davmail.exchange.auth.O365Authenticator
and the log of the failed transaction is below. It seems I try to access the web page for which I am not authorized.
Any pointers would be appreciated on how to resolve this.
and get the following transcript of the failure in the log
2018-11-28 10:05:13,898 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.useragent = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)
2018-11-28 10:05:13,898 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.max-redirects = 10
2018-11-28 10:05:13,898 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter http.protocol.cookie-policy = DavMailCookieSpec
2018-11-28 10:05:13,899 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.methods.GetMethod - enter GetMethod(String)
2018-11-28 10:05:13,899 DEBUG [ImapConnection-33446] davmail.exchange.auth.O365Authenticator - https://login.microsoftonline.com/common/oauth2/authorize?client_id=facd6cff-a294-4415-b59f-c5b01937d7bd&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient&response_mode=query&resource=https://outlook.office365.com&login_hint=Marijan.Kostrun%40osram.com
2018-11-28 10:05:13,899 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpClient - enter HttpClient.executeMethod(HttpMethod)
2018-11-28 10:05:13,899 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpClient - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
2018-11-28 10:05:13,899 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Attempt number 1 to process request
2018-11-28 10:05:13,899 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.open()
2018-11-28 10:05:13,899 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - Open connection to login.microsoftonline.com:443
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState, HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "GET /common/oauth2/authorize?client_id=facd6cff-a294-4415-b59f-c5b01937d7bd&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient&response_mode=query&resource=https://outlook.office365.com&login_hint=Marijan.Kostrun%40osram.com HTTP/1.1[\r][\n]"
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.getCookies()
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
2018-11-28 10:05:13,999 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)[\r][\n]"
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "Host: login.microsoftonline.com[\r][\n]"
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.writeLine()
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "[\r][\n]"
2018-11-28 10:05:14,000 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.flushRequestOutputStream()
2018-11-28 10:05:14,208 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection)
2018-11-28 10:05:14,208 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2018-11-28 10:05:14,208 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.readLine()
2018-11-28 10:05:14,208 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,208 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Cache-Control: no-cache, no-store[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Pragma: no-cache[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Content-Type: text/html; charset=utf-8[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Expires: -1[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Location: https://dd.osram-light.com/adfs/ls/?login_hint=Marijan.Kostrun%40osram.com&client-request-id=75ea2354-381a-4e5c-8028-7ef913dca00e&username=Marijan.Kostrun%40osram.com&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAdNiNtQztFJJS0xOMUtOS9NNNLI00TUxMTTVTTK1TNNNNk0yMLQ0Nk8xT0opEuISCFF-VSplEePXoFH3U_jOAr5VjDYZJSUFxVb6-jn56Zl5ermZyUX5xflpJfl5OZl5qXrJ-bn6QJybn6efn1hakmGkn5dYklmWmpyTmZpXsoOR8QIj4wtGxklMkr6JRZlZiXl63vnFJUWleQ75xUWJuSD9t5j4_R1BWkFEflFmVeonJtbC0tSiylXMsjDb80tLcvLzs_Xy09Iyk1ONzUxBOjcxs0HsvsHMeIGF8RULjwGzFQcHmwCjBIMCww8WxkWsQD_dmBL7WW65jvfSm2Jm3TnFjKdY9Y19S_V9XEKNSiKzwjIcg_NCnfzMij38Kz0K9LUN8opKXcxLKlK8Iv0sqzxtLa0MJ7AxfmBj7GBn2MVJUXDc4hIxMjC00DU01DWyUDA0tTIwtTI0jQIA0[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "X-Content-Type-Options: nosniff[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "x-ms-request-id: f35d94d8-a71e-4b2c-a5d9-16368b6c7301[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Set-Cookie: buid=AQABAAEAAAC5una0EUFgTIF8ElaxtWjTRRnF1sXwcw0PK6dXYlhhM0Pd7jB2a63IdK_-0-uY47k_cgMTaDqg-t9tlFsRtsOTiRtnxT97oS8Ca51WzO6DyLwrjkb5Oedg2VO2Ld6H5aYgAA; expires=Fri, 28-Dec-2018 15:05:14 GMT; path=/; secure; HttpOnly[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Set-Cookie: fpc=Ac6fe4UMNRFFp16dIxMv6SDPxkLmAQDz-dbmQlXWCA; expires=Fri, 28-Dec-2018 15:05:15 GMT; path=/; secure; HttpOnly[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Set-Cookie: esctx=AQABAAAAAAC5una0EUFgTIF8ElaxtWjT-ro8yIbnzcTPOnXD_kdRCS5-YVQV_wGmX-9x2UHgiowPXGLotAOdJHkzGh9hvrEbpZvcH2a-CL_3D5G4dx_06fDajeSdn5XIaowSOONFV5Fvx7_yVuP3y5qJiisQZGdzdDpNKeA1IX9lgshaKwWUSumruzEPSjWewmHR9ytgAxUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Set-Cookie: x-ms-gateway-slice=005; path=/; secure; HttpOnly[\r][\n]"
2018-11-28 10:05:14,637 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly[\r][\n]"
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Date: Wed, 28 Nov 2018 15:05:14 GMT[\r][\n]"
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Content-Length: 872[\r][\n]"
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] httpclient.wire.header - << "[\r][\n]"
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processCookieHeaders(Header[], HttpState, HttpConnection)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-28 10:05:14,638 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; buid=AQABAAEAAAC5una0EUFgTIF8ElaxtWjTRRnF1sXwcw0PK6dXYlhhM0Pd7jB2a63IdK_-0-uY47k_cgMTaDqg-t9tlFsRtsOTiRtnxT97oS8Ca51WzO6DyLwrjkb5Oedg2VO2Ld6H5aYgAA; $Path=/"
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-28 10:05:14,639 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; fpc=Ac6fe4UMNRFFp16dIxMv6SDPxkLmAQDz-dbmQlXWCA; $Path=/"
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HeaderElement - enter HeaderElement.parseElements(char[])
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; esctx=AQABAAAAAAC5una0EUFgTIF8ElaxtWjT-ro8yIbnzcTPOnXD_kdRCS5-YVQV_wGmX-9x2UHgiowPXGLotAOdJHkzGh9hvrEbpZvcH2a-CL_3D5G4dx_06fDajeSdn5XIaowSOONFV5Fvx7_yVuP3y5qJiisQZGdzdDpNKeA1IX9lgshaKwWUSumruzEPSjWewmHR9ytgAxUgAA; $Path=/; $Domain=login.microsoftonline.com"
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HeaderElement - enter HeaderElement.parseElements(char[])
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; x-ms-gateway-slice=005; $Path=/"
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HeaderElement - enter HeaderElement.parseElements(char[])
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.addCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; stsservicecookie=ests; $Path=/"
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpConnection)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.canResponseHaveBody(int)
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Redirect required
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Redirect requested to location 'https://dd.osram-light.com/adfs/ls/?login_hint=Marijan.Kostrun%40osram.com&client-request-id=75ea2354-381a-4e5c-8028-7ef913dca00e&username=Marijan.Kostrun%40osram.com&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAdNiNtQztFJJS0xOMUtOS9NNNLI00TUxMTTVTTK1TNNNNk0yMLQ0Nk8xT0opEuISCFF-VSplEePXoFH3U_jOAr5VjDYZJSUFxVb6-jn56Zl5ermZyUX5xflpJfl5OZl5qXrJ-bn6QJybn6efn1hakmGkn5dYklmWmpyTmZpXsoOR8QIj4wtGxklMkr6JRZlZiXl63vnFJUWleQ75xUWJuSD9t5j4_R1BWkFEflFmVeonJtbC0tSiylXMsjDb80tLcvLzs_Xy09Iyk1ONzUxBOjcxs0HsvsHMeIGF8RULjwGzFQcHmwCjBIMCww8WxkWsQD_dmBL7WW65jvfSm2Jm3TnFjKdY9Y19S_V9XEKNSiKzwjIcg_NCnfzMij38Kz0K9LUN8opKXcxLKlK8Iv0sqzxtLa0MJ7AxfmBj7GBn2MVJUXDc4hIxMjC00DU01DWyUDA0tTIwtTI0jQIA0'
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Redirecting from 'https://login.microsoftonline.com:443/common/oauth2/authorize' to 'https://dd.osram-light.com/adfs/ls/
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Execute redirect 1 of 10
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] httpclient.wire.content - << "<title>Object moved</title>[\r][\n]"
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] httpclient.wire.content - << "
Object moved to here.
[\r][\n]"2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] httpclient.wire.content - << "[\r][\n]"
2018-11-28 10:05:14,640 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.isResponseAvailable()
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.releaseConnection()
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - Connection is locked. Call to releaseConnection() ignored.
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.releaseConnection()
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.close()
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.closeSockedAndStreams()
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Attempt number 1 to process request
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.open()
2018-11-28 10:05:14,641 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - Open connection to dd.osram-light.com:443
2018-11-28 10:05:14,740 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "GET /adfs/ls/?login_hint=Marijan.Kostrun%40osram.com&client-request-id=75ea2354-381a-4e5c-8028-7ef913dca00e&username=Marijan.Kostrun%40osram.com&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAdNiNtQztFJJS0xOMUtOS9NNNLI00TUxMTTVTTK1TNNNNk0yMLQ0Nk8xT0opEuISCFF-VSplEePXoFH3U_jOAr5VjDYZJSUFxVb6-jn56Zl5ermZyUX5xflpJfl5OZl5qXrJ-bn6QJybn6efn1hakmGkn5dYklmWmpyTmZpXsoOR8QIj4wtGxklMkr6JRZlZiXl63vnFJUWleQ75xUWJuSD9t5j4_R1BWkFEflFmVeonJtbC0tSiylXMsjDb80tLcvLzs_Xy09Iyk1ONzUxBOjcxs0HsvsHMeIGF8RULjwGzFQcHmwCjBIMCww8WxkWsQD_dmBL7WW65jvfSm2Jm3TnFjKdY9Y19S_V9XEKNSiKzwjIcg_NCnfzMij38Kz0K9LUN8opKXcxLKlK8Iv0sqzxtLa0MJ7AxfmBj7GBn2MVJUXDc4hIxMjC00DU01DWyUDA0tTIwtTI0jQIA0 HTTP/1.1[\r][\n]"
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.getCookies()
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)[\r][\n]"
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "Host: dd.osram-light.com[\r][\n]"
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.writeLine()
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "[\r][\n]"
2018-11-28 10:05:14,741 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.flushRequestOutputStream()
2018-11-28 10:05:14,844 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection)
2018-11-28 10:05:14,845 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2018-11-28 10:05:14,845 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.readLine()
2018-11-28 10:05:14,845 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,845 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "HTTP/1.1 302 Found[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Content-Length: 0[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Content-Type: text/html; charset=utf-8[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Location: https://dd.osram-light.com:443/adfs/ls/wia?login_hint=Marijan.Kostrun%40osram.com&client-request-id=75ea2354-381a-4e5c-8028-7ef913dca00e&username=Marijan.Kostrun%40osram.com&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAdNiNtQztFJJS0xOMUtOS9NNNLI00TUxMTTVTTK1TNNNNk0yMLQ0Nk8xT0opEuISCFF-VSplEePXoFH3U_jOAr5VjDYZJSUFxVb6-jn56Zl5ermZyUX5xflpJfl5OZl5qXrJ-bn6QJybn6efn1hakmGkn5dYklmWmpyTmZpXsoOR8QIj4wtGxklMkr6JRZlZiXl63vnFJUWleQ75xUWJuSD9t5j4_R1BWkFEflFmVeonJtbC0tSiylXMsjDb80tLcvLzs_Xy09Iyk1ONzUxBOjcxs0HsvsHMeIGF8RULjwGzFQcHmwCjBIMCww8WxkWsQD_dmBL7WW65jvfSm2Jm3TnFjKdY9Y19S_V9XEKNSiKzwjIcg_NCnfzMij38Kz0K9LUN8opKXcxLKlK8Iv0sqzxtLa0MJ7AxfmBj7GBn2MVJUXDc4hIxMjC00DU01DWyUDA0tTIwtTI0jQIA0[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Server: Microsoft-HTTPAPI/2.0[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Date: Wed, 28 Nov 2018 15:05:15 GMT[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] httpclient.wire.header - << "[\r][\n]"
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processCookieHeaders(Header[], HttpState, HttpConnection)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpConnection)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.canResponseHaveBody(int)
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Redirect required
2018-11-28 10:05:14,946 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Redirect requested to location 'https://dd.osram-light.com:443/adfs/ls/wia?login_hint=Marijan.Kostrun%40osram.com&client-request-id=75ea2354-381a-4e5c-8028-7ef913dca00e&username=Marijan.Kostrun%40osram.com&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAdNiNtQztFJJS0xOMUtOS9NNNLI00TUxMTTVTTK1TNNNNk0yMLQ0Nk8xT0opEuISCFF-VSplEePXoFH3U_jOAr5VjDYZJSUFxVb6-jn56Zl5ermZyUX5xflpJfl5OZl5qXrJ-bn6QJybn6efn1hakmGkn5dYklmWmpyTmZpXsoOR8QIj4wtGxklMkr6JRZlZiXl63vnFJUWleQ75xUWJuSD9t5j4_R1BWkFEflFmVeonJtbC0tSiylXMsjDb80tLcvLzs_Xy09Iyk1ONzUxBOjcxs0HsvsHMeIGF8RULjwGzFQcHmwCjBIMCww8WxkWsQD_dmBL7WW65jvfSm2Jm3TnFjKdY9Y19S_V9XEKNSiKzwjIcg_NCnfzMij38Kz0K9LUN8opKXcxLKlK8Iv0sqzxtLa0MJ7AxfmBj7GBn2MVJUXDc4hIxMjC00DU01DWyUDA0tTIwtTI0jQIA0'
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Redirecting from 'https://dd.osram-light.com:443/adfs/ls/' to 'https://dd.osram-light.com:443/adfs/ls/wia
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Execute redirect 2 of 10
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.isResponseAvailable()
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.releaseConnection()
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - Connection is locked. Call to releaseConnection() ignored.
2018-11-28 10:05:14,947 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Attempt number 1 to process request
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "GET /adfs/ls/wia?login_hint=Marijan.Kostrun%40osram.com&client-request-id=75ea2354-381a-4e5c-8028-7ef913dca00e&username=Marijan.Kostrun%40osram.com&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAdNiNtQztFJJS0xOMUtOS9NNNLI00TUxMTTVTTK1TNNNNk0yMLQ0Nk8xT0opEuISCFF-VSplEePXoFH3U_jOAr5VjDYZJSUFxVb6-jn56Zl5ermZyUX5xflpJfl5OZl5qXrJ-bn6QJybn6efn1hakmGkn5dYklmWmpyTmZpXsoOR8QIj4wtGxklMkr6JRZlZiXl63vnFJUWleQ75xUWJuSD9t5j4_R1BWkFEflFmVeonJtbC0tSiylXMsjDb80tLcvLzs_Xy09Iyk1ONzUxBOjcxs0HsvsHMeIGF8RULjwGzFQcHmwCjBIMCww8WxkWsQD_dmBL7WW65jvfSm2Jm3TnFjKdY9Y19S_V9XEKNSiKzwjIcg_NCnfzMij38Kz0K9LUN8opKXcxLKlK8Iv0sqzxtLa0MJ7AxfmBj7GBn2MVJUXDc4hIxMjC00DU01DWyUDA0tTIwtTI0jQIA0 HTTP/1.1[\r][\n]"
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.getCookies()
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)[\r][\n]"
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "Host: dd.osram-light.com[\r][\n]"
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.writeLine()
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[])
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int)
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] httpclient.wire.header - >> "[\r][\n]"
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.flushRequestOutputStream()
2018-11-28 10:05:14,948 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection)
2018-11-28 10:05:14,949 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2018-11-28 10:05:14,949 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.readLine()
2018-11-28 10:05:14,949 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:14,949 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "HTTP/1.1 401 Unauthorized[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "HTTP/1.1 401 Unauthorized[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Content-Length: 0[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Server: Microsoft-HTTPAPI/2.0[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "WWW-Authenticate: Negotiate[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "WWW-Authenticate: NTLM[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "Date: Wed, 28 Nov 2018 15:05:15 GMT[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] httpclient.wire.header - << "[\r][\n]"
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.processCookieHeaders(Header[], HttpState, HttpConnection)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpConnection)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.getResponseInputStream()
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.canResponseHaveBody(int)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Authorization required
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - enter HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)
2018-11-28 10:05:15,049 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Supported authentication schemes in the order of preference: [ntlm, digest, basic, basic]
2018-11-28 10:05:15,049 INFO [ImapConnection-33446] org.apache.commons.httpclient.auth.AuthChallengeProcessor - ntlm authentication scheme selected
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Using authentication scheme: ntlm
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.auth.AuthChallengeProcessor - Authorization challenge processed
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Authentication scope: NTLM <any realm="">@dd.osram-light.com:443
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpState - enter HttpState.getCredentials(AuthScope)
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Credentials required
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - Credentials provider not available
2018-11-28 10:05:15,050 INFO [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodDirector - No credentials available for NTLM <any realm="">@dd.osram-light.com:443
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Buffering response body
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.isResponseAvailable()
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.releaseConnection()
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - enter getContentCharSet( Header contentheader )
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpMethodBase - Default charset used: ISO-8859-1
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.close()
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] org.apache.commons.httpclient.HttpConnection - enter HttpConnection.closeSockedAndStreams()
2018-11-28 10:05:15,050 WARN [ImapConnection-33446] davmail.exchange.ExchangeSession - All network interfaces down or host unreachable !
2018-11-28 10:05:15,050 DEBUG [ImapConnection-33446] davmail.exchange.ExchangeSession - java.io.IOException: pattern not found
java.io.IOException: pattern not found
at davmail.exchange.auth.O365Authenticator.extract(O365Authenticator.java:443)
at davmail.exchange.auth.O365Authenticator.extractConfig(O365Authenticator.java:430)
at davmail.exchange.auth.O365Authenticator.executeMethod(O365Authenticator.java:405)
at davmail.exchange.auth.O365Authenticator.authenticate(O365Authenticator.java:94)
at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:170)
at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:96)
at davmail.imap.ImapConnection.run(ImapConnection.java:112)
2018-11-28 10:05:15,050 INFO [ImapConnection-33446] davmail.connection - FAILED - 127.0.0.1:33446 Marijan.Kostrun@osram.com
2018-11-28 10:05:15,050 ERROR [ImapConnection-33446] davmail - All network interfaces down or host unreachable !
2018-11-28 10:05:15,051 DEBUG [ImapConnection-33446] davmail - > 3 NO LOGIN failed</any></any>
Please do not use davmail.authenticator, remove the property and use davmail.mode instead:
- O365Interactive for interactive authentication
- O365Modern for transparent Oauth authenticatication
Please check again with 5.1.0
Did as you proposed on 2018-12-07 using the latest version 5.1.0.
With the option O365Interactive it fails with message "Unable to load JavaFX (OpenJFX)"
With the option O365Modern fails as before.
Any suggestions.
In order to use O365Interactive you need OpenJFX, on linux with OpenJDK8 + OpenJFX8, on windows with Oracle JDK 8, 9 or 10.
Note that it may not work if your company enabled device authentication.
Last edit: Mickael Guessant 2019-01-09