offlineimap
offlineimap copied to clipboard
Failure when files changed between invokation and actual sync.
I sent SIGUSR1 to offlineimap to force a complete sync with the servers. However, before it could complete the sync process, the local mailbox files were deleted by the mail client.
This caused offlineimap to error out and spews a stack trace on the screen. Such a race condition should be handled more elegantly.
You're plain right. I expect such race conditions in the other way (remote changes not handled gracefully). This is a well know topic for years but it requires time to get properly addressed.
TODO: add this into the "known issues" of the man page.
Added to "known issues".