Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

defaults.inc.php 50KB

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