$OpenBSD: patch-installer_linux_gateway_cfg,v 1.5 2010/10/27 18:26:17 ajacoutot Exp $
--- installer/linux/gateway.cfg.orig	Wed Oct 20 12:42:55 2010
+++ installer/linux/gateway.cfg	Wed Oct 27 19:18:52 2010
@@ -7,16 +7,16 @@ server_bind	=	0.0.0.0
 server_socket	=	http://localhost:236/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-gateway.pid
 
 # run server in this path (when not using the -F switch)
-running_path = /
+running_path = /var/empty
 
 # enable/disable POP3, and POP3 listen port
 pop3_enable	=	yes
@@ -51,10 +51,10 @@ imap_always_generate = no
 imap_max_messagesize = 134217728
 
 # File with RSA key for SSL
-ssl_private_key_file	=	/etc/zarafa/gateway/privkey.pem
+ssl_private_key_file	=	${SYSCONFDIR}/zarafa/gateway/privkey.pem
 
 #File with certificate for SSL
-ssl_certificate_file	=	/etc/zarafa/gateway/cert.pem
+ssl_certificate_file	=	${SYSCONFDIR}/zarafa/gateway/cert.pem
 
 # Verify client certificate
 ssl_verify_client	=	no
