Update on my experiences with and : after a lot of experimentation, it turned out that the problem of unsynced messages occurred with messages above a certain size. Apparently DavMail behaves in a way that differs from other servers and that mbsync doesn’t handle well.

I’ve massively increased the size of buf in src/socket.h (from 100000 to 5000000), and this seems to have solved the problem. The real problem is probably in the protocol handling, but this is at least a workaround that allows me to continue reading mail with in .

@true_mxp I just switched to #OfflineIMAP for use with #DavMail.

But my problem was that my Exchange instance somehow assigned duplicate UIDs to different emails in different folders, so #mbsync just couldn't download a large part of my mail. And OffineIMAP had some way to handle that more gracefully.

@sqrtminusone That’s interesting, thanks for sharing! I guess I’ll try at some point then. With in the loop, the performance difference between and OfflineIMAP should be negligible…

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.