Le 07/03/2017 à 15:33, Florian Lombard a écrit : > Le 07/03/2017 à 10:23, Oswald Buddenhagen a écrit : >>> * unexpected tag errors (always on the same mailboxes) >>> * connection reset by peer (outlook side), I thought it was only >>> after >>> 10 imap commands errors that outlook was disconnecting clients. I >>> suspect that this happens after the same messages, I need to -DN >>> those boxes to be sure >>> * some mails are refused by outlook (without explanations, would be >>> too easy) >> these all sound like Business As Usual (TM) with outlook. > I got an explanation for a few unexpected tag errors : too long lines > in the message !! > Exchange is limited to 9990 chars lines (saw that in imapsync ml) > > Any chance to fix that / avoid those messages ? I made a dirty change in drv_imap.c to skip messages with lines of more than 10000 bytes and voila ... no more problems with exchange online ...
Anyway I did it wrong, because mbsync doesn't retry those messages when I use ReNew, there's no entry in the sync file, but that was a test I'm parsing the message in imap_fetch_msg_p2() and altering response to RESP_NO, the message is just ignored as if it wasn't there I'm planning to do it the right way and contribute a patch, but I'm no C coder and the result may be ugly ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel