summaryrefslogtreecommitdiff
path: root/kolab-webclient/ingo/configuration/ingo-1.2.3/10-kolab_backends_base.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab-webclient/ingo/configuration/ingo-1.2.3/10-kolab_backends_base.php')
-rw-r--r--kolab-webclient/ingo/configuration/ingo-1.2.3/10-kolab_backends_base.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/kolab-webclient/ingo/configuration/ingo-1.2.3/10-kolab_backends_base.php b/kolab-webclient/ingo/configuration/ingo-1.2.3/10-kolab_backends_base.php
new file mode 100644
index 0000000..4acb4ba
--- /dev/null
+++ b/kolab-webclient/ingo/configuration/ingo-1.2.3/10-kolab_backends_base.php
@@ -0,0 +1,27 @@
+<?php
+
+$backends = array();
+
+require_once 'Horde/Kolab.php';
+
+if (!is_callable('Kolab', 'getServer')) {
+ $server = $GLOBALS['conf']['kolab']['imap']['server'];
+ } else {
+ $server = Kolab::getServer('imap');
+ }
+
+$backends['kolab'] = array(
+ 'driver' => 'timsieved',
+ 'preferred' => '',
+ 'hordeauth' => 'full',
+ 'params' => array(
+ 'hostspec' => $server,
+ 'logintype' => 'PLAIN',
+ 'usetls' => false,
+ 'port' => $GLOBALS['conf']['kolab']['imap']['sieveport'],
+ 'scriptname' => 'kmail-vacation.siv'
+ ),
+ 'script' => 'sieve',
+ 'scriptparams' => array(),
+ 'shares' => false
+);