I tackled this by using timeout from coreutils in front of mbsync. If the job doesn't finish in 60 seconds, timeout kills it.
Hacky but working. On Mon, May 18, 2020 at 4:38 AM Marton Balazs <balm...@gmail.com> wrote: > > Hi, > > I wonder if this: > https://github.com/openssl/openssl/issues/10880 > > might be related. I had errors like > Socket error: secure read from outlook.office365.com (52.97.133.194:993): > error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading > in isync's log after the last maildir finished sync in a channel. > > > Regards, > Marton > > ps: First post here, hope it makes sense, sorry if not. And a million thanks > for your work with isync! > > > On Sun, May 17, 2020 at 05:10:55PM -0700, Krusty wrote: > > Hi, > > > > Has anyone experienced problems with hosted Office 365's IMAP server > > not closing the connection after "OK LOGOUT completed"? > > > > mbsync appears to hang here: > > > > ">>> 16 CLOSE > > 16 OK CLOSE completed. > > >>> 17 LOGOUT > > * BYE Microsoft Exchange Server IMAP4 server signing off. > > 17 OK LOGOUT completed." > > > > -- and the session hangs there. > > > > This happens either running mbsync interactively, or scheduling it to > > run using mu4e. The shell is zsh. > > > > After a solid year of no problems at all, this recently started > > happening inconsistently for me. I can't identify a pattern or a way > > to always replicate the result. I've debugged using -D N and nothing > > stands out. > > > > I'm using 1.3.1 from Homebrew on Mac OS X 10.15.4. I also tried 1.4 > > from the master branch from Git and get the same result. > > > > Love to hear from anyone with similar experiences - especially if > > you've solved the problem! :-) > > > > Thanks! > > > > > > _______________________________________________ > > isync-devel mailing list > > isync-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/isync-devel _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel