diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-03-07 15:45:11 +0000 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-03-07 15:45:11 +0000 |
commit | a6773874d462a661173991004d5e4dafd87c4b6c (patch) | |
tree | ddcd5b42f71f8df6ba109c2e3c8d2c7e8e9d0482 | |
parent | 4a4f7802472cc45ebf6a336c842e64789bc9dff9 (diff) | |
download | pykolab-a6773874d462a661173991004d5e4dafd87c4b6c.tar.gz |
More example configuration in the default configuration file.
-rw-r--r-- | conf/kolab.conf | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/conf/kolab.conf b/conf/kolab.conf index 19c2fef..8449e9b 100644 --- a/conf/kolab.conf +++ b/conf/kolab.conf @@ -1,23 +1,27 @@ [postfix] leave_this_one_to_me = why_dont_cha -[mysql] -uri = mysql://username:password@hostname/database - [kolab] +primary_domain = example.org imap_backend = cyrus-imap auth_mechanism = ldap mta = postfix archving = openbenno [ldap] +# This now applies to all domains... need to change that. group_base_dn = ou=Groups,%(base_dn)s user_base_dn = ou=People,ou=Accounts,%(base_dn)s kolab_user_filter = (&(uid=*)(mail=*)) uri = ldap://localhost -base_dn = dc=localhost,dc=localdomain +base_dn = dc=example,dc=org bind_dn = cn=Directory Manager bind_pw = VerySecret +domain_base_dn = cn=kolab,cn=config +kolab_domain_filter = (&(associatedDomain=*)) +# This is what will be passed to +domain_name_attribute = associateddomain +domain_rootdn_attribute = inetdomainbasedn [cyrus-imap] uri = imaps://localhost:993 @@ -31,5 +35,24 @@ result_attribute = mail [recipient_policy] primary_email = %(givenname)s.%(surname)s@%(domain)s other_email = { - "{0}.{1}@{2}": "format('%(givenname)s'[0:1].capitalize(), '%(surname)s', '%(domain)s')" + "{0}.{1}@{2}": "format('%(givenname)s'[0:1].capitalize(), '%(surname)s', '%(domain)s')", + "{0}@{1}": "format('%(uid)s', '%(domain)s')" + } + +[defaultfolders] +autocreate = { + 'Calendar': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "event.default", + }, + 'acl': { + 'manager': 'lrs' + } + } } + +[dc=company,dc=com] +group_base_dn = ou=Groups,%(base_dn)s +user_base_dn = ou=Accounts,%(base_dn)s +uri = ldap://ldap.company.com |