summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-09-23 18:26:45 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-09-23 18:26:45 (GMT)
commit6dc4282d713959bac22195b57e9c2a762a9aae5a (patch)
tree52490588f0525562b3862632373ecbc1a33758a8
parentc163cac78554baa27bc0a9209332ceb4f23c97c4 (diff)
parent035b6ca3011aa11fe857cf9009f5c065692349e6 (diff)
downloadkolab-conf-6dc4282d713959bac22195b57e9c2a762a9aae5a.tar.gz
Merged refactor-kolabd.
-rw-r--r--conf/dist/centos-clarkconnect5
-rw-r--r--conf/dist/debian3
-rw-r--r--conf/dist/kolab7
-rw-r--r--conf/dist/mandriva2
-rw-r--r--conf/dist/suse2
-rw-r--r--conf/kolab.globals.in253
-rw-r--r--conf/templates/DB_CONFIG.slapd.template (renamed from conf/templates/DB_CONFIG.slapd.template.in)6
-rw-r--r--conf/templates/access.template (renamed from conf/templates/relocated.template.in)6
-rw-r--r--conf/templates/amavisd.conf.template (renamed from conf/templates/amavisd.conf.template.in)70
-rw-r--r--conf/templates/canonical.template (renamed from conf/templates/access.template.in)6
-rw-r--r--conf/templates/clamd.conf.template (renamed from conf/templates/clamd.conf.template.in)16
-rw-r--r--conf/templates/cyrus.conf.template (renamed from conf/templates/cyrus.conf.template.in)22
-rw-r--r--conf/templates/freshclam.conf.template (renamed from conf/templates/freshclam.conf.template.in)12
-rw-r--r--conf/templates/header_checks.template (renamed from conf/templates/header_checks.template.in)4
-rw-r--r--conf/templates/httpd.conf.template (renamed from conf/templates/httpd.conf.template.in)82
-rw-r--r--conf/templates/httpd.local.template (renamed from conf/templates/httpd.local.template.in)14
-rw-r--r--conf/templates/imapd.annotation_definitions.template (renamed from conf/templates/imapd.annotation_definitions.template.in)6
-rw-r--r--conf/templates/imapd.conf.template (renamed from conf/templates/imapd.conf.template.in)26
-rw-r--r--conf/templates/imapd.group.template (renamed from conf/templates/imapd.group.template.in)4
-rw-r--r--conf/templates/kolab.conf.template (renamed from conf/templates/kolab.conf.template.in)0
-rw-r--r--conf/templates/kolab_smtpdpolicy.conf.template (renamed from conf/templates/kolab_smtpdpolicy.conf.template.in)4
-rw-r--r--conf/templates/ldap.conf.template (renamed from conf/templates/ldap.conf.template.in)4
-rw-r--r--conf/templates/ldapdistlist.cf.template (renamed from conf/templates/ldapdistlist.cf.template.in)4
-rw-r--r--conf/templates/ldaptransport.cf.template (renamed from conf/templates/ldaptransport.cf.template.in)6
-rw-r--r--conf/templates/ldapvirtual.cf.template (renamed from conf/templates/ldapvirtual.cf.template.in)4
-rw-r--r--conf/templates/local.cf.template (renamed from conf/templates/local.cf.template.in)8
-rw-r--r--conf/templates/main.cf.template (renamed from conf/templates/main.cf.template.in)42
-rw-r--r--conf/templates/master.cf.template (renamed from conf/templates/master.cf.template.in)34
-rw-r--r--conf/templates/php.ini.template (renamed from conf/templates/php.ini.template.in)14
-rw-r--r--conf/templates/rc.conf.template (renamed from conf/templates/rc.conf.template.in)4
-rw-r--r--conf/templates/relocated.template (renamed from conf/templates/canonical.template.in)6
-rw-r--r--conf/templates/saslauthd.conf.template (renamed from conf/templates/saslauthd.conf.template.in)6
-rw-r--r--conf/templates/slapd.access.template (renamed from conf/templates/slapd.access.template.in)6
-rw-r--r--conf/templates/slapd.conf.template (renamed from conf/templates/slapd.conf.template.in)42
-rw-r--r--conf/templates/slapd.replicas.template (renamed from conf/templates/slapd.replicas.template.in)6
-rw-r--r--conf/templates/smtpd.conf.template (renamed from conf/templates/smtpd.conf.template.in)4
-rw-r--r--conf/templates/transport.template (renamed from conf/templates/transport.template.in)6
-rw-r--r--conf/templates/virtual.template (renamed from conf/templates/virtual.template.in)6
38 files changed, 403 insertions, 349 deletions
diff --git a/conf/dist/centos-clarkconnect b/conf/dist/centos-clarkconnect
index 44e00c7..cd2e9f7 100644
--- a/conf/dist/centos-clarkconnect
+++ b/conf/dist/centos-clarkconnect
@@ -155,15 +155,12 @@ kolab_wui=/kolab/admin
#--------------------------------------------------------------------
# OpenLDAP
#--------------------------------------------------------------------
-# TODO: is ldapserver_rundir still used?
-
directory_mode=slurpd
ldapserver_statedir=${localstatedir}/lib/ldap
ldapserver_dir=${localstatedir}/lib/ldap
ldapserver_replogfile=${localstatedir}/lib/ldap/replog
ldapserver_argsfile=${localstatedir}/run/slapd.args
ldapserver_logfile=${localstatedir}/log/messages
-ldapserver_rundir=/bob
ldapserver_pidfile=${sysrundir}/slapd.pid
ldapserverslurpd_pidfile=${sysrundir}/slurpd.pid
ldapserver_schemadir=${sysconfdir}/openldap/schema
@@ -189,8 +186,6 @@ webserver_runtime_status=/var/run/webconfig.scoreboard
webserver_errorlogfile=${webserver_logdir}/error_log
webserver_accesslogfile=${webserver_logdir}/access.log
webserver_pidfile=/var/run/webconfig.pid
-webserver_mime_magicfile=/usr/webconfig/conf/magic
-webserver_mime_typesfile=/usr/webconfig/conf/mime.types
webserver_web_prefix=/kolab
webserver_musr=kolab
webserver_usr=root
diff --git a/conf/dist/debian b/conf/dist/debian
index 4dfcc38..e53461b 100644
--- a/conf/dist/debian
+++ b/conf/dist/debian
@@ -99,7 +99,6 @@ ldapserver_dir=${localstatedir}/lib/ldap
ldapserver_replogfile=${ldapserver_statedir}/replog
ldapserver_argsfile=${sysrundir}/slapd/slapd.args
ldapserver_logfile=${localstatedir}/log/syslog
-#ldapserver_rundir=
ldapserver_pidfile=${sysrundir}/slapd/slapd.pid
ldapserverslurpd_pidfile=${sysrundir}/slapd/slurpd.pid
ldapserver_schemadir=${sysconfdir}/ldap/schema
@@ -121,8 +120,6 @@ webserver_errorlogfile=${webserver_logdir}/apache-error.log
webserver_accesslogfile=${webserver_logdir}/apache-access.log
webserver_confdir=${sysconfdir}/apache2
webserver_pidfile=${sysrundir}/apache2/apache2.pid
-webserver_mime_magicfile=${sysconfdir}/apache2/magic
-webserver_mime_typesfile=${sysconfdir}/apache2/mime.types
webserver_sslscache=${sysrundir}/ssl_scache
webserver_sslmutex=${sysrundir}/ssl_mutex
webserver_web_prefix=
diff --git a/conf/dist/kolab b/conf/dist/kolab
index b14afe6..0b77355 100644
--- a/conf/dist/kolab
+++ b/conf/dist/kolab
@@ -112,9 +112,8 @@ 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_pidfile=${ldapserver_statedir}/run/slapd.pid
+ldapserverslurpd_pidfile=${ldapserver_statedir}/run/slurpd.pid
ldapserver_schemadir=${sysconfdir}/openldap/schema
ldapserver_confdir=${sysconfdir}/openldap
# @l_musr@
@@ -136,8 +135,6 @@ 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
diff --git a/conf/dist/mandriva b/conf/dist/mandriva
index 77db915..9e24586 100644
--- a/conf/dist/mandriva
+++ b/conf/dist/mandriva
@@ -136,8 +136,6 @@ webserver_errorlogfile=${webserver_logdir}/error_log
webserver_accesslogfile=${webserver_logdir}/access_log
webserver_confdir=${sysconfdir}/httpd/conf
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
diff --git a/conf/dist/suse b/conf/dist/suse
index 0f5d782..1527012 100644
--- a/conf/dist/suse
+++ b/conf/dist/suse
@@ -120,8 +120,6 @@ webserver_errorlogfile=${webserver_logdir}/apache-error.log
webserver_accesslogfile=${webserver_logdir}/apache-access.log
webserver_confdir=${sysconfdir}/apache2
webserver_pidfile=${localstatedir}/apache/run/apache.pid
-webserver_mime_magicfile=${sysconfdir}/apache2/magic
-webserver_mime_typesfile=${sysconfdir}/apache2/mime.types
webserver_sslscache=${webserver_logdir}/ssl_scache
webserver_sslmutex=${webserver_logdir}/ssl_mutex
webserver_web_prefix=
diff --git a/conf/kolab.globals.in b/conf/kolab.globals.in
index 3124ef2..0faa343 100644
--- a/conf/kolab.globals.in
+++ b/conf/kolab.globals.in
@@ -6,6 +6,34 @@
# below you can copy the setting to kolab.conf and edit it there.
# This will override the default setting provided here.
#=================================================================
+KOLABRC: @KOLABRC@
+LDAPD : @LDAPD@
+PHP : @PHP@
+RPM : @RPM@
+TAR : @TAR@
+WITHOPENPKG : @WITHOPENPKG@
+aliases_file : @aliases_file@
+amavisd_conffile : @amavisd_conffile@
+amavisd_grp : @amavisd_grp@
+amavisd_home : @amavisd_home@
+amavisd_logfile : @amavisd_logfile@
+amavisd_rusr : @amavisd_rusr@
+amavisd_templatedir : @amavisd_templatedir@
+amavisd_usr : @amavisd_usr@
+backupdir : @backupdir@
+backupfiles : @backupfiles@
+bind_addr : 0.0.0.0
+bind_any : TRUE
+bindir: @bindir@
+calendar_id : calendar
+clamav_confdir : @clamav_confdir@
+clamav_datadir : @clamav_datadir@
+clamav_grp : @clamav_grp@
+clamav_logfile : @clamav_logfile@
+clamav_pidfile : @clamav_pidfile@
+clamav_rusr : @clamav_rusr@
+clamav_socket : @clamav_socket@
+clamav_usr : @clamav_usr@
conn_refresh_period : 60
cyrus-admin : manager
cyrus-admins : manager
@@ -15,20 +43,135 @@ cyrus-imaps : TRUE
cyrus-pop3 : FALSE
cyrus-pop3s : TRUE
cyrus-sieve : TRUE
+debug : 0
+datadir : @datadir@
+dimp_confdir: @dimp_confdir@
directory_mode : @directory_mode@
+emailserver_confdir : @emailserver_confdir@
+emailserver_default_privs : @emailserver_default_privs@
+emailserver_grp : @emailserver_grp@
+emailserver_localstatedir : @emailserver_localstatedir@
+emailserver_logfile : @emailserver_logfile@
+emailserver_mail_owner : @emailserver_mail_owner@
+emailserver_master_usr : @emailserver_master_usr@
+emailserver_musr : @emailserver_musr@
+emailserver_setgid_grp : @emailserver_setgid_grp@
+emailserver_socket : @emailserver_socket@
+emailserver_tables_usr : @emailserver_tables_usr@
+emailserver_usr : @emailserver_usr@
+freebusy_cachedir: @freebusy_cachedir@
+freebusy_confdir: @freebusy_confdir@
+freebusy_grp: @freebusy_grp@
+freebusy_log_name: @freebusy_log_name@
+freebusy_log_type: @freebusy_log_type@
+freebusy_logdir: @freebusy_logdir@
+freebusy_usr: @freebusy_usr@
+freshclam_logfile : @freshclam_logfile@
+freshclam_pidfile : @freshclam_pidfile@
+graveyard_tscache: @graveyard_tscache@
+graveyard_uidcache: @graveyard_uidcache@
gyard_deletion_period : 10080
+hashmethod: @sbindir@/slappasswd -s
+horde_confdir: @horde_confdir@
+horde_cookie_path: @horde_cookie_path@
+imap_confdir : @imap_confdir@
+imap_confperm : @imap_confperm@
+imap_grp : @imap_grp@
+imap_lmtp : @imap_lmtp@
+imap_masterlogfile : @imap_masterlogfile@
+imap_misclogfile : @imap_misclogfile@
+imap_notify_socket : @imap_notify_socket@
+imap_sievedir : @imap_sievedir@
+imap_spool : @imap_spool@
+imap_statedir : @imap_statedir@
+imap_usr : @imap_usr@
+imappartitions_script : @sbindir@/kolab_imappartitions
+imp_confdir: @imp_confdir@
+ingo_confdir: @ingo_confdir@
+kolab_cafile: @sysconfdir@/kolab/kolabserver-ca.crt
+kolab_grp: @kolab_grp@
+kolab_hooksdir: @kolab_hooksdir@
+kolab_locals: @sysconfdir@/kolab/kolab.conf
+kolab_mailboxuiddb: @kolab_mailboxuiddb@
+kolab_mgrp: @kolab_mgrp@
+kolab_musr: @kolab_musr@
+kolab_php_module_prefix : @kolab_php_module_prefix@
+kolab_php_smarty_prefix : @kolab_php_smarty_prefix@
+kolab_pidfile: @kolab_pidfile@
+kolab_pkgs : @kolab_pkgs@
+kolab_quotawarning: @kolab_quotawarning@
+kolab_rgrp: @kolab_rgrp@
+kolab_rusr: @kolab_rusr@
+kolab_scriptsdir : @kolab_scriptsdir@
+kolab_smtpdpolicy_conffile_grp : @kolab_smtpdpolicy_conffile_grp@
+kolab_smtpdpolicy_conffile_usr : @kolab_smtpdpolicy_conffile_usr@
+kolab_statedir: @kolab_statedir@
+kolab_susr: @kolab_susr@
+kolab_usr: @kolab_usr@
+kolab_wui : @kolab_wui@
+kolabconf_script: @kolabconf_script@
+kolabdir: @sysconfdir@/kolab/
+kronolith_confdir: @kronolith_confdir@
ldap_uri : ldap://127.0.0.1:389
+ldapserver_argsfile : @ldapserver_argsfile@
+ldapserver_confdir : @ldapserver_confdir@
+ldapserver_dir : @ldapserver_dir@
+ldapserver_grp : @ldapserver_grp@
+ldapserver_logfile : @ldapserver_logfile@
+ldapserver_modulepath : @ldapserver_modulepath@
+ldapserver_pidfile : @ldapserver_pidfile@
+ldapserver_replogfile : @ldapserver_replogfile@
+ldapserver_rgrp : @ldapserver_rgrp@
+ldapserver_rusr : @ldapserver_rusr@
+ldapserver_schemadir : @ldapserver_schemadir@
+ldapserver_statedir : @ldapserver_statedir@
+ldapserver_usr : @ldapserver_usr@
+ldapserverslurpd_pidfile : @ldapserverslurpd_pidfile@
+libdir : @libdir@
+libexecdir : @libexecdir@
+local_addr : 127.0.0.1
+localstatedir : @localstatedir@
log_level : 2
-debug : 0
+mimp_confdir: @mimp_confdir@
+mnemo_confdir: @mnemo_confdir@
+nag_confdir: @nag_confdir@
+passwd_confdir: @passwd_confdir@
+pear_horde_pkgs : @pear_horde_pkgs@
+phpini_dir : @phpini_dir@
+phplibdir : @phplibdir@
+phplibdir2 : @phplibdir2@
+pki_grp : @pki_grp@
postfix-mydestination : $mydomain
+prefix : @prefix@
+resmgr_confdir: @resmgr_confdir@
+resmgr_conffile_grp: @resmgr_conffile_grp@
+resmgr_conffile_usr: @resmgr_conffile_usr@
+resmgr_localedir: @resmgr_localedir@
+resmgr_locksdir: @resmgr_locksdir@
+resmgr_log_name: @resmgr_log_name@
+resmgr_log_type: @resmgr_log_type@
+resmgr_logdir: @resmgr_logdir@
+resmgr_scriptsdir : @resmgr_scriptsdir@
+resmgr_tmpdir: @resmgr_tmpdir@
+sasl_authdconffile : @sasl_authdconffile@
+sasl_logfile : @sasl_logfile@
+sasl_smtpconffile : @sasl_smtpconffile@
+sbindir: @sbindir@
sf_field_deleted : kolabdeleteflag
sf_field_guid : entryUUID
sf_field_modified : modifytimestamp
sf_field_quota : cyrus-userquota
sf_object_class : kolabsharedfolder
-slurpd_addr : 127.0.0.1
slurpd_accept_addr : 127.0.0.1
+slurpd_addr : 127.0.0.1
slurpd_port : 9999
+smarty_compiledir : @smarty_compiledir@
+spamassassin_confdir : @spamassassin_confdir@
+syncrepl_cookie_file : @kolab_statedir@/syncrepl_cookie
+sysconfdir : @sysconfdir@
+syslog_facility : @syslog_facility@
+templatedir: @sysconfdir@/kolab/templates
+turba_confdir: @turba_confdir@
uid : freebusy
userPassword : freebusy
user_field_deleted : kolabdeleteflag
@@ -36,95 +179,21 @@ user_field_guid : entryUUID
user_field_modified : modifytimestamp
user_field_quota : cyrus-userquota
user_object_class : inetOrgPerson
-kolabconf_script: @kolabconf_script@
-kolab_locals: @sysconfdir@/kolab/kolab.conf
-kolab_usr: @kolab_usr@
-kolab_grp: @kolab_grp@
-kolab_rusr: @kolab_rusr@
-kolab_rgrp: @kolab_rgrp@
-kolab_musr: @kolab_musr@
-kolab_mgrp: @kolab_mgrp@
-kolab_susr: @kolab_susr@
-kolab_hooksdir: @kolab_hooksdir@
-kolab_quotawarning: @kolab_quotawarning@
-hashmethod: @sbindir@/slappasswd -s
-templatedir: @sysconfdir@/kolab/templates
-kolabdir: @sysconfdir@/kolab/
-kolab_cafile: @sysconfdir@/kolab/kolabserver-ca.crt
-KOLABRC: @KOLABRC@
-bindir: @bindir@
-sbindir: @sbindir@
-webserver_logdir: @webserver_logdir@
-webserver_document_root: @webserver_document_root@
-webserver_musr: @webserver_musr@
-webserver_usr: @webserver_usr@
-webserver_grp: @webserver_grp@
webclient_data_root: @webclient_data_root@
-horde_cookie_path: @horde_cookie_path@
-horde_confdir: @horde_confdir@
-dimp_confdir: @dimp_confdir@
-ingo_confdir: @ingo_confdir@
-imp_confdir: @imp_confdir@
-kronolith_confdir: @kronolith_confdir@
-mimp_confdir: @mimp_confdir@
-mnemo_confdir: @mnemo_confdir@
-nag_confdir: @nag_confdir@
-passwd_confdir: @passwd_confdir@
-turba_confdir: @turba_confdir@
-kolab_statedir: @kolab_statedir@
-kolab_pidfile: @kolab_pidfile@
-kolab_mailboxuiddb: @kolab_mailboxuiddb@
-graveyard_uidcache: @graveyard_uidcache@
-graveyard_tscache: @graveyard_tscache@
-local_addr : 127.0.0.1
-bind_any : TRUE
-bind_addr : 0.0.0.0
-calendar_id : calendar
-syslog_facility : @syslog_facility@
-backupfiles : @backupfiles@
-backupdir : @backupdir@
-sysconfdir : @sysconfdir@
-sasl_smtpconffile : @sasl_smtpconffile@
-ldapserver_dir : @ldapserver_dir@
-ldapserver_confdir : @ldapserver_confdir@
-ldapserver_statedir : @ldapserver_statedir@
-ldapserver_rusr : @ldapserver_rusr@
-ldapserver_grp : @ldapserver_grp@
-ldapserver_rgrp : @ldapserver_rgrp@
-ldapserver_modulepath : @ldapserver_modulepath@
-libexecdir : @libexecdir@
-WITHOPENPKG : @WITHOPENPKG@
-LDAPD : @LDAPD@
-kolab_scriptsdir : @kolab_scriptsdir@
-pki_grp : @pki_grp@
-TAR : @TAR@
-syncrepl_cookie_file : @kolab_statedir@/syncrepl_cookie
-imap_confdir : @imap_confdir@
-imappartitions_script : @sbindir@/kolab_imappartitions
-freebusy_confdir: @freebusy_confdir@
-freebusy_usr: @freebusy_usr@
-freebusy_grp: @freebusy_grp@
-freebusy_log_type: @freebusy_log_type@
-freebusy_log_name: @freebusy_log_name@
-freebusy_logdir: @freebusy_logdir@
-freebusy_cachedir: @freebusy_cachedir@
-resmgr_confdir: @resmgr_confdir@
-resmgr_conffile_usr: @resmgr_conffile_usr@
-resmgr_conffile_grp: @resmgr_conffile_grp@
-resmgr_tmpdir: @resmgr_tmpdir@
-resmgr_localedir: @resmgr_localedir@
-resmgr_locksdir: @resmgr_locksdir@
-resmgr_logdir: @resmgr_logdir@
-resmgr_log_type: @resmgr_log_type@
-resmgr_log_name: @resmgr_log_name@
-kolab_wui : @kolab_wui@
-kolab_php_module_prefix : @kolab_php_module_prefix@
-kolab_php_smarty_prefix : @kolab_php_smarty_prefix@
-smarty_compiledir : @smarty_compiledir@
-prefix : @prefix@
-phplibdir : @phplibdir@
-phplibdir2 : @phplibdir2@
+webserver_acceptlock : @webserver_acceptlock@
+webserver_accesslogfile : @webserver_accesslogfile@
+webserver_cgidir : @webserver_cgidir@
+webserver_confdir : @webserver_confdir@
+webserver_document_root : @webserver_document_root@
+webserver_errorlogfile : @webserver_errorlogfile@
+webserver_grp : @webserver_grp@
+webserver_logdir : @webserver_logdir@
+webserver_musr : @webserver_musr@
+webserver_pidfile : @webserver_pidfile@
+webserver_runtime_status : @webserver_runtime_status@
+webserver_sessions : @webserver_sessions@
+webserver_sslmutex : @webserver_sslmutex@
+webserver_sslscache : @webserver_sslscache@
+webserver_tmpdir : @webserver_tmpdir@
+webserver_usr : @webserver_usr@
webserver_web_prefix : @webserver_web_prefix@
-RPM : @RPM@
-kolab_pkgs : @kolab_pkgs@
-pear_horde_pkgs : @pear_horde_pkgs@
diff --git a/conf/templates/DB_CONFIG.slapd.template.in b/conf/templates/DB_CONFIG.slapd.template
index e85a8c1..378d463 100644
--- a/conf/templates/DB_CONFIG.slapd.template.in
+++ b/conf/templates/DB_CONFIG.slapd.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@ldapserver_dir@/DB_CONFIG
+TARGET=@@@ldapserver_dir@@@/DB_CONFIG
PERMISSIONS=0640
-OWNERSHIP=@ldapserver_usr@:@ldapserver_rgrp@
-RUNONCHANGE=@KOLABRC@ rc openldap restart
+OWNERSHIP=@@@ldapserver_usr@@@:@@@ldapserver_rgrp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc openldap restart
KOLAB_META_END
# (c) 2005 Klaraelvdalens Datakonsult AB
# Written by Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
diff --git a/conf/templates/relocated.template.in b/conf/templates/access.template
index b4df734..c6d7bbb 100644
--- a/conf/templates/relocated.template.in
+++ b/conf/templates/access.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/relocated
+TARGET=@@@emailserver_confdir@@@/access
PERMISSIONS=0640
-OWNERSHIP=@emailserver_tables_usr@:@emailserver_grp@
-RUNONCHANGE=@sbindir@/postmap -o @emailserver_confdir@/relocated
+OWNERSHIP=@@@emailserver_tables_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@sbindir@@@/postmap -o @@@emailserver_confdir@@@/access
KOLAB_META_END
# (c) 2008 Mathieu Parent <math.parent@gmail.com>
# This program is Free Software under the GNU General Public License (>=v2).
diff --git a/conf/templates/amavisd.conf.template.in b/conf/templates/amavisd.conf.template
index d05cd30..ddd51f6 100644
--- a/conf/templates/amavisd.conf.template.in
+++ b/conf/templates/amavisd.conf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@amavisd_conffile@
+TARGET=@@@amavisd_conffile@@@
PERMISSIONS=0640
-OWNERSHIP=@amavisd_usr@:@amavisd_grp@
-RUNONCHANGE=@KOLABRC@ rc amavisd restart
+OWNERSHIP=@@@amavisd_usr@@@:@@@amavisd_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc amavisd restart
KOLAB_META_END
@@@warning@@@
@@ -59,7 +59,7 @@ use strict;
# $MYHOME serves as a quick default for some other configuration settings.
# More refined control is available with each individual setting further down.
-$MYHOME = '@amavisd_home@';
+$MYHOME = '@@@amavisd_home@@@';
# $mydomain serves as a quick default for some other configuration settings.
# More refined control is available with each individual setting further down.
@@ -71,14 +71,14 @@ $myhostname = '@@@fqdnhostname@@@'; # fqdn of this host, default by uname(3)
# Set the user and group to which the daemon will change if started as root
# (otherwise just keeps the UID unchanged, and these settings have no effect):
-$daemon_user = q{@amavisd_rusr@}; # (no default; customary: vscan or amavis)
-$daemon_group = q{@amavisd_grp@}; # (no default; customary: vscan or amavis)
+$daemon_user = q{@@@amavisd_rusr@@@}; # (no default; customary: vscan or amavis)
+$daemon_group = q{@@@amavisd_grp@@@}; # (no default; customary: vscan or amavis)
# Runtime working directory (cwd), and a place where
# temporary directories for unpacking mail are created.
# (no trailing slash, may be a scratch file system)
$TEMPBASE = $MYHOME; # (must be set if other config vars use is)
-#$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir @amavisd_home@ clean?
+#$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir @@@amavisd_home@@@ clean?
# $helpers_home sets environment variable HOME, and is passed as option
# 'home_dir_for_helpers' to Mail::SpamAssassin::new. It should be a directory
@@ -110,19 +110,19 @@ $notify_method = $forward_method; # where to submit notifications
# SENDMAIL MILTER, using amavis-milter.c helper program:
#$forward_method = undef; # no explicit forwarding, sendmail does it by itself
# milter; option -odd is needed to avoid deadlocks
-#$notify_method = 'pipe:flags=q argv=@sbindir@/sendmail -Ac -i -odd -f ${sender} -- ${recipient}';
+#$notify_method = 'pipe:flags=q argv=@@@sbindir@@@/sendmail -Ac -i -odd -f ${sender} -- ${recipient}';
# just a thought: can we use use -Am instead of -odd ?
# SENDMAIL (old non-milter setup, as relay):
-#$forward_method = 'pipe:flags=q argv=@sbindir@/sendmail -C@sysconfdir@/sendmail.orig.cf -i -f ${sender} -- ${recipient}';
+#$forward_method = 'pipe:flags=q argv=@@@sbindir@@@/sendmail -C@@@sysconfdir@@@/sendmail.orig.cf -i -f ${sender} -- ${recipient}';
#$notify_method = $forward_method;
# SENDMAIL (old non-milter setup, amavis.c calls local delivery agent):
#$forward_method = undef; # no explicit forwarding, amavis.c will call LDA
-#$notify_method = 'pipe:flags=q argv=@sbindir@/sendmail -Ac -i -f ${sender} -- ${recipient}';
+#$notify_method = 'pipe:flags=q argv=@@@sbindir@@@/sendmail -Ac -i -f ${sender} -- ${recipient}';
# EXIM v3 (not recommended with v4 or later, which can use SMTP setup instead):
-#$forward_method = 'pipe:flags=q argv=@sbindir@/exim -oMr scanned-ok -i -f ${sender} -- ${recipient}';
+#$forward_method = 'pipe:flags=q argv=@@@sbindir@@@/exim -oMr scanned-ok -i -f ${sender} -- ${recipient}';
#$notify_method = $forward_method;
# prefer to collect mail for forwarding as BSMTP files?
@@ -189,7 +189,7 @@ $child_timeout=5*60; # abort child if it does not complete each task in n sec
# directly, or read from a file, one domain per line; comments and empty lines
# are ignored, a dot before a domain name implies its subdomains:
#
-#read_hash(\%local_domains, '@amavisd_home@/local_domains');
+#read_hash(\%local_domains, '@@@amavisd_home@@@/local_domains');
#or alternatively(B), using a list of regular expressions:
# $local_domains_re = new_RE( qr'[@.]example\.com$'i );
@@ -277,7 +277,7 @@ $DO_SYSLOG = 0; # (defaults to false)
#$SYSLOG_LEVEL = 'user.info'; # (facility.priority, default 'mail.info')
# Log file (if not using syslog)
-$LOGFILE = "@amavisd_logfile@"; # (defaults to empty, no log)
+$LOGFILE = "@@@amavisd_logfile@@@"; # (defaults to empty, no log)
#NOTE: levels are not strictly observed and are somewhat arbitrary
# 0: startup/exit/failure messages, viruses detected
@@ -325,18 +325,18 @@ $log_templ = '[? %#V |[? %#F |[?%#D|Not-Delivered|Passed]|BANNED name/type (%F)]
# or later; second argument is ignored otherwise. See PerlIO::encoding,
# Encode::PerlIO and perluniintro man pages.
#
-# $notify_sender_templ = read_text('@amavisd_home@/notify_sender.txt');
-# $notify_virus_sender_templ= read_text('@amavisd_home@/notify_virus_sender.txt');
-# $notify_virus_admin_templ = read_text('@amavisd_home@/notify_virus_admin.txt');
-# $notify_virus_recips_templ= read_text('@amavisd_home@/notify_virus_recips.txt');
-# $notify_spam_sender_templ = read_text('@amavisd_home@/notify_spam_sender.txt');
-# $notify_spam_admin_templ = read_text('@amavisd_home@/notify_spam_admin.txt');
+# $notify_sender_templ = read_text('@@@amavisd_home@@@/notify_sender.txt');
+# $notify_virus_sender_templ= read_text('@@@amavisd_home@@@/notify_virus_sender.txt');
+# $notify_virus_admin_templ = read_text('@@@amavisd_home@@@/notify_virus_admin.txt');
+# $notify_virus_recips_templ= read_text('@@@amavisd_home@@@/notify_virus_recips.txt');
+# $notify_spam_sender_templ = read_text('@@@amavisd_home@@@/notify_spam_sender.txt');
+# $notify_spam_admin_templ = read_text('@@@amavisd_home@@@/notify_spam_admin.txt');
# If notification template files are collectively available in some directory,
# use read_l10n_templates which calls read_text for each known template.
#
-read_l10n_templates('@amavisd_templatedir@/en_US');
-#read_l10n_templates('@amavisd_templatedir@/de');
+read_l10n_templates('@@@amavisd_templatedir@@@/en_US');
+#read_l10n_templates('@@@amavisd_templatedir@@@/de');
# Here is an overall picture (sequence of events) of how pieces fit together
@@ -451,7 +451,7 @@ $warnbannedrecip = 1; # (defaults to false (undef))
# qr'tanatos|lentin|bridex|mimail|trojan\.dropper|dumaru|parite|spaces'i,
# qr'dloader|galil|gibe|swen|netwatch|bics|sbrowse|sober|rox|val(hal)?la'i,
# qr'frethem|sircam|be?agle|tanx|mydoom|novarg|shimg|netsky|somefool|moodown'i,
-# qr'@mm|@MM', # mass mailing viruses as labeled by f-prot and @bindir@/uvscan
+# qr'@mm|@MM', # mass mailing viruses as labeled by f-prot and @@@bindir@@@/uvscan
# qr'Worm'i, # worms as labeled by ClamAV, Kaspersky, etc
# [qr'^(EICAR|Joke\.|Junk\.)'i => 0],
# [qr'^(WM97|OF97|W95/CIH-|JS/Fort)'i => 0],
@@ -531,7 +531,7 @@ $mailfrom_to_quarantine = ''; # override sender address with null return path
# or a directory (no trailing slash)
# (the default value is undef, meaning no quarantine)
#
-$QUARANTINEDIR = '@amavisd_home@/virusmails';
+$QUARANTINEDIR = '@@@amavisd_home@@@/virusmails';
#$virus_quarantine_method = "local:virus-%i-%n"; # default
#$spam_quarantine_method = "local:spam-%b-%i-%n"; # default
@@ -963,7 +963,7 @@ $blacklist_sender_re = new_RE(
# a hash lookup table can be read from a file,
# one address per line, comments and empty lines are permitted:
#
-# read_hash(\%whitelist_sender, '@amavisd_home@/whitelist_sender');
+# read_hash(\%whitelist_sender, '@@@amavisd_home@@@/whitelist_sender');
# ... or set directly:
@@ -1014,7 +1014,7 @@ map { $whitelist_sender{lc($_)}=1 } (qw(
#$per_recip_whitelist_sender_lookup_tables = {
# 'user@my.example.com' => [qw( friend@example.org .other.example.org )],
# '.my1.example.com' => [qw( !foe.other.example,org .other.example,org )],
-# '.my2.example.com' => read_hash('@amavisd_home@/my2-wl.dat'),
+# '.my2.example.com' => read_hash('@@@amavisd_home@@@/my2-wl.dat'),
# 'abuse@' => { 'postmaster@'=>1,
# 'cert-advisory-owner@cert.org'=>1, 'owner-alert@iss.net'=>1 },
#};
@@ -1070,7 +1070,7 @@ $MAX_EXPANSION_FACTOR = 500; # times original mail size (must be specified)
# NOTE: if $daemon_chroot_dir is nonempty, the directories will be
# relative to the chroot directory specified;
-$path = '@sbindir@:@bindir@:/usr/sbin:/sbin:/usr/bin:/bin';
+$path = '@@@sbindir@@@:@@@bindir@@@:/usr/sbin:/sbin:/usr/bin:/bin';
# Specify one string or a search list of strings (first match wins).
# The string (or: each string in a list) may be an absolute path,
@@ -1189,7 +1189,7 @@ $sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
# comment out its entry or use undef or '' as its program name/path
# (second parameter). An example where this is almost a must: disable
# Sophos 'sweep' if you have its daemonized version Sophie or SAVI-Perl
-# (same for Trophie/vscan, and clamd/@bindir@/clamscan), or if another unrelated
+# (same for Trophie/vscan, and clamd/@@@bindir@@@/clamscan), or if another unrelated
# program happens to have a name matching one of the entries ('sweep'
# again comes to mind);
#
@@ -1215,7 +1215,7 @@ $sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
### http://www.clamav.net/
['Clam Antivirus-clamd',
- \&ask_daemon, ["CONTSCAN {}\n", "@clamav_socket@"],
+ \&ask_daemon, ["CONTSCAN {}\n", "@@@clamav_socket@@@"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
# NOTE: run clamd under the same user as amavisd; match the socket
@@ -1272,12 +1272,12 @@ $sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
"-f=$TEMPBASE {}", [0,8,16,24], [2,3,4,5,6, 18,19,20,21,22],
qr/infected: ([^\r\n]+)/ ],
# change the startup-script in /etc/init.d/kavd to:
- # DPARMS="-* -Y -dl -f=@amavisd_home@ @amavisd_home@"
- # (or perhaps: DPARMS="-I0 -Y -* @localstatedir@/amavis" )
- # adjusting @localstatedir@/amavis above to match your $TEMPBASE.
- # The '-f=@amavisd_home@' is needed if not running it as root, so it
+ # DPARMS="-* -Y -dl -f=@@@amavisd_home@@@ @@@amavisd_home@@@"
+ # (or perhaps: DPARMS="-I0 -Y -* @@@localstatedir@@@/amavis" )
+ # adjusting @@@localstatedir@@@/amavis above to match your $TEMPBASE.
+ # The '-f=@@@amavisd_home@@@' is needed if not running it as root, so it
# can find, read, and write its pid file, etc., see 'man kavdaemon'.
- # defUnix.prf: there must be an entry "*@localstatedir@/amavis" (or whatever
+ # defUnix.prf: there must be an entry "*@@@localstatedir@@@/amavis" (or whatever
# directory $TEMPBASE specifies) in the 'Names=' section.
# cd /opt/AVP/DaemonClients; configure; cd Sample; make
# cp AvpDaemonClient /opt/AVP/
@@ -1380,7 +1380,7 @@ $sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
# # (btw, assigning stdin to /dev/null causes RAV to fail)
### http://www.nai.com/
- ['NAI McAfee AntiVirus (@bindir@/uvscan)', '@bindir@/uvscan',
+ ['NAI McAfee AntiVirus (@@@bindir@@@/uvscan)', '@@@bindir@@@/uvscan',
'--secure -rv --mime --summary --noboot - {}', [0], [13],
qr/(?x) Found (?:
\ the\ (.+)\ (?:virus|trojan) |
@@ -1439,7 +1439,7 @@ $sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
@av_scanners_backup = (
### http://www.clamav.net/
- ['Clam Antivirus - @bindir@/clamscan', '@bindir@/clamscan',
+ ['Clam Antivirus - @@@bindir@@@/clamscan', '@@@bindir@@@/clamscan',
'--stdout --no-summary -r {}', [0], [1],
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
diff --git a/conf/templates/access.template.in b/conf/templates/canonical.template
index b078d0b..81cd6d6 100644
--- a/conf/templates/access.template.in
+++ b/conf/templates/canonical.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/access
+TARGET=@@@emailserver_confdir@@@/canonical
PERMISSIONS=0640
-OWNERSHIP=@emailserver_tables_usr@:@emailserver_grp@
-RUNONCHANGE=@sbindir@/postmap -o @emailserver_confdir@/access
+OWNERSHIP=@@@emailserver_tables_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@sbindir@@@/postmap -o @@@emailserver_confdir@@@/canonical
KOLAB_META_END
# (c) 2008 Mathieu Parent <math.parent@gmail.com>
# This program is Free Software under the GNU General Public License (>=v2).
diff --git a/conf/templates/clamd.conf.template.in b/conf/templates/clamd.conf.template
index cf12ce4..0779c5b 100644
--- a/conf/templates/clamd.conf.template.in
+++ b/conf/templates/clamd.conf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@clamav_confdir@/clamd.conf
+TARGET=@@@clamav_confdir@@@/clamd.conf
PERMISSIONS=0640
-OWNERSHIP=@clamav_usr@:@clamav_grp@
-RUNONCHANGE=@KOLABRC@ rc clamav restart
+OWNERSHIP=@@@clamav_usr@@@:@@@clamav_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc clamav restart
KOLAB_META_END
@@@warning@@@
@@ -19,7 +19,7 @@ KOLAB_META_END
# LogFile must be writable for the user running daemon.
# A full path is required.
# Default: disabled
-LogFile @clamav_logfile@
+LogFile @@@clamav_logfile@@@
# By default the log file is locked for writing - the lock protects against
# running clamd multiple times (if want to run another clamd, please
@@ -62,7 +62,7 @@ LogTime yes
# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Default: disabled
-PidFile @clamav_pidfile@
+PidFile @@@clamav_pidfile@@@
# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
@@ -70,14 +70,14 @@ PidFile @clamav_pidfile@
# Path to the database directory.
# Default: hardcoded (depends on installation options)
-DatabaseDirectory @clamav_datadir@
+DatabaseDirectory @@@clamav_datadir@@@
# The daemon can work in local mode, network mode or both.
# Due to security reasons we recommend the local mode.
# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
-LocalSocket @clamav_socket@
+LocalSocket @@@clamav_socket@@@
# Remove stale socket after unclean shutdown.
# Default: yes
@@ -175,7 +175,7 @@ FixStaleSocket yes
# Run as another user (clamd must be started by root for this option to work)
# Default: don't drop privileges
-User @clamav_rusr@
+User @@@clamav_rusr@@@
# Initialize supplementary group access (clamd must be started by root).
# Default: no
diff --git a/conf/templates/cyrus.conf.template.in b/conf/templates/cyrus.conf.template
index cf12c64..51111be 100644
--- a/conf/templates/cyrus.conf.template.in
+++ b/conf/templates/cyrus.conf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@imap_confdir@/cyrus.conf
+TARGET=@@@imap_confdir@@@/cyrus.conf
PERMISSIONS=0640
-OWNERSHIP=@imap_usr@:@imap_grp@
-RUNONCHANGE=@KOLABRC@ rc imapd reload
+OWNERSHIP=@@@imap_usr@@@:@@@imap_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc imapd reload
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003 Martin Konold <martin.konold@erfrakon.de>
@@ -26,21 +26,21 @@ START {
# UNIX sockets start with a slash and are put into /openpkg/var/imapd/sockets
SERVICES {
@@@if cyrus-imap@@@
- imap cmd="imapd -C @imap_confdir@/imapd.conf" listen="@@@bind_addr@@@:143" prefork=0
+ imap cmd="imapd -C @@@imap_confdir@@@/imapd.conf" listen="@@@bind_addr@@@:143" prefork=0
@@@else@@@
- imap cmd="imapd -C @imap_confdir@/imapd.conf" listen="@@@local_addr@@@:143" prefork=0
+ imap cmd="imapd -C @@@imap_confdir@@@/imapd.conf" listen="@@@local_addr@@@:143" prefork=0
@@@endif@@@
@@@if cyrus-imaps@@@
- imaps cmd="imapd -s -C @imap_confdir@/imapd.conf" listen="@@@bind_addr@@@:993" prefork=0
+ imaps cmd="imapd -s -C @@@imap_confdir@@@/imapd.conf" listen="@@@bind_addr@@@:993" prefork=0
@@@endif@@@
@@@if cyrus-pop3@@@
- pop3 cmd="pop3d -C @imap_confdir@/imapd.conf" listen="@@@bind_addr@@@:110" prefork=0
+ pop3 cmd="pop3d -C @@@imap_confdir@@@/imapd.conf" listen="@@@bind_addr@@@:110" prefork=0
@@@endif@@@
@@@if cyrus-pop3s@@@
- pop3s cmd="pop3d -s -C @imap_confdir@/imapd.conf" listen="@@@bind_addr@@@:995" prefork=0
+ pop3s cmd="pop3d -s -C @@@imap_confdir@@@/imapd.conf" listen="@@@bind_addr@@@:995" prefork=0
@@@endif@@@
@@@if cyrus-sieve@@@
- sieve cmd="timsieved -C @imap_confdir@/imapd.conf" listen="@@@bind_addr@@@:2000" prefork=0
+ sieve cmd="timsieved -C @@@imap_confdir@@@/imapd.conf" listen="@@@bind_addr@@@:2000" prefork=0
@@@endif@@@
#@@@if is-master@@@
@@ -48,11 +48,11 @@ SERVICES {
#@@@endif@@@
# LMTP is required for delivery
- lmtpunix cmd="lmtpd" listen="@emailserver_socket@" prefork=0
+ lmtpunix cmd="lmtpd" listen="@@@emailserver_socket@@@" prefork=0
lmtp cmd="lmtpd -a" listen="@@@local_addr@@@:2003"
# this is only necessary if using notifications
- notifyd cmd="notifyd" listen="@imap_notify_socket@" proto="udp" prefork=1
+ notifyd cmd="notifyd" listen="@@@imap_notify_socket@@@" proto="udp" prefork=1
}
EVENTS {
diff --git a/conf/templates/freshclam.conf.template.in b/conf/templates/freshclam.conf.template
index 0a48b10..3d0bdb8 100644
--- a/conf/templates/freshclam.conf.template.in
+++ b/conf/templates/freshclam.conf.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@clamav_confdir@/freshclam.conf
+TARGET=@@@clamav_confdir@@@/freshclam.conf
PERMISSIONS=0640
-OWNERSHIP=@clamav_usr@:@clamav_grp@
+OWNERSHIP=@@@clamav_usr@@@:@@@clamav_grp@@@
KOLAB_META_END
@@@warning@@@
@@ -17,11 +17,11 @@ KOLAB_META_END
# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
-DatabaseDirectory @clamav_datadir@
+DatabaseDirectory @@@clamav_datadir@@@
# Path to the log file (make sure it has proper permissions)
# Default: disabled
-UpdateLogFile @freshclam_logfile@
+UpdateLogFile @@@freshclam_logfile@@@
# Maximum size of the log file.
# Value of 0 disables the limit.
@@ -50,7 +50,7 @@ UpdateLogFile @freshclam_logfile@
# This option allows you to save the process identifier of the daemon
# Default: disabled
-#PidFile @freshclam_pidfile@
+#PidFile @@@freshclam_pidfile@@@
# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
@@ -118,7 +118,7 @@ DatabaseMirror database.clamav.net
# Send the RELOAD command to clamd.
# Default: no
-NotifyClamd @clamav_confdir@/clamd.conf
+NotifyClamd @@@clamav_confdir@@@/clamd.conf
# Run command after successful database update.
# Default: disabled
diff --git a/conf/templates/header_checks.template.in b/conf/templates/header_checks.template
index 0dbddc8..6274834 100644
--- a/conf/templates/header_checks.template.in
+++ b/conf/templates/header_checks.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/header_checks
+TARGET=@@@emailserver_confdir@@@/header_checks
PERMISSIONS=0640
-OWNERSHIP=@emailserver_tables_usr@:@emailserver_grp@
+OWNERSHIP=@@@emailserver_tables_usr@@@:@@@emailserver_grp@@@
KOLAB_META_END
@@@warning@@@
diff --git a/conf/templates/httpd.conf.template.in b/conf/templates/httpd.conf.template
index 9a97fb4..13b5413 100644
--- a/conf/templates/httpd.conf.template.in
+++ b/conf/templates/httpd.conf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@webserver_confdir@/apache.conf
+TARGET=@@@webserver_confdir@@@/apache.conf
PERMISSIONS=0640
-OWNERSHIP=@webserver_usr@:@webserver_grp@
-RUNONCHANGE=@KOLABRC@ rc apache reload
+OWNERSHIP=@@@webserver_usr@@@:@@@webserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc apache reload
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003 Martin Konold <martin.konold@erfrakon.de>
@@ -13,14 +13,14 @@ KOLAB_META_END
@@@warning@@@
### Section 1: Global Environment
-ServerRoot "@prefix@"
+ServerRoot "@@@prefix@@@"
# do not require SSL as default for now
SSLVerifyClient none
-#SSLCACertificateFile @sysconfdir@/kolab/server.pem
-SSLSessionCache dbm:@webserver_sslscache@
+#SSLCACertificateFile @@@sysconfdir@@@/kolab/server.pem
+SSLSessionCache dbm:@@@webserver_sslscache@@@
SSLSessionCacheTimeout 300
-SSLMutex file:@webserver_sslmutex@
+SSLMutex file:@@@webserver_sslmutex@@@
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
@@ -41,8 +41,8 @@ RewriteRule ^/freebusy/(.+)\.pxfb %{DOCUMENT_ROOT}/freebusy/pfb.php?folder=$1&ca
<VirtualHost _default_:443>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
-SSLCertificateFile @sysconfdir@/kolab/cert.pem
-SSLCertificateKeyFile @sysconfdir@/kolab/key.pem
+SSLCertificateFile @@@sysconfdir@@@/kolab/cert.pem
+SSLCertificateKeyFile @@@sysconfdir@@@/kolab/key.pem
RewriteEngine On
RewriteOptions inherit
@@ -51,7 +51,7 @@ RewriteOptions inherit
SSLOptions +StdEnvVars
</Files>
-<Directory "@webserver_cgidir@">
+<Directory "@@@webserver_cgidir@@@">
SSLOptions +StdEnvVars
</Directory>
@@ -59,22 +59,22 @@ RewriteOptions inherit
#<IfModule !mpm_winnt.c>
#<IfModule !mpm_netware.c>
-#LockFile @webserver_acceptlock@
+#LockFile @@@webserver_acceptlock@@@
#</IfModule>
#</IfModule>
#<IfModule !mpm_netware.c>
#<IfModule !perchild.c>
-#ScoreBoardFile @webserver_runtime_status@
+#ScoreBoardFile @@@webserver_runtime_status@@@
#</IfModule>
#</IfModule>
#<IfModule !mpm_netware.c>
-#PidFile @webserver_pidfile@
+#PidFile @@@webserver_pidfile@@@
#</IfModule>
-User @webserver_usr@
-Group @webserver_grp@
+User @@@webserver_usr@@@
+Group @@@webserver_grp@@@
Timeout 300
KeepAlive On
@@ -82,7 +82,7 @@ MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
-PidFile @webserver_pidfile@
+PidFile @@@webserver_pidfile@@@
StartServers 5
MinSpareServers 5
MaxSpareServers 10
@@ -123,14 +123,14 @@ Listen @@@bind_addr@@@:443
ServerAdmin root@localhost
#ServerName new.host.name:80
UseCanonicalName Off
-DocumentRoot "@webserver_document_root@"
+DocumentRoot "@@@webserver_document_root@@@"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
-#<Directory "@webserver_document_root@">
+#<Directory "@@@webserver_document_root@@@">
# Options Indexes FollowSymLinks
# AllowOverride None
# Order allow,deny
@@ -140,23 +140,23 @@ DocumentRoot "@webserver_document_root@"
#DirectoryIndex index.html
AccessFileName .htaccess
-<Location "@webserver_web_prefix@/">
- ErrorDocument 403 https://@@@fqdnhostname@@@@kolab_wui@/
+<Location "@@@webserver_web_prefix@@@/">
+ ErrorDocument 403 https://@@@fqdnhostname@@@@@@kolab_wui@@@/
</Location>
-<Location "@kolab_wui@">
+<Location "@@@kolab_wui@@@">
SSLRequireSSL
</Location>
-<Location "@webserver_web_prefix@/client">
- ErrorDocument 403 https://@@@fqdnhostname@@@@webserver_web_prefix@/client/
+<Location "@@@webserver_web_prefix@@@/client">
+ ErrorDocument 403 https://@@@fqdnhostname@@@@@@webserver_web_prefix@@@/client/
SSLRequireSSL
</Location>
-<Location "@webserver_web_prefix@/fbview">
- ErrorDocument 403 https://@@@fqdnhostname@@@@webserver_web_prefix@/fbview/
+<Location "@@@webserver_web_prefix@@@/fbview">
+ ErrorDocument 403 https://@@@fqdnhostname@@@@@@webserver_web_prefix@@@/fbview/
SSLRequireSSL
</Location>
@@@if apache-http@@@
@@@else@@@
-<Location "@webserver_web_prefix@/freebusy">
+<Location "@@@webserver_web_prefix@@@/freebusy">
SSLRequireSSL
</Location>
@@@endif@@@
@@ -174,35 +174,35 @@ Redirect /horde https://@@@fqdnhostname@@@/client
TypesConfig etc/apache/mime.types
DefaultType text/plain
<IfModule mime_magic_module>
- MIMEMagicFile @webserver_confdir@/mime.magic
+ MIMEMagicFile @@@webserver_confdir@@@/mime.magic
</IfModule>
HostnameLookups On
-ErrorLog @webserver_errorlogfile@
+ErrorLog @@@webserver_errorlogfile@@@
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
-CustomLog @webserver_accesslogfile@ common
+CustomLog @@@webserver_accesslogfile@@@ common
ServerTokens Full
ServerSignature On
-Alias /icons/ "@webserver_document_root@/icons/"
+Alias /icons/ "@@@webserver_document_root@@@/icons/"
-Alias /public-cal/ics "@webserver_document_root@/client/kronolith/ics_kolab.php"
+Alias /public-cal/ics "@@@webserver_document_root@@@/client/kronolith/ics_kolab.php"
-<Directory "@webserver_document_root@/icons">
+<Directory "@@@webserver_document_root@@@/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
-ScriptAlias /cgi-bin/ "@webserver_document_root@/cgi-bin/"
+ScriptAlias /cgi-bin/ "@@@webserver_document_root@@@/cgi-bin/"
-<Directory "@webserver_document_root@/cgi-bin">
+<Directory "@@@webserver_document_root@@@/cgi-bin">
AllowOverride None
Options None
Order allow,deny
@@ -222,7 +222,7 @@ ScriptAlias /cgi-bin/ "@webserver_document_root@/cgi-bin/"
AuthzLDAPAuthoritative off
</AuthnProviderAlias>
-<Directory "@webserver_document_root@/freebusy">
+<Directory "@@@webserver_document_root@@@/freebusy">
AllowOverride None
Options None
# Disallow for everyone as default
@@ -241,17 +241,17 @@ ScriptAlias /cgi-bin/ "@webserver_document_root@/cgi-bin/"
AddDefaultCharset Off
</Directory>
-<Directory "@webserver_document_root@/client">
+<Directory "@@@webserver_document_root@@@/client">
AllowOverride All
Allow from all
</Directory>
-<Directory "@webserver_document_root@/fbview">
+<Directory "@@@webserver_document_root@@@/fbview">
AllowOverride All
Allow from all
</Directory>
-<Directory "@webserver_document_root@@kolab_wui@">
+<Directory "@@@webserver_document_root@@@@@@kolab_wui@@@">
AllowOverride None
Options None
Order allow,deny
@@ -356,7 +356,7 @@ AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis
-LoadModule php5_module @libexecdir@/apache/mod_php.so
+LoadModule php5_module @@@libexecdir@@@/apache/mod_php.so
AddType application/x-tar .tgz
AddType application/x-httpd-php .php .php4 .php3 .html
AddType image/x-icon .ico
@@ -373,5 +373,5 @@ BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
# used for local non Kolab extension
-Include @webserver_confdir@/apache.local
-Include @webserver_confdir@/*.include
+Include @@@webserver_confdir@@@/apache.local
+Include @@@webserver_confdir@@@/*.include
diff --git a/conf/templates/httpd.local.template.in b/conf/templates/httpd.local.template
index d839d42..b9bef49 100644
--- a/conf/templates/httpd.local.template.in
+++ b/conf/templates/httpd.local.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@webserver_confdir@/apache.local
+TARGET=@@@webserver_confdir@@@/apache.local
PERMISSIONS=0640
-OWNERSHIP=@webserver_musr@:@webserver_grp@
-RUNONCHANGE=@KOLABRC@ rc apache reload
+OWNERSHIP=@@@webserver_musr@@@:@@@webserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc apache reload
KOLAB_META_END
# (c) 2004 Martin Konold <martin.konold@erfrakon.de>
# This program is Free Software under the GNU General Public License (>=v2).
@@ -15,16 +15,16 @@ KOLAB_META_END
# configuration file (apache.conf)
# e.g.
-# ScriptAlias /nagios/cgi-bin/ @libdir@/nagios/cgi/
-#<Directory "@libdir@/nagios/cgi/">
+# ScriptAlias /nagios/cgi-bin/ @@@libdir@@@/nagios/cgi/
+#<Directory "@@@libdir@@@/nagios/cgi/">
# AllowOverride AuthConfig
# Options ExecCGI
# Order allow,deny
# Allow from all
#</Directory>
#
-#Alias /nagios/ @datadir@/nagios/
-#<Directory "@datadir@/nagios/">
+#Alias /nagios/ @@@datadir@@@/nagios/
+#<Directory "@@@datadir@@@/nagios/">
# Options None
# AllowOverride AuthConfig
# Order allow,deny
diff --git a/conf/templates/imapd.annotation_definitions.template.in b/conf/templates/imapd.annotation_definitions.template
index 3b2bf5e..e89b932 100644
--- a/conf/templates/imapd.annotation_definitions.template.in
+++ b/conf/templates/imapd.annotation_definitions.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@imap_confdir@/imapd.annotation_definitions
+TARGET=@@@imap_confdir@@@/imapd.annotation_definitions
PERMISSIONS=0640
-OWNERSHIP=@imap_usr@:@imap_grp@
-RUNONCHANGE=@KOLABRC@ rc imapd restart
+OWNERSHIP=@@@imap_usr@@@:@@@imap_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc imapd restart
KOLAB_META_END
/vendor/kolab/folder-test,mailbox,string,backend,value.shared value.priv,a
/vendor/kolab/folder-type,mailbox,string,backend,value.shared value.priv,a
diff --git a/conf/templates/imapd.conf.template.in b/conf/templates/imapd.conf.template
index 583c861..66130d0 100644
--- a/conf/templates/imapd.conf.template.in
+++ b/conf/templates/imapd.conf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@imap_confdir@/imapd.conf
+TARGET=@@@imap_confdir@@@/imapd.conf
PERMISSIONS=0640
-OWNERSHIP=@imap_usr@:@imap_grp@
-RUNONCHANGE=@KOLABRC@ rc imapd restart
+OWNERSHIP=@@@imap_usr@@@:@@@imap_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc imapd restart
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003-2006 Martin Konold <martin.konold@erfrakon.de>
@@ -13,14 +13,14 @@ KOLAB_META_END
@@@warning@@@
# Warning: Do not use a trailing slash in paths!
-configdirectory: @imap_statedir@
-partition-default: @imap_spool@
+configdirectory: @@@imap_statedir@@@
+partition-default: @@@imap_spool@@@
allowusermoves: 0
admins: @@@cyrus-admins|join( )@@@
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain
-sendmail: @sbindir@/sendmail
+sendmail: @@@sbindir@@@/sendmail
allowanonymouslogin: no
allowplaintext: yes
servername: @@@fqdnhostname@@@
@@ -29,14 +29,14 @@ munge8bit: no
quotawarn: @@@cyrus-quotawarn@@@
lmtp_over_quota_perm_failure: 1
timeout: 30
-sievedir: @imap_sievedir@
-lmtpsocket: @emailserver_socket@
+sievedir: @@@imap_sievedir@@@
+lmtpsocket: @@@emailserver_socket@@@
allowapop: no
-#tls_ca_file: @sysconfdir@/kolab/server.pem
-tls_cert_file: @sysconfdir@/kolab/cert.pem
-tls_key_file: @sysconfdir@/kolab/key.pem
+#tls_ca_file: @@@sysconfdir@@@/kolab/server.pem
+tls_cert_file: @@@sysconfdir@@@/kolab/cert.pem
+tls_key_file: @@@sysconfdir@@@/kolab/key.pem
altnamespace: 0
unixhierarchysep: yes
@@ -72,7 +72,7 @@ userprefix: user
sharedprefix: shared
# add support for sieve based notifications
-notifysocket: @imap_notify_socket@
+notifysocket: @@@imap_notify_socket@@@
sievenotifier: mailto
mailnotifier: mailto
@@ -93,4 +93,4 @@ duplicatesuppression: 0
imapidlepoll: 5
# Load definitions for vendor annotations
-annotation_definitions: @imap_confdir@/imapd.annotation_definitions
+annotation_definitions: @@@imap_confdir@@@/imapd.annotation_definitions
diff --git a/conf/templates/imapd.group.template.in b/conf/templates/imapd.group.template
index 3e182bb..b632d6b 100644
--- a/conf/templates/imapd.group.template.in
+++ b/conf/templates/imapd.group.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@imap_confdir@/imapd.group
+TARGET=@@@imap_confdir@@@/imapd.group
PERMISSIONS=0640
-OWNERSHIP=@imap_usr@:@imap_grp@
+OWNERSHIP=@@@imap_usr@@@:@@@imap_grp@@@
KOLAB_META_END
## Copyright (c) 2003 Martin Konold <martin.konold@erfrakon.de>
## Copyright (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
diff --git a/conf/templates/kolab.conf.template.in b/conf/templates/kolab.conf.template
index 7051aaa..7051aaa 100644
--- a/conf/templates/kolab.conf.template.in
+++ b/conf/templates/kolab.conf.template
diff --git a/conf/templates/kolab_smtpdpolicy.conf.template.in b/conf/templates/kolab_smtpdpolicy.conf.template
index 46dc421..73d11a4 100644
--- a/conf/templates/kolab_smtpdpolicy.conf.template.in
+++ b/conf/templates/kolab_smtpdpolicy.conf.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@sysconfdir@/kolab/kolab_smtpdpolicy.conf
+TARGET=@@@sysconfdir@@@/kolab/kolab_smtpdpolicy.conf
PERMISSIONS=0640
-OWNERSHIP=@kolab_smtpdpolicy_conffile_usr@:@kolab_smtpdpolicy_conffile_grp@
+OWNERSHIP=@@@kolab_smtpdpolicy_conffile_usr@@@:@@@kolab_smtpdpolicy_conffile_grp@@@
KOLAB_META_END
# (c) 2005 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
#
diff --git a/conf/templates/ldap.conf.template.in b/conf/templates/ldap.conf.template
index 74214ab..c797a63 100644
--- a/conf/templates/ldap.conf.template.in
+++ b/conf/templates/ldap.conf.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@ldapserver_confdir@/ldap.conf
+TARGET=@@@ldapserver_confdir@@@/ldap.conf
PERMISSIONS=0644
-OWNERSHIP=@ldapserver_usr@:@ldapserver_grp@
+OWNERSHIP=@@@ldapserver_usr@@@:@@@ldapserver_grp@@@
KOLAB_META_END
# (c) 2004 Klaraelvdalens Datakonsult AB
# This program is Free Software under the GNU General Public License (>=v2).
diff --git a/conf/templates/ldapdistlist.cf.template.in b/conf/templates/ldapdistlist.cf.template
index c3252dc..93f71fb 100644
--- a/conf/templates/ldapdistlist.cf.template.in
+++ b/conf/templates/ldapdistlist.cf.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/ldapdistlist.cf
+TARGET=@@@emailserver_confdir@@@/ldapdistlist.cf
PERMISSIONS=0640
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+OWNERSHIP=@@@emailserver_usr@@@:@@@emailserver_grp@@@
KOLAB_META_END
# (c) 2005 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
#
diff --git a/conf/templates/ldaptransport.cf.template.in b/conf/templates/ldaptransport.cf.template
index fa54f22..29d3154 100644
--- a/conf/templates/ldaptransport.cf.template.in
+++ b/conf/templates/ldaptransport.cf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/ldaptransport.cf
+TARGET=@@@emailserver_confdir@@@/ldaptransport.cf
PERMISSIONS=0640
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
-RUNONCHANGE=@KOLABRC@ rc postfix reload
+OWNERSHIP=@@@emailserver_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc postfix reload
KOLAB_META_END
# (c) 2005 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
#
diff --git a/conf/templates/ldapvirtual.cf.template.in b/conf/templates/ldapvirtual.cf.template
index dd26863..57f1d05 100644
--- a/conf/templates/ldapvirtual.cf.template.in
+++ b/conf/templates/ldapvirtual.cf.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/ldapvirtual.cf
+TARGET=@@@emailserver_confdir@@@/ldapvirtual.cf
PERMISSIONS=0640
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+OWNERSHIP=@@@emailserver_usr@@@:@@@emailserver_grp@@@
KOLAB_META_END
# (c) 2005 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
#
diff --git a/conf/templates/local.cf.template.in b/conf/templates/local.cf.template
index 3a5ccd0..2dc91fb 100644
--- a/conf/templates/local.cf.template.in
+++ b/conf/templates/local.cf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@spamassassin_confdir@/local.cf
+TARGET=@@@spamassassin_confdir@@@/local.cf
PERMISSIONS=0644
-OWNERSHIP=@amavisd_usr@:@amavisd_grp@
-RUNONCHANGE=@KOLABRC@ rc amavisd restart
+OWNERSHIP=@@@amavisd_usr@@@:@@@amavisd_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc amavisd restart
KOLAB_META_END
# (c) 2008 Intevation GmbH
# This program is Free Software under the GNU General Public License (>=v2).
@@ -11,7 +11,7 @@ KOLAB_META_END
@@@warning@@@
##
-## @spamassassin_confdir@/local.cf -- site-wide defaults for SpamAssassin
+## @@@spamassassin_confdir@@@/local.cf -- site-wide defaults for SpamAssassin
## (see 'perldoc Mail::SpamAssassin::Conf' for details of what can be tweaked)
##
diff --git a/conf/templates/main.cf.template.in b/conf/templates/main.cf.template
index 3c56fdb..e5e511b 100644
--- a/conf/templates/main.cf.template.in
+++ b/conf/templates/main.cf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/main.cf
+TARGET=@@@emailserver_confdir@@@/main.cf
PERMISSIONS=0644
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
-RUNONCHANGE=@KOLABRC@ rc postfix reload
+OWNERSHIP=@@@emailserver_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc postfix reload
KOLAB_META_END
# (c) 2004 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
@@ -22,14 +22,14 @@ message_size_limit = 20971520
@@@endif@@@
# paths
-command_directory = @sbindir@
-daemon_directory = @libexecdir@/postfix
-queue_directory = @emailserver_localstatedir@
+command_directory = @@@sbindir@@@
+daemon_directory = @@@libexecdir@@@/postfix
+queue_directory = @@@emailserver_localstatedir@@@
# users
-mail_owner= @emailserver_mail_owner@
-setgid_group= @emailserver_setgid_grp@
-default_privs= @emailserver_default_privs@
+mail_owner= @@@emailserver_mail_owner@@@
+setgid_group= @@@emailserver_setgid_grp@@@
+default_privs= @@@emailserver_default_privs@@@
# local host
myhostname = @@@fqdnhostname@@@
@@ -77,14 +77,14 @@ relay_domains =
recipient_delimiter = +
# maps
-canonical_maps = hash:@emailserver_confdir@/canonical
-virtual_alias_maps = hash:@emailserver_confdir@/virtual,
- ldap:@emailserver_confdir@/ldapdistlist.cf,
- ldap:@emailserver_confdir@/ldapvirtual.cf
-relocated_maps = hash:@emailserver_confdir@/relocated
-transport_maps = hash:@emailserver_confdir@/transport, ldap:@emailserver_confdir@/ldaptransport.cf
-alias_maps = hash:@aliases_file@
-alias_database = hash:@aliases_file@
+canonical_maps = hash:@@@emailserver_confdir@@@/canonical
+virtual_alias_maps = hash:@@@emailserver_confdir@@@/virtual,
+ ldap:@@@emailserver_confdir@@@/ldapdistlist.cf,
+ ldap:@@@emailserver_confdir@@@/ldapvirtual.cf
+relocated_maps = hash:@@@emailserver_confdir@@@/relocated
+transport_maps = hash:@@@emailserver_confdir@@@/transport, ldap:@@@emailserver_confdir@@@/ldaptransport.cf
+alias_maps = hash:@@@aliases_file@@@
+alias_database = hash:@@@aliases_file@@@
#virtual_mailbox_maps = $virtual_alias_maps
local_recipient_maps = $virtual_alias_maps, $alias_maps
@@ -92,7 +92,7 @@ local_recipient_maps = $virtual_alias_maps, $alias_maps
disable_mime_input_processing = yes
# enable header_checks (not for attachment headers):
-header_checks = regexp:@emailserver_confdir@/header_checks
+header_checks = regexp:@@@emailserver_confdir@@@/header_checks
# disable_mime_input_processing = yes already implies that attachment headers
# are not being checked, but just to be sure:
mime_header_checks =
@@ -110,18 +110,18 @@ smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_starttls_timeout = 300s
smtpd_timeout = 300s
-#smtpd_tls_CAfile = @sysconfdir@/kolab/server.pem
+#smtpd_tls_CAfile = @@@sysconfdir@@@/kolab/server.pem
#smtpd_tls_CApath =
#smtpd_tls_ask_ccert = no
#smtpd_tls_ccert_verifydepth = 5
-smtpd_tls_cert_file = @sysconfdir@/kolab/cert.pem
+smtpd_tls_cert_file = @@@sysconfdir@@@/kolab/cert.pem
#smtpd_tls_cipherlist =
#smtpd_tls_dcert_file =
#smtpd_tls_dh1024_param_file =
#smtpd_tls_dh512_param_file =
#smtpd_tls_dkey_file = $smtpd_tls_dcert_file
#smtpd_tls_key_file = $smtpd_tls_cert_file
-smtpd_tls_key_file = @sysconfdir@/kolab/key.pem
+smtpd_tls_key_file = @@@sysconfdir@@@/kolab/key.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = no
#smtpd_tls_req_ccert = no
diff --git a/conf/templates/master.cf.template.in b/conf/templates/master.cf.template
index cc0acab..884bf86 100644
--- a/conf/templates/master.cf.template.in
+++ b/conf/templates/master.cf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/master.cf
+TARGET=@@@emailserver_confdir@@@/master.cf
PERMISSIONS=0640
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
-RUNONCHANGE=@KOLABRC@ rc postfix reload
+OWNERSHIP=@@@emailserver_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc postfix reload
KOLAB_META_END
# (c) 2004 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
@@ -46,11 +46,11 @@ local unix - n n - - local
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
-#maildrop unix - n n - - pipe flags=DRhu user=vmail argv=@bindir@/maildrop -d ${recipient}
-#cyrus unix - n n - - pipe user=cyrus argv=@bindir@/cyrdeliver -e -r ${sender} -m ${extension} ${user}
-#uucp unix - n n - - pipe flags=Fqhu user=uucp argv=@bindir@/uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
-#ifmail unix - n n - - pipe flags=F user=ftn argv=@bindir@/ifmail -r $nexthop ($recipient)
-#bsmtp unix - n n - - pipe flags=Fq. user=foo argv=@bindir@/bsmtp -f $sender $nexthop $recipient
+#maildrop unix - n n - - pipe flags=DRhu user=vmail argv=@@@bindir@@@/maildrop -d ${recipient}
+#cyrus unix - n n - - pipe user=cyrus argv=@@@bindir@@@/cyrdeliver -e -r ${sender} -m ${extension} ${user}
+#uucp unix - n n - - pipe flags=Fqhu user=uucp argv=@@@bindir@@@/uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
+#ifmail unix - n n - - pipe flags=F user=ftn argv=@@@bindir@@@/ifmail -r $nexthop ($recipient)
+#bsmtp unix - n n - - pipe flags=Fq. user=foo argv=@@@bindir@@@/bsmtp -f $sender $nexthop $recipient
@@@bind_addr@@@:465 inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
post-cleanup unix n - n - 0 cleanup -o virtual_alias_maps= -o masquerade_domains=
smtp-amavis unix - - n - 2 smtp
@@ -96,26 +96,26 @@ smtp-amavis unix - - n - 2 smtp
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-kolabpolicy unix - n n - - spawn user=@emailserver_master_usr@ argv=@bindir@/kolab_smtpdpolicy
+kolabpolicy unix - n n - - spawn user=@@@emailserver_master_usr@@@ argv=@@@bindir@@@/kolab_smtpdpolicy
-kolabfilter unix - n n - - pipe user=@emailserver_master_usr@ null_sender= argv=@PHP@
- -c @phpini_dir@/php.ini
- -f @resmgr_scriptsdir@/kolabfilter
+kolabfilter unix - n n - - pipe user=@@@emailserver_master_usr@@@ null_sender= argv=@@@PHP@@@
+ -c @@@phpini_dir@@@/php.ini
+ -f @@@resmgr_scriptsdir@@@/kolabfilter
--
--host=@@@fqdnhostname@@@
--sender=${sender}
--recipient=${recipient}
--client=${client_address}
--user=${sasl_username}
- --config=@resmgr_confdir@/kolabfilter.conf
+ --config=@@@resmgr_confdir@@@/kolabfilter.conf
-kolabmailboxfilter unix - n n - - pipe user=@emailserver_master_usr@ null_sender= argv=@PHP@
- -c @phpini_dir@/php.ini
- -f @resmgr_scriptsdir@/kolabmailboxfilter
+kolabmailboxfilter unix - n n - - pipe user=@@@emailserver_master_usr@@@ null_sender= argv=@@@PHP@@@
+ -c @@@phpini_dir@@@/php.ini
+ -f @@@resmgr_scriptsdir@@@/kolabmailboxfilter
--
--host=@@@fqdnhostname@@@
--sender=${sender}
--recipient=${recipient}
--client=${client_address}
- --config=@resmgr_confdir@/kolabfilter.conf
+ --config=@@@resmgr_confdir@@@/kolabfilter.conf
diff --git a/conf/templates/php.ini.template.in b/conf/templates/php.ini.template
index 38e1775..dda021d 100644
--- a/conf/templates/php.ini.template.in
+++ b/conf/templates/php.ini.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@phpini_dir@/php.ini
+TARGET=@@@phpini_dir@@@/php.ini
PERMISSIONS=0640
-OWNERSHIP=@webserver_musr@:@webserver_grp@
-RUNONCHANGE=@KOLABRC@ rc apache reload
+OWNERSHIP=@@@webserver_musr@@@:@@@webserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc apache reload
COMMENT_CHAR=;
KOLAB_META_END
@@@warning@@@
@@ -29,12 +29,12 @@ magic_quotes_gpc = 0 ; Automatically quote posted variables. Required to
; will be the default then.
error_reporting = E_ALL & ~E_DEPRECATED
-error_log = @webserver_logdir@/php/php-errors.log
-upload_tmp_dir = @webserver_tmpdir@
+error_log = @@@webserver_logdir@@@/php/php-errors.log
+upload_tmp_dir = @@@webserver_tmpdir@@@
; Include Paths
;include_path = ".:/kolab/lib/php"
-include_path = ".:@phplibdir@:@phplibdir2@:@phppeardir@"
+include_path = ".:@@@phplibdir@@@"
; FIXME: Do not hardcode the timezone setting
;
@@ -47,4 +47,4 @@ include_path = ".:@phplibdir@:@phplibdir2@:@phppeardir@"
date.timezone = Europe/Berlin
[Session]
-session.save_path = @webserver_sessions@
+session.save_path = @@@webserver_sessions@@@
diff --git a/conf/templates/rc.conf.template.in b/conf/templates/rc.conf.template
index be30ada..2490b73 100644
--- a/conf/templates/rc.conf.template.in
+++ b/conf/templates/rc.conf.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@sysconfdir@/rc.conf
+TARGET=@@@sysconfdir@@@/rc.conf
PERMISSIONS=0644
-OWNERSHIP=@kolab_musr@:@kolab_mgrp@
+OWNERSHIP=@@@kolab_musr@@@:@@@kolab_mgrp@@@
KOLAB_META_END
# (c) 2004 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
#
diff --git a/conf/templates/canonical.template.in b/conf/templates/relocated.template
index 1d5f9ae..087057d 100644
--- a/conf/templates/canonical.template.in
+++ b/conf/templates/relocated.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/canonical
+TARGET=@@@emailserver_confdir@@@/relocated
PERMISSIONS=0640
-OWNERSHIP=@emailserver_tables_usr@:@emailserver_grp@
-RUNONCHANGE=@sbindir@/postmap -o @emailserver_confdir@/canonical
+OWNERSHIP=@@@emailserver_tables_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@sbindir@@@/postmap -o @@@emailserver_confdir@@@/relocated
KOLAB_META_END
# (c) 2008 Mathieu Parent <math.parent@gmail.com>
# This program is Free Software under the GNU General Public License (>=v2).
diff --git a/conf/templates/saslauthd.conf.template.in b/conf/templates/saslauthd.conf.template
index 11c7de5..94b478a 100644
--- a/conf/templates/saslauthd.conf.template.in
+++ b/conf/templates/saslauthd.conf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@sasl_authdconffile@
+TARGET=@@@sasl_authdconffile@@@
PERMISSIONS=0600
-OWNERSHIP=@kolab_musr@:@kolab_mgrp@
-RUNONCHANGE=@KOLABRC@ rc sasl restart
+OWNERSHIP=@@@kolab_musr@@@:@@@kolab_mgrp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc sasl restart
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003 Martin Konold <martin.konold@erfrakon.de>
diff --git a/conf/templates/slapd.access.template.in b/conf/templates/slapd.access.template
index f1bba36..9ce5f2a 100644
--- a/conf/templates/slapd.access.template.in
+++ b/conf/templates/slapd.access.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@ldapserver_confdir@/slapd.access
+TARGET=@@@ldapserver_confdir@@@/slapd.access
PERMISSIONS=0640
-OWNERSHIP=@ldapserver_usr@:@ldapserver_grp@
-RUNONCHANGE=@KOLABRC@ rc openldap restart
+OWNERSHIP=@@@ldapserver_usr@@@:@@@ldapserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc openldap restart
KOLAB_META_END
## Copyright (c) 2005 Klaraelvdalens Datakonsult AB
## Written by Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
diff --git a/conf/templates/slapd.conf.template.in b/conf/templates/slapd.conf.template
index dd6cd21..075028a 100644
--- a/conf/templates/slapd.conf.template.in
+++ b/conf/templates/slapd.conf.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@ldapserver_confdir@/slapd.conf
+TARGET=@@@ldapserver_confdir@@@/slapd.conf
PERMISSIONS=0640
-OWNERSHIP=@ldapserver_usr@:@ldapserver_grp@
-RUNONCHANGE=@KOLABRC@ rc openldap restart
+OWNERSHIP=@@@ldapserver_usr@@@:@@@ldapserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc openldap restart
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003-2007 Martin Konold <martin.konold@erfrakon.de>
@@ -13,7 +13,7 @@ KOLAB_META_END
@@@warning@@@
@@@if ldapserver_modulepath@@@
-modulepath @ldapserver_modulepath@
+modulepath @@@ldapserver_modulepath@@@
moduleload back_bdb
moduleload back_monitor
moduleload refint
@@ -21,12 +21,12 @@ moduleload unique
@@@endif@@@
# manual additions are lost unless made to the template in the Kolab config directory
-# the template is @sysconfdir@/kolab/templates/slapd.conf.template
+# the template is @@@sysconfdir@@@/kolab/templates/slapd.conf.template
-include @ldapserver_schemadir@/core.schema
-include @ldapserver_schemadir@/cosine.schema
-include @ldapserver_schemadir@/inetorgperson.schema
-include @ldapserver_schemadir@/kolab2.schema
+include @@@ldapserver_schemadir@@@/core.schema
+include @@@ldapserver_schemadir@@@/cosine.schema
+include @@@ldapserver_schemadir@@@/inetorgperson.schema
+include @@@ldapserver_schemadir@@@/kolab2.schema
# Only include this in case you need the calFBURL attribute in
# kolabInetOrgPerson objects.
@@ -34,7 +34,7 @@ include @ldapserver_schemadir@/kolab2.schema
#
# The schema remains available at
# /kolab/var/kolab/www/client/turba/scripts/ldap/rfc2739.schema
-#include @ldapserver_schemadir@/rfc2739.schema
+#include @@@ldapserver_schemadir@@@/rfc2739.schema
# Only include this in case you want to store the preferences of the
# kolab web client in LDAP.
@@ -42,10 +42,10 @@ include @ldapserver_schemadir@/kolab2.schema
#
# The schema remains available at
# /kolab/var/kolab/www/client/scripts/ldap/horde.schema
-#include @ldapserver_schemadir@/horde.schema
+#include @@@ldapserver_schemadir@@@/horde.schema
-pidfile @ldapserver_pidfile@
-argsfile @ldapserver_argsfile@
+pidfile @@@ldapserver_pidfile@@@
+argsfile @@@ldapserver_argsfile@@@
@@@if directory_replication_mode_is_syncrepl@@@
# Depending on the build options of openldap the syncprov module is statically
@@ -58,18 +58,18 @@ moduleload syncprov
# moduleload syncprov
@@@endif@@@
@@@else@@@
-replica-pidfile @ldapserverslurpd_pidfile@
-replogfile @ldapserver_replogfile@
+replica-pidfile @@@ldapserverslurpd_pidfile@@@
+replogfile @@@ldapserver_replogfile@@@
replicationinterval 5
@@@endif@@@
@@@if bootstrap_config@@@
@@@else@@@
-TLSCertificateFile @sysconfdir@/kolab/cert.pem
-TLSCertificateKeyFile @sysconfdir@/kolab/key.pem
+TLSCertificateFile @@@sysconfdir@@@/kolab/cert.pem
+TLSCertificateKeyFile @@@sysconfdir@@@/kolab/key.pem
@@@endif@@@
-rootDSE @sysconfdir@/kolab/rootDSE.ldif
+rootDSE @@@sysconfdir@@@/kolab/rootDSE.ldif
defaultsearchbase "@@@base_dn@@@"
@@ -100,7 +100,7 @@ index entryUUID eq
dirtyread
-directory @ldapserver_dir@
+directory @@@ldapserver_dir@@@
rootdn "@@@bind_dn@@@"
rootpw "@@@bind_pw_hash@@@"
@@ -132,7 +132,7 @@ index kolabHomeServer pres,eq
index kolabDeleteflag pres,eq
index member pres,eq
-include @ldapserver_confdir@/slapd.access
+include @@@ldapserver_confdir@@@/slapd.access
access to dn="@@@base_dn@@@" attrs=children
by group/kolabGroupOfNames="cn=admin,cn=internal,@@@base_dn@@@" write
@@ -241,7 +241,7 @@ access to *
by group/kolabGroupOfNames="cn=maintainer,cn=internal,@@@base_dn@@@" write
by * read stop
-include @ldapserver_confdir@/slapd.replicas
+include @@@ldapserver_confdir@@@/slapd.replicas
database monitor
diff --git a/conf/templates/slapd.replicas.template.in b/conf/templates/slapd.replicas.template
index 853eea8..a6cdf2b 100644
--- a/conf/templates/slapd.replicas.template.in
+++ b/conf/templates/slapd.replicas.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@ldapserver_confdir@/slapd.replicas
+TARGET=@@@ldapserver_confdir@@@/slapd.replicas
PERMISSIONS=0640
-OWNERSHIP=@ldapserver_usr@:@ldapserver_grp@
-RUNONCHANGE=@KOLABRC@ rc openldap restart
+OWNERSHIP=@@@ldapserver_usr@@@:@@@ldapserver_grp@@@
+RUNONCHANGE=@@@KOLABRC@@@ rc openldap restart
KOLAB_META_END
## Copyright (c) 2004 Klaraelvdalens Datakonsult AB
## Written by Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
diff --git a/conf/templates/smtpd.conf.template.in b/conf/templates/smtpd.conf.template
index b80c2cd..dd2c0b0 100644
--- a/conf/templates/smtpd.conf.template.in
+++ b/conf/templates/smtpd.conf.template
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@sasl_smtpconffile@
+TARGET=@@@sasl_smtpconffile@@@
PERMISSIONS=0644
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+OWNERSHIP=@@@emailserver_usr@@@:@@@emailserver_grp@@@
KOLAB_META_END
pwcheck_method: saslauthd
mech_list: plain login
diff --git a/conf/templates/transport.template.in b/conf/templates/transport.template
index 173c6ab..11024ca 100644
--- a/conf/templates/transport.template.in
+++ b/conf/templates/transport.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/transport
+TARGET=@@@emailserver_confdir@@@/transport
PERMISSIONS=0640
-OWNERSHIP=@emailserver_tables_usr@:@emailserver_grp@
-RUNONCHANGE=@sbindir@/postmap -o @emailserver_confdir@/transport
+OWNERSHIP=@@@emailserver_tables_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@sbindir@@@/postmap -o @@@emailserver_confdir@@@/transport
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003 Martin Konold <martin.konold@erfrakon.de>
diff --git a/conf/templates/virtual.template.in b/conf/templates/virtual.template
index 82dd15d..0fdb84d 100644
--- a/conf/templates/virtual.template.in
+++ b/conf/templates/virtual.template
@@ -1,8 +1,8 @@
KOLAB_META_START
-TARGET=@emailserver_confdir@/virtual
+TARGET=@@@emailserver_confdir@@@/virtual
PERMISSIONS=0640
-OWNERSHIP=@emailserver_tables_usr@:@emailserver_grp@
-RUNONCHANGE=@sbindir@/postmap -o @emailserver_confdir@/virtual
+OWNERSHIP=@@@emailserver_tables_usr@@@:@@@emailserver_grp@@@
+RUNONCHANGE=@@@sbindir@@@/postmap -o @@@emailserver_confdir@@@/virtual
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003 Martin Konold <martin.konold@erfrakon.de>