#title OfflineIMAP Password Cache [[http://gopher.quux.org:70/devel/offlineimap][OfflineIMAP]]'s [[http://bugs.complete.org/Ticket/Display.html?id=48][bug #48: Password prompts too often]], 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 [[../08/offlineimap-hh-imap_password_cache2.patch][password cache patch]] is against OfflineIMAP 4.0.0, but isn't very intrusive so it should work againt any minor update.