summaryrefslogtreecommitdiff
path: root/conf/dist/kolab
blob: ab15d1e23cdff13f95fccc51883c168440dd228b (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
BASHELL=${libdir}/openpkg/bash
PERL=${bindir}/perl
PHP=${bindir}/php
KOLABRC=${bindir}/openpkg
RPM=${KOLABRC} rpm
TAR=${libdir}/openpkg/tar

kolab_usr:=$(shell $(RPM) --eval %{l_nusr})
kolab_grp:=$(shell $(RPM) --eval %{l_ngrp})
kolab_musr:=$(shell $(RPM) --eval %{l_musr})
kolab_mgrp:=$(shell $(RPM) --eval %{l_mgrp})
kolab_uid:=$(shell $(RPM) --eval %{l_nuid})
kolab_gid:=$(shell $(RPM) --eval %{l_ngid})
kolab_rusr:=$(shell $(RPM) --eval %{l_rusr})
kolab_rgrp:=$(shell $(RPM) --eval %{l_rgrp})
kolab_susr:=$(shell $(RPM) --eval %{l_susr})

# Define the deamons that are executed with openpkg rc
LDAPD=openldap

kolab_rcdir=${sysconfdir}/rc.d
pkgdocdir=${datadir}/doc
kolabconf_script=${sbindir}/kolabconf

amavisd_conffile=${sysconfdir}/amavisd/amavisd.conf
amavisd_templatedir=${sysconfdir}/amavisd/templates
amavisd_logfile=${localstatedir}/amavisd/amavisd.log
amavisd_home=${localstatedir}/amavisd
# @l_rusr@
amavisd_rusr=${kolab_rusr}
# @l_musr@
amavisd_usr=${kolab_musr}
# @l_rgrp@
amavisd_grp=${kolab_rgrp}

spamassassin_confdir=${sysconfdir}/spamassassin

fsl_logfile=${localstatedir}/fsl/fsl.log

clamav_confdir=${sysconfdir}/clamav
clamav_socket=${localstatedir}/clamav/clamd.sock
clamav_logfile=${localstatedir}/clamav/clamd.log
clamav_pidfile=${localstatedir}/clamav/clamd.pid
clamav_datadir=${datadir}/clamav
freshclam_logfile=${localstatedir}/clamav/freshclam.log
freshclam_pidfile=${sysrundir}/freshclam.pid
# @l_rusr@
clamav_rusr=${kolab_rusr}
# @l_musr@
clamav_usr=${kolab_musr}
# @l_rgrp@
clamav_grp=${kolab_rgrp}

# @l_musr@
# @l_rgrp@


emailscan_usr=${kolab_rusr}
emailscan_grp=${kolab_rgrp}

emailserver_confdir=${sysconfdir}/postfix
emailserver_socket=${localstatedir}/kolab/lmtp
emailserver_localstatedir=${localstatedir}/postfix
emailserver_logfile=${emailserver_localstatedir}/log/postfix.log
emailserver_usr=${kolab_usr}
emailserver_musr=${kolab_musr}
emailserver_grp=${kolab_rgrp}
# @l_musr@
emailserver_mail_owner=${kolab_musr}
emailserver_setgid_grp=${kolab_rgrp}
emailserver_default_privs=${kolab_usr}
emailserver_master_usr=${kolab_usr}
emailserver_tables_usr=${kolab_susr}

imap_confdir=${sysconfdir}/imapd
imap_confperm=0640
# @l_musr@
imap_usr=${kolab_musr}
# @l_rgrp@
imap_grp=${kolab_rgrp}
imap_masterlogfile=${localstatedir}/imapd/log/master.log
imap_misclogfile=${localstatedir}/imapd/log/misc.log
imap_statedir=${localstatedir}/imapd
imap_spool=${imap_statedir}/spool
imap_sievedir=${imap_statedir}/sieve
imap_lmtp=${imap_statedir}/lmtp
imap_notify_socket=${imap_statedir}/socket/notify

syslog_facility=user
kolab_statedir=${localstatedir}/kolab
kolab_logdir=${kolab_statedir}/log
kolab_hooksdir=${kolab_statedir}/hooks
kolab_pidfile=${kolab_statedir}/kolab.pid
kolab_mailboxuiddb=${kolab_statedir}/mailbox-uidcache.db
kolab_smtpdpolicy_conffile_usr=${kolab_musr}
kolab_smtpdpolicy_conffile_grp=${kolab_grp}
kolab_php_module_prefix=
kolab_scriptsdir=$(sysconfdir)/kolab
kolab_php_smarty_prefix=Smarty
smarty_compiledir=${phplibdir2}/${kolab_php_module_prefix}admin/templates_c
kolab_quotawarning=${sysconfdir}/kolab/quotawarning.txt

kolab_pkgs=kolabd kolab-fbview kolab-webadmin kolab-webclient perl-kolab php-smarty amavisd apache clamav db imapd openldap openssl php postfix spamassassin sqlite
pear_horde_pkgs=Kolab_Filter Kolab_Format Kolab_FreeBusy Kolab_Server Kolab_Storage Horde_Argv Horde_Auth Horde_Browser Horde_CLI Horde_Cache Horde_Cipher Horde_DOM Horde_DataTree Horde_Date Horde_Framework Horde_Group Horde_History Horde_LDAP Horde_MIME Horde_NLS Horde_Perms Horde_Secret Horde_Serialize Horde_SessionObjects Horde_Util Horde_iCalendar PEAR-Auth_SASL PEAR-Date PEAR-HTTP_Request PEAR-Horde-Channel PEAR-Log PEAR-Mail PEAR-Mail_mimeDecode PEAR-Net_LMTP PEAR-Net_SMTP PEAR-Net_Socket PEAR-Net_URL PEAR-PHPUnit-Channel PHPUnit

# Kolab web user interface
kolab_wui=/admin

directory_mode=syncrepl
ldapserver_statedir=${localstatedir}/openldap
ldapserver_dir=${ldapserver_statedir}/openldap-data
ldapserver_replogfile=${ldapserver_statedir}/replog
ldapserver_argsfile=${ldapserver_statedir}/slapd.args
ldapserver_logfile=${ldapserver_statedir}/openldap.log
ldapserver_rundir=${ldapserver_statedir}/run
ldapserver_pidfile=${ldapserver_rundir}/slapd.pid
ldapserverslurpd_pidfile=${ldapserver_rundir}/slurpd.pid
ldapserver_schemadir=${sysconfdir}/openldap/schema
ldapserver_confdir=${sysconfdir}/openldap
# @l_musr@
ldapserver_usr=${kolab_musr}
# @l_mgrp@
ldapserver_grp=${kolab_mgrp}
ldapserver_rgrp=${kolab_rgrp}
ldapserver_rusr=${kolab_musr}
ldapserver_modulepath=false

webserver_document_root=${localstatedir}/kolab/www
webserver_tmpdir=/tmp
webserver_cgidir=${webserver_document_root}/cgi-bin
webserver_sessions=${localstatedir}/kolab/httpd_sessions
webserver_logdir=${localstatedir}/apache/log
webserver_acceptlock=${webserver_logdir}/accept.lock
webserver_runtime_status=${webserver_logdir}/apache_runtime_status
webserver_errorlogfile=${webserver_logdir}/apache-error.log
webserver_accesslogfile=${webserver_logdir}/apache-access.log
webserver_confdir=${sysconfdir}/apache
webserver_pidfile=${localstatedir}/apache/run/apache.pid
webserver_mime_magicfile=${sysconfdir}/apache/mime.magic
webserver_mime_typesfile=${sysconfdir}/apache/mime.types
webserver_sslscache=${webserver_logdir}/ssl_scache
webserver_sslmutex=${webserver_logdir}/ssl_mutex
# webserver_web_prefix is empty indeed
webserver_web_prefix=
webserver_musr=${kolab_musr}
webserver_usr=${kolab_usr}
webserver_grp=${kolab_grp}

#webclient
horde_cookie_path=/client
horde_confdir=${webserver_document_root}/client/config
dimp_confdir=${webserver_document_root}/client/dimp/config
imp_confdir=${webserver_document_root}/client/imp/config
ingo_confdir=${webserver_document_root}/client/ingo/config
kronolith_confdir=${webserver_document_root}/client/kronolith/config
mimp_confdir=${webserver_document_root}/client/mimp/config
mnemo_confdir=${webserver_document_root}/client/mnemo/config
nag_confdir=${webserver_document_root}/client/nag/config
passwd_confdir=${webserver_document_root}/client/passwd/config
turba_confdir=${webserver_document_root}/client/turba/config

phpini_dir=${sysconfdir}/apache
phplibdir=${libdir}/php
phplibdir2=${kolab_statedir}/php
phppeardir=${phplibdir2}/pear

sasl_authdconffile=${sysconfdir}/sasl/saslauthd.conf
sasl_smtpconffile=${sysconfdir}/sasl/smtpd.conf
sasl_logfile=${localstatedir}/sasl/log/saslauthd.log

sysrundir=${localstatedir}/run

resmgr_logdir=${localstatedir}/kolab-filter/log
resmgr_confdir=$(sysconfdir)/kolab
resmgr_conffile_usr=${kolab_musr}
resmgr_conffile_grp=${kolab_grp}
resmgr_tmpdir=${localstatedir}/kolab-filter/tmp
resmgr_locksdir=${localstatedir}/kolab-filter/locks
resmgr_localedir=${libdir}/php/data/Kolab_Filter/locale
resmgr_scriptsdir=${bindir}
# @l_musr@
resmgr_usr=${kolab_musr}
# @l_ngrp@
resmgr_grp=${kolab_grp}
resmgr_log_type=file
resmgr_log_name=${resmgr_logdir}/filter.log

fbview_logfile=${localstatedir}/resmgr/fbview.log
freebusy_logdir=${localstatedir}/kolab-freebusy/log
freebusy_confdir=${webserver_document_root}/freebusy
freebusy_cachedir=${localstatedir}/kolab-freebusy/cache
freebusy_usr=${kolab_musr}
freebusy_grp=${kolab_grp}
freebusy_log_type=file
freebusy_log_name=${freebusy_logdir}/freebusy.log

graveyard_uidcache=${kolab_statedir}/graveyard-uidcache.db
graveyard_tscache=${kolab_statedir}/graveyard-tscache.db

backupdir=${sysconfdir}/kolab

pki_grp=${kolab_rgrp}

aliases_file=${emailserver_confdir}/aliases