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