Menu

#673 davmail doesn't cleanly close sessions (to Exchange) on exit, or when client leaves?

v4.8.3
closed-invalid
nobody
None
5
2018-06-15
2018-03-04
niol
No

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

Discussion

  • Mickael Guessant

    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.

     
  • Mickael Guessant

    • status: open --> pending-invalid
     
  • Mickael Guessant

    • status: pending-invalid --> closed-invalid
     

Log in to post a comment.