blob: 55019ec9501c011b956506b2493c29238d9c95b3 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<?php
/**
* $Horde: ingo/config/backends.php.dist,v 1.20.8.4 2006/02/02 22:57:31 jan Exp $
*
* Ingo works purely on a preferred mechanism for server selection. There are
* a number of properties that you can set for each backend:
*
* driver: The Ingo_Driver driver to use to get the script to the
* backend server. Valid options:
* 'null' -- No backend server
* 'timsieved' -- Cyrus timsieved server
* 'vfs' -- Use Horde VFS
*
* preferred: This is the field that is used to choose which server is
* used. The value for this field may be a single string or an
* array of strings containing the hostnames to use with this
* server.
*
* hordeauth: Ingo uses the current logged in username and password. If
* you want the full username@realm to be used to connect then
* set this to 'full' otherwise set this to true and just the
* username will be used to connect to the driver.
*
* params: An array containing any additional information that the
* Ingo_Driver class needs.
*
* script: The type of Ingo_Script driver this server uses.
* Valid options:
* 'imap' -- IMAP client side filtering
* 'maildrop' -- Maildrop scripts
* 'procmail' -- Procmail scripts
* 'sieve' -- Sieve scripts
*
* scriptparams: An array containing any additional information that the
* Ingo_Script driver needs.
*/
/* Kolab Example (using Sieve) */
if ($GLOBALS['conf']['kolab']['enabled']) {
$backends['kolab'] = array(
'driver' => 'timsieved',
'preferred' => '',
'hordeauth' => 'full',
'params' => array(
'hostspec' => $GLOBALS['conf']['kolab']['imap']['server'],
'logintype' => 'PLAIN',
'port' => $GLOBALS['conf']['kolab']['imap']['sieveport'],
'scriptname' => 'kmail-vacation.siv'
),
'script' => 'sieve',
'scriptparams' => array()
);
}
|