Kolab 3.2 carddav issue

Christian Hügel christian.huegel at stonebyte.de
Fri Feb 21 00:02:54 CET 2014


OK, got it :)

1. it takes some time till the contacts are accessible in 
webmail/thunderbird. I guess this has something to do with the 
"sync_interval" option in kolab.conf.

2. you're right. The kolab deamon creates the addressbook if it's not 
available.
The file where you can change this is in

/etc/roundcubemail/kolab_folders.inc.php



$config['kolab_folders_configuration_default'] = 'Konfiguration';
$config['kolab_folders_event_default'] = 'Kalender';
$config['kolab_folders_contact_default'] = 'Kontakte';


Together with the autocreate folder section in kolab.conf this is perfect:



autocreate_folders = {
         'Archiv': {
         'quota': 0
         },
         'Kalender': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "event.default",
         '/shared/vendor/kolab/folder-type': "event",
         },
         },
         'Konfiguration': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "configuration.default",
         '/shared/vendor/kolab/folder-type': "configuration.default",
         },
         },
         'Kontakte': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "contact.default",
         '/shared/vendor/kolab/folder-type': "contact",
         },
         },
         'Drafts': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "mail.drafts",
         },
         },
         'Dateien': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "file.default",
         },
         },
         'Journal': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "journal.default",
         '/shared/vendor/kolab/folder-type': "journal",
         },
         },
         'Notizen': {
         'annotations': {
         '/private/vendor/kolab/folder-type': 'note.default',
         '/shared/vendor/kolab/folder-type': 'note',
         },
         },
         'Sent': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "mail.sentitems",
         },
         },
         'Spam': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "mail.junkemail",
         },
         },
         'Spam/SpamUnbekannt': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "mail.junkemail",
         },
         },
         'Spam/KeinSpam': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "mail.junkemail",
         },
         },
         'Aufgaben': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "task.default",
         '/shared/vendor/kolab/folder-type': "task",
         },
         },
         'Trash': {
         'annotations': {
         '/private/vendor/kolab/folder-type': "mail.wastebasket",
         },
         },
         }



Thx,

Christian


Am 20.02.2014 23:47, schrieb Daniel Hoffend:
>> yes, figured that out :) Thx.
> Cool
>
>> I can now see the contacts in webmail. Two things:
>>
>> 1. when I sync a contact from my phone or thunderbird the entry
>> doesn't show up. However I can see the new contact in the "Kontakte"
>> imap folder. Is this some caching issue?
> Haven't tested it yet and usually it should work, but I will not promise
> it.
>
>> 2. A addressbook Contacts is created every time I access the contacts
>> page in webmail. Is there a way to permanent delete this addressbook?
> The Contacts is likekly one of the "autocreated" ones. Maybe you wanna
> take a look at your kolab.conf and there the autocreate_folder section.
>
> I guess kolabd / kolab-server is recreating the folder OR it's
> roundcube. In Roundcube > Settings > Settings > Addressbook you can
> select your default book. Maybe it's not finding your default
> addressbook and therefore creates it.
>
> tbh, I've left the original english names for the folders cause most of
> the standalone external mailclients are looking for those (example
> "Sent" or "Draft") to set their special folders direcly without having
> you to manually tell your client which folder is supposed for.
>
>
>>
>>
>> Thank you.
>>
>> Am 20.02.2014 23:07, schrieb Daniel Hoffend:
>>> you can ignore the warnings and notices. But when you change the path
>>> where you run the update script, maybe you want to adjust the path in
>>> the --dir argument as well. That's why I run it from the roundcube
>>> basedir.
>>>
>>> So it's either
>>> ./updatedb.sh --dir ../plugins/libkolab/SQL --package libkolab
>>> or
>>> bin/updatedb.sh --dir plugins/libkolab/SQL --package libkolab
>>> whatever you choose.
>>>
>>> regards
>>> Daniel


More information about the users mailing list