[Users] CardDAV address book support

Andreas Fink finkandreas at web.de
Mon Feb 16 16:52:17 CET 2015

On Wed, 4 Feb 2015 14:58:35 +0100
Johan Vromans <jvromans at squirrel.nl> wrote:

> On Wed, 4 Feb 2015 08:32:04 +0000
> Paul <claws at thewildbeast.co.uk> wrote:
> > > Translated into normal language: "We are not interested."
> > 
> > You need to improve your translation skills because you got that
> > completely wrong.
> I'm happy to be completely wrong.
> Now, I'm eagerly waiting for other people to chime in, express interest,
> offer resources. Maybe we can get something going.
> -- Johan
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users

This might be not the solution you're looking for, but this is my setup:
I have written myself an addressbook in python. This addressbook supports to sync with a
carddav server (I am using it with an owncloud server).
The sync happens regularly with a cron job, and after the sync a vcf-file is written.
Claws-Mail is reading from this vcf-file its addresses (and in claws-mail vcf-files are
read-only anyway).

So I am not really using claws-mail for managing my addresses but a standalone program.
The source code for my addressbook can be found here:
You have to checkout the sources with the command: 
hg clone https://code.google.com/p/pyaddressbook
The software can be started via 'python path/to/pyaddressbook/pyaddressbook' (requires
python2, not python3). You must also have installed vobject and pygtk as python modules.

The whole addressbook supports importing from a vcard file, exporting to vcard files and
synchronisation with a davcard server (I use owncloud, no idea if others work too).
The cronjob is executing 'pyaddressbook --synconly' and when I need to update addresses I
just open pyaddressbook and change whatever I need to change. The next time cron
executes 'pyaddressbook --synconly' a new vcf-file will be created and claws-mail will
become aware of the changes. Alternatively you could just sync manually and claws-mail
would become aware of the changes right away.

Saying again that this might not be the solution you're looking for, but it might help
you for the moment ;)

I wrote the software myself, so there are for sure millions of bugs. Be careful with
your data and do a full backup, as I am not sure what might happen in case of a bug.
Worst case is that it will delete all addresses from the server, but I did not run in
such an issue, and I am satisfied with the solution.


More information about the Users mailing list