summaryrefslogtreecommitdiff
path: root/kolab-webclient/ingo/configuration/ingo-1.2.3/10-kolab_backends_base.php
blob: 4acb4ba713a2ef3b1226a2238d44c1aa7c781a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
);