Thomas Bruederli
2013-10-04 92d18cf32edab81ac77f547cfa718cf28a573c92
commit | author | age
4e17e6 1 <?php
T 2
3 /*
4  +-----------------------------------------------------------------------+
acc005 5  | Main configuration file with default settings                         |
4e17e6 6  |                                                                       |
e019f2 7  | This file is part of the Roundcube Webmail client                     |
acc005 8  | Copyright (C) 2005-2013, The Roundcube Dev Team                       |
7fe381 9  |                                                                       |
T 10  | Licensed under the GNU General Public License version 3 or            |
11  | any later version with exceptions for skins & plugins.                |
12  | See the README file for a full license statement.                     |
4e17e6 13  +-----------------------------------------------------------------------+
T 14 */
15
acc005 16 $config = array();
AM 17
18 // ----------------------------------
19 // SQL DATABASE
20 // ----------------------------------
21
22 // Database connection string (DSN) for read+write operations
23 // Format (compatible with PEAR MDB2): db_provider://user:password@host/database
24 // Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
25 // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
26 // NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
9bacb2 27 $config['db_dsnw'] = 'mysql://roundcube:@localhost/roundcubemail';
acc005 28
AM 29 // Database DSN for read-only operations (if empty write database will be used)
30 // useful for database replication
31 $config['db_dsnr'] = '';
32
92d18c 33 // Disable the use of already established dsnw connections for subsequent reads
TB 34 $config['db_dsnw_noread'] = false;
35
acc005 36 // use persistent db-connections
AM 37 // beware this will not "always" work as expected
38 // see: http://www.php.net/manual/en/features.persistent-connections.php
39 $config['db_persistent'] = false;
40
41 // you can define specific table (and sequence) names prefix
42 $config['db_prefix'] = '';
43
4e17e6 44
2d08c5 45 // ----------------------------------
A 46 // LOGGING/DEBUGGING
47 // ----------------------------------
48
e077c1 49 // system error reporting, sum of: 1 = log; 4 = show, 8 = trace
acc005 50 $config['debug_level'] = 1;
4e17e6 51
b77d0d 52 // log driver:  'syslog' or 'file'.
acc005 53 $config['log_driver'] = 'file';
b77d0d 54
0ad27c 55 // date format for log entries
A 56 // (read http://php.net/manual/en/function.date.php for all format characters)  
acc005 57 $config['log_date_format'] = 'd-M-Y H:i:s O';
0ad27c 58
b77d0d 59 // Syslog ident string to use, if using the 'syslog' log driver.
acc005 60 $config['syslog_id'] = 'roundcube';
b77d0d 61
A 62 // Syslog facility to use, if using the 'syslog' log driver.
63 // For possible values see installer or http://php.net/manual/en/function.openlog.php
acc005 64 $config['syslog_facility'] = LOG_USER;
b77d0d 65
3e3429 66 // Log sent messages to <log_dir>/sendmail or to syslog
acc005 67 $config['smtp_log'] = true;
b77d0d 68
060467 69 // Log successful/failed logins to <log_dir>/userlogins or to syslog
acc005 70 $config['log_logins'] = false;
b77d0d 71
fcc7f8 72 // Log session authentication errors to <log_dir>/session or to syslog
acc005 73 $config['log_session'] = false;
fcc7f8 74
2d08c5 75 // Log SQL queries to <log_dir>/sql or to syslog
acc005 76 $config['sql_debug'] = false;
cc97ea 77
2d08c5 78 // Log IMAP conversation to <log_dir>/imap or to syslog
acc005 79 $config['imap_debug'] = false;
6dc026 80
2d08c5 81 // Log LDAP conversation to <log_dir>/ldap or to syslog
acc005 82 $config['ldap_debug'] = false;
cc9570 83
2d08c5 84 // Log SMTP conversation to <log_dir>/smtp or to syslog
acc005 85 $config['smtp_debug'] = false;
f5d61d 86
2d08c5 87 // ----------------------------------
A 88 // IMAP
89 // ----------------------------------
4e17e6 90
768e33 91 // The mail host chosen to perform the log-in.
AM 92 // Leave blank to show a textbox at login, give a list of hosts
42b113 93 // to display a pulldown menu or set one host as string.
f86e8f 94 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
bb8721 95 // Supported replacement variables:
d359dc 96 // %n - hostname ($_SERVER['SERVER_NAME'])
B 97 // %t - hostname without the first part
98 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
b04c51 99 // %s - domain name after the '@' from e-mail address provided at login screen
d359dc 100 // For example %n = mail.domain.tld, %t = domain.tld
768e33 101 // WARNING: After hostname change update of mail_host column in users table is
AM 102 //          required to match old user data records with the new host.
9bacb2 103 $config['default_host'] = 'localhost';
4e17e6 104
42b113 105 // TCP port used for IMAP connections
acc005 106 $config['default_port'] = 143;
42b113 107
00f347 108 // IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null to use
4dd417 109 // best server supported one)
acc005 110 $config['imap_auth_type'] = null;
b026c3 111
00290a 112 // If you know your imap's folder delimiter, you can specify it here.
A 113 // Otherwise it will be determined automatically
acc005 114 $config['imap_delimiter'] = null;
030c84 115
00290a 116 // If IMAP server doesn't support NAMESPACE extension, but you're
A 117 // using shared folders or personal root folder is non-empty, you'll need to
118 // set these options. All can be strings or arrays of strings.
e3af1f 119 // Folders need to be ended with directory separator, e.g. "INBOX."
A 120 // (special directory "~" is an exception to this rule)
02491a 121 // These can be used also to overwrite server's namespaces
acc005 122 $config['imap_ns_personal'] = null;
AM 123 $config['imap_ns_other']    = null;
124 $config['imap_ns_shared']   = null;
00290a 125
d8c440 126 // By default IMAP capabilities are readed after connection to IMAP server
A 127 // In some cases, e.g. when using IMAP proxy, there's a need to refresh the list
128 // after login. Set to True if you've got this case.
acc005 129 $config['imap_force_caps'] = false;
d8c440 130
f75f65 131 // By default list of subscribed folders is determined using LIST-EXTENDED
A 132 // extension if available. Some servers (dovecot 1.x) returns wrong results
133 // for shared namespaces in this case. http://trac.roundcube.net/ticket/1486225
134 // Enable this option to force LSUB command usage instead.
ed3e51 135 // Deprecated: Use imap_disabled_caps = array('LIST-EXTENDED')
acc005 136 $config['imap_force_lsub'] = false;
f75f65 137
3c5489 138 // Some server configurations (e.g. Courier) doesn't list folders in all namespaces
AM 139 // Enable this option to force listing of folders in all namespaces
acc005 140 $config['imap_force_ns'] = false;
3c5489 141
ed3e51 142 // List of disabled imap extensions.
AM 143 // Use if your IMAP server has broken implementation of some feature
144 // and you can't remove it from CAPABILITY string on server-side.
145 // For example UW-IMAP server has broken ESEARCH.
146 // Note: Because the list is cached, re-login is required after change.
7c6848 147 $config['imap_disabled_caps'] = array();
ed3e51 148
bc94e2 149 // IMAP connection timeout, in seconds. Default: 0 (use default_socket_timeout)
acc005 150 $config['imap_timeout'] = 0;
f07d23 151
a1fe6b 152 // Optional IMAP authentication identifier to be used as authorization proxy
acc005 153 $config['imap_auth_cid'] = null;
a1fe6b 154
A 155 // Optional IMAP authentication password to be used for imap_auth_cid
acc005 156 $config['imap_auth_pw'] = null;
a1fe6b 157
8edb3d 158 // Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
acc005 159 $config['imap_cache'] = null;
5cf5ee 160
A 161 // Enables messages cache. Only 'db' cache is supported.
acc005 162 $config['messages_cache'] = false;
5cf5ee 163
61ccdf 164 // Lifetime of IMAP indexes cache. Possible units: s, m, h, d, w
acc005 165 $config['imap_cache_ttl'] = '10d';
61ccdf 166
67ac6e 167 // Lifetime of messages cache. Possible units: s, m, h, d, w
acc005 168 $config['messages_cache_ttl'] = '10d';
5cf5ee 169
21601b 170 // Maximum cached message size in kilobytes.
AM 171 // Note: On MySQL this should be less than (max_allowed_packet - 30%)
172 $config['messages_cache_threshold'] = 50;
173
174
2d08c5 175 // ----------------------------------
A 176 // SMTP
177 // ----------------------------------
f88d41 178
c3b676 179 // SMTP server host (for sending mails).
2d08c5 180 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
c3b676 181 // If left blank, the PHP mail() function is used
bb8721 182 // Supported replacement variables:
A 183 // %h - user's IMAP hostname
d359dc 184 // %n - hostname ($_SERVER['SERVER_NAME'])
B 185 // %t - hostname without the first part
186 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
11be93 187 // %z - IMAP domain (IMAP hostname without the first part)
d359dc 188 // For example %n = mail.domain.tld, %t = domain.tld
acc005 189 $config['smtp_server'] = '';
4e17e6 190
e52aae 191 // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
T 192 // deprecated SSL over SMTP (aka SMTPS))
acc005 193 $config['smtp_port'] = 25;
968bdc 194
e019f2 195 // SMTP username (if required) if you use %u as the username Roundcube
d206c1 196 // will use the current username for login
acc005 197 $config['smtp_user'] = '';
4e17e6 198
e019f2 199 // SMTP password (if required) if you use %p as the password Roundcube
d206c1 200 // will use the current user's password for login
acc005 201 $config['smtp_pass'] = '';
4e17e6 202
d206c1 203 // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
S 204 // best server supported one)
acc005 205 $config['smtp_auth_type'] = '';
d206c1 206
63d4d6 207 // Optional SMTP authentication identifier to be used as authorization proxy
acc005 208 $config['smtp_auth_cid'] = null;
63d4d6 209
a1fe6b 210 // Optional SMTP authentication password to be used for smtp_auth_cid
acc005 211 $config['smtp_auth_pw'] = null;
a39212 212
aca3d2 213 // SMTP HELO host 
S 214 // Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages 
215 // Leave this blank and you will get the server variable 'server_name' or 
b07426 216 // localhost if that isn't defined.
acc005 217 $config['smtp_helo_host'] = '';
aca3d2 218
bc94e2 219 // SMTP connection timeout, in seconds. Default: 0 (use default_socket_timeout)
cd9e41 220 // Note: There's a known issue where using ssl connection with
AM 221 // timeout > 0 causes connection errors (https://bugs.php.net/bug.php?id=54511)
acc005 222 $config['smtp_timeout'] = 0;
b07426 223
AM 224 // ----------------------------------
225 // LDAP
226 // ----------------------------------
227
228 // Type of LDAP cache. Supported values: 'db', 'apc' and 'memcache'.
acc005 229 $config['ldap_cache'] = 'db';
b07426 230
AM 231 // Lifetime of LDAP cache. Possible units: s, m, h, d, w
acc005 232 $config['ldap_cache_ttl'] = '10m';
f07d23 233
2d08c5 234 // ----------------------------------
A 235 // SYSTEM
236 // ----------------------------------
64608b 237
2d08c5 238 // THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG DATA.
A 239 // ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING!
acc005 240 $config['enable_installer'] = false;
4e17e6 241
e04e31 242 // don't allow these settings to be overriden by the user
acc005 243 $config['dont_override'] = array();
e04e31 244
c04b23 245 // provide an URL where a user can get support for this Roundcube installation
T 246 // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
acc005 247 $config['support_url'] = '';
c04b23 248
T 249 // replace Roundcube logo with this image
250 // specify an URL relative to the document root of this Roundcube installation
d81d69 251 // an array can be used to specify different logos for specific template files, '*' for default logo
P 252 // for example array("*" => "/images/roundcube_logo.png", "messageprint" => "/images/roundcube_logo_print.png")
acc005 253 $config['skin_logo'] = null;
c04b23 254
T 255 // automatically create a new Roundcube user when log-in the first time.
256 // a new user will be created once the IMAP login succeeds.
257 // set to false if only registered users can use this service
acc005 258 $config['auto_create_user'] = true;
c04b23 259
565c47 260 // Enables possibility to log in using email address from user identities
acc005 261 $config['user_aliases'] = false;
565c47 262
2d08c5 263 // use this folder to store log files (must be writeable for apache user)
A 264 // This is used by the 'file' log driver.
acc005 265 $config['log_dir'] = 'logs/';
d559cb 266
2d08c5 267 // use this folder to store temp files (must be writeable for apache user)
acc005 268 $config['temp_dir'] = 'temp/';
19862b 269
de8687 270 // expire files in temp_dir after 48 hours
DC 271 // possible units: s, m, h, d, w
272 $config['temp_dir_ttl'] = '48h';
273
2d08c5 274 // enforce connections over https
A 275 // with this option enabled, all non-secure connections will be redirected.
276 // set the port for the ssl connection as value of this option if it differs from the default 443
acc005 277 $config['force_https'] = false;
acb08f 278
00e18b 279 // tell PHP that it should work as under secure connection
A 280 // even if it doesn't recognize it as secure ($_SERVER['HTTPS'] is not set)
281 // e.g. when you're running Roundcube behind a https proxy
377bc6 282 // this option is mutually exclusive to 'force_https' and only either one of them should be set to true.
acc005 283 $config['use_https'] = false;
00e18b 284
1cca4f 285 // Allow browser-autocompletion on login form.
A 286 // 0 - disabled, 1 - username and host only, 2 - username, host, password
acc005 287 $config['login_autocomplete'] = 0;
fbe24e 288
c72325 289 // Forces conversion of logins to lower case.
AM 290 // 0 - disabled, 1 - only domain part, 2 - domain and local part.
df95e7 291 // If users authentication is case-insensitive this must be enabled.
AM 292 // Note: After enabling it all user records need to be updated, e.g. with query:
293 //       UPDATE users SET username = LOWER(username);
acc005 294 $config['login_lc'] = 2;
ae39c4 295
95d90f 296 // Includes should be interpreted as PHP files
acc005 297 $config['skin_include_php'] = false;
fd8c50 298
b6267d 299 // display software version on login screen
acc005 300 $config['display_version'] = false;
b6267d 301
95d90f 302 // Session lifetime in minutes
acc005 303 $config['session_lifetime'] = 10;
7902df 304
ae7027 305 // Session domain: .example.org
acc005 306 $config['session_domain'] = '';
cf2da2 307
ae7027 308 // Session name. Default: 'roundcube_sessid'
acc005 309 $config['session_name'] = null;
bd34ca 310
8d2963 311 // Session authentication cookie name. Default: 'roundcube_sessauth'
TB 312 $config['session_auth_name'] = null;
313
ae7027 314 // Session path. Defaults to PHP session.cookie_path setting.
acc005 315 $config['session_path'] = null;
ae7027 316
42de33 317 // Backend to use for session storage. Can either be 'db' (default), 'memcache' or 'php'
TB 318 // If set to 'memcache', a list of servers need to be specified in 'memcache_hosts'
63e992 319 // Make sure the Memcache extension (http://pecl.php.net/package/memcache) version >= 2.0.0 is installed
42de33 320 // Setting this value to 'php' will use the default session save handler configured in PHP
acc005 321 $config['session_storage'] = 'db';
63e992 322
T 323 // Use these hosts for accessing memcached
71ee56 324 // Define any number of hosts in the form of hostname:port or unix:///path/to/socket.file
acc005 325 $config['memcache_hosts'] = null; // e.g. array( 'localhost:11211', '192.168.1.12:11211', 'unix:///var/tmp/memcached.sock' );
63e992 326
4e17e6 327 // check client IP in session athorization
acc005 328 $config['ip_check'] = false;
4e17e6 329
a77cf2 330 // check referer of incoming requests
acc005 331 $config['referer_check'] = false;
a77cf2 332
c170bf 333 // X-Frame-Options HTTP header value sent to prevent from Clickjacking.
T 334 // Possible values: sameorigin|deny. Set to false in order to disable sending them
acc005 335 $config['x_frame_options'] = 'sameorigin';
c170bf 336
bac7d1 337 // this key is used to encrypt the users imap password which is stored
T 338 // in the session record (and the client cookie if remember password is enabled).
339 // please provide a string of exactly 24 chars.
acc005 340 $config['des_key'] = 'rcmail-!24ByteDESkey*Str';
bac7d1 341
2d08c5 342 // Automatically add this domain to user names for login
A 343 // Only for IMAP servers that require full e-mail addresses for login
344 // Specify an array with 'host' => 'domain' values to support multiple hosts
6a642d 345 // Supported replacement variables:
A 346 // %h - user's IMAP hostname
d359dc 347 // %n - hostname ($_SERVER['SERVER_NAME'])
B 348 // %t - hostname without the first part
349 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
11be93 350 // %z - IMAP domain (IMAP hostname without the first part)
d359dc 351 // For example %n = mail.domain.tld, %t = domain.tld
acc005 352 $config['username_domain'] = '';
2d08c5 353
96f59c 354 // Force domain configured in username_domain to be used for login.
AM 355 // Any domain in username will be replaced by username_domain.
356 $config['username_domain_forced'] = false;
357
2d08c5 358 // This domain will be used to form e-mail addresses of new users
A 359 // Specify an array with 'host' => 'domain' values to support multiple hosts
bb8721 360 // Supported replacement variables:
A 361 // %h - user's IMAP hostname
362 // %n - http hostname ($_SERVER['SERVER_NAME'])
363 // %d - domain (http hostname without the first part)
11be93 364 // %z - IMAP domain (IMAP hostname without the first part)
d359dc 365 // For example %n = mail.domain.tld, %t = domain.tld
acc005 366 $config['mail_domain'] = '';
2d08c5 367
A 368 // Password charset.
369 // Use it if your authentication backend doesn't support UTF-8.
370 // Defaults to ISO-8859-1 for backward compatibility
acc005 371 $config['password_charset'] = 'ISO-8859-1';
2d08c5 372
A 373 // How many seconds must pass between emails sent by a user
acc005 374 $config['sendmail_delay'] = 0;
2d08c5 375
751b22 376 // Maximum number of recipients per message. Default: 0 (no limit)
acc005 377 $config['max_recipients'] = 0; 
751b22 378
d1851b 379 // Maximum allowednumber of members of an address group. Default: 0 (no limit)
T 380 // If 'max_recipients' is set this value should be less or equal
acc005 381 $config['max_group_members'] = 0; 
d1851b 382
9bacb2 383 // Name your service. This is displayed on the login screen and in the window title
acc005 384 $config['product_name'] = 'Roundcube Webmail';
2d08c5 385
9bacb2 386 // Add this user-agent to message headers when sending
TB 387 $config['useragent'] = 'Roundcube Webmail/'.RCMAIL_VERSION;
2d08c5 388
A 389 // try to load host-specific configuration
390 // see http://trac.roundcube.net/wiki/Howto_Config for more details
acc005 391 $config['include_host_config'] = false;
2d08c5 392
A 393 // path to a text file which will be added to each sent message
e019f2 394 // paths are relative to the Roundcube root folder
acc005 395 $config['generic_message_footer'] = '';
2d08c5 396
5852c1 397 // path to a text file which will be added to each sent HTML message
e019f2 398 // paths are relative to the Roundcube root folder
acc005 399 $config['generic_message_footer_html'] = '';
5852c1 400
2d08c5 401 // add a received header to outgoing mails containing the creators IP and hostname
acc005 402 $config['http_received_header'] = false;
2d08c5 403
A 404 // Whether or not to encrypt the IP address and the host name
405 // these could, in some circles, be considered as sensitive information;
406 // however, for the administrator, these could be invaluable help
407 // when tracking down issues.
acc005 408 $config['http_received_header_encrypt'] = false;
2d08c5 409
ac8edb 410 // This string is used as a delimiter for message headers when sending
A 411 // a message via mail() function. Leave empty for auto-detection
acc005 412 $config['mail_header_delimiter'] = NULL;
2d08c5 413
6b6f2e 414 // number of chars allowed for line when wrapping text.
T 415 // text wrapping is done when composing/sending messages
acc005 416 $config['line_length'] = 72;
6b6f2e 417
T 418 // send plaintext messages as format=flowed
acc005 419 $config['send_format_flowed'] = true;
2d08c5 420
232535 421 // According to RFC2298, return receipt envelope sender address must be empty.
AM 422 // If this option is true, Roundcube will use user's identity as envelope sender for MDN responses.
acc005 423 $config['mdn_use_from'] = false;
232535 424
2d08c5 425 // Set identities access level:
A 426 // 0 - many identities with possibility to edit all params
427 // 1 - many identities with possibility to edit all params but not email address
428 // 2 - one identity with possibility to edit all params
429 // 3 - one identity with possibility to edit all params but not email address
f12585 430 // 4 - one identity with possibility to edit only signature
acc005 431 $config['identities_level'] = 0;
2d08c5 432
f7b58a 433 // Mimetypes supported by the browser.
T 434 // attachments of these types will open in a preview window
435 // either a comma-separated list or an array: 'text/plain,text/html,text/xml,image/jpeg,image/gif,image/png,application/pdf'
acc005 436 $config['client_mimetypes'] = null;  # null == default
f7b58a 437
0a8397 438 // Path to a local mime magic database file for PHPs finfo extension.
TB 439 // Set to null if the default path should be used.
acc005 440 $config['mime_magic'] = null;
0a8397 441
9e1605 442 // Absolute path to a local mime.types mapping table file.
0a8397 443 // This is used to derive mime-types from the filename extension or vice versa.
9e1605 444 // Such a file is usually part of the apache webserver. If you don't find a file named mime.types on your system,
TB 445 // download it from http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
acc005 446 $config['mime_types'] = null;
2d08c5 447
0501b6 448 // path to imagemagick identify binary
acc005 449 $config['im_identify_path'] = null;
0501b6 450
T 451 // path to imagemagick convert binary
acc005 452 $config['im_convert_path'] = null;
0501b6 453
031491 454 // Size of thumbnails from image attachments displayed below the message content.
TB 455 // Note: whether images are displayed at all depends on the 'inline_images' option.
456 // Set to 0 to display images in full size.
acc005 457 $config['image_thumbnail_size'] = 240;
031491 458
0501b6 459 // maximum size of uploaded contact photos in pixel
acc005 460 $config['contact_photo_size'] = 160;
0501b6 461
2d08c5 462 // Enable DNS checking for e-mail address validation
acc005 463 $config['email_dns_check'] = false;
2d08c5 464
e04e31 465 // Disables saving sent messages in Sent folder (like gmail) (Default: false)
AM 466 // Note: useful when SMTP server stores sent mail in user mailbox
acc005 467 $config['no_save_sent_messages'] = false;
e04e31 468
2d08c5 469 // ----------------------------------
A 470 // PLUGINS
471 // ----------------------------------
472
473 // List of active plugins (in plugins/ directory)
acc005 474 $config['plugins'] = array();
2d08c5 475
A 476 // ----------------------------------
477 // USER INTERFACE
478 // ----------------------------------
479
f52c93 480 // default messages sort column. Use empty value for default server's sorting, 
e0efd8 481 // or 'arrival', 'date', 'subject', 'from', 'to', 'fromto', 'size', 'cc'
acc005 482 $config['message_sort_col'] = '';
2d08c5 483
f52c93 484 // default messages sort order
acc005 485 $config['message_sort_order'] = 'DESC';
2d08c5 486
A 487 // These cols are shown in the message list. Available cols are:
e0efd8 488 // subject, from, to, fromto, cc, replyto, date, size, status, flag, attachment, 'priority'
acc005 489 $config['list_cols'] = array('subject', 'status', 'fromto', 'date', 'size', 'flag', 'attachment');
2d08c5 490
c8ae24 491 // the default locale setting (leave empty for auto-detection)
T 492 // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
acc005 493 $config['language'] = null;
4e17e6 494
1cc9e2 495 // use this format for date display (date or strftime format)
acc005 496 $config['date_format'] = 'Y-m-d';
1cc9e2 497
T 498 // give this choice of date formats to the user to select from
b32fab 499 // Note: do not use ambiguous formats like m/d/Y
AM 500 $config['date_formats'] = array('Y-m-d', 'Y/m/d', 'Y.m.d', 'd-m-Y', 'd/m/Y', 'd.m.Y', 'j.n.Y');
1cc9e2 501
T 502 // use this format for time display (date or strftime format)
acc005 503 $config['time_format'] = 'H:i';
1cc9e2 504
T 505 // give this choice of time formats to the user to select from
acc005 506 $config['time_formats'] = array('G:i', 'H:i', 'g:i a', 'h:i A');
1cc9e2 507
T 508 // use this format for short date display (derived from date_format and time_format)
acc005 509 $config['date_short'] = 'D H:i';
4e17e6 510
1cc9e2 511 // use this format for detailed date/time formatting (derived from date_format and time_format)
acc005 512 $config['date_long'] = 'Y-m-d H:i';
4e17e6 513
1966c5 514 // store draft message is this mailbox
S 515 // leave blank if draft messages should not be stored
d08333 516 // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
acc005 517 $config['drafts_mbox'] = 'Drafts';
1966c5 518
b4b081 519 // store spam messages in this mailbox
d08333 520 // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
acc005 521 $config['junk_mbox'] = 'Junk';
b4b081 522
4e17e6 523 // store sent message is this mailbox
T 524 // leave blank if sent messages should not be stored
d08333 525 // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
acc005 526 $config['sent_mbox'] = 'Sent';
4e17e6 527
T 528 // move messages to this folder when deleting them
529 // leave blank if they should be deleted directly
d08333 530 // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
acc005 531 $config['trash_mbox'] = 'Trash';
4e17e6 532
fa4cd2 533 // display these folders separately in the mailbox list.
83ce4b 534 // these folders will also be displayed with localized names
d08333 535 // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
acc005 536 $config['default_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
4e17e6 537
85e65c 538 // Disable localization of the default folder names listed above
acc005 539 $config['show_real_foldernames'] = false;
52deb1 540
95ebcd 541 // automatically create the above listed default folders on first login
acc005 542 $config['create_default_folders'] = false;
b2ff3d 543
c8c1e0 544 // protect the default folders from renames, deletes, and subscription changes
acc005 545 $config['protect_default_folders'] = true;
c8c1e0 546
2d08c5 547 // if in your system 0 quota means no limit set this option to true 
acc005 548 $config['quota_zero_as_unlimited'] = false;
876b15 549
996066 550 // Make use of the built-in spell checker. It is based on GoogieSpell.
e9ac14 551 // Since Google only accepts connections over https your PHP installatation
T 552 // requires to be compiled with Open SSL support
acc005 553 $config['enable_spellcheck'] = true;
ed5d29 554
66df08 555 // Enables spellchecker exceptions dictionary.
A 556 // Setting it to 'shared' will make the dictionary shared by all users.
acc005 557 $config['spellcheck_dictionary'] = false;
66df08 558
53a7b6 559 // Set the spell checking engine. 'googie' is the default.
AM 560 // 'pspell' and 'enchant' are also available, but they require
561 // PHP Pspell or Enchant extensions. When using Nox Spell Server, also set 'googie' here.
acc005 562 $config['spellcheck_engine'] = 'googie';
5d2b7f 563
996066 564 // For a locally installed Nox Spell Server, please specify the URI to call it.
T 565 // Get Nox Spell Server from http://orangoo.com/labs/?page_id=72
566 // Leave empty to use the Google spell checking service, what means
567 // that the message content will be sent to Google in order to check spelling
acc005 568 $config['spellcheck_uri'] = '';
996066 569
T 570 // These languages can be selected for spell checking.
571 // Configure as a PHP style hash array: array('en'=>'English', 'de'=>'Deutsch');
01a8c5 572 // Leave empty for default set of available language.
acc005 573 $config['spellcheck_languages'] = NULL;
996066 574
66df08 575 // Makes that words with all letters capitalized will be ignored (e.g. GOOGLE)
acc005 576 $config['spellcheck_ignore_caps'] = false;
66df08 577
A 578 // Makes that words with numbers will be ignored (e.g. g00gle)
acc005 579 $config['spellcheck_ignore_nums'] = false;
66df08 580
A 581 // Makes that words with symbols will be ignored (e.g. g@@gle)
acc005 582 $config['spellcheck_ignore_syms'] = false;
66df08 583
62c861 584 // Use this char/string to separate recipients when composing a new message
acc005 585 $config['recipients_separator'] = ',';
62c861 586
2d08c5 587 // don't let users set pagesize to more than this value if set
acc005 588 $config['max_pagesize'] = 200;
967b34 589
f22654 590 // Minimal value of user's 'refresh_interval' setting (in seconds)
acc005 591 $config['min_refresh_interval'] = 60;
2471d3 592
4171c5 593 // Enables files upload indicator. Requires APC installed and enabled apc.rfc1867 option.
A 594 // By default refresh time is set to 1 second. You can set this value to true
595 // or any integer value indicating number of seconds.
acc005 596 $config['upload_progress'] = false;
4171c5 597
63fda8 598 // Specifies for how many seconds the Undo button will be available
A 599 // after object delete action. Currently used with supporting address book sources.
600 // Setting it to 0, disables the feature.
acc005 601 $config['undo_timeout'] = 0;
63fda8 602
2d08c5 603 // ----------------------------------
A 604 // ADDRESSBOOK SETTINGS
605 // ----------------------------------
aec82b 606
6153e2 607 // This indicates which type of address book to use. Possible choises:
5526f9 608 // 'sql' (default), 'ldap' and ''.
6153e2 609 // If set to 'ldap' then it will look at using the first writable LDAP
4f9c83 610 // address book as the primary address book and it will not display the
S 611 // SQL address book in the 'Address Book' view.
5526f9 612 // If set to '' then no address book will be displayed or only the
JD 613 // addressbook which is created by a plugin (like CardDAV).
acc005 614 $config['address_book_type'] = 'sql';
4f9c83 615
S 616 // In order to enable public ldap search, configure an array like the Verisign
617 // example further below. if you would like to test, simply uncomment the example.
ecf295 618 // Array key must contain only safe characters, ie. a-zA-Z0-9_
acc005 619 $config['ldap_public'] = array();
5f25a1 620
4f9c83 621 // If you are going to use LDAP for individual address books, you will need to 
S 622 // set 'user_specific' to true and use the variables to generate the appropriate DNs to access it.
623 //
624 // The recommended directory structure for LDAP is to store all the address book entries
625 // under the users main entry, e.g.:
626 //
627 //  o=root
628 //   ou=people
629 //    uid=user@domain
3b9a53 630 //  mail=contact@contactdomain
T 631 //
4f9c83 632 // So the base_dn would be uid=%fu,ou=people,o=root
S 633 // The bind_dn would be the same as based_dn or some super user login.
3b9a53 634 /* 
f11541 635  * example config for Verisign directory
eea43f 636  *
acc005 637 $config['ldap_public']['Verisign'] = array(
3b9a53 638   'name'          => 'Verisign.com',
bb8721 639   // Replacement variables supported in host names:
A 640   // %h - user's IMAP hostname
d359dc 641   // %n - hostname ($_SERVER['SERVER_NAME'])
B 642   // %t - hostname without the first part
643   // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
11be93 644   // %z - IMAP domain (IMAP hostname without the first part)
d359dc 645   // For example %n = mail.domain.tld, %t = domain.tld
3b9a53 646   'hosts'         => array('directory.verisign.com'),
T 647   'port'          => 389,
c64bee 648   'use_tls'       => false,
0c5210 649   'ldap_version'  => 3,       // using LDAPv3
e114a6 650   'network_timeout' => 10,    // The timeout (in seconds) for connect + bind arrempts. This is only supported in PHP >= 5.3.0 with OpenLDAP 2.x
3b9a53 651   'user_specific' => false,   // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login.
221b40 652   // When 'user_specific' is enabled following variables can be used in base_dn/bind_dn config:
3b9a53 653   // %fu - The full username provided, assumes the username is an email
T 654   //       address, uses the username_domain value if not an email address.
655   // %u  - The username prior to the '@'.
656   // %d  - The domain name after the '@'.
f76765 657   // %dc - The domain name hierarchal string e.g. "dc=test,dc=domain,dc=com"
1148c6 658   // %dn - DN found by ldap search when search_filter/search_base_dn are used
3b9a53 659   'base_dn'       => '',
T 660   'bind_dn'       => '',
661   'bind_pass'     => '',
1148c6 662   // It's possible to bind for an individual address book
A 663   // The login name is used to search for the DN to bind with
664   'search_base_dn' => '',
665   'search_filter'  => '',   // e.g. '(&(objectClass=posixAccount)(uid=%u))'
2d08ec 666   // DN and password to bind as before searching for bind DN, if anonymous search is not allowed
A 667   'search_bind_dn' => '',
668   'search_bind_pw' => '',
c041d5 669   // Default for %dn variable if search doesn't return DN value
A 670   'search_dn_default' => '',
4d982d 671   // Optional authentication identifier to be used as SASL authorization proxy
A 672   // bind_dn need to be empty
673   'auth_cid'       => '',
674   // SASL authentication method (for proxy auth), e.g. DIGEST-MD5
675   'auth_method'    => '',
2d3e2b 676   // Indicates if the addressbook shall be hidden from the list.
5c9d1f 677   // With this option enabled you can still search/view contacts.
A 678   'hidden'        => false,
2d3e2b 679   // Indicates if the addressbook shall not list contacts but only allows searching.
T 680   'searchonly'    => false,
0c5210 681   // Indicates if we can write to the LDAP directory or not.
3b9a53 682   // If writable is true then these fields need to be populated:
T 683   // LDAP_Object_Classes, required_fields, LDAP_rdn
0c5210 684   'writable'       => false,
A 685   // To create a new contact these are the object classes to specify
686   // (or any other classes you wish to use).
687   'LDAP_Object_Classes' => array('top', 'inetOrgPerson'),
688   // The RDN field that is used for new entries, this field needs
689   // to be one of the search_fields, the base of base_dn is appended
690   // to the RDN to insert into the LDAP directory.
ca3d76 691   'LDAP_rdn'       => 'cn',
0c5210 692   // The required fields needed to build a new contact as required by
A 693   // the object classes (can include additional fields not required by the object classes).
694   'required_fields' => array('cn', 'sn', 'mail'),
695   'search_fields'   => array('mail', 'cn'),  // fields to search in
696   // mapping of contact fields to directory attributes
a605b2 697   //   for every attribute one can specify the number of values (limit) allowed.
T 698   //   default is 1, a wildcard * means unlimited
0c5210 699   'fieldmap' => array(
a605b2 700     // Roundcube  => LDAP:limit
0501b6 701     'name'        => 'cn',
T 702     'surname'     => 'sn',
703     'firstname'   => 'givenName',
b2c3c3 704     'jobtitle'    => 'title',
a605b2 705     'email'       => 'mail:*',
0501b6 706     'phone:home'  => 'homePhone',
T 707     'phone:work'  => 'telephoneNumber',
708     'phone:mobile' => 'mobile',
ca3d76 709     'phone:pager' => 'pager',
e43cc4 710     'phone:workfax' => 'facsimileTelephoneNumber',
0501b6 711     'street'      => 'street',
T 712     'zipcode'     => 'postalCode',
ca3d76 713     'region'      => 'st',
0501b6 714     'locality'    => 'l',
a605b2 715     // if you country is a complex object, you need to configure 'sub_fields' below
T 716     'country'      => 'c',
b563fc 717     'organization' => 'o',
a605b2 718     'department'   => 'ou',
T 719     'jobtitle'     => 'title',
720     'notes'        => 'description',
e43cc4 721     'photo'        => 'jpegPhoto',
a605b2 722     // these currently don't work:
T 723     // 'manager'       => 'manager',
724     // 'assistant'     => 'secretary',
0501b6 725   ),
a605b2 726   // Map of contact sub-objects (attribute name => objectClass(es)), e.g. 'c' => 'country'
T 727   'sub_fields' => array(),
3f250a 728   // Generate values for the following LDAP attributes automatically when creating a new record
TB 729   'autovalues' => array(
730   // 'uid'  => 'md5(microtime())',               // You may specify PHP code snippets which are then eval'ed 
731   // 'mail' => '{givenname}.{sn}@mydomain.com',  // or composite strings with placeholders for existing attributes
732   ),
a6d418 733   'sort'           => 'cn',         // The field to sort the listing by.
TB 734   'scope'          => 'sub',        // search mode: sub|base|list
735   'filter'         => '(objectClass=inetOrgPerson)',      // used for basic listing (if not empty) and will be &'d with search queries. example: status=act
736   'fuzzy_search'   => true,         // server allows wildcard search
737   'vlv'            => false,        // Enable Virtual List View to more efficiently fetch paginated data (if server supports it)
738   'vlv_search'     => false,        // Use Virtual List View functions for autocompletion searches (if server supports it)
739   'numsub_filter'  => '(objectClass=organizationalUnit)',   // with VLV, we also use numSubOrdinates to query the total number of records. Set this filter to get all numSubOrdinates attributes for counting
740   'config_root_dn' => 'cn=config',  // Root DN to search config entries (e.g. vlv indexes)
741   'sizelimit'      => '0',          // Enables you to limit the count of entries fetched. Setting this to 0 means no limit.
742   'timelimit'      => '0',          // Sets the number of seconds how long is spend on the search. Setting this to 0 means no limit.
743   'referrals'      => false,        // Sets the LDAP_OPT_REFERRALS option. Mostly used in multi-domain Active Directory setups
d1e08f 744
T 745   // definition for contact groups (uncomment if no groups are supported)
746   // for the groups base_dn, the user replacements %fu, %u, $d and %dc work as for base_dn (see above)
747   // if the groups base_dn is empty, the contact base_dn is used for the groups as well
15d762 748   // -> in this case, assure that groups and contacts are separated due to the concernig filters! 
a6d418 749   'groups'  => array(
TB 750     'base_dn'        => '',
751     'scope'          => 'sub',       // Search mode: sub|base|list
752     'filter'         => '(objectClass=groupOfNames)',
d1e08f 753     'object_classes' => array("top", "groupOfNames"),
a6d418 754     'member_attr'    => 'member',   // Name of the member attribute, e.g. uniqueMember
TB 755     'name_attr'      => 'cn',       // Attribute to be used as group name
756     'member_filter'  => '(objectclass=*)',  // Optional filter to use when querying for group members
757     'vlv'            => false,      // Use VLV controls to list groups
6039aa 758   ),
e43cc4 759   // this configuration replaces the regular groups listing in the directory tree with
TB 760   // a hard-coded list of groups, each listing entries with the configured base DN and filter.
761   // if the 'groups' option from above is set, it'll be shown as the first entry with the name 'Groups'
762   'group_filters' => array(
763     'departments' => array(
764       'name'    => 'Company Departments',
765       'scope'   => 'list',
766       'base_dn' => 'ou=Groups,dc=mydomain,dc=com',
767       'filter'  => '(|(objectclass=groupofuniquenames)(objectclass=groupofurls))',
9eaf68 768       'name_attr' => 'cn',
e43cc4 769     ),
TB 770     'customers' => array(
771       'name'    => 'Customers',
772       'scope'   => 'sub',
773       'base_dn' => 'ou=Customers,dc=mydomain,dc=com',
774       'filter'  => '(objectClass=inetOrgPerson)',
9eaf68 775       'name_attr' => 'sn',
e43cc4 776     ),
2c8e84 777   ),
T 778 );
779 */
c296b8 780
A 781 // An ordered array of the ids of the addressbooks that should be searched
782 // when populating address autocomplete fields server-side. ex: array('sql','Verisign');
acc005 783 $config['autocomplete_addressbooks'] = array('sql');
b19097 784
c296b8 785 // The minimum number of characters required to be typed in an autocomplete field
A 786 // before address books will be searched. Most useful for LDAP directories that
787 // may need to do lengthy results building given overly-broad searches
acc005 788 $config['autocomplete_min_length'] = 1;
c296b8 789
0213f8 790 // Number of parallel autocomplete requests.
A 791 // If there's more than one address book, n parallel (async) requests will be created,
792 // where each request will search in one address book. By default (0), all address
793 // books are searched in one request.
acc005 794 $config['autocomplete_threads'] = 0;
0213f8 795
A 796 // Max. numer of entries in autocomplete popup. Default: 15.
acc005 797 $config['autocomplete_max'] = 15;
0213f8 798
0501b6 799 // show address fields in this order
T 800 // available placeholders: {street}, {locality}, {zipcode}, {country}, {region}
acc005 801 $config['address_template'] = '{street}<br/>{locality} {zipcode}<br/>{country} {region}';
0501b6 802
f21a04 803 // Matching mode for addressbook search (including autocompletion)
A 804 // 0 - partial (*abc*), default
805 // 1 - strict (abc)
806 // 2 - prefix (abc*)
807 // Note: For LDAP sources fuzzy_search must be enabled to use 'partial' or 'prefix' mode
acc005 808 $config['addressbook_search_mode'] = 0;
f21a04 809
2d08c5 810 // ----------------------------------
A 811 // USER PREFERENCES
812 // ----------------------------------
4e17e6 813
e55ab0 814 // Use this charset as fallback for message decoding
acc005 815 $config['default_charset'] = 'ISO-8859-1';
e55ab0 816
67effe 817 // skin name: folder from skins/
acc005 818 $config['skin'] = 'larry';
e58df3 819
3863a9 820 // Enables using standard browser windows (that can be handled as tabs)
AM 821 // instead of popup windows
acc005 822 $config['standard_windows'] = false;
3863a9 823
08ffd9 824 // show up to X items in messages list view
acc005 825 $config['mail_pagesize'] = 50;
08ffd9 826
A 827 // show up to X items in contacts list view
acc005 828 $config['addressbook_pagesize'] = 50;
4e17e6 829
438753 830 // sort contacts by this col (preferably either one of name, firstname, surname)
acc005 831 $config['addressbook_sort_col'] = 'surname';
438753 832
f9a967 833 // the way how contact names are displayed in the list
T 834 // 0: display name
835 // 1: (prefix) firstname middlename surname (suffix)
836 // 2: (prefix) surname firstname middlename (suffix)
837 // 3: (prefix) surname, firstname middlename (suffix)
acc005 838 $config['addressbook_name_listing'] = 0;
f9a967 839
4e17e6 840 // use this timezone to display date/time
5879c0 841 // valid timezone identifers are listed here: php.net/manual/en/timezones.php
T 842 // 'auto' will use the browser's timezone settings
acc005 843 $config['timezone'] = 'auto';
4647e1 844
4e17e6 845 // prefer displaying HTML messages
acc005 846 $config['prefer_html'] = true;
4e17e6 847
2a4135 848 // display remote inline images
A 849 // 0 - Never, always ask
850 // 1 - Ask if sender is not in address book
851 // 2 - Always show inline images
acc005 852 $config['show_images'] = 0;
712b30 853
271efe 854 // open messages in new window
acc005 855 $config['message_extwin'] = false;
271efe 856
TB 857 // open message compose form in new window
acc005 858 $config['compose_extwin'] = false;
271efe 859
b19097 860 // compose html formatted messages by default
8eefbb 861 // 0 - never, 1 - always, 2 - on reply to HTML message, 3 - on forward or reply to HTML message
acc005 862 $config['htmleditor'] = 0;
b19097 863
30233b 864 // show pretty dates as standard
acc005 865 $config['prettydate'] = true;
4e17e6 866
d656f1 867 // save compose message every 300 seconds (5min)
acc005 868 $config['draft_autosave'] = 300;
0566ad 869
b19097 870 // default setting if preview pane is enabled
acc005 871 $config['preview_pane'] = false;
b19097 872
bc4960 873 // Mark as read when viewed in preview pane (delay in seconds)
T 874 // Set to -1 if messages in preview pane should not be marked as read
acc005 875 $config['preview_pane_mark_read'] = 0;
bc4960 876
eaa394 877 // Clear Trash on logout
acc005 878 $config['logout_purge'] = false;
eaa394 879
A 880 // Compact INBOX on logout
acc005 881 $config['logout_expunge'] = false;
50c753 882
166b61 883 // Display attached images below the message body 
acc005 884 $config['inline_images'] = true;
5e0045 885
ffae15 886 // Encoding of long/non-ascii attachment names:
A 887 // 0 - Full RFC 2231 compatible
888 // 1 - RFC 2047 for 'name' and RFC 2231 for 'filename' parameter (Thunderbird's default)
889 // 2 - Full 2047 compatible
acc005 890 $config['mime_param_folding'] = 1;
ffae15 891
2d08c5 892 // Set true if deleted messages should not be displayed
2b5852 893 // This will make the application run slower
acc005 894 $config['skip_deleted'] = false;
2b5852 895
A 896 // Set true to Mark deleted messages as read as well as deleted
897 // False means that a message's read status is not affected by marking it as deleted
acc005 898 $config['read_when_deleted'] = true;
2b5852 899
ca8a17 900 // Set to true to never delete messages immediately
A 901 // Use 'Purge' to remove messages marked as deleted
acc005 902 $config['flag_for_deletion'] = false;
2b5852 903
aa8359 904 // Default interval for auto-refresh requests (in seconds)
AM 905 // These are requests for system state updates e.g. checking for new messages, etc.
906 // Setting it to 0 disables the feature.
acc005 907 $config['refresh_interval'] = 60;
95d90f 908
2fd975 909 // If true all folders will be checked for recent messages
acc005 910 $config['check_all_folders'] = false;
2fd975 911
e54bb7 912 // If true, after message delete/move, the next message will be displayed
acc005 913 $config['display_next'] = true;
e54bb7 914
f52c93 915 // 0 - Do not expand threads 
T 916 // 1 - Expand all threads automatically 
917 // 2 - Expand only threads with unread messages 
acc005 918 $config['autoexpand_threads'] = 0;
1cead0 919
651c7b 920 // When replying:
AM 921 // -1 - don't cite the original message
922 // 0  - place cursor below the original message
923 // 1  - place cursor above original message (top posting)
acc005 924 $config['reply_mode'] = 0;
50f56d 925
0207c4 926 // When replying strip original signature from message
acc005 927 $config['strip_existing_sig'] = true;
0207c4 928
50f56d 929 // Show signature:
0207c4 930 // 0 - Never
T 931 // 1 - Always
50f56d 932 // 2 - New messages only
0207c4 933 // 3 - Forwards and Replies only
acc005 934 $config['show_sig'] = 1;
0207c4 935
47ad83 936 // Use MIME encoding (quoted-printable) for 8bit characters in message body
acc005 937 $config['force_7bit'] = false;
47ad83 938
b975da 939 // Defaults of the search field configuration.
T 940 // The array can contain a per-folder list of header fields which should be considered when searching
941 // The entry with key '*' stands for all folders which do not have a specific list set.
acc005 942 // Please note that folder names should to be in sync with $config['default_folders']
AM 943 $config['search_mods'] = null;  // Example: array('*' => array('subject'=>1, 'from'=>1), 'Sent' => array('subject'=>1, 'to'=>1));
b975da 944
3cacf9 945 // Defaults of the addressbook search field configuration.
acc005 946 $config['addressbook_search_mods'] = null;  // Example: array('name'=>1, 'firstname'=>1, 'surname'=>1, 'email'=>1, '*'=>1);
3cacf9 947
b7f952 948 // 'Delete always'
A 949 // This setting reflects if mail should be always deleted
950 // when moving to Trash fails. This is necessary in some setups
951 // when user is over quota and Trash is included in the quota.
acc005 952 $config['delete_always'] = false;
b7f952 953
1b30a7 954 // Directly delete messages in Junk instead of moving to Trash
acc005 955 $config['delete_junk'] = false;
1b30a7 956
f22ea7 957 // Behavior if a received message requests a message delivery notification (read receipt)
A 958 // 0 = ask the user, 1 = send automatically, 2 = ignore (never send or ask)
959 // 3 = send automatically if sender is in addressbook, otherwise ask the user
960 // 4 = send automatically if sender is in addressbook, otherwise ignore
acc005 961 $config['mdn_requests'] = 0;
b25dfd 962
f22ea7 963 // Return receipt checkbox default state
acc005 964 $config['mdn_default'] = 0;
f22ea7 965
A 966 // Delivery Status Notification checkbox default state
f1fba2 967 // Note: This can be used only if smtp_server is non-empty
acc005 968 $config['dsn_default'] = 0;
f22ea7 969
eeb85f 970 // Place replies in the folder of the message being replied to
acc005 971 $config['reply_same_folder'] = false;
eeb85f 972
a509bb 973 // Sets default mode of Forward feature to "forward as attachment"
acc005 974 $config['forward_attachment'] = false;
a509bb 975
d73448 976 // Defines address book (internal index) to which new contacts will be added
A 977 // By default it is the first writeable addressbook.
978 // Note: Use '0' for built-in address book.
acc005 979 $config['default_addressbook'] = null;
d73448 980
1d5779 981 // Enables spell checking before sending a message.
acc005 982 $config['spellcheck_before_send'] = false;
1d5779 983
710b1b 984 // Skip alternative email addresses in autocompletion (show one address per contact)
acc005 985 $config['autocomplete_single'] = false;
710b1b 986
7e263e 987 // Default font for composed HTML message.
A 988 // Supported values: Andale Mono, Arial, Arial Black, Book Antiqua, Courier New,
989 // Georgia, Helvetica, Impact, Tahoma, Terminal, Times New Roman, Trebuchet MS, Verdana
acc005 990 $config['default_font'] = 'Verdana';
7e263e 991
7dff44 992 // Default font size for composed HTML message.
D 993 // Supported sizes: 8pt, 10pt, 12pt, 14pt, 18pt, 24pt, 36pt
189958 994 $config['default_font_size'] = '10pt';
7dff44 995
969cb0 996 // Enables display of email address with name instead of a name (and address in title)
acc005 997 $config['message_show_email'] = false;