Skip to content
This repository was archived by the owner on Jul 2, 2020. It is now read-only.

Debugging Kolab Sync

Timotheus Pokorra edited this page Apr 10, 2017 · 7 revisions

The kolab sync process creates new mailboxes and new domains, when they are created in the Kolab Webadmin. It periodically checks the LDAP directory for changes, and then adds the domains and mailboxes to Cyrus IMAP.

Sometimes, the sync fails, and it is good to see why the process hangs.

To test this, run these commands:

systemctl stop kolabd
kolab -d 9 sync 2>&1 | tee kolab-sync.log
systemctl start kolabd

This is the code for the kolabd service:

The code for the commandline sync starts here:

Synchronization happens here:

mailbox folders are created here (user_mailbox_create):

The log is written to:

  • /var/log/kolab/pykolab.log

Timing:

Clone this wiki locally