I've been using DavMail for several years now and it's always worked very well. However, yesterday it stopped working. I was down rev so I updated but the problem persists.
Problem Description: Unable to connect to exchange server (hosted Office365 for business). DavMail launches and the icon appears in taskbar. As soon as Thunderbird tries to communicate with the server, the red symbol appears over DavMail icon. Thunderbird asks me for a new password. (I did confirm that my password has not expired). As soon as I hit cancel, the red symbol dissappears.
If I exit out of DavMail and try to restart, the icon no longer appears but the applet does appear in the running processes.
Here is what shows up in the davmail.log: (I think I got all the pertinent stuff.)
2016-04-29 12:13:10,805 ERROR [ImapConnection-40974] davmail - All network interfaces down or host unreachable ! 2016-04-29 12:13:10,807 DEBUG [ImapConnection-40974] davmail - > 1 NO LOGIN failed 2016-04-29 12:13:10,808 DEBUG [ImapConnection-40974] davmail - < LOGIN ******** 2016-04-29 12:13:12,323 WARN [ImapConnection-40974] davmail.exchange.ExchangeSession - All network interfaces down or host unreachable ! 2016-04-29 12:13:12,323 DEBUG [ImapConnection-40974] davmail.exchange.ExchangeSession - java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1967) at davmail.http.DavMailCookieSpec.validate(DavMailCookieSpec.java:46) at org.apache.commons.httpclient.HttpMethodBase.processCookieHeaders(HttpMethodBase.java:1643) at org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders(HttpMethodBase.java:1586) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1738) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at davmail.http.DavGatewayHttpClientFacade.getHttpStatus(DavGatewayHttpClientFacade.java:296) at davmail.exchange.ExchangeSession.isBasicAuthentication(ExchangeSession.java:358) at davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:197) at davmail.exchange.dav.DavExchangeSession.<init>(DavExchangeSession.java:500) at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:147) at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:94) at davmail.imap.ImapConnection.run(ImapConnection.java:112) 2016-04-29 12:13:12,335 ERROR [ImapConnection-40974] davmail - All network interfaces down or host unreachable ! 2016-04-29 12:13:12,336 DEBUG [ImapConnection-40974] davmail - > 3 NO LOGIN failed 2016-04-29 12:16:39,940 DEBUG [main] davmail - OS Name: Linux Java version: 1.8.0_77 64 System tray not supported Current Desktop: KDE 2016-04-29 12:16:40,674 DEBUG [CheckRelease] davmail.DavGateway - DavMail released version: 4.7.2-2427
Ordinary I would assume this is a configuration error on my part. However, I have made no configuration changes to DavMail or Thunderbird. This happens on two different systems (that worked yesterday morning), one is OpenSUSE Leap 42.1 based (the log above) and the other is Deepin which is an Ubuntu derivative. The only changes I have made is normal system updates through zypper and apt-get, respectively.
All other network functions on both systems work just fine, I've disabled the firewall for troubleshooting. Perhaps there has been a Java change? I'm using OpenJDK on both systems.
One other note, my android phone can still connect to the Office365 server and get mail with no problems (I also thought maybe M$ might have started blocking requests from non-Outlook clients.)
OK the same thing has happened to me in the past 48 hrs. My POP3 email client (Becky 2) has suddently stopped working with DavMail, showing the same error about the network interfaces being down. Here is the error message displayed by my email client:
Authentication failed.
Please confirm your user ID and password are correct.
-ERR All network interfaces down or host unreachable!
myemail@mydomain.com @ localhost
Since I also use Office365, I suspect they have changed something at Microsoft.
Peter
I added the /EWS/Exchange.asmx to DavMail's OWA URL setting and now my POP3 client can get my email again. I learned about this in the Discussion section:
https://sourceforge.net/p/davmail/discussion/644056/thread/a7506489/#74a7
See if this helps you, Lowell.
I did look at that now and it did solve my problem. Thanks, Peter.
This does not solve the problem for thunderbird/IMAP, and I don't think the brain dead setup here supports pop3. This is pretty ridiculous, everythime some idiot on the Micro$loth end decides to change something on the server end it breaks davmail. Anyone have other clues ? Getting real frustrating having to fix problems all the time with this setup but I don't know of any other alternatives. thx
I have the same problem using IMAP with Thunderbird on windows7, since some days.
I wonder if it has to do with java upgrade, issue seems to have started when I did the last update : ii oracle-java8-installer 8u92+8u91arm-2~really8u91~webupd8~0 all Oracle Java(TM) Development Kit (JDK) 8
or perhaps thunderbird (but that was the day before):
ii thunderbird 1:38.7.2+build1-0ubuntu0.14.04.1 amd64 Email, RSS and newsgroup client with integrated spam filter
I can't seem to find a clear "fix" by reading the different threads
Does anyone have other clues ? It's stopped working for imap/thunderbird for over 2 weeks now and I don't see a clear fix. thx
Here's my environment...
I am using IMAP to connect to the hosted Office365 exchange server. IMAP works fine for me ever since I put the full URL into the configuration.
This morning SMTP stopped working (I updated java) but IMAP still fetches mail. I'll troubleshoot the SMTP issue shortly.
If you want additional config info I'd be happy to share.
Last time I tried that it didn't work bot this time it did. For the record here is the info on my box:
TB/IMAP works including smtp I think:
davmail:
Local IMAP port: 1143
Local smtp port: 1025
Exchange protocol: EWS
Same problem here !
Login failed, Network interfaces are down etc..
I have tried this (put this in configuration file, we should probably respect case sensitive) and it works like a charm:
davmail.url=https\://outlook.office365.com/EWS/Exchange.asmx
This URL works for me too
@Ahmed ZRIBI: thank you very much!
Works for me also thanks
Op di 28 jun. 2016 11:47 schreef Roland Schmitz r-sch@users.sf.net:
Related
Support Requests:
#272