Salut,

> I'm having some trouble getting mutt and evolution to retrieve mail via
> davmail.
[...]
> 2018-04-03 11:26:02,255 DEBUG [ImapConnection-38454] davmail  - < a0004 FETCH 
> 1:605 (UID FLAGS INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS (DATE FROM 
> SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION 
> IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)])
> 2018-04-03 11:26:02,335 DEBUG [ImapConnection-38454] 
> davmail.imap.ImapConnection  - * 1 FETCH (UID 2 FLAGS (\Seen) INTERNALDATE 
> "21-Sep-2017 12:36:22 +0100"
> 2018-04-03 11:26:02,469 INFO  [ImapConnection-38454] davmail.connection  - 
> DISCONNECT - 0:0:0:0:0:0:0:1:38454
> 2018-04-03 11:26:02,470 DEBUG [ImapConnection-38454] davmail  - Exception 
> closing client output stream Socket closed
> java.net.SocketException: Socket closed
>         at 
> java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
>         at 
> java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:155)
>         at 
> java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
>         at 
> java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
>         at 
> java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:182)
>         at davmail.AbstractConnection.close(AbstractConnection.java:265)
>         at davmail.imap.ImapConnection.run(ImapConnection.java:676)
>
> It looks like something inside the davmail process is closing the socket
> before the protocol handler is able to write the first line of the
> response.

Do you run with log4j.logger.davmail=DEBUG?
Can you reproduce with upstream's prebuilt binaries?

I cannot make sense of the output you provide, all encountered errors
should produce some debug log. Maybe the error comes from the
connection between davmail and the exchange server?

Alex

Reply via email to