summaryrefslogtreecommitdiff
path: root/doc/sample-kolab.conf
blob: 7b3702a7afaca8092f6d09ad705af06588fac8d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[postfix]
leave_this_one_to_me = why_dont_cha

[kolab]
; A management domain is the one domain associated with the root dn object
; that is required in the case of LDAP use (or your LDAP database is just
; empty)
;
primary_domain = klab.cc
imap_backend = cyrus-imap
; Authentication and Authorization mechanism.
;
; Currently supported: ldap or sql
;
auth_mechanism = ldap
mta = postfix
archving = openbenno
default_quota = 2097152
virtual_domains = userid
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')"
            }
    }

[ldap]
uri = ldap://ldap.klab.cc

base_dn = dc=klab,dc=cc

group_base_dn = ou=Groups,%(base_dn)s
group_filter = (|(objectclass=groupofuniquenames)(objectclass=groupofurls))
group_scope = one

kolab_group_base_dn = ou=Groups,%(base_dn)s
kolab_group_filter = (|(objectclass=kolabgroupofuniquenames)(objectclass=kolabgroupofurls))
kolab_group_scope = one

user_base_dn = ou=People,%(base_dn)s
user_filter = (objectclass=inetorgperson)
user_scope = sub

kolab_user_base_dn = ou=People,%(base_dn)s
kolab_user_filter = (objectclass=kolabinetorgperson)
kolab_user_scope = sub

special_user_base_dn = ou=Special Users,%(base_dn)s
special_user_filter = (objectclass=inetorgperson)
special_user_scope = sub

bind_dn = cn=Directory Manager
bind_pw = *****

ro_bind_dn = uid=kolab-service,ou=Special Users,%(base_dn)s
ro_bind_pw = ****

; A comma- or comma-space seperated list of attributes to search for when
; attempting to authenticate.
auth_attrs = mail, mailAlternateAddress, uid

; A unique attribute to use to refer to an entry.
unique_attribute = nsuniqueid
; For OpenLDAP:
;unique_attribute = entrydn

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
quota_attribute = mailquota
mailserver_attribute = mailhost

[cyrus-imap]
uri = imaps://imap.klab.cc:993
admin_login = cyrus-admin
admin_password = *****

[cyrus-sasl]
result_attribute = mail

[klab.cc]
default_quota = 131072