$OpenBSD: patch-installer_linux_spooler_cfg,v 1.7 2013/01/27 13:06:20 robert Exp $
--- installer/linux/spooler.cfg.orig	Wed Jan 23 12:48:53 2013
+++ installer/linux/spooler.cfg	Sun Jan 27 12:59:52 2013
@@ -11,16 +11,16 @@ smtp_port = 25
 server_socket	=	file:///var/run/zarafa
 
 # 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-spooler.pid
 
 # run server in this path (when not using the -F switch)
-running_path = /
+running_path = /var/empty
 
 ##############################################################
 # SPOOLER LOG SETTINGS
@@ -45,7 +45,7 @@ log_timestamp	=	1
 #       to use this type of login method
 
 # Login to the Zarafa server using this SSL Key
-sslkey_file = /etc/zarafa/ssl/spooler.pem
+sslkey_file = ${SYSCONFDIR}/zarafa/ssl/spooler.pem
 
 # The password of the SSL Key
 sslkey_pass = replace-with-server-cert-password
@@ -140,13 +140,13 @@ archive_on_send = no
 plugin_enabled = yes
 
 # Path to the spooler plugin manager
-plugin_manager_path = /usr/share/zarafa-spooler/python
+plugin_manager_path = ${PREFIX}/share/zarafa-spooler/python
 
 # Path to the activated spooler plugins.
 #   This folder contains symlinks to the zarafa plugins and custom scripts. The plugins are
-#   installed in '/usr/share/zarafa-spooler/python/plugins/'. To activate a plugin create a symbolic
+#   installed in '${PREFIX}/share/zarafa-spooler/python/plugins/'. To activate a plugin create a symbolic
 #   link in the 'plugin_path' directory.
 #
 # Example:
-#  $ ln -s /usr/share/zarafa-spooler/python/plugins/disclaimer.py /var/lib/zarafa/spooler/plugins/disclaimer.py
-plugin_path = /var/lib/zarafa/spooler/plugins
+#  $ ln -s ${PREFIX}/share/zarafa-spooler/python/plugins/disclaimer.py /var/db/zarafa/spooler/plugins/disclaimer.py
+plugin_path = /var/db/zarafa/spooler/plugins
