File plesk.config.inc.php of Package roundcubemail
223
1
2
include_once("/usr/share/psa-roundcube/config/config.inc.php");
3
4
$components = explode('.', $_SERVER["HTTP_HOST"]);
5
6
if (count($components) > 2) {
7
array_shift($components);
8
}
9
10
$domain = implode('.', $components);
11
12
$config['session_domain'] = $_SERVER["HTTP_HOST"];
13
$config['username_domain'] = $domain;
14
15
$config['support_url'] = "https://www.plesk.com/support/";
16
17
$config['product_name'] = "Plesk Premium Email, powered by Kolab";
18
19
$config['default_host'] = "localhost";
20
$config['default_port'] = 9143;
21
22
$config['smtp_server'] = "localhost";
23
$config['smtp_port'] = 25;
24
$config['smtp_user'] = '%u';
25
$config['smtp_pass'] = '%p';
26
$config['smtp_helo_host'] = $_SERVER["HTTP_HOST"];
27
28
$config['use_secure_urls'] = true;
29
$config['force_https'] = true;
30
31
$config['assets_path'] = "/assets/";
32
33
$config['assets_dir'] = "/usr/share/roundcubemail/public_html/assets/";
34
35
$config['imap_cache'] = "db";
36
$config['imap_cache_ttl'] = "10d";
37
38
$config['message_cache'] = null;
39
40
$config['session_storage'] = "db";
41
42
$config['skin'] = "plesk";
43
44
$config['auto_create_user'] = true;
45
46
$config['enable_installer'] = false;
47
48
$config['plugins'] = Array(
49
'acl',
50
'archive',
51
'calendar',
52
'jqueryui',
53
'kolab_activesync',
54
'kolab_addressbook',
55
'kolab_config',
56
//'kolab_delegation',
57
'kolab_files',
58
'kolab_folders',
59
'kolab_notes',
60
'kolab_tags',
61
'libkolab',
62
'libcalendaring',
63
'managesieve',
64
'markasjunk',
65
'newmail_notifier',
66
'odfviewer',
67
'password',
68
'pdfviewer',
69
'tasklist',
70
'contextmenu',
71
);
72
73
$config['kolabdav_plugins'] = Array(
74
'libcalendaring',
75
'libkolab'
76
);
77
78
$config['skip_deleted'] = true;
79
80
$config['read_when_deleted'] = true;
81
$config['flag_for_deletion'] = true;
82
$config['delete_always'] = true;
83
84
$config['session_lifetime'] = 180;
85
$config['password_charset'] = 'UTF-8';
86
$config['useragent'] = 'Kolab 16/Roundcube ' . RCUBE_VERSION;
87
$config['refresh_interval'] = 300;
88
$config['check_all_folders'] = false;
89
$config['dont_override'] = Array(
90
'check_all_folders',
91
'refresh_interval',
92
'skin'
93
);
94
95
$config['message_sort_col'] = 'date';
96
$config['default_list_mode'] = 'threads';
97
$config['autoexpand_threads'] = 2;
98
99
$config['message_sort_col'] = 'date';
100
$config['default_list_mode'] = 'threads';
101
$config['autoexpand_threads'] = 2;
102
103
$config['spellcheck_engine'] = 'pspell';
104
$config['spellcheck_dictionary'] = true;
105
$config['spellcheck_ignore_caps'] = true;
106
$config['spellcheck_ignore_nums'] = true;
107
$config['spellcheck_ignore_syms'] = true;
108
$config['spellcheck_languages'] = array(
109
'da' => 'Dansk',
110
'de' => 'Deutsch',
111
'en' => 'English',
112
'es' => 'Español',
113
'fr' => 'Français',
114
'it' => 'Italiano',
115
'nl' => 'Nederlands',
116
'pt' => 'Português',
117
'ru' => 'Русский',
118
'sv' => 'Svenska'
119
);
120
121
$config['undo_timeout'] = 10;
122
$config['upload_progress'] = 2;
123
$config['address_template'] = '{street}<br/>{locality} {zipcode}<br/>{country} {region}';
124
$config['preview_pane'] = true;
125
$config['preview_pane_mark_read'] = 0;
126
127
// Bottom posting for reply mode
128
$config['reply_mode'] = 0;
129
$config['sig_above'] = false;
130
$config['mdn_requests'] = 0;
131
$config['mdn_default'] = false;
132
$config['dsn_default'] = false;
133
$config['reply_same_folder'] = false;
134
135
$config['performance_stats'] = true;
136
137
$config['archive_mbox'] = 'Archive';
138
$config['drafts_mbox'] = 'Drafts';
139
$config['junk_mbox'] = 'INBOX.Spam';
140
$config['sent_mbox'] = 'Sent';
141
$config['trash_mbox'] = 'Trash';
142
143
$config['create_default_folders'] = true;
144
$config['protect_default_folders'] = true;
145
146
$config['default_folders'] = Array(
147
'INBOX',
148
'Archive',
149
'Drafts',
150
'Sent',
151
'INBOX.Spam',
152
'Trash'
153
);
154
155
$config['skin_include_php'] = false;
156
$config['mime_magic'] = null;
157
$config['im_identify_path'] = '/usr/bin/identify';
158
$config['im_convert_path'] = '/usr/bin/convert';
159
$config['log_dir'] = 'logs/';
160
$config['temp_dir'] = '/tmp';
161
162
$config['log_driver'] = 'file';
163
$config['log_date_format'] = 'Y-M-d H:i:s O';
164
$config['syslog_id'] = 'roundcube';
165
$config['syslog_facility'] = LOG_USER;
166
$config['smtp_log'] = true;
167
$config['log_logins'] = true;
168
$config['log_session'] = true;
169
$config['debug_level'] = 1;
170
$config['devel_mode'] = false;
171
$config['sql_debug'] = false;
172
$config['memcache_debug'] = false;
173
$config['imap_debug'] = false;
174
$config['ldap_debug'] = false;
175
$config['smtp_debug'] = false;
176
177
$config['fileapi_backend'] = "kolab";
178
$config['fileapi_plugins'] = Array('kolab_folders');
179
$config['fileapi_manticore'] = false;
180
$config['fileapi_wopi_office'] = false;
181
182
$config['imap_conn_options'] = Array(
183
'ssl' => Array(
184
'verify_peer' => FALSE,
185
'verify_peer_name' => FALSE
186
)
187
);
188
189
$config['smtp_conn_options'] = Array(
190
'ssl' => Array(
191
'verify_peer' => FALSE,
192
'verify_peer_name' => FALSE
193
)
194
);
195
196
@include('/etc/roundcubemail/kolab_syncroton.inc.php');
197
198
if (file_exists(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/'. basename(__FILE__))) {
199
@include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/'. basename(__FILE__));
200
}
201
202
// Additional options for Plesk Premium Email - Free
203
if (file_exists(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/freemium.inc.php')) {
204
@include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/freemium.inc.php');
205
}
206
207
// Integration between Plesk Premium Email and Collabora Online extensions
208
if (file_exists(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/collabora.inc.php')) {
209
@include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/collabora.inc.php');
210
}
211
212
// Integration between Plesk Premium Email and Mattermost extensions
213
if (file_exists(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/mattermost.inc.php')) {
214
@include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/mattermost.inc.php');
215
}
216
217
// Integration between Plesk Premium Email and Seafile extensions
218
if (file_exists(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/seafile.inc.php')) {
219
@include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/seafile.inc.php');
220
}
221
222
@include('/etc/roundcubemail/licensing.inc.php');
223