summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2007-12-12 15:40:50 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2007-12-12 15:40:50 (GMT)
commit497b2a1884e95339a1c4ff1d71ea30a237b742ab (patch)
tree27f94595fba12f8c202f4bbfa611d9d7c9fc4b48
parent1a3f9017284dbf6e0782ab68a2c80a93d9555c2f (diff)
downloadkolab-conf-497b2a1884e95339a1c4ff1d71ea30a237b742ab.tar.gz
Fixed resmgr connection address for IMAP server if public imap port is disabled.2.1-stable
-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@@@';