File plesk.config.inc.php of Package roundcubemail (Revision c331a02bd4462bf216a9e3fb21b40d4e)

Currently displaying revision c331a02bd4462bf216a9e3fb21b40d4e , Show latest

180
 
1
<?php
2
    include_once("/usr/share/psa-roundcube/config/config.inc.php");
3
4
/*  Incompatible with the stock installation
5
6
    $components = explode('.', $_SERVER["HTTP_HOST"]);
7
8
    if (count($components) > 2) {
9
        array_shift($components);
10
    }
11
12
    $domain = implode('.', $components);
13
    $config['session_domain'] = $domain;
14
*/
15
    $config['support_url'] = "https://www.plesk.com/support/";
16
17
    $config['product_name'] = "Plesk Premium Mail, powered by Kolab";
18
19
    $config['default_host'] = "localhost";
20
    $config['default_port'] = 143;
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
30
    $config['assets_path'] = "/assets/";
31
32
    $config['assets_dir'] = "/usr/share/roundcubemail/public_html/assets/";
33
34
    $config['imap_cache'] = "db";
35
    $config['imap_cache_ttl'] = "10d";
36
37
    $config['message_cache'] = null;
38
39
    $config['session_storage'] = "db";
40
41
    $config['skin'] = "plesk";
42
43
    $config['auto_create_user'] = true;
44
45
    $config['enable_installer'] = false;
46
47
    $config['plugins'] = Array(
48
            'acl',
49
            'archive',
50
            'calendar',
51
            'jqueryui',
52
            'kolab_activesync',
53
            'kolab_addressbook',
54
            'kolab_config',
55
            //'kolab_delegation',
56
            'kolab_files',
57
            'kolab_folders',
58
            'kolab_notes',
59
            'kolab_tags',
60
            'libkolab',
61
            'libcalendaring',
62
            'managesieve',
63
            'markasjunk',
64
            'newmail_notifier',
65
            'odfviewer',
66
            'password',
67
            'pdfviewer',
68
            'tasklist',
69
            'contextmenu',
70
        );
71
72
    $config['activesync_plugins'] = Array(
73
            'libcalendaring',
74
            'libkolab'
75
        );
76
77
    $config['kolabdav_plugins'] = Array(
78
            'libcalendaring',
79
            'libkolab'
80
        );
81
82
    $config['skip_deleted'] = true;
83
84
    $config['read_when_deleted'] = true;
85
    $config['flag_for_deletion'] = true;
86
    $config['delete_always'] = true;
87
88
    $config['session_lifetime'] = 180;
89
    $config['password_charset'] = 'UTF-8';
90
    $config['useragent'] = 'Kolab 16/Roundcube ' . RCUBE_VERSION;
91
    $config['refresh_interval'] = 300;
92
    $config['check_all_folders'] = false;
93
    $config['dont_override'] = Array(
94
            'check_all_folders',
95
            'refresh_interval',
96
            'skin'
97
        );
98
99
    $config['message_sort_col'] = 'date';
100
    $config['default_list_mode'] = 'threads';
101
    $config['autoexpand_threads'] = 2;
102
103
    $config['message_sort_col'] = 'date';
104
    $config['default_list_mode'] = 'threads';
105
    $config['autoexpand_threads'] = 2;
106
107
    $config['spellcheck_engine'] = 'pspell';
108
    $config['spellcheck_dictionary'] = true;
109
    $config['spellcheck_ignore_caps'] = true;
110
    $config['spellcheck_ignore_nums'] = true;
111
    $config['spellcheck_ignore_syms'] = true;
112
    $config['spellcheck_languages'] = array(
113
            'da' => 'Dansk',
114
            'de' => 'Deutsch',
115
            'en' => 'English',
116
            'es' => 'Español',
117
            'fr' => 'Français',
118
            'it' => 'Italiano',
119
            'nl' => 'Nederlands',
120
            'pl' => 'Polski',
121
            'pt' => 'Português',
122
            'ru' => 'Русский',
123
            'fi' => 'Suomi',
124
            'sv' => 'Svenska'
125
        );
126
127
    $config['undo_timeout'] = 10;
128
    $config['upload_progress'] = 2;
129
    $config['address_template'] = '{street}<br/>{locality} {zipcode}<br/>{country} {region}';
130
    $config['preview_pane'] = true;
131
    $config['preview_pane_mark_read'] = 0;
132
133
    // Bottom posting for reply mode
134
    $config['reply_mode'] = 0;
135
    $config['sig_above'] = false;
136
    $config['mdn_requests'] = 0;
137
    $config['mdn_default'] = false;
138
    $config['dsn_default'] = false;
139
    $config['reply_same_folder'] = false;
140
141
    $config['performance_stats'] = true;
142
143
    $config['drafts_mbox'] = 'Drafts';
144
    $config['junk_mbox'] = 'Spam';
145
    $config['sent_mbox'] = 'Sent';
146
    $config['trash_mbox'] = 'Trash';
147
148
    $config['skin_include_php'] = false;
149
    $config['mime_magic'] = null;
150
    $config['im_identify_path'] = '/usr/bin/identify';
151
    $config['im_convert_path'] = '/usr/bin/convert';
152
    $config['log_dir'] = 'logs/';
153
    $config['temp_dir'] = '/tmp';
154
155
    $config['archive_mbox'] = 'Archive';
156
    $config['junk_mbox'] = 'Spam';
157
    $config['default_folders'] = array('INBOX', 'Archive', 'Drafts', 'Sent', 'Spam', 'Trash');
158
159
    $config['log_driver'] = 'file';
160
    $config['log_date_format'] = 'Y-M-d H:i:s O';
161
    $config['syslog_id'] = 'roundcube';
162
    $config['syslog_facility'] = LOG_USER;
163
    $config['smtp_log'] = true;
164
    $config['log_logins'] = true;
165
    $config['log_session'] = true;
166
    $config['debug_level'] = 1;
167
    $config['devel_mode'] = false;
168
    $config['sql_debug'] = false;
169
    $config['memcache_debug'] = false;
170
    $config['imap_debug'] = false;
171
    $config['ldap_debug'] = false;
172
    $config['smtp_debug'] = false;
173
174
    $config['fileapi_backend'] = "kolab";
175
    $config['fileapi_plugins'] = Array('kolab_folders');
176
    $config['fileapi_manticore'] = false;
177
    $config['fileapi_wopi_office'] = false;
178
179
    @include('/etc/roundcubemail/licensing.inc.php');
180