OfflineIMAP Password Cache

Wiki source

Search the scratchpad:  

OfflineIMAP's bug , which I reported, has been very annoying to me. I first authored a quick patch which solves the issue, but wasn't very clean.

I therefore reimplemented it as a PasswordCache class. This patch allows you, in case you define several accounts on the same machine with the same username, e.g. if you want different accounts to sync different sets of folders, to type your password only once.

In my case, it saves me from typing my password 6 times every time I run OfflineIMAP.

The password cache patch is against OfflineIMAP 4.0.0, but isn't very intrusive so it should work againt any minor update.