I've been meaning to set up IMAP access to mail on my server, since it can
be somewhat inconvenient to use SSH to read mail on a phone. The catch was
that I wasn't interested in storing my regular password in plain text in a
mail application on my phone, and I didn't really feel that installing a
LDAP server on a machine used by two people was optimal. After making some
research on ways to achieve this with Dovecot, I rolled up my sleeves
during Christmas, and wrote an initial version of something.
Then, finally, a few weeks ago, I forced myself to polish it into a good
enough state that I would be willing to deploy it on a live server, and at
last, today I released the first version of dovecot-userpassdb, a simple
implementation of Dovecot's checkpassword interface, which stores every
user's email password in their homedir, hashed using passlib.
I invite anyone with a similar use case to try it out, and report any
issues you might encounter with it.