diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/kolab.conf | 155 |
1 files changed, 118 insertions, 37 deletions
diff --git a/conf/kolab.conf b/conf/kolab.conf index 03fa16f..3611bd8 100644 --- a/conf/kolab.conf +++ b/conf/kolab.conf @@ -2,66 +2,147 @@ primary_domain = example.org auth_mechanism = ldap imap_backend = cyrus-imap -mta = postfix -archving = openbenno +default_quota = 2097152 +virtual_domains = userid +quota_attribute = mailquota +unique_attribute = nsunique +mailserver_attribute = mailhost +mail_attributes = mail, alias +auth_attributes = mail, alias, uid [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 +ldap_uri = ldap://localhost base_dn = dc=example,dc=org + +user_base_dn = ou=People,%(base_dn)s +user_filter = (objectclass=inetorgperson) +user_scope = sub + +kolab_user_filter = (objectclass=kolabinetorgperson) + +group_base_dn = ou=Groups,%(base_dn)s +group_filter = (|(objectclass=groupofuniquenames)(objectclass=groupofurls)) +kolab_group_filter = (|(objectclass=kolabgroupofuniquenames)(objectclass=kolabgroupofurls)) + 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_filter = (&(associatedDomain=*)) domain_name_attribute = associateddomain domain_rootdn_attribute = inetdomainbasedn -quota_attribute = mailquota -[kolab_smtp_access_database] -# We'll create a policy_result table -uri = mysql://user:pass@localhost/database -# Number of seconds to maintain the cache for +[kolab_smtp_access_policy] +uri = mysql://user:pass@localhost/kolab +retention = 3600 +address_search_attrs = mail, alias + +[kolab_telemetry] +uri = mysql://user:pass@localhost/kolab retention = 30 -# Comma and/or space seperated list of attributes to search for valid -# recipient and envelope sender addresses. -address_search_attrs=mail, alias + +[kolab_wap] +sql_uri = mysql://user:pass@localhost/kolab +;api_url = http://localhost/kolab-webadmin/api +skin = default +admin_auto_fields_rw = false [cyrus-imap] uri = imaps://localhost:993 admin_login = cyrus-admin admin_password = VerySecret -[postfix] -leave_this_one_to_me = why_dont_cha - [cyrus-sasl] 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}": "format('%(uid)s', '%(domain)s')" +[example.org] +default_quota = 1048576 +primary_mail = %(givenname)s.%(surname)s@%(domain)s +secondary_mail = { + 0: { + "{0}.{1}@{2}": "format('%(givenname)s'[0:1].capitalize(), '%(surname)s', '%(domain)s')" + }, + 1: { + "{0}@{1}": "format('%(uid)s', '%(domain)s')" + }, + 2: { + "{0}@{1}": "format('%(givenname)s.%(surname)s', '%(domain)s')" + } } - -[defaultfolders] -autocreate = { +autocreate_folders = { + 'Archive': { + 'quota': 0 + }, 'Calendar': { 'annotations': { '/vendor/kolab/folder-test': "true", '/vendor/kolab/folder-type': "event.default", }, - 'acls': { - 'manager': 'lrs' - } - } + }, + 'Calendar/Personal Calendar': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "event", + }, + }, + 'Configuration': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "configuration.default", + }, + }, + 'Drafts': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "mail.drafts", + }, + }, + 'Contacts': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "contact.default", + }, + }, + 'Contacts/Personal Contacts': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "contact", + }, + }, + 'Journal': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "journal.default", + }, + }, + 'Notes': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': 'note.default', + }, + }, + 'Sent': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "mail.sentitems", + }, + }, + 'Spam': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "mail.junkemail", + }, + }, + 'Tasks': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "task.default", + }, + }, + 'Trash': { + 'annotations': { + '/vendor/kolab/folder-test': "true", + '/vendor/kolab/folder-type': "mail.trash", + }, + }, } - -[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 |