davmail doesn't cleanly close sessions (to Exchange) on exit, or when client...
Brought to you by:
mguessan
forwarded from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890585
Davmail does not seem to close exchange sessions when (imap) client lieaves. From quickly reading the code, it seems the the closing of the IMAP session does not close the exchange session (although I'm not quite familier with davmail's code).
This can leed to Microsoft.Exchange.Data.Storage.TooManyObjectsOpenedExceptions for some users apparently.
Thanks,
Alex
I can confirm that DavMail does not close EWS sessions... however I didn't find any API calls to do this. Those users probably have large folders with in progress sync on DavMail shutdown.
I would recommend setting DavMail folder size limit to reduce Exchange load, and/or change Thunderbird to sync less folders and use less parallel connections.