Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 455 lines (348 sloc) 18.299 kB
4e17e6c @thomascube Initial revision
thomascube authored
1 <?php
2
3 /*
4 +-----------------------------------------------------------------------+
5 | Main configuration file |
6 | |
7 | This file is part of the RoundCube Webmail client |
cbbef37 @till * bumping up copyright (happy new year ;-))
till authored
8 | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland |
52c1f28 @thomascube Minor bugfixes and SMTP support
thomascube authored
9 | Licensed under the GNU GPL |
4e17e6c @thomascube Initial revision
thomascube authored
10 | |
11 +-----------------------------------------------------------------------+
12
13 */
14
15 $rcmail_config = array();
16
968bdc7 @thomascube Improved SMTP script for sending mails. Now using the PEAR::Net_SMTP …
thomascube authored
17 // system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
13c1afb @thomascube Fixed some charset bugs
thomascube authored
18 $rcmail_config['debug_level'] = 1;
4e17e6c @thomascube Initial revision
thomascube authored
19
b77d0dd @alecpl - added options to use syslog instead of log file (#1484850)
alecpl authored
20 // log driver: 'syslog' or 'file'.
21 $rcmail_config['log_driver'] = 'file';
22
0ad27c3 @alecpl - Added log_date_format option (#1485709)
alecpl authored
23 // date format for log entries
24 // (read http://php.net/manual/en/function.date.php for all format characters)
25 $rcmail_config['log_date_format'] = 'd-M-Y H:i:s O';
26
b77d0dd @alecpl - added options to use syslog instead of log file (#1484850)
alecpl authored
27 // Syslog ident string to use, if using the 'syslog' log driver.
28 $rcmail_config['syslog_id'] = 'roundcube';
29
30 // Syslog facility to use, if using the 'syslog' log driver.
31 // For possible values see installer or http://php.net/manual/en/function.openlog.php
32 $rcmail_config['syslog_facility'] = LOG_USER;
33
a91c9ba @alecpl #1485307: typos fixed
alecpl authored
34 // use this folder to store log files (must be writeable for apache user)
b77d0dd @alecpl - added options to use syslog instead of log file (#1484850)
alecpl authored
35 // This is used by the 'file' log driver.
36 $rcmail_config['log_dir'] = 'logs/';
37
38 // use this folder to store temp files (must be writeable for apache user)
39 $rcmail_config['temp_dir'] = 'temp/';
40
7dbe2fa @alecpl - get rid of 'plugins_dir' option, plugins directory must be in Round…
alecpl authored
41 // List of active plugins (in plugins/ directory)
cc97ea0 @thomascube Merged branch devel-api (from r2208 to r2387) back into trunk (omitti…
thomascube authored
42 $rcmail_config['plugins'] = array();
43
6dc0269 @thomascube Make message caching configurable
thomascube authored
44 // enable caching of messages and mailbox data in the local database.
45 // this is recommended if the IMAP server does not run on the same machine
9e2a7af @alecpl - set enable_caching=false by default
alecpl authored
46 $rcmail_config['enable_caching'] = FALSE;
6dc0269 @thomascube Make message caching configurable
thomascube authored
47
cc95700 @thomascube Added message cache garbage collector
thomascube authored
48 // lifetime of message cache
49 // possible units: s, m, h, d, w
50 $rcmail_config['message_cache_lifetime'] = '10d';
51
f5d61d8 @thomascube Revert r3038 and allow to specify the port as value of force_https
thomascube authored
52 // enforce connections over https
53 // with this option enabled, all non-secure connections will be redirected.
54 // set the port for the ssl connection as value of this option if it differs from the default 443
55 $rcmail_config['force_https'] = FALSE;
56
7902df4 @thomascube Fixed SSL support; improved Courier compatibility; some visual enhanc…
thomascube authored
57 // automatically create a new RoundCube user when log-in the first time.
7cc38e0 @thomascube Added Finnish, Romanian and Chinese translation
thomascube authored
58 // a new user will be created once the IMAP login succeeds.
4e17e6c @thomascube Initial revision
thomascube authored
59 // set to false if only registered users can use this service
60 $rcmail_config['auto_create_user'] = TRUE;
61
62 // the mail host chosen to perform the log-in
63 // leave blank to show a textbox at login, give a list of hosts
42b1135 @thomascube Several bugfixes and feature improvements
thomascube authored
64 // to display a pulldown menu or set one host as string.
f86e8f5 @alecpl - Support STARTTLS in IMAP connection (#1485284)
alecpl authored
65 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
4e17e6c @thomascube Initial revision
thomascube authored
66 $rcmail_config['default_host'] = '';
67
42b1135 @thomascube Several bugfixes and feature improvements
thomascube authored
68 // TCP port used for IMAP connections
69 $rcmail_config['default_port'] = 143;
70
aec031c @thomascube Better description of imap_auth_type option
thomascube authored
71 // IMAP auth type. Can be "auth" (CRAM-MD5), "plain" (PLAIN) or "check" to auto detect.
72 // Optional, defaults to "check"
b026c3b @thomascube Make IMAP auth type configurable (#1483825)
thomascube authored
73 $rcmail_config['imap_auth_type'] = null;
74
030c848 @alecpl - Performance: allow setting imap rootdir and delimiter before connec…
alecpl authored
75 // If you know your imap's root directory and its folder delimiter,
230f944 @thomascube Allow empty strings for imap_root config parameter (was changed in r2…
thomascube authored
76 // you can specify them here. Otherwise they will be determined automatically.
030c848 @alecpl - Performance: allow setting imap rootdir and delimiter before connec…
alecpl authored
77 $rcmail_config['imap_root'] = null;
78 $rcmail_config['imap_delimiter'] = null;
79
0566adc @thomascube Include host-specific configuration file
thomascube authored
80 // Automatically add this domain to user names for login
81 // Only for IMAP servers that require full e-mail addresses for login
82 // Specify an array with 'host' => 'domain' values to support multiple hosts
83 $rcmail_config['username_domain'] = '';
84
977a295 @thomascube Usage of virtusertable; mail_domain for new users; Chinese and Turkis…
thomascube authored
85 // This domain will be used to form e-mail addresses of new users
86 // Specify an array with 'host' => 'domain' values to support multiple hosts
13c1afb @thomascube Fixed some charset bugs
thomascube authored
87 $rcmail_config['mail_domain'] = '';
977a295 @thomascube Usage of virtusertable; mail_domain for new users; Chinese and Turkis…
thomascube authored
88
89 // Path to a virtuser table file to resolve user names and e-mail addresses
90 $rcmail_config['virtuser_file'] = '';
91
f88d417 @thomascube Applied several patches
thomascube authored
92 // Query to resolve user names and e-mail addresses from the database
93 // %u will be replaced with the current username for login.
1301e98 @alecpl - Support initial identity name from virtuser_query (#1484003)
alecpl authored
94 // The query should select the user's e-mail address as first column
95 // and optional identity name as second column
f88d417 @thomascube Applied several patches
thomascube authored
96 $rcmail_config['virtuser_query'] = '';
97
4e17e6c @thomascube Initial revision
thomascube authored
98 // use this host for sending mails.
fd8c506 @thomascube SMTPS support and minor bugfixes
thomascube authored
99 // to use SSL connection, set ssl://smtp.host.com
4e17e6c @thomascube Initial revision
thomascube authored
100 // if left blank, the PHP mail() function is used
72cd3c1 @alecpl - Support %h variable in 'smtp_server' option (#1485766)
alecpl authored
101 // Use %h variable as replacement for user's IMAP hostname
4e17e6c @thomascube Initial revision
thomascube authored
102 $rcmail_config['smtp_server'] = '';
103
fd8c506 @thomascube SMTPS support and minor bugfixes
thomascube authored
104 // SMTP port (default is 25; 465 for SSL)
968bdc7 @thomascube Improved SMTP script for sending mails. Now using the PEAR::Net_SMTP …
thomascube authored
105 $rcmail_config['smtp_port'] = 25;
106
d206c1f added smtp auth method setting through config file
svncommit authored
107 // SMTP username (if required) if you use %u as the username RoundCube
108 // will use the current username for login
4e17e6c @thomascube Initial revision
thomascube authored
109 $rcmail_config['smtp_user'] = '';
110
d206c1f added smtp auth method setting through config file
svncommit authored
111 // SMTP password (if required) if you use %p as the password RoundCube
112 // will use the current user's password for login
4e17e6c @thomascube Initial revision
thomascube authored
113 $rcmail_config['smtp_pass'] = '';
114
d206c1f added smtp auth method setting through config file
svncommit authored
115 // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
116 // best server supported one)
117 $rcmail_config['smtp_auth_type'] = '';
118
aca3d25 Make smtp HELO/EHLO hostname configurable (closes #1484067)
svncommit authored
119 // SMTP HELO host
120 // Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages
121 // Leave this blank and you will get the server variable 'server_name' or
122 // localhost if that isn't defined.
123 $rcmail_config['smtp_helo_host'] = '';
124
4e17e6c @thomascube Initial revision
thomascube authored
125 // Log sent messages
126 $rcmail_config['smtp_log'] = TRUE;
127
d559cba @alecpl - Added 'imap_debug' option, described 'sql_debug' option in config file
alecpl authored
128 // Log SQL queries to <log_dir>/sql or to syslog
129 $rcmail_config['sql_debug'] = false;
130
131 // Log IMAP conversation to <log_dir>/imap or to syslog
132 $rcmail_config['imap_debug'] = false;
133
0102742 @alecpl - Added 'ldap_debug' option + small change to not rely on rcube_confi…
alecpl authored
134 // Log LDAP conversation to <log_dir>/ldap or to syslog
135 $rcmail_config['ldap_debug'] = false;
136
19862b5 @alecpl - added 'smtp_debug' option
alecpl authored
137 // Log SMTP conversation to <log_dir>/smtp or to syslog
138 $rcmail_config['smtp_debug'] = false;
139
95d90f8 @alecpl - Added 'keep_alive' and 'min_keep_alive' options (#1485360)
alecpl authored
140 // How many seconds must pass between emails sent by a user
acb08f5 @alecpl - Added 'sendmail_delay' option to restrict messages sending interval…
alecpl authored
141 $rcmail_config['sendmail_delay'] = 0;
142
d59aaa1 @alecpl - Allow setting attachment col position in 'list_cols' option
alecpl authored
143 // These cols are shown in the message list. Available cols are:
58687d0 @thomascube Be more tolerant when splitting strings + remove col that we don't ha…
thomascube authored
144 // subject, from, to, cc, replyto, date, size, flag, attachment
d59aaa1 @alecpl - Allow setting attachment col position in 'list_cols' option
alecpl authored
145 $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size', 'flag', 'attachment');
4e17e6c @thomascube Initial revision
thomascube authored
146
95d90f8 @alecpl - Added 'keep_alive' and 'min_keep_alive' options (#1485360)
alecpl authored
147 // Includes should be interpreted as PHP files
e9ac143 @thomascube Copy changes from r892 and r903
thomascube authored
148 $rcmail_config['skin_include_php'] = FALSE;
5eee009 @thomascube Allow vars and PHP code in templates; improved page title; fixed #148…
thomascube authored
149
95d90f8 @alecpl - Added 'keep_alive' and 'min_keep_alive' options (#1485360)
alecpl authored
150 // Session lifetime in minutes
151 // must be greater than 'keep_alive'/60
7902df4 @thomascube Fixed SSL support; improved Courier compatibility; some visual enhanc…
thomascube authored
152 $rcmail_config['session_lifetime'] = 10;
153
4e17e6c @thomascube Initial revision
thomascube authored
154 // check client IP in session athorization
aad6e2a @thomascube New session authentication, should fix bugs #1483951 and #1484299; te…
thomascube authored
155 $rcmail_config['ip_check'] = false;
156
157 // Use an additional frequently changing cookie to athenticate user sessions.
158 // There have been problems reported with this feature.
159 $rcmail_config['double_auth'] = false;
4e17e6c @thomascube Initial revision
thomascube authored
160
bac7d17 @thomascube Fixed bugs #1364122, #1468895, ticket #1483811 and other minor bugs
thomascube authored
161 // this key is used to encrypt the users imap password which is stored
162 // in the session record (and the client cookie if remember password is enabled).
163 // please provide a string of exactly 24 chars.
164 $rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str';
165
c8ae249 @thomascube Auto-detect client language and timezone if desired by config/prefs
thomascube authored
166 // the default locale setting (leave empty for auto-detection)
167 // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
168 $rcmail_config['language'] = null;
4e17e6c @thomascube Initial revision
thomascube authored
169
b6b5934 @alecpl - Support strftime's format modifiers in date_* options (#1484806)
alecpl authored
170 // use this format for short date display (date or strftime format)
4e17e6c @thomascube Initial revision
thomascube authored
171 $rcmail_config['date_short'] = 'D H:i';
172
b6b5934 @alecpl - Support strftime's format modifiers in date_* options (#1484806)
alecpl authored
173 // use this format for detailed date/time formatting (date or strftime format)
4e17e6c @thomascube Initial revision
thomascube authored
174 $rcmail_config['date_long'] = 'd.m.Y H:i';
175
b6b5934 @alecpl - Support strftime's format modifiers in date_* options (#1484806)
alecpl authored
176 // use this format for today's date display (date or strftime format)
8c8b2a4 Allow 12 hour date to display for emails sent today (Doug Mandell).
svncommit authored
177 $rcmail_config['date_today'] = 'H:i';
178
4e17e6c @thomascube Initial revision
thomascube authored
179 // add this user-agent to message headers when sending
4d97074 @thomascube Little config improvements
thomascube authored
180 $rcmail_config['useragent'] = 'RoundCube Webmail/'.RCMAIL_VERSION;
4e17e6c @thomascube Initial revision
thomascube authored
181
15a9d1c @thomascube Optimized loading time; added periodic mail check; added EXPUNGE command
thomascube authored
182 // use this name to compose page titles
183 $rcmail_config['product_name'] = 'RoundCube Webmail';
184
1966c53 Added Drafts support (Feature #1326839) (richs)
svncommit authored
185 // store draft message is this mailbox
186 // leave blank if draft messages should not be stored
187 $rcmail_config['drafts_mbox'] = 'Drafts';
188
b4b0817 Workaround for drag-drop using whitespace in FF, Junk emptying, misc …
svncommit authored
189 // store spam messages in this mailbox
190 $rcmail_config['junk_mbox'] = 'Junk';
191
4e17e6c @thomascube Initial revision
thomascube authored
192 // store sent message is this mailbox
193 // leave blank if sent messages should not be stored
194 $rcmail_config['sent_mbox'] = 'Sent';
195
196 // move messages to this folder when deleting them
197 // leave blank if they should be deleted directly
198 $rcmail_config['trash_mbox'] = 'Trash';
199
fa4cd20 @thomascube Several bugfixes; see CHANGELOG for details
thomascube authored
200 // display these folders separately in the mailbox list.
83ce4bb @thomascube Correct/clarify installation hints
thomascube authored
201 // these folders will also be displayed with localized names
4e17e6c @thomascube Initial revision
thomascube authored
202 $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
203
b2ff3d4 @thomascube Don't create default folders by default
thomascube authored
204 // automatically create the above listed default folders on login
205 $rcmail_config['create_default_folders'] = FALSE;
206
c8c1e0e Renameable folders, mail-checking changes, other fixes (richs)
svncommit authored
207 // protect the default folders from renames, deletes, and subscription changes
208 $rcmail_config['protect_default_folders'] = TRUE;
209
876b15d @alecpl - Added option 'quota_zero_as_unlimited' (#1484604)
alecpl authored
210 // if in your system 0 quota means no limit set this option to TRUE
211 $rcmail_config['quota_zero_as_unlimited'] = FALSE;
212
0ea8840 @thomascube Make sending of read receipts configurable
thomascube authored
213 // Behavior if a received message requests a message delivery notification (read receipt)
214 // 0 = ask the user, 1 = send automatically, 2 = ignore (never send or ask)
215 $rcmail_config['mdn_requests'] = 0;
216
967b342 @thomascube Disable installer by default; add config option to enable it again
thomascube authored
217 // Use this charset as fallback for message decoding
17b5fb7 @thomascube Add configurable default charset for message decoding
thomascube authored
218 $rcmail_config['default_charset'] = 'ISO-8859-1';
219
9960666 @thomascube Added support for Nox Spell Server; plus small bugfixes
thomascube authored
220 // Make use of the built-in spell checker. It is based on GoogieSpell.
e9ac143 @thomascube Copy changes from r892 and r903
thomascube authored
221 // Since Google only accepts connections over https your PHP installatation
222 // requires to be compiled with Open SSL support
ed5d29f @thomascube Finalized GoogieSpell integration
thomascube authored
223 $rcmail_config['enable_spellcheck'] = TRUE;
224
5d2b7fd @thomascube Added pspell support patch by Kris Steinhoff (#1483960)
thomascube authored
225 // Set the spell checking engine. 'googie' is the default. 'pspell' is also available,
226 // but requires the Pspell extensions. When using Nox Spell Server, also set 'googie' here.
227 $rcmail_config['spellcheck_engine'] = 'googie';
228
9960666 @thomascube Added support for Nox Spell Server; plus small bugfixes
thomascube authored
229 // For a locally installed Nox Spell Server, please specify the URI to call it.
230 // Get Nox Spell Server from http://orangoo.com/labs/?page_id=72
231 // Leave empty to use the Google spell checking service, what means
232 // that the message content will be sent to Google in order to check spelling
233 $rcmail_config['spellcheck_uri'] = '';
234
235 // These languages can be selected for spell checking.
236 // Configure as a PHP style hash array: array('en'=>'English', 'de'=>'Deutsch');
01a8c54 @thomascube Applied patch for pspell language configuration (#1485822)
thomascube authored
237 // Leave empty for default set of available language.
9960666 @thomascube Added support for Nox Spell Server; plus small bugfixes
thomascube authored
238 $rcmail_config['spellcheck_languages'] = NULL;
239
4b0f65a @thomascube Fixed minor bugs
thomascube authored
240 // path to a text file which will be added to each sent message
241 // paths are relative to the RoundCube root folder
242 $rcmail_config['generic_message_footer'] = '';
243
967b342 @thomascube Disable installer by default; add config option to enable it again
thomascube authored
244 // add a received header to outgoing mails containing the creators IP and hostname
245 $rcmail_config['http_received_header'] = false;
246
2471d3a @alecpl - Added possibility to encrypt received header, option 'http_received…
alecpl authored
247 // Whether or not to encrypt the IP address and the host name
248 // these could, in some circles, be considered as sensitive information;
249 // however, for the administrator, these could be invaluable help
250 // when tracking down issues.
251 $rcmail_config['http_received_header_encrypt'] = false;
252
4b0f65a @thomascube Fixed minor bugs
thomascube authored
253 // this string is used as a delimiter for message headers when sending
4647e1b @thomascube Started implementing search function
thomascube authored
254 // leave empty for auto-detection
255 $rcmail_config['mail_header_delimiter'] = NULL;
b076a46 @thomascube Finished message sorting and fixed some skin issues
thomascube authored
256
aec82bd @till * introduced session_domain
till authored
257 // session domain: .example.org
258 $rcmail_config['session_domain'] = '';
259
6153e20 @alecpl - Option 'use_SQL_address_book' replaced by 'address_book_type'
alecpl authored
260 // This indicates which type of address book to use. Possible choises:
261 // 'sql' (default) and 'ldap'.
262 // If set to 'ldap' then it will look at using the first writable LDAP
4f9c833 /tmp/out
svncommit authored
263 // address book as the primary address book and it will not display the
264 // SQL address book in the 'Address Book' view.
6153e20 @alecpl - Option 'use_SQL_address_book' replaced by 'address_book_type'
alecpl authored
265 $rcmail_config['address_book_type'] = 'sql';
4f9c833 /tmp/out
svncommit authored
266
267 // In order to enable public ldap search, configure an array like the Verisign
268 // example further below. if you would like to test, simply uncomment the example.
5f25a1a @thomascube Merge ldap_public with autocomplete_addressbooks settings + fix confi…
thomascube authored
269 $rcmail_config['ldap_public'] = array();
270
4f9c833 /tmp/out
svncommit authored
271 //
272 // If you are going to use LDAP for individual address books, you will need to
273 // set 'user_specific' to true and use the variables to generate the appropriate DNs to access it.
274 //
275 // The recommended directory structure for LDAP is to store all the address book entries
276 // under the users main entry, e.g.:
277 //
278 // o=root
279 // ou=people
280 // uid=user@domain
3b9a53f @thomascube Make ldap config template easier to uncomment
thomascube authored
281 // mail=contact@contactdomain
282 //
4f9c833 /tmp/out
svncommit authored
283 // So the base_dn would be uid=%fu,ou=people,o=root
284 // The bind_dn would be the same as based_dn or some super user login.
3b9a53f @thomascube Make ldap config template easier to uncomment
thomascube authored
285 /*
f115416 @thomascube Merged branch devel-addressbook from r443 back to trunk
thomascube authored
286 * example config for Verisign directory
eea43f7 better explanation of ldap_public in config file. changed check for l…
svncommit authored
287 *
3b9a53f @thomascube Make ldap config template easier to uncomment
thomascube authored
288 $rcmail_config['ldap_public']['Verisign'] = array(
289 'name' => 'Verisign.com',
290 'hosts' => array('directory.verisign.com'),
291 'port' => 389,
292 'use_tls' => false,
293 'user_specific' => false, // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login.
294 // %fu - The full username provided, assumes the username is an email
295 // address, uses the username_domain value if not an email address.
296 // %u - The username prior to the '@'.
297 // %d - The domain name after the '@'.
298 'base_dn' => '',
299 'bind_dn' => '',
300 'bind_pass' => '',
301 'writable' => false, // Indicates if we can write to the LDAP directory or not.
302 // If writable is true then these fields need to be populated:
303 // LDAP_Object_Classes, required_fields, LDAP_rdn
304 'LDAP_Object_Classes' => array("top", "inetOrgPerson"), // To create a new contact these are the object classes to specify (or any other classes you wish to use).
305 'required_fields' => array("cn", "sn", "mail"), // The required fields needed to build a new contact as required by the object classes (can include additional fields not required by the object classes).
306 'LDAP_rdn' => 'mail', // The RDN field that is used for new entries, this field needs to be one of the search_fields, the base of base_dn is appended to the RDN to insert into the LDAP directory.
307 'ldap_version' => 3, // using LDAPv3
308 'search_fields' => array('mail', 'cn'), // fields to search in
309 'name_field' => 'cn', // this field represents the contact's name
310 'email_field' => 'mail', // this field represents the contact's e-mail
311 'surname_field' => 'sn', // this field represents the contact's last name
312 'firstname_field' => 'gn', // this field represents the contact's first name
313 'sort' => 'cn', // The field to sort the listing by.
314 'scope' => 'sub', // search mode: sub|base|list
315 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act
316 'fuzzy_search' => true); // server allows wildcard search
317 */
d1d2c4f adding files and modifications for public ldap search
svncommit authored
318
2c8e84c @thomascube Do serverside addressbook queries for autocompletion (#1485531) + mak…
thomascube authored
319 // An ordered array of the ids of the addressbooks that should be searched
320 // when populating address autocomplete fields server-side. ex: array('sql','Verisign');
321 $rcmail_config['autocomplete_addressbooks'] = array('sql');
322
b190970 @thomascube Introducing preview pane and conditional skin tags
thomascube authored
323 // don't allow these settings to be overriden by the user
324 $rcmail_config['dont_override'] = array();
325
ec01712 @alecpl - Added option 'identities_level', removed 'multiple_identities'
alecpl authored
326 // Set identities access level:
327 // 0 - many identities with possibility to edit all params
328 // 1 - many identities with possibility to edit all params but not email address
329 // 2 - one identity with possibility to edit all params
330 // 3 - one identity with possibility to edit all params but not email address
331 $rcmail_config['identities_level'] = 0;
f645ce1 @thomascube Redesign of the identities settings + add config option to disable mu…
thomascube authored
332
9606ffb @thomascube Changed behavior to include host-specific configuration (Bug #1483849)
thomascube authored
333 // try to load host-specific configuration
2ca388d @thomascube Call load_host_config() and add reference to Howto_Config (#1485040)
thomascube authored
334 // see http://trac.roundcube.net/wiki/Howto_Config for more details
967b342 @thomascube Disable installer by default; add config option to enable it again
thomascube authored
335 $rcmail_config['include_host_config'] = false;
336
fe6b7ae @alecpl some options moved outside user preferences section
alecpl authored
337 // don't let users set pagesize to more than this value if set
338 $rcmail_config['max_pagesize'] = 200;
339
340 // mime magic database
341 $rcmail_config['mime_magic'] = '/usr/share/misc/magic';
342
343 // default sort col
344 $rcmail_config['message_sort_col'] = 'date';
345
346 // default sort order
347 $rcmail_config['message_sort_order'] = 'DESC';
348
967b342 @thomascube Disable installer by default; add config option to enable it again
thomascube authored
349 // THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG DATA.
350 // ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING!
351 $rcmail_config['enable_installer'] = false;
9606ffb @thomascube Changed behavior to include host-specific configuration (Bug #1483849)
thomascube authored
352
166b615 @alecpl - Added option to disable displaying of attached images below the mes…
alecpl authored
353 // Log successful logins
354 $rcmail_config['log_logins'] = false;
355
356 /**
357 * 'Delete always'
358 * This setting reflects if mail should be always marked as deleted,
359 * even if moving to "Trash" fails. This is necessary in some setups
360 * because a) people may not have a Trash folder or b) they are over
361 * quota (and Trash is included in the quota).
362 *
363 * This is a failover setting for iil_C_Move when a message is moved
d1a8d0f @till * removed (probably stale) reference to config option, #1485415
till authored
364 * to the Trash.
166b615 @alecpl - Added option to disable displaying of attached images below the mes…
alecpl authored
365 */
366 $rcmail_config['delete_always'] = false;
367
95d90f8 @alecpl - Added 'keep_alive' and 'min_keep_alive' options (#1485360)
alecpl authored
368 // Minimal value of user's 'keep_alive' setting (in seconds)
369 // Must be less than 'session_lifetime'
370 $rcmail_config['min_keep_alive'] = 60;
371
e4acbbd @alecpl - Added server-side e-mail address validation with 'email_dns_check' …
alecpl authored
372 // Enable DNS checking for e-mail address validation
373 $rcmail_config['email_dns_check'] = false;
374
4e17e6c @thomascube Initial revision
thomascube authored
375 /***** these settings can be overwritten by user's preferences *****/
376
67effe9 @alecpl - actually we don't need default_skin option
alecpl authored
377 // skin name: folder from skins/
378 $rcmail_config['skin'] = 'default';
e58df3a @alecpl - Added option to select skin in user preferences (#1485031)
alecpl authored
379
4e17e6c @thomascube Initial revision
thomascube authored
380 // show up to X items in list view
381 $rcmail_config['pagesize'] = 40;
382
383 // use this timezone to display date/time
c8ae249 @thomascube Auto-detect client language and timezone if desired by config/prefs
thomascube authored
384 $rcmail_config['timezone'] = 'auto';
4e17e6c @thomascube Initial revision
thomascube authored
385
5349b78 Update copyright notice
svncommit authored
386 // is daylight saving On?
d7d6638 @thomascube Use server's timezone for defaults (#1484288)
thomascube authored
387 $rcmail_config['dst_active'] = (bool)date('I');
4647e1b @thomascube Started implementing search function
thomascube authored
388
4e17e6c @thomascube Initial revision
thomascube authored
389 // prefer displaying HTML messages
390 $rcmail_config['prefer_html'] = TRUE;
391
2a41355 @alecpl - Added 'show_images' option, removed 'addrbook_show_images' (#1485597)
alecpl authored
392 // display remote inline images
393 // 0 - Never, always ask
394 // 1 - Ask if sender is not in address book
395 // 2 - Always show inline images
396 $rcmail_config['show_images'] = 0;
712b30d @alecpl - Added option to display images in messages from known senders (#148…
alecpl authored
397
b190970 @thomascube Introducing preview pane and conditional skin tags
thomascube authored
398 // compose html formatted messages by default
45a470a @till * tinymce has some issues (especially in the IE department), enable o…
till authored
399 $rcmail_config['htmleditor'] = FALSE;
b190970 @thomascube Introducing preview pane and conditional skin tags
thomascube authored
400
30233b8 @thomascube Minor bugfixes and correction of confusing License notfications
thomascube authored
401 // show pretty dates as standard
402 $rcmail_config['prettydate'] = TRUE;
403
d656f1c @thomascube Made automatic draft saving configurable
thomascube authored
404 // save compose message every 300 seconds (5min)
405 $rcmail_config['draft_autosave'] = 300;
0566adc @thomascube Include host-specific configuration file
thomascube authored
406
b190970 @thomascube Introducing preview pane and conditional skin tags
thomascube authored
407 // default setting if preview pane is enabled
408 $rcmail_config['preview_pane'] = FALSE;
409
06343d1 @alecpl - Added option focus_on_new_message (#1485374)
alecpl authored
410 // focus new window if new message arrives
411 $rcmail_config['focus_on_new_message'] = true;
412
eaa3947 @alecpl #1483863: empty trash and expunge inbox on logout
alecpl authored
413 // Clear Trash on logout
414 $rcmail_config['logout_purge'] = FALSE;
415
416 // Compact INBOX on logout
417 $rcmail_config['logout_expunge'] = FALSE;
418
166b615 @alecpl - Added option to disable displaying of attached images below the mes…
alecpl authored
419 // Display attached images below the message body
420 $rcmail_config['inline_images'] = TRUE;
5e0045b Add option to log successful logins.
svncommit authored
421
ffae15e @alecpl - Added 'mime_param_folding' option with possibility to choose
alecpl authored
422 // Encoding of long/non-ascii attachment names:
423 // 0 - Full RFC 2231 compatible
424 // 1 - RFC 2047 for 'name' and RFC 2231 for 'filename' parameter (Thunderbird's default)
425 // 2 - Full 2047 compatible
21c277e @alecpl - set mime_param_folding to '1' by default
alecpl authored
426 $rcmail_config['mime_param_folding'] = 1;
ffae15e @alecpl - Added 'mime_param_folding' option with possibility to choose
alecpl authored
427
2b58528 @alecpl - some option moved to user prefs section
alecpl authored
428 // Set TRUE if deleted messages should not be displayed
429 // This will make the application run slower
430 $rcmail_config['skip_deleted'] = FALSE;
431
432 // Set true to Mark deleted messages as read as well as deleted
433 // False means that a message's read status is not affected by marking it as deleted
434 $rcmail_config['read_when_deleted'] = TRUE;
435
119cd17 @alecpl - add 'Deleted' to search filter
alecpl authored
436 // Set to TRUE to newer delete messages immediately
437 // Use 'Purge' to remove messages marked as deleted
2b58528 @alecpl - some option moved to user prefs section
alecpl authored
438 $rcmail_config['flag_for_deletion'] = FALSE;
439
95d90f8 @alecpl - Added 'keep_alive' and 'min_keep_alive' options (#1485360)
alecpl authored
440 // Default interval for keep-alive/check-recent requests (in seconds)
441 // Must be greater than or equal to 'min_keep_alive' and less than 'session_lifetime'
442 $rcmail_config['keep_alive'] = 60;
443
2fd9750 @thomascube Option to check for new mails in all folders (#1484374)
thomascube authored
444 // If true all folders will be checked for recent messages
445 $rcmail_config['check_all_folders'] = FALSE;
446
e54bb72 @alecpl - Added 'display_next' option
alecpl authored
447 // If true, after message delete/move, the next message will be displayed
448 $rcmail_config['display_next'] = FALSE;
449
1cead0c @alecpl - sorting by message index - added 'index_sort' option (#1485936)
alecpl authored
450 // If true, messages list will be sorted by message index instead of message date
451 $rcmail_config['index_sort'] = TRUE;
452
4e17e6c @thomascube Initial revision
thomascube authored
453 // end of config file
1966c53 Added Drafts support (Feature #1326839) (richs)
svncommit authored
454 ?>
Something went wrong with that request. Please try again.