'r', // 'cache_index' => 'r', // 'cache_thread' => 'r', // 'cache_messages' => 'r', ); // It is possible to specify database variable values e.g. some limits here. // Use them if your server is not MySQL or for better performance. // For example Roundcube uses max_allowed_packet value (in bytes) // which limits query size for database cache operations. $config['db_max_allowed_packet'] = null; // ---------------------------------- // LOGGING/DEBUGGING // ---------------------------------- // log driver: 'syslog', 'stdout' or 'file'. $config['log_driver'] = 'file'; // date format for log entries // (read http://php.net/manual/en/function.date.php for all format characters) $config['log_date_format'] = 'd-M-Y H:i:s O'; // length of the session ID to prepend each log line with // set to 0 to avoid session IDs being logged. $config['log_session_id'] = 8; // Default extension used for log file name $config['log_file_ext'] = '.log'; // Syslog ident string to use, if using the 'syslog' log driver. $config['syslog_id'] = 'roundcube'; // Syslog facility to use, if using the 'syslog' log driver. // For possible values see installer or http://php.net/manual/en/function.openlog.php $config['syslog_facility'] = LOG_USER; // Activate this option if logs should be written to per-user directories. // Data will only be logged if a directory // exists and is writable. $config['per_user_logging'] = false; // Log sent messages to /sendmail or to syslog $config['smtp_log'] = true; // Log successful/failed logins to /userlogins or to syslog $config['log_logins'] = false; // Log session debug information/authentication errors to /session or to syslog $config['session_debug'] = false; // Log SQL queries to /sql or to syslog $config['sql_debug'] = false; // Log IMAP conversation to /imap or to syslog $config['imap_debug'] = false; // Log LDAP conversation to /ldap or to syslog $config['ldap_debug'] = false; // Log SMTP conversation to /smtp or to syslog $config['smtp_debug'] = false; // Log Memcache conversation to /memcache or to syslog $config['memcache_debug'] = false; // Log APC conversation to /apc or to syslog $config['apc_debug'] = false; // Log Redis conversation to /redis or to syslog $config['redis_debug'] = false; // ---------------------------------- // IMAP // ---------------------------------- // The IMAP host chosen to perform the log-in. // Leave blank to show a textbox at login, give a list of hosts // to display a pulldown menu or set one host as string. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// // Supported replacement variables: // %n - hostname ($_SERVER['SERVER_NAME']) // %t - hostname without the first part // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) // %s - domain name after the '@' from e-mail address provided at login screen // For example %n = mail.domain.tld, %t = domain.tld // WARNING: After hostname change update of mail_host column in users table is // required to match old user data records with the new host. $config['default_host'] = 'localhost'; // TCP port used for IMAP connections $config['default_port'] = 143; // IMAP authentication method (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null). // Use 'IMAP' to authenticate with IMAP LOGIN command. // By default the most secure method (from supported) will be selected. $config['imap_auth_type'] = null; // IMAP socket context options // See http://php.net/manual/en/context.ssl.php // The example below enables server certificate validation //$config['imap_conn_options'] = array( // 'ssl' => array( // 'verify_peer' => true, // 'verify_depth' => 3, // 'cafile' => '/etc/openssl/certs/ca.crt', // ), // ); // Note: These can be also specified as an array of options indexed by hostname $config['imap_conn_options'] = null; // IMAP connection timeout, in seconds. Default: 0 (use default_socket_timeout) $config['imap_timeout'] = 0; // Optional IMAP authentication identifier to be used as authorization proxy $config['imap_auth_cid'] = null; // Optional IMAP authentication password to be used for imap_auth_cid $config['imap_auth_pw'] = null; // If you know your imap's folder delimiter, you can specify it here. // Otherwise it will be determined automatically $config['imap_delimiter'] = null; // If you know your imap's folder vendor, you can specify it here. // Otherwise it will be determined automatically. Use lower-case // identifiers, e.g. 'dovecot', 'cyrus', 'gmail', 'hmail', 'uw-imap'. $config['imap_vendor'] = null; // If IMAP server doesn't support NAMESPACE extension, but you're // using shared folders or personal root folder is non-empty, you'll need to // set these options. All can be strings or arrays of strings. // Note: Folders need to be ended with directory separator, e.g. "INBOX." // (special directory "~" is an exception to this rule) // Note: These can be used also to overwrite server's namespaces // Note: Set these to FALSE to disable access to specified namespace $config['imap_ns_personal'] = null; $config['imap_ns_other'] = null; $config['imap_ns_shared'] = null; // By default IMAP capabilities are readed after connection to IMAP server // In some cases, e.g. when using IMAP proxy, there's a need to refresh the list // after login. Set to True if you've got this case. $config['imap_force_caps'] = false; // By default list of subscribed folders is determined using LIST-EXTENDED // extension if available. Some servers (dovecot 1.x) returns wrong results // for shared namespaces in this case. https://github.com/roundcube/roundcubemail/issues/2474 // Enable this option to force LSUB command usage instead. // Deprecated: Use imap_disabled_caps = array('LIST-EXTENDED') $config['imap_force_lsub'] = false; // Some server configurations (e.g. Courier) doesn't list folders in all namespaces // Enable this option to force listing of folders in all namespaces $config['imap_force_ns'] = false; // Some servers return hidden folders (name starting witha dot) // from user home directory. IMAP RFC does not forbid that. // Enable this option to hide them and disable possibility to create such. $config['imap_skip_hidden_folders'] = false; // Some servers do not support folders with both folders and messages inside // If your server supports that use true, if it does not, use false. // By default it will be determined automatically (once per user session). $config['imap_dual_use_folders'] = null; // List of disabled imap extensions. // Use if your IMAP server has broken implementation of some feature // and you can't remove it from CAPABILITY string on server-side. // For example UW-IMAP server has broken ESEARCH. // Note: Because the list is cached, re-login is required after change. $config['imap_disabled_caps'] = array(); // Log IMAP session identifiers after each IMAP login. // This is used to relate IMAP session with Roundcube user sessions $config['imap_log_session'] = false; // Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'. $config['imap_cache'] = null; // Enables messages cache. Only 'db' cache is supported. // This requires an IMAP server that supports QRESYNC and CONDSTORE // extensions (RFC7162). See synchronize() in program/lib/Roundcube/rcube_imap_cache.php // for further info, or if you experience syncing problems. $config['messages_cache'] = false; // Lifetime of IMAP indexes cache. Possible units: s, m, h, d, w $config['imap_cache_ttl'] = '10d'; // Lifetime of messages cache. Possible units: s, m, h, d, w $config['messages_cache_ttl'] = '10d'; // Maximum cached message size in kilobytes. // Note: On MySQL this should be less than (max_allowed_packet - 30%) $config['messages_cache_threshold'] = 50; // ---------------------------------- // SMTP // ---------------------------------- // SMTP server host (for sending mails). // Enter hostname with prefix tls:// to use STARTTLS, or use // prefix ssl:// to use the deprecated SSL over SMTP (aka SMTPS) // Supported replacement variables: // %h - user's IMAP hostname // %n - hostname ($_SERVER['SERVER_NAME']) // %t - hostname without the first part // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) // %z - IMAP domain (IMAP hostname without the first part) // For example %n = mail.domain.tld, %t = domain.tld $config['smtp_server'] = 'localhost'; // SMTP port (default is 587) $config['smtp_port'] = 587; // SMTP username (if required) if you use %u as the username Roundcube // will use the current username for login $config['smtp_user'] = '%u'; // SMTP password (if required) if you use %p as the password Roundcube // will use the current user's password for login $config['smtp_pass'] = '%p'; // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use // best server supported one) $config['smtp_auth_type'] = null; // Optional SMTP authentication identifier to be used as authorization proxy $config['smtp_auth_cid'] = null; // Optional SMTP authentication password to be used for smtp_auth_cid $config['smtp_auth_pw'] = null; // SMTP HELO host // Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages // Leave this blank and you will get the server variable 'server_name' or // localhost if that isn't defined. $config['smtp_helo_host'] = ''; // SMTP connection timeout, in seconds. Default: 0 (use default_socket_timeout) // Note: There's a known issue where using ssl connection with // timeout > 0 causes connection errors (https://bugs.php.net/bug.php?id=54511) $config['smtp_timeout'] = 0; // SMTP socket context options // See http://php.net/manual/en/context.ssl.php // The example below enables server certificate validation, and // requires 'smtp_timeout' to be non zero. // $config['smtp_conn_options'] = array( // 'ssl' => array( // 'verify_peer' => true, // 'verify_depth' => 3, // 'cafile' => '/etc/openssl/certs/ca.crt', // ), // ); // Note: These can be also specified as an array of options indexed by hostname $config['smtp_conn_options'] = null; // ---------------------------------- // LDAP // ---------------------------------- // Type of LDAP cache. Supported values: 'db', 'apc' and 'memcache'. $config['ldap_cache'] = 'db'; // Lifetime of LDAP cache. Possible units: s, m, h, d, w $config['ldap_cache_ttl'] = '10m'; // ---------------------------------- // CACHE(S) // ---------------------------------- // Use these hosts for accessing memcached // Define any number of hosts in the form of hostname:port or unix:///path/to/socket.file $config['memcache_hosts'] = null; // e.g. array( 'localhost:11211', '192.168.1.12:11211', 'unix:///var/tmp/memcached.sock' ); // Controls the use of a persistent connections to memcache servers // See http://php.net/manual/en/memcache.addserver.php $config['memcache_pconnect'] = true; // Value in seconds which will be used for connecting to the daemon // See http://php.net/manual/en/memcache.addserver.php $config['memcache_timeout'] = 1; // Controls how often a failed server will be retried (value in seconds). // Setting this parameter to -1 disables automatic retry. // See http://php.net/manual/en/memcache.addserver.php $config['memcache_retry_interval'] = 15; // use these hosts for accessing Redis. // Currently only one host is supported. cluster support may come in a future release. // You can pass 4 fields, host, port, database and password. // Unset fields will be set to the default values host=127.0.0.1, port=6379, database=0, password= (empty) $config['redis_hosts'] = null; // e.g. array( 'localhost:6379' ); array( '192.168.1.1:6379:1:secret' ); // Maximum size of an object in memcache (in bytes). Default: 2MB $config['memcache_max_allowed_packet'] = '2M'; // Maximum size of an object in APC cache (in bytes). Default: 2MB $config['apc_max_allowed_packet'] = '2M'; // Maximum size of an object in Redis cache (in bytes). Default: 2MB $config['redis_max_allowed_packet'] = '2M'; // ---------------------------------- // SYSTEM // ---------------------------------- // THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG DATA. // ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING! $config['enable_installer'] = false; // don't allow these settings to be overridden by the user $config['dont_override'] = array(); // List of disabled UI elements/actions $config['disabled_actions'] = array(); // define which settings should be listed under the 'advanced' block // which is hidden by default $config['advanced_prefs'] = array(); // provide an URL where a user can get support for this Roundcube installation // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE! $config['support_url'] = ''; // replace Roundcube logo with this image // specify an URL relative to the document root of this Roundcube installation // an array can be used to specify different logos for specific template files // '*' for default logo // ':favicon' for favicon // ':print' for logo on all print templates (e.g. messageprint, contactprint) // ':small' for small screen logo in Elastic // different logos can be specified for different skins by prefixing the skin name to the array key // config applied in order: :