File plesk.kolab_syncroton.inc.php of Package kolab-syncroton-old
126
1
2
3
// This file lists all ActiveSync-related configuration options
4
5
// Enables ActiveSync protocol debuging
6
$config['activesync_debug'] = false;
7
8
// If specified all ActiveSync-related logs will be saved to this file
9
// Note: This doesn't change Roundcube Framework log locations
10
$config['activesync_log_file'] = null;
11
12
// Type of ActiveSync cache. Supported values: 'db', 'apc' and 'memcache'.
13
// Note: This is only for some additional data like timezones mapping.
14
$config['activesync_cache'] = 'db';
15
16
// lifetime of ActiveSync cache
17
// possible units: s, m, h, d, w
18
$config['activesync_cache_ttl'] = '1d';
19
20
// Type of ActiveSync Auth cache. Supported values: 'db', 'apc' and 'memcache'.
21
// Note: This is only for username canonification map.
22
$config['activesync_auth_cache'] = 'db';
23
24
// lifetime of ActiveSync Auth cache
25
// possible units: s, m, h, d, w
26
$config['activesync_auth_cache_ttl'] = '1d';
27
28
// List of global addressbooks (GAL)
29
// Note: If empty 'autocomplete_addressbooks' setting will be used
30
$config['activesync_addressbooks'] = array();
31
32
// ActiveSync => Roundcube contact fields map for GAL search
33
/* Default: array(
34
'alias' => 'nickname',
35
'company' => 'organization',
36
'displayName' => 'name',
37
'emailAddress' => 'email',
38
'firstName' => 'firstname',
39
'lastName' => 'surname',
40
'mobilePhone' => 'phone.mobile',
41
'office' => 'office',
42
'picture' => 'photo',
43
'phone' => 'phone',
44
'title' => 'jobtitle',
45
);
46
*/
47
$config['activesync_gal_fieldmap'] = null;
48
49
// List of device types that will sync the LDAP addressbook(s) as a normal folder.
50
// For devices that do not support GAL searching, e.g. Outlook.
51
// Note: To make the LDAP addressbook sources working we need two additional
52
// fields ('uid' and 'changed') specified in the fieldmap array
53
// of the LDAP configuration ('ldap_public' option). For example:
54
// 'uid' => 'nsuniqueid',
55
// 'changed' => 'modifytimestamp',
56
// Examples:
57
// array('windowsoutlook') # enable for Oultook only
58
// true # enable for all
59
$config['activesync_gal_sync'] = false;
60
61
// GAL cache. As reading all contacts from LDAP may be slow, caching is recommended.
62
$config['activesync_gal_cache'] = 'db';
63
64
// TTL of GAL cache entries. Technically this causes that synchronized
65
// contacts will not be updated (queried) often than the specified interval.
66
$config['activesync_gal_cache_ttl'] = '1d';
67
68
// List of Roundcube plugins
69
// WARNING: Not all plugins used in Roundcube can be listed here
70
$config['activesync_plugins'] = array(
71
'libcalendaring',
72
'libkolab'
73
);
74
75
// Defines for how many seconds we'll sleep between every
76
// action for detecting changes in folders. Default: 60
77
$config['activesync_ping_timeout'] = 60;
78
79
// Defines maximum Ping interval in seconds. Default: 900 (15 minutes)
80
$config['activesync_ping_interval'] = 900;
81
82
// We start detecting changes n seconds since the last sync of a folder
83
// Default: 180
84
$config['activesync_quiet_time'] = 0;
85
86
// Defines maximum number of folders in a single Sync/Ping request. Default: 100.
87
$config['activesync_max_folders'] = 100;
88
89
// When a device is reqistered, by default a set of folders are
90
// subscribed for syncronization, i.e. INBOX and personal folders with
91
// defined folder type:
92
// mail.drafts, mail.wastebasket, mail.sentitems, mail.outbox,
93
// event, event.default,
94
// contact, contact.default,
95
// task, task.default
96
// This default set can be extended by adding following values:
97
// 1 - all subscribed folders in personal namespace
98
// 2 - all folders in personal namespace
99
// 4 - all subscribed folders in other users namespace
100
// 8 - all folders in other users namespace
101
// 16 - all subscribed folders in shared namespace
102
// 32 - all folders in shared namespace
103
$config['activesync_init_subscriptions'] = 21;
104
105
// Defines blacklist of devices (device type strings) that do not support folder hierarchies.
106
// When set to an array folder hierarchies are used on all devices not listed here.
107
// When set to null an old whitelist approach will be used where we do opposite
108
// action and enable folder hierarchies only on device types known to support it.
109
$config['activesync_multifolder_blacklist'] = array();
110
111
// Blacklist overwrites for specified object type. If set to an array
112
// it will have a precedence over 'activesync_multifolder_blacklist' list only for that type.
113
// Note: Outlook does not support multiple folders for contacts,
114
// in that case use $config['activesync_multifolder_blacklist_contact'] = array('windowsoutlook');
115
$config['activesync_multifolder_blacklist_mail'] = null;
116
$config['activesync_multifolder_blacklist_event'] = null;
117
$config['activesync_multifolder_blacklist_contact'] = array('windowsoutlook');
118
$config['activesync_multifolder_blacklist_note'] = null;
119
$config['activesync_multifolder_blacklist_task'] = null;
120
121
$config['activesync_protected_folders'] = array('windowsoutlook' => array('INBOX', 'Sent', 'Trash'));
122
123
// Enables adding sender name in the From: header of send email
124
// when a device uses email address only (e.g. iOS devices)
125
$config['activesync_fix_from'] = false;
126