Adding a CouchDB backend

Théodore Biadala theodore at
Sat Sep 3 16:09:58 BST 2011


I've been trying to add a couchdb backend with a friend, it's working pretty well. I'm not good at python so the code is a bit ugly :

It was dead simple to implement, go offlineimap :)

And the relevant files are :

You need a couchdb server and the python-couchdb lib version 0.8 (or above) for this to work.

The config file looks like this :

[Repository Couch]
type = CouchDB
dbname = offlineimap
server = http://localhost:5984/

Works as local and remote repository.

Any improvement on the ugly python, var naming for the config or anything else is welcome :)

More information about the OfflineIMAP-project mailing list