summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Bos <richard@radoeka.nl>2010-03-28 15:51:25 (GMT)
committerRichard Bos <richard@radoeka.nl>2010-03-28 15:51:25 (GMT)
commit197a02dcb3bf25649a1ca21a9f368e86ba063078 (patch)
treef11cc2e7b81a0f8ab7be27411ecbcfe19fffc214
parentc93664e0feed6e86c1a6161fb241fc5d28c49575 (diff)
downloadkolab-conf-197a02dcb3bf25649a1ca21a9f368e86ba063078.tar.gz
On Request of Thomas Sp.: committing his currently almost working
dist_conf file
-rw-r--r--conf/dist/mandriva247
1 files changed, 194 insertions, 53 deletions
diff --git a/conf/dist/mandriva b/conf/dist/mandriva
index 7b731bb..faabd72 100644
--- a/conf/dist/mandriva
+++ b/conf/dist/mandriva
@@ -1,82 +1,223 @@
-kolab_usr=kolab # kolab-n
-kolab_grp=kolab # kolab-n
-kolab_uid=60001 # @l_nuid@
-kolab_gid=60001 # @l_ngid@
-restricted_kolab_usr=kolab # kolab-r
-restricted_kolab_grp=kolab # kolab-r
-
-rcdir=${sysconfdir}/rc
-kolabconf_script=${sbindir}/kolabconf
-
+kolab_usr=kolab # kolab-n
+kolab_grp=kolab # kolab-n
+kolab_musr=kolab
+kolab_mgrp=kolab
+kolab_uid=60001 # @l_nuid@
+kolab_gid=60001 # @l_ngid@
+kolab_rusr=kolab # kolab-r
+kolab_rgrp=kolab # kolab-r
+kolab_susr=kolab
kolabd_usr=root
-kolab_statedir = ${localstatedir}/kolab
-kolab_php_smarty_prefix=Smarty
-sasl_confdir = ${sysconfdir}
+BASHELL=/bin/bash
+KOLABRC=${sbindir}/kolabsrv
+PERL=${bindir}/perl
+PHP=${bindir}/php
+RPM=/bin/rpm
+TAR=/bin/tar
-imap_confdir=${sysconfdir}
-imap_confperm=0644
-imap_usr=cyrus
-imap_grp=mail
+# Define the deamons that are launched from /etc/init.d
+LDAPD=ldap
-clamav_socket=${localstatedir}/clamav/clamd.sock
-clamav_logfile=/var/log/clamav/clamd.log
-clamav_pidfile=/var/run/clamav/clamd.pid
-clamav_confdir=${sysconfdir}
+kolab_rcdir=${sysconfdir}/rc.d/init.d
+pkgdocdir=${datadir}/doc/kolab
+kolabconf_script=${sbindir}/kolabconf
+# perl -V:vendorlib | sed "s/.*'\(.*\)'\;/\1/"
+perllib=${perl_vendorlib}
-emailscan_usr=${restricted_kolab_usr}
-emailscan_grp=${restricted_kolab_grp}
+amavisd_conffile=${sysconfdir}/amavisd/amavisd.conf
+amavisd_templatedir=${sysconfdir}/amavisd/templates
+amavisd_logfile=${logdir}/amavisd
+amavisd_home=${localstatedir}/amavis
+amavisd_rusr=amavis
+amavisd_usr=amavis
+amavisd_grp=amavis
+amavisd_rpm=amavisd-new
-emailserver_socket=${localstatedir}/imap/socket/lmtp
-emailserver_localstatedir=/var/spool/postfix
-emailserver_sasl_conffile=${sasl_confdir}/postfix/sasl/smtpd.conf
-emailserver_usr=${kolab_usr}
-emailserver_grp=${restricted_kolab_grp}
-emailserver_mail_usr=kolab # = kolab
+fsl_logfile=${logdir}/fsl
-syslog_facility=user
-kolab_logdir=/var/log/kolab
-kolab_pidfile=/var/run/kolab/kolab.pid
-kolab_scriptsdir=$(sysconfdir)/kolab
+sysrundir=${localstatedir}/run
-# Kolab web user interface
-kolab_wui=/admin
+clamav_confdir=${sysconfdir}
+clamav_socket=${localstatedir}/clamav/clamd.socket
+clamav_logfile=${logdir}/clamav/clamd.log
+clamav_pidfile=${localstatedir}/clamav/clamd.pid
+clamav_datadir=${localstatedir}/clamav
+freshclam_logfile=${logdir}/clamav/freshclam.log
+freshclam_pidfile=${localstatedir}/run/clamav/freshclam.pid
+clamav_rusr=clamav
+clamav_usr=amavis
+clamav_grp=clamav
+
+spamassassin_confdir=${sysconfdir}/mail/spamassassin
+
+emailscan_usr=kolab
+emailscan_grp=kolab
+
+emailserver_confdir=${sysconfdir}/postfix
+emailserver_socket=${localstatedir}/spool/postfix/extern/cyrus/lmtp
+emailserver_localstatedir=${localstatedir}/spool/postfix
+emailserver_sasl_conffile=${sasl_confdir}/postfix/sasl/smtpd.con
+emailserver_logfile=${logdir}/postfix.log
+emailserver_usr=kolab
+emailserver_grp=kolab
+emailserver_mail_owner=postfix
+emailserver_setgid_grp=postdrop
+emailserver_default_privs=nobody
+emailserver_master_usr=kolab
+emailserver_rpm=postfix
+emailserver_tables_usr=root
+
+ftpserver_scoreboardfile=$localstatedir}/run/proftpd/proftpd.scoreboard
+ftpserver_logfile=${logdir}/proftpd/proftpd.log
+ftpserver_confdir=${sysconfdir}
+ftpserver_pidfile=${localstatedir}/run/proftpd.pid
+ftpserver_musr=kolab
+ftpserver_usr=nobody
+ftpserver_grp=nogroup
+# Why hardcoded uid/gid???
+ftpserver_uid=65534
+ftpserver_gid=65534
-directory_mode=slurpd
-ldapserver_dir=${localstatedir}/ldap-kolab
-ldapserver_rundir=/var/run/ldap
-ldapserver_schemadir=${datadir}/openldap/schema
+imap_confdir=${sysconfdir}
+imap_confperm=0640
+imap_usr=cyrus
+imap_grp=mail
+imap_masterlogfile=${localstatedir}/lib/imap/log/master.log
+imap_misclogfile=${localstatedir}/lib/imap/log/misc.log
+imap_statedir=${localstatedir}/lib/imap
+imap_spool=${localstatedir}/spool/imap
+imap_sievedir=${localstatedir}/lib/sieve
+imap_lmtp=${imap_statedir}/lmtp
+imap_notify_socket=${imap_statedir}/socket/notify
+imap_rpm=cyrus-imapd
+
+kolab_statedir=${localstatedir}/lib/kolab
+kolab_logdir=${logdir}/kolab
+kolab_pidfile=${localstatedir}/run/kolab/kolab.pid
+kolab_mailboxuiddb=${kolab_statedir}/mailbox-uidcache.db
+kolab_smtpdpolicy_conffile_usr=kolab
+kolab_smtpdpolicy_conffile_grp=kolab
+kolab_scriptsdir=${datadir}/kolab/scripts
+
+# This variable makes it possible to store all kolab php modules in its own
+# module. E.g on suse it will be /usr/share/php/kolab instead of just
+# /usr/share/php. This prevents scattering of the kolab php files.
+kolab_php_module_prefix=kolab/
+kolab_php_smarty_prefix=Smarty
+smarty_compiledir=${localstatedir}/lib/kolab/webadmin/templates_c
+kolab_quotawarning=${sysconfdir}/kolab/quotawarning.txt
+
+# Kolab WEB user interface
+kolab_wui=/kolab/admin
+
+
+directory_mode=syncrepl
+# ldapserver_modulepath=
+ldapserver_statedir=${localstatedir}/lib/ldap-kolab
+ldapserver_dir=${localstatedir}/lib/ldap-kolab
ldapserver_replogfile=${localstatedir}/ldap-kolab/replog
-ldapserver_argsfile=/var/run/ldap/slapd.args
-ldapserver_usr=ldap
+ldapserver_argsfile=${localstatedir}/run/ldap/slapd.args
+ldapserver_logfile=/${localstatedir}/log/ldap/ldap.log
+ldapserver_pidfile=${localstatedir}/run/ldap/slapd.pid
+ldapserver_schemadir=${datadir}/openldap/schema
+ldapserver_confdir=${sysconfdir}/openldap
+ldapserver_usr=root
ldapserver_grp=ldap
+ldapserver_rgrp=ldap
ldapserver_rusr=ldap
-webserver_document_root=/var/www/html/kolab
-webserver_logdir=/var/log/httpd
webadmindir = /var/www/html/kolab/admin
+webserver_document_root=${localstatedir}/www/html
+webserver_cgidir=${localstatedir}/www/cgi-bin
+webserver_sessions=${localstatedir}/php
+webserver_logdir=${logdir}/httpd
+webserver_acceptlock=${webserver_logdir}/accept.lock
+webserver_runtime_status=${webserver_logdir}/apache_runtime_status
+webserver_errorlogfile=${webserver_logdir}/error_log
+webserver_accesslogfile=${webserver_logdir}/access_log
webserver_confdir=${sysconfdir}/httpd/conf
-webserver_pidfile=/var/run/httpd/httpd.pid
+webserver_pidfile=${localstatedir}/run/httpd/httpd.pid
webserver_mime_magicfile=${sysconfdir}/httpd/conf/magic
webserver_mime_typesfile=${sysconfdir}/httpd/conf/mime.types
+webserver_sslscache=${webserver_logdir}/ssl_scache
+webserver_sslmutex=${webserver_logdir}/ssl_mutex
+webserver_web_prefix=/kolab
+webserver_musr=apache
webserver_usr=apache
webserver_grp=apache
+webserver_rpm=apache-mpm-prefork
+
+
#webclient
horde_cookie_path=/client
+dimp_confdir=${webserver_document_root}/client/dimp/config
horde_confdir=${webserver_document_root}/client/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
+turba_confdir=${webserver_document_root}/client/turba/config
+
+phpini_dir=${sysconfdir}
+phplibdir=${datadir}/php
+phplibdir2=${localstatedir}/www/html
+phppeardir=${phplibdir}/pear
+
+sasl_smtpconffile=${sysconfdir}/sasl2/smtpd.conf
+sasl_authdconffile=${sysconfdir}/saslauthd.conf
+sasl_logfile=${logdir}/sasl/saslauthd.log
+
+resmgr_logfile=${logdir}/kolab/filter
+resmgr_confdir=${sysconfdir}/kolab/filter
+resmgr_conffile_usr=kolab
+resmgr_conffile_grp=kolab
+resmgr_filterdir=${localstatedir}/lib/kolab/kolab-filter/tmp
+resmgr_scriptsdir=${bindir}
+resmgr_usr=kolab
+resmgr_grp=kolab
+
+fbview_logfile=$logdir}/kolab/fbview.log
+freebusy_logdir=${logdir}/kolab/freebusy
+freebusy_confdir=${webserver_document_root}${webserver_web_prefix}/freebusy
+freebusy_cachedir=${localstatedir}/cache/freebusy
+freebusy_usr=apache
+freebusy_grp=apache
+freebusy_log_type=file
+freebusy_log_name=${freebusy_logdir}/freebusy.log
-sysrundir = /var/run
-resmgr_scriptsdir=${resmgr_confdir}
-smarty_compiledir=${phplibdir2}/${kolab_php_module_prefix}admin/templates_c
-resmgr_logdir=${localstatedir}/kolab-filter/log
-resmgr_log_type=file
-resmgr_log_name=${resmgr_logdir}/filter.log
-freebusy_logdir=${localstatedir}/kolab-freebusy/log
-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/backup
+
+pki_grp=kolab
+
+aliases_file=${sysconfdir}/postfix/aliases
+
+# One time backup files. These original distribution configuration files
+# will be backed up once, just before kolab is about to change those files.
+backupfiles=/etc/amavisd.conf \
+ /etc/clamd.conf \
+ /etc/cyrus.conf \
+ /etc/imapd.conf \
+ /etc/freshclam.conf \
+ /etc/openldap/ldap.conf \
+ /etc/openldap/slapd.conf \
+ /etc/php.ini \
+ /etc/postfix/main.cf \
+ /etc/postfix/master.cf \
+ /etc/postfix/transport \
+ /etc/postfix/virtual \
+ /etc/saslauthd.conf \
+ /etc/sysconfig/ldap \
+ /etc/sysconfig/saslauthd \
+ /etc/sasl2/smtpd.conf \
+ /etc/httpd/modules.d/41_mod_ssl.default-vhost.conf