summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/templates/resmgr.conf.template.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/templates/resmgr.conf.template.in b/conf/templates/resmgr.conf.template.in
index ae762f5..a02fad3 100644
--- a/conf/templates/resmgr.conf.template.in
+++ b/conf/templates/resmgr.conf.template.in
@@ -9,7 +9,11 @@ KOLAB_META_END
@define('HORDE_BASE', '@webserver_document_root@@webserver_web_prefix@/fbview');
// What is the address of the Cyrus server where the calendar data is stored?
+@@@if cyrus-imap@@@
$params['server'] = '@@@connect_addr@@@';
+@@@else@@@
+$params['server'] = '@@@local_addr@@@';
+@@@endif@@@
// Local IP address of the mailserver for bypassing content filters
$params['local_addr'] = '@@@local_addr@@@';