$OpenBSD: patch-installer_linux_server_cfg,v 1.5 2009/11/12 16:44:59 ajacoutot Exp $
--- installer/linux/server.cfg.orig	Fri Oct 16 15:56:00 2009
+++ installer/linux/server.cfg	Thu Nov 12 17:41:17 2009
@@ -36,16 +36,16 @@ local_admin_users	= root
 system_email_address	= postmaster@localhost
 
 # drop privileges and run the process as this user
-run_as_user		= 
+run_as_user		= _zarafa
 
 # drop privileges and run the process as this group
-run_as_group		= 
+run_as_group		= _zarafa
 
-# create a pid file for stopping the service via the init.d scripts
+# write the process ID number to this file
 pid_file		= /var/run/zarafa-server.pid
 
 # run server in this path (when not using the -F switch)
-running_path = /
+running_path = /var/empty
 
 # session timeout for clients. Values lower than 300 will be upped to 300
 # automatically. If the server hears nothing from a client in session_timeout
@@ -53,7 +53,7 @@ running_path = /
 session_timeout		= 300
 
 # Socket to connect to for license server
-license_socket		= /var/run/zarafa-licensed
+#license_socket		= /var/run/zarafa-licensed
 
 ##############################################################
 # LOG SETTINGS
@@ -89,10 +89,10 @@ mysql_password		= root
 mysql_database		= zarafa
 
 # Where to place attachments. Value can be 'database' or 'files'
-attachment_storage	= database
+attachment_storage	= files
 
 # When attachment_storage is 'files', use this path to store the files
-attachment_path		= /var/lib/zarafa
+attachment_path		= /var/db/zarafa
 
 # Compression level for attachments when attachment_storage is 'files'.
 # Set compression level for attachments disabled=0, max=9
@@ -108,19 +108,19 @@ server_ssl_enabled	= no
 server_ssl_port		= 237
 
 # Required Server certificate, contains the certificate and the private key parts
-server_ssl_key_file	= /etc/zarafa/ssl/server.pem
+server_ssl_key_file	= ${SYSCONFDIR}/zarafa/ssl/server.pem
 
 # Password of Server certificate
 server_ssl_key_pass	= replace-with-server-cert-password
 
 # Required Certificate Authority of server
-server_ssl_ca_file	= /etc/zarafa/ssl/cacert.pem
+server_ssl_ca_file	= ${SYSCONFDIR}/zarafa/ssl/cacert.pem
 
 # Path with CA certificates, e.g. /etc/ssl/certs
-server_ssl_ca_path	=
+server_ssl_ca_path	= /etc/ssl/cert.pem
 
 # Path of SSL Public keys of clients
-sslkeys_path		= /etc/zarafa/sslkeys
+sslkeys_path		= ${SYSCONFDIR}/zarafa/sslkeys
 
 
 ##############################################################
@@ -196,23 +196,24 @@ companyquota_warn      = 0
 # Name of the plugin that handles users
 # Required, default = ldap
 # Values: ldap, unix, db
+# note: the unix plugin is not supported under OpenBSD
 user_plugin		= db
 
-# configuration file of the user plugin, examples can be found in /usr/share/zarafa/example-config
-user_plugin_config	= /etc/zarafa/ldap.cfg
+# configuration file of the user plugin, examples can be found in ${PREFIX}/share/examples/zarafa
+user_plugin_config	= ${SYSCONFDIR}/zarafa/ldap.cfg
 
 # location of the zarafa plugins
 # if you have a 64bit distribution, this probably should be changed to /usr/lib64/zarafa
-plugin_path		= /usr/lib/zarafa
+plugin_path		= ${PREFIX}/lib/zarafa
 
 # scripts which create stores for users from an external source
 # used for ldap and unix plugins only
-createuser_script		=	/etc/zarafa/userscripts/createuser
-deleteuser_script		=	/etc/zarafa/userscripts/deleteuser
-creategroup_script		=	/etc/zarafa/userscripts/creategroup
-deletegroup_script		=	/etc/zarafa/userscripts/deletegroup
-createcompany_script	=	/etc/zarafa/userscripts/createcompany
-deletecompany_script	=	/etc/zarafa/userscripts/deletecompany
+createuser_script		=	${SYSCONFDIR}/zarafa/userscripts/createuser
+deleteuser_script		=	${SYSCONFDIR}/zarafa/userscripts/deleteuser
+creategroup_script		=	${SYSCONFDIR}/zarafa/userscripts/creategroup
+deletegroup_script		=	${SYSCONFDIR}/zarafa/userscripts/deletegroup
+createcompany_script	=	${SYSCONFDIR}/zarafa/userscripts/createcompany
+deletecompany_script	=	${SYSCONFDIR}/zarafa/userscripts/deletecompany
 
 ##############################################################
 # MISC SETTINGS
@@ -259,7 +260,7 @@ client_update_enabled = false
 
 # Place the correct Zarafa Outlook Client in this directory for
 # Windows clients to download through the Zarafa server
-client_update_path = /var/lib/zarafa/client
+client_update_path = /var/db/zarafa/client
 
 # Everyone is a special internal group, which contains every user and group
 # You may want to disable this group from the Global Addressbook by setting
