@ -1,15 +1,11 @@
<?php
<?php
// ---------------------------------------------------------------------
// WARNING: Do not edit this file! Copy configuration to config.inc.php.
// ---------------------------------------------------------------------
/*
/*
+-----------------------------------------------------------------------+
+-----------------------------------------------------------------------+
| Default settings for all configuration options |
| Main configuration file with default settings |
| |
| |
| This file is part of the Roundcube Webmail client |
| This file is part of the Roundcube Webmail client |
| Copyright (C) The Roundcube Dev Team |
| Copyright (C) 2005-2013, The Roundcube Dev Team |
| |
| |
| Licensed under the GNU General Public License version 3 or |
| Licensed under the GNU General Public License version 3 or |
| any later version with exceptions for skins & plugins. |
| any later version with exceptions for skins & plugins. |
@ -25,14 +21,9 @@ $config = array();
// Database connection string (DSN) for read+write operations
// Database connection string (DSN) for read+write operations
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
// Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle
// Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// Note: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
// NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
// or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
// Note: Various drivers support various additional arguments for connection,
// for Mysql: key, cipher, cert, capath, ca, verify_server_cert,
// for Postgres: application_name, sslmode, sslcert, sslkey, sslrootcert, sslcrl, sslcompression, service.
// e.g. 'mysql://roundcube:@localhost/roundcubemail?verify_server_cert=false'
$config['db_dsnw'] = 'mysql://roundcube:@localhost/roundcubemail';
$config['db_dsnw'] = 'mysql://roundcube:@localhost/roundcubemail';
// Database DSN for read-only operations (if empty write database will be used)
// Database DSN for read-only operations (if empty write database will be used)
@ -60,18 +51,15 @@ $config['db_table_dsn'] = array(
// 'cache_messages' => '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
// LOGGING/DEBUGGING
// ----------------------------------
// ----------------------------------
// log driver: 'syslog', 'stdout' or 'file'.
// system error reporting, sum of: 1 = log; 4 = show
$config['debug_level'] = 1;
// log driver: 'syslog' or 'file'.
$config['log_driver'] = 'file';
$config['log_driver'] = 'file';
// date format for log entries
// date format for log entries
@ -82,9 +70,6 @@ $config['log_date_format'] = 'd-M-Y H:i:s O';
// set to 0 to avoid session IDs being logged.
// set to 0 to avoid session IDs being logged.
$config['log_session_id'] = 8;
$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.
// Syslog ident string to use, if using the 'syslog' log driver.
$config['syslog_id'] = 'roundcube';
$config['syslog_id'] = 'roundcube';
@ -93,49 +78,38 @@ $config['syslog_id'] = 'roundcube';
$config['syslog_facility'] = LOG_USER;
$config['syslog_facility'] = LOG_USER;
// Activate this option if logs should be written to per-user directories.
// Activate this option if logs should be written to per-user directories.
// Data will only be logged if a directo ry < log_dir > /< username > / exists and is writable.
// Data will only be logged if a directry < log_dir > /< username > / exists and is writable.
$config['per_user_logging'] = false;
$config['per_user_logging'] = false;
// Log sent messages to < log_dir > /sendmail.log or to syslog
// Log sent messages to < log_dir > /sendmail or to syslog
$config['smtp_log'] = true;
$config['smtp_log'] = true;
// Log successful/failed logins to < log_dir > /userlogins.log or to syslog
// Log successful/failed logins to < log_dir > /userlogins or to syslog
$config['log_logins'] = false;
$config['log_logins'] = false;
// Log session debug information/ authentication errors to < log_dir > /session.log or to syslog
// Log session authentication errors to < log_dir > /session or to syslog
$config['session_debug '] = false;
$config['log_ session'] = false;
// Log SQL queries to < log_dir > /sql.log or to syslog
// Log SQL queries to < log_dir > /sql or to syslog
$config['sql_debug'] = false;
$config['sql_debug'] = false;
// Log IMAP conversation to < log_dir > /imap.log or to syslog
// Log IMAP conversation to < log_dir > /imap or to syslog
$config['imap_debug'] = false;
$config['imap_debug'] = false;
// Log LDAP conversation to < log_dir > /ldap.log or to syslog
// Log LDAP conversation to < log_dir > /ldap or to syslog
$config['ldap_debug'] = false;
$config['ldap_debug'] = false;
// Log SMTP conversation to < log_dir > /smtp.log or to syslog
// Log SMTP conversation to < log_dir > /smtp or to syslog
$config['smtp_debug'] = false;
$config['smtp_debug'] = false;
// Log Memcache conversation to < log_dir > /memcache.log or to syslog
$config['memcache_debug'] = false;
// Log APC conversation to < log_dir > /apc.log or to syslog
$config['apc_debug'] = false;
// Log Redis conversation to < log_dir > /redis.log or to syslog
$config['redis_debug'] = false;
// ----------------------------------
// ----------------------------------
// IMAP
// IMAP
// ----------------------------------
// ----------------------------------
// The IMAP host chosen to perform the log-in.
// The mail host chosen to perform the log-in.
// Leave blank to show a textbox at login, give a list of hosts
// 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 display a pulldown menu or set one host as string.
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
// prefix tls:// to use STARTTLS.
// Supported replacement variables:
// Supported replacement variables:
// %n - hostname ($_SERVER['SERVER_NAME'])
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %t - hostname without the first part
@ -149,9 +123,8 @@ $config['default_host'] = 'localhost';
// TCP port used for IMAP connections
// TCP port used for IMAP connections
$config['default_port'] = 143;
$config['default_port'] = 143;
// IMAP authentication method (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null).
// IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null to use
// Use 'IMAP' to authenticate with IMAP LOGIN command.
// best server supported one)
// By default the most secure method (from supported) will be selected.
$config['imap_auth_type'] = null;
$config['imap_auth_type'] = null;
// IMAP socket context options
// IMAP socket context options
@ -164,7 +137,6 @@ $config['imap_auth_type'] = null;
// 'cafile' => '/etc/openssl/certs/ca.crt',
// '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;
$config['imap_conn_options'] = null;
// IMAP connection timeout, in seconds. Default: 0 (use default_socket_timeout)
// IMAP connection timeout, in seconds. Default: 0 (use default_socket_timeout)
@ -180,18 +152,12 @@ $config['imap_auth_pw'] = null;
// Otherwise it will be determined automatically
// Otherwise it will be determined automatically
$config['imap_delimiter'] = null;
$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', 'gimap', 'hmail', 'uw-imap'.
$config['imap_vendor'] = null;
// If IMAP server doesn't support NAMESPACE extension, but you're
// 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
// 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.
// set these options. All can be strings or arrays of strings.
// Note: Folders need to be ended with directory separator, e.g. "INBOX."
// Folders need to be ended with directory separator, e.g. "INBOX."
// (special directory "~" is an exception to this rule)
// (special directory "~" is an exception to this rule)
// Note: These can be used also to overwrite server's namespaces
// 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_personal'] = null;
$config['imap_ns_other'] = null;
$config['imap_ns_other'] = null;
$config['imap_ns_shared'] = null;
$config['imap_ns_shared'] = null;
@ -203,7 +169,7 @@ $config['imap_force_caps'] = false;
// By default list of subscribed folders is determined using LIST-EXTENDED
// By default list of subscribed folders is determined using LIST-EXTENDED
// extension if available. Some servers (dovecot 1.x) returns wrong results
// extension if available. Some servers (dovecot 1.x) returns wrong results
// for shared namespaces in this case. https://github.com/roundcube/roundcubemail/issues/2474
// for shared namespaces in this case. http://trac.roundcube.net/ticket/1486225
// Enable this option to force LSUB command usage instead.
// Enable this option to force LSUB command usage instead.
// Deprecated: Use imap_disabled_caps = array('LIST-EXTENDED')
// Deprecated: Use imap_disabled_caps = array('LIST-EXTENDED')
$config['imap_force_lsub'] = false;
$config['imap_force_lsub'] = false;
@ -212,16 +178,6 @@ $config['imap_force_lsub'] = false;
// Enable this option to force listing of folders in all namespaces
// Enable this option to force listing of folders in all namespaces
$config['imap_force_ns'] = false;
$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.
// List of disabled imap extensions.
// Use if your IMAP server has broken implementation of some feature
// Use if your IMAP server has broken implementation of some feature
// and you can't remove it from CAPABILITY string on server-side.
// and you can't remove it from CAPABILITY string on server-side.
@ -229,11 +185,11 @@ $config['imap_dual_use_folders'] = null;
// Note: Because the list is cached, re-login is required after change.
// Note: Because the list is cached, re-login is required after change.
$config['imap_disabled_caps'] = array();
$config['imap_disabled_caps'] = array();
// Log IMAP session identifi ers after each IMAP login.
// Log IMAP session identifers after each IMAP login.
// This is used to relate IMAP session with Roundcube user sessions
// This is used to relate IMAP session with Roundcube user sessions
$config['imap_log_session'] = false;
$config['imap_log_session'] = false;
// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache' or 'memcached' .
// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
$config['imap_cache'] = null;
$config['imap_cache'] = null;
// Enables messages cache. Only 'db' cache is supported.
// Enables messages cache. Only 'db' cache is supported.
@ -258,8 +214,8 @@ $config['messages_cache_threshold'] = 50;
// ----------------------------------
// ----------------------------------
// SMTP server host (for sending mails).
// SMTP server host (for sending mails).
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
// prefix tls:// to use STARTTLS.
// If left blank, the PHP mail() function is used
// Supported replacement variables:
// Supported replacement variables:
// %h - user's IMAP hostname
// %h - user's IMAP hostname
// %n - hostname ($_SERVER['SERVER_NAME'])
// %n - hostname ($_SERVER['SERVER_NAME'])
@ -267,24 +223,23 @@ $config['messages_cache_threshold'] = 50;
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %t = domain.tld
// For example %n = mail.domain.tld, %t = domain.tld
// To specify differnt SMTP servers for different IMAP hosts provide an array
$config['smtp_server'] = '';
// of IMAP host (no prefix or port) and SMTP server e.g. array('imap.example.com' => 'smtp.example.net')
$config['smtp_server'] = 'localhost';
// SMTP port. Use 25 for cleartext, 465 for Implicit TLS, or 587 for STARTTLS (default)
// SMTP port (default is 25; use 587 for STARTTLS or 465 for the
$config['smtp_port'] = 587;
// deprecated SSL over SMTP (aka SMTPS))
$config['smtp_port'] = 25;
// SMTP username (if required) if you use %u as the username Roundcube
// SMTP username (if required) if you use %u as the username Roundcube
// will use the current username for login
// will use the current username for login
$config['smtp_user'] = '%u ';
$config['smtp_user'] = '';
// SMTP password (if required) if you use %p as the password Roundcube
// SMTP password (if required) if you use %p as the password Roundcube
// will use the current user's password for login
// will use the current user's password for login
$config['smtp_pass'] = '%p ';
$config['smtp_pass'] = '';
// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
// best server supported one)
$config['smtp_auth_type'] = null ;
$config['smtp_auth_type'] = '' ;
// Optional SMTP authentication identifier to be used as authorization proxy
// Optional SMTP authentication identifier to be used as authorization proxy
$config['smtp_auth_cid'] = null;
$config['smtp_auth_cid'] = null;
@ -314,7 +269,6 @@ $config['smtp_timeout'] = 0;
// 'cafile' => '/etc/openssl/certs/ca.crt',
// '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;
$config['smtp_conn_options'] = null;
@ -322,55 +276,12 @@ $config['smtp_conn_options'] = null;
// LDAP
// LDAP
// ----------------------------------
// ----------------------------------
// Type of LDAP cache. Supported values: 'db', 'apc' and 'memcache' or 'memcached' .
// Type of LDAP cache. Supported values: 'db', 'apc' and 'memcache'.
$config['ldap_cache'] = 'db';
$config['ldap_cache'] = 'db';
// Lifetime of LDAP cache. Possible units: s, m, h, d, w
// Lifetime of LDAP cache. Possible units: s, m, h, d, w
$config['ldap_cache_ttl'] = '10m';
$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
// Example: array('localhost:11211', '192.168.1.12:11211', 'unix:///var/tmp/memcached.sock');
$config['memcache_hosts'] = null;
// 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 (optional), database (optional) and password (optional).
// Unset fields will be set to the default values host=127.0.0.1, port=6379.
// Examples:
// array('localhost:6379');
// array('192.168.1.1:6379:1:secret');
// array('unix:///var/run/redis/redis-server.sock:1:secret');
$config['redis_hosts'] = null;
// 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
// SYSTEM
// ----------------------------------
// ----------------------------------
@ -379,7 +290,7 @@ $config['redis_max_allowed_packet'] = '2M';
// ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING!
// ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING!
$config['enable_installer'] = false;
$config['enable_installer'] = false;
// don't allow these settings to be overridd en by the user
// don't allow these settings to be overriden by the user
$config['dont_override'] = array();
$config['dont_override'] = array();
// List of disabled UI elements/actions
// List of disabled UI elements/actions
@ -393,37 +304,10 @@ $config['advanced_prefs'] = array();
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
$config['support_url'] = '';
$config['support_url'] = '';
// Logo image replacement. Specifies location of the image as:
// replace Roundcube logo with this image
// - URL relative to the document root of this Roundcube installation
// specify an URL relative to the document root of this Roundcube installation
// - full URL with http:// or https:// prefix
// an array can be used to specify different logos for specific template files, '*' for default logo
// - URL relative to the current skin folder (when starts with a '/')
// for example array("*" => "/images/roundcube_logo.png", "messageprint" => "/images/roundcube_logo_print.png")
//
// An array can be used to specify different logos for specific template files
// The array key specifies the place(s) the logo should be applied to and
// is made up of (up to) 3 parts:
// - skin name prefix (always with colon, can be replaced with *)
// - template name (or * for all templates)
// - logo type - it is used for logos used on multiple templates
// the available types include '[favicon]' for favicon, '[print]' for logo on all print
// templates (e.g. messageprint, contactprint) and '[small]' for small screen logo in supported skins
//
// Example config for skin_logo
/*
array(
// show the image /images/logo_login_small.png for the Login screen in the Elastic skin on small screens
"elastic:login[small]" => "/images/logo_login_small.png",
// show the image /images/logo_login.png for the Login screen in the Elastic skin
"elastic:login" => "/images/logo_login.png",
// show the image /images/logo_small.png in the Elastic skin
"elastic:*[small]" => "/images/logo_small.png",
// show the image /images/larry.png in the Larry skin
"larry:*" => "/images/larry.png",
// show the image /images/logo_login.png on the login template in all skins
"login" => "/images/logo_login.png",
// show the image /images/logo_print.png for all print type logos in all skins
"[print]" => "/images/logo_print.png",
);
*/
$config['skin_logo'] = null;
$config['skin_logo'] = null;
// automatically create a new Roundcube user when log-in the first time.
// automatically create a new Roundcube user when log-in the first time.
@ -434,23 +318,20 @@ $config['auto_create_user'] = true;
// Enables possibility to log in using email address from user identities
// Enables possibility to log in using email address from user identities
$config['user_aliases'] = false;
$config['user_aliases'] = false;
// use this folder to store log files
// use this folder to store log files (must be writeable for apache user)
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
// This is used by the 'file' log driver.
// This is used by the 'file' log driver.
$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/';
$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/';
// use this folder to store temp files
// use this folder to store temp files (must be writeable for apache user)
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/';
$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/';
// expire files in temp_dir after 48 hours
// expire files in temp_dir after 48 hours
// possible units: s, m, h, d, w
// possible units: s, m, h, d, w
$config['temp_dir_ttl'] = '48h';
$config['temp_dir_ttl'] = '48h';
// Enforce connections over https
// enforce connections over https
// With this option enabled, all non-secure connections will be redirected.
// with this option enabled, all non-secure connections will be redirected.
// It can be also a port number, hostname or hostname:port if they are
// set the port for the ssl connection as value of this option if it differs from the default 443
// different than default HTTP_HOST:443
$config['force_https'] = false;
$config['force_https'] = false;
// tell PHP that it should work as under secure connection
// tell PHP that it should work as under secure connection
@ -470,24 +351,11 @@ $config['login_autocomplete'] = 0;
// UPDATE users SET username = LOWER(username);
// UPDATE users SET username = LOWER(username);
$config['login_lc'] = 2;
$config['login_lc'] = 2;
// Maximum length (in bytes) of logon username and password.
$config['login_username_maxlen'] = 1024;
$config['login_password_maxlen'] = 1024;
// Logon username filter. Regular expression for use with preg_match().
// Example: '/^[a-z0-9_@.-]+$/'
$config['login_username_filter'] = null;
// Brute-force attacks prevention.
// The value specifies maximum number of failed logon attempts per minute.
$config['login_rate_limit'] = 3;
// Includes should be interpreted as PHP files
// Includes should be interpreted as PHP files
$config['skin_include_php'] = false;
$config['skin_include_php'] = false;
// display product name and software version on login screen
// display software version on login screen
// 0 - hide product name and version number, 1 - show product name only, 2 - show product name and version number
$config['display_version'] = false;
$config['display_product_info'] = 1;
// Session lifetime in minutes
// Session lifetime in minutes
$config['session_lifetime'] = 10;
$config['session_lifetime'] = 10;
@ -504,54 +372,35 @@ $config['session_auth_name'] = null;
// Session path. Defaults to PHP session.cookie_path setting.
// Session path. Defaults to PHP session.cookie_path setting.
$config['session_path'] = null;
$config['session_path'] = null;
// Session samesite. Defaults to PHP session.cookie_samesite setting.
// Backend to use for session storage. Can either be 'db' (default), 'memcache' or 'php'
// Requires PHP >= 7.3.0, see https://wiki.php.net/rfc/same-site-cookie for more info
// If set to 'memcache', a list of servers need to be specified in 'memcache_hosts'
// Possible values: null (default), 'Lax', or 'Strict'
// Make sure the Memcache extension (http://pecl.php.net/package/memcache) version >= 2.0.0 is installed
$config['session_samesite'] = null;
// Backend to use for session storage. Can either be 'db' (default), 'redis', 'memcache', or 'php'
//
// If set to 'memcache' or 'memcached', a list of servers need to be specified in 'memcache_hosts'
// Make sure the Memcache extension (https://pecl.php.net/package/memcache) version >= 2.0.0
// or the Memcached extension (https://pecl.php.net/package/memcached) version >= 2.0.0 is installed.
//
// If set to 'redis', a server needs to be specified in 'redis_hosts'
// Make sure the Redis extension (https://pecl.php.net/package/redis) version >= 2.0.0 is installed.
//
// Setting this value to 'php' will use the default session save handler configured in PHP
// Setting this value to 'php' will use the default session save handler configured in PHP
$config['session_storage'] = 'db';
$config['session_storage'] = 'db';
// 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' );
// check client IP in session authorization
$config['ip_check'] = false;
// List of trusted proxies
// List of trusted proxies
// X_FORWARDED_* and X_REAL_IP headers are only accepted from these IPs
// X_FORWARDED_* and X_REAL_IP headers are only accepted from these IPs
$config['proxy_whitelist'] = array();
$config['proxy_whitelist'] = array();
// List of trusted host names
// check referer of incoming requests
// Attackers can modify Host header of the HTTP request causing $_SERVER['SERVER_NAME']
$config['referer_check'] = false;
// or $_SERVER['HTTP_HOST'] variables pointing to a different host, that could be used
// to collect user names and passwords. Some server configurations prevent that, but not all.
// An empty list accepts any host name. The list can contain host names
// or PCRE patterns (without // delimiters, that will be added automatically).
$config['trusted_host_patterns'] = array();
// check client IP in session authorization
$config['ip_check'] = false;
// X-Frame-Options HTTP header value sent to prevent from Clickjacking.
// X-Frame-Options HTTP header value sent to prevent from Clickjacking.
// Possible values: sameorigin|deny|allow-from < uri > .
// Possible values: sameorigin|deny. Set to false in order to disable sending them
// Set to false in order to disable sending the header.
$config['x_frame_options'] = 'sameorigin';
$config['x_frame_options'] = 'sameorigin';
// This key is used for encrypting purposes, like storing of imap password
// this key is used to encrypt the users imap password which is stored
// in the session. For historical reasons it's called DES_key, but it's used
// in the session record (and the client cookie if remember password is enabled).
// with any configured cipher_method (see below).
// please provide a string of exactly 24 chars.
// For the default cipher_method a required key length is 24 characters.
$config['des_key'] = 'rcmail-!24ByteDESkey*Str';
$config['des_key'] = 'rcmail-!24ByteDESkey*Str';
// Encryption algorithm. You can use any method supported by OpenSSL.
// Default is set for backward compatibility to DES-EDE3-CBC,
// but you can choose e.g. AES-256-CBC which we consider a better choice.
$config['cipher_method'] = 'DES-EDE3-CBC';
// Automatically add this domain to user names for login
// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple hosts
// Specify an array with 'host' => 'domain' values to support multiple hosts
@ -578,28 +427,18 @@ $config['username_domain_forced'] = false;
// For example %n = mail.domain.tld, %t = domain.tld
// For example %n = mail.domain.tld, %t = domain.tld
$config['mail_domain'] = '';
$config['mail_domain'] = '';
// Password character set, to change the password for user
// Password charset.
// authentication or for password change operations
// Use it if your authentication backend doesn't support UTF-8.
$config['password_charset'] = 'UTF-8';
// Defaults to ISO-8859-1 for backward compatibility
$config['password_charset'] = 'ISO-8859-1';
// How many seconds must pass between emails sent by a user
// How many seconds must pass between emails sent by a user
$config['sendmail_delay'] = 0;
$config['sendmail_delay'] = 0;
// Message size limit. Note that SMTP server(s) may use a different value.
// Maximum number of recipients per message. Default: 0 (no limit)
// This limit is verified when user attaches files to a composed message.
// Size in bytes (possible unit suffix: K, M, G)
$config['max_message_size'] = '100M';
// Maximum number of recipients per message (including To, Cc, Bcc).
// Default: 0 (no limit)
$config['max_recipients'] = 0;
$config['max_recipients'] = 0;
// Maximum number of recipients per message exluding Bcc header.
// Maximum allowednumber of members of an address group. Default: 0 (no limit)
// This is a soft limit, which means we only display a warning to the user.
// Default: 5
$config['max_disclosed_recipients'] = 5;
// Maximum allowed number of members of an address group. Default: 0 (no limit)
// If 'max_recipients' is set this value should be less or equal
// If 'max_recipients' is set this value should be less or equal
$config['max_group_members'] = 0;
$config['max_group_members'] = 0;
@ -607,11 +446,10 @@ $config['max_group_members'] = 0;
$config['product_name'] = 'Roundcube Webmail';
$config['product_name'] = 'Roundcube Webmail';
// Add this user-agent to message headers when sending
// Add this user-agent to message headers when sending
$config['useragent'] = 'Roundcube Webmail/'.RCUBE _VERSION;
$config['useragent'] = 'Roundcube Webmail/'.RCMAIL _VERSION;
// try to load host-specific configuration
// try to load host-specific configuration
// see https://github.com/roundcube/roundcubemail/wiki/Configuration:-Multi-Domain-Setup
// see http://trac.roundcube.net/wiki/Howto_Config for more details
// for more details
$config['include_host_config'] = false;
$config['include_host_config'] = false;
// path to a text file which will be added to each sent message
// path to a text file which will be added to each sent message
@ -631,6 +469,10 @@ $config['http_received_header'] = false;
// when tracking down issues.
// when tracking down issues.
$config['http_received_header_encrypt'] = false;
$config['http_received_header_encrypt'] = false;
// This string is used as a delimiter for message headers when sending
// a message via mail() function. Leave empty for auto-detection
$config['mail_header_delimiter'] = NULL;
// number of chars allowed for line when wrapping text.
// number of chars allowed for line when wrapping text.
// text wrapping is done when composing/sending messages
// text wrapping is done when composing/sending messages
$config['line_length'] = 72;
$config['line_length'] = 72;
@ -655,12 +497,9 @@ $config['identities_level'] = 0;
$config['identity_image_size'] = 64;
$config['identity_image_size'] = 64;
// Mimetypes supported by the browser.
// Mimetypes supported by the browser.
// Attachments of these types will open in a preview window.
// attachments of these types will open in a preview window
// Either a comma-separated list or an array. Default list includes:
// either a comma-separated list or an array: 'text/plain,text/html,text/xml,image/jpeg,image/gif,image/png,application/pdf'
// text/plain,text/html,
$config['client_mimetypes'] = null; # null == default
// image/jpeg,image/gif,image/png,image/bmp,image/tiff,image/webp,
// application/x-javascript,application/pdf,application/x-shockwave-flash
$config['client_mimetypes'] = null;
// Path to a local mime magic database file for PHPs finfo extension.
// Path to a local mime magic database file for PHPs finfo extension.
// Set to null if the default path should be used.
// Set to null if the default path should be used.
@ -693,28 +532,6 @@ $config['email_dns_check'] = false;
// Note: useful when SMTP server stores sent mail in user mailbox
// Note: useful when SMTP server stores sent mail in user mailbox
$config['no_save_sent_messages'] = false;
$config['no_save_sent_messages'] = false;
// Improve system security by using special URL with security token.
// This can be set to a number defining token length. Default: 16.
// Warning: This requires http server configuration. Sample:
// RewriteRule ^/roundcubemail/[a-zA-Z0-9]{16}/(.*) /roundcubemail/$1 [PT]
// Alias /roundcubemail /var/www/roundcubemail/
// Note: Use assets_path to not prevent the browser from caching assets
$config['use_secure_urls'] = false;
// Allows to define separate server/path for image/js/css files
// Warning: If the domain is different cross-domain access to some
// resources need to be allowed
// Sample:
// < FilesMatch " . ( eot | ttf | woff ) " >
// Header set Access-Control-Allow-Origin "*"
// < / FilesMatch >
$config['assets_path'] = '';
// While assets_path is for the browser, assets_dir informs
// PHP code about the location of asset files in filesystem
$config['assets_dir'] = '';
// ----------------------------------
// ----------------------------------
// PLUGINS
// PLUGINS
// ----------------------------------
// ----------------------------------
@ -734,7 +551,7 @@ $config['message_sort_col'] = '';
$config['message_sort_order'] = 'DESC';
$config['message_sort_order'] = 'DESC';
// These cols are shown in the message list. Available cols are:
// These cols are shown in the message list. Available cols are:
// subject, from, to, fromto, cc, replyto, date, size, status, flag, attachment, priority
// subject, from, to, fromto, cc, replyto, date, size, status, flag, attachment, ' priority'
$config['list_cols'] = array('subject', 'status', 'fromto', 'date', 'size', 'flag', 'attachment');
$config['list_cols'] = array('subject', 'status', 'fromto', 'date', 'size', 'flag', 'attachment');
// the default locale setting (leave empty for auto-detection)
// the default locale setting (leave empty for auto-detection)
@ -779,7 +596,7 @@ $config['sent_mbox'] = 'Sent';
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$config['trash_mbox'] = 'Trash';
$config['trash_mbox'] = 'Trash';
// automatically create the above listed default folders on user login
// automatically create the above listed default folders on first login
$config['create_default_folders'] = false;
$config['create_default_folders'] = false;
// protect the default folders from renames, deletes, and subscription changes
// protect the default folders from renames, deletes, and subscription changes
@ -792,6 +609,8 @@ $config['show_real_foldernames'] = false;
$config['quota_zero_as_unlimited'] = false;
$config['quota_zero_as_unlimited'] = false;
// Make use of the built-in spell checker. It is based on GoogieSpell.
// Make use of the built-in spell checker. It is based on GoogieSpell.
// Since Google only accepts connections over https your PHP installatation
// requires to be compiled with Open SSL support
$config['enable_spellcheck'] = true;
$config['enable_spellcheck'] = true;
// Enables spellchecker exceptions dictionary.
// Enables spellchecker exceptions dictionary.
@ -799,13 +618,12 @@ $config['enable_spellcheck'] = true;
$config['spellcheck_dictionary'] = false;
$config['spellcheck_dictionary'] = false;
// Set the spell checking engine. Possible values:
// Set the spell checking engine. Possible values:
// - 'googie' - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting)
// - 'googie' - the default
// - 'pspell' - requires the PHP Pspell module and aspell installed
// - 'pspell' - requires the PHP Pspell module and aspell installed
// - 'enchant' - requires the PHP Enchant module
// - 'enchant' - requires the PHP Enchant module
// - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
// - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
// Since Google shut down their public spell checking service, the default settings
// Since Google shut down their public spell checking service, you need to
// connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
// connect to a Nox Spell Server when using 'googie' here. Therefore specify the 'spellcheck_uri'
// You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
$config['spellcheck_engine'] = 'googie';
$config['spellcheck_engine'] = 'googie';
// For locally installed Nox Spell Server or After the Deadline services,
// For locally installed Nox Spell Server or After the Deadline services,
@ -829,9 +647,8 @@ $config['spellcheck_ignore_nums'] = false;
// Makes that words with symbols will be ignored (e.g. g@@gle)
// Makes that words with symbols will be ignored (e.g. g@@gle)
$config['spellcheck_ignore_syms'] = false;
$config['spellcheck_ignore_syms'] = false;
// Number of lines at the end of a message considered to contain the signature.
// Use this char/string to separate recipients when composing a new message
// Increase this value if signatures are not properly detected and colored
$config['recipients_separator'] = ',';
$config['sig_max_lines'] = 15;
// don't let users set pagesize to more than this value if set
// don't let users set pagesize to more than this value if set
$config['max_pagesize'] = 200;
$config['max_pagesize'] = 200;
@ -839,6 +656,11 @@ $config['max_pagesize'] = 200;
// Minimal value of user's 'refresh_interval' setting (in seconds)
// Minimal value of user's 'refresh_interval' setting (in seconds)
$config['min_refresh_interval'] = 60;
$config['min_refresh_interval'] = 60;
// Enables files upload indicator. Requires APC installed and enabled apc.rfc1867 option.
// By default refresh time is set to 1 second. You can set this value to true
// or any integer value indicating number of seconds.
$config['upload_progress'] = false;
// Specifies for how many seconds the Undo button will be available
// Specifies for how many seconds the Undo button will be available
// after object delete action. Currently used with supporting address book sources.
// after object delete action. Currently used with supporting address book sources.
// Setting it to 0, disables the feature.
// Setting it to 0, disables the feature.
@ -850,19 +672,17 @@ $config['compose_responses_static'] = array(
// array('name' => 'Canned Response 2', 'text' => 'Static Response Two'),
// array('name' => 'Canned Response 2', 'text' => 'Static Response Two'),
);
);
// List of HKP key servers for PGP public key lookups in Enigma/Mailvelope
// Note: Lookup is client-side, so the server must support Cross-Origin Resource Sharing
$config['keyservers'] = array('keys.openpgp.org');
// ----------------------------------
// ----------------------------------
// ADDRESSBOOK SETTINGS
// ADDRESSBOOK SETTINGS
// ----------------------------------
// ----------------------------------
// This indicates which type of address book to use. Possible choises:
// This indicates which type of address book to use. Possible choises:
// 'sql' - built-in sql addressbook enabled (default),
// 'sql' (default), 'ldap' and ''.
// '' - built-in sql addressbook disabled.
// If set to 'ldap' then it will look at using the first writable LDAP
// Still LDAP or plugin-added addressbooks will be available.
// address book as the primary address book and it will not display the
// BC Note: The value can actually be anything except 'sql', it does not matter.
// SQL address book in the 'Address Book' view.
// If set to '' then no address book will be displayed or only the
// addressbook which is created by a plugin (like CardDAV).
$config['address_book_type'] = 'sql';
$config['address_book_type'] = 'sql';
// In order to enable public ldap search, configure an array like the Verisign
// In order to enable public ldap search, configure an array like the Verisign
@ -895,7 +715,6 @@ $config['ldap_public']['Verisign'] = array(
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %t = domain.tld
// For example %n = mail.domain.tld, %t = domain.tld
// Note: Host can also be a full URI e.g. ldaps://hostname.local:636 (for SSL)
'hosts' => array('directory.verisign.com'),
'hosts' => array('directory.verisign.com'),
'port' => 389,
'port' => 389,
'use_tls' => false,
'use_tls' => false,
@ -919,10 +738,6 @@ $config['ldap_public']['Verisign'] = array(
// DN and password to bind as before searching for bind DN, if anonymous search is not allowed
// DN and password to bind as before searching for bind DN, if anonymous search is not allowed
'search_bind_dn' => '',
'search_bind_dn' => '',
'search_bind_pw' => '',
'search_bind_pw' => '',
// Base DN and filter used for resolving the user's domain root DN which feeds the %dc variables
// Leave empty to skip this lookup and derive the root DN from the username domain
'domain_base_dn' => '',
'domain_filter' => '',
// Optional map of replacement strings => attributes used when binding for an individual address book
// Optional map of replacement strings => attributes used when binding for an individual address book
'search_bind_attrib' => array(), // e.g. array('%udc' => 'ou')
'search_bind_attrib' => array(), // e.g. array('%udc' => 'ou')
// Default for %dn variable if search doesn't return DN value
// Default for %dn variable if search doesn't return DN value
@ -953,11 +768,8 @@ $config['ldap_public']['Verisign'] = array(
'required_fields' => array('cn', 'sn', 'mail'),
'required_fields' => array('cn', 'sn', 'mail'),
'search_fields' => array('mail', 'cn'), // fields to search in
'search_fields' => array('mail', 'cn'), // fields to search in
// mapping of contact fields to directory attributes
// mapping of contact fields to directory attributes
// 1. for every attribute one can specify the number of values (limit) allowed.
// for every attribute one can specify the number of values (limit) allowed.
// default is 1, a wildcard * means unlimited
// default is 1, a wildcard * means unlimited
// 2. another possible parameter is separator character for composite fields
// 3. it's possible to define field format for write operations, e.g. for date fields
// example: 'birthday:date[YmdHis\\Z]'
'fieldmap' => array(
'fieldmap' => array(
// Roundcube => LDAP:limit
// Roundcube => LDAP:limit
'name' => 'cn',
'name' => 'cn',
@ -1007,7 +819,7 @@ $config['ldap_public']['Verisign'] = array(
// Used where addressbook contains aliases to objects elsewhere in the LDAP tree.
// Used where addressbook contains aliases to objects elsewhere in the LDAP tree.
// definition for contact groups (uncomment if no groups are supported)
// definition for contact groups (uncomment if no groups are supported)
// for the groups base_dn, the user replacements %fu, %u, % d and %dc work as for base_dn (see above)
// for the groups base_dn, the user replacements %fu, %u, $ d and %dc work as for base_dn (see above)
// if the groups base_dn is empty, the contact base_dn is used for the groups as well
// if the groups base_dn is empty, the contact base_dn is used for the groups as well
// -> in this case, assure that groups and contacts are separated due to the concernig filters!
// -> in this case, assure that groups and contacts are separated due to the concernig filters!
'groups' => array(
'groups' => array(
@ -1076,10 +888,6 @@ $config['address_template'] = '{street}<br/>{locality} {zipcode}<br/>{country} {
// Note: For LDAP sources fuzzy_search must be enabled to use 'partial' or 'prefix' mode
// Note: For LDAP sources fuzzy_search must be enabled to use 'partial' or 'prefix' mode
$config['addressbook_search_mode'] = 0;
$config['addressbook_search_mode'] = 0;
// List of fields used on contacts list and for autocompletion searches
// Warning: These are field names not LDAP attributes (see 'fieldmap' setting)!
$config['contactlist_fields'] = array('name', 'firstname', 'surname', 'email');
// Template of contact entry on the autocompletion list.
// Template of contact entry on the autocompletion list.
// You can use contact fields as: name, email, organization, department, etc.
// You can use contact fields as: name, email, organization, department, etc.
// See program/steps/addressbook/func.inc for a list
// See program/steps/addressbook/func.inc for a list
@ -1092,12 +900,8 @@ $config['contact_search_name'] = '{name} <{email}>';
// Use this charset as fallback for message decoding
// Use this charset as fallback for message decoding
$config['default_charset'] = 'ISO-8859-1';
$config['default_charset'] = 'ISO-8859-1';
// Skin name: folder from skins/
// skin name: folder from skins/
$config['skin'] = 'elastic';
$config['skin'] = 'larry';
// Limit skins available for the user.
// Note: When not empty, it should include the default skin set in 'skin' option.
$config['skins_allowed'] = array();
// Enables using standard browser windows (that can be handled as tabs)
// Enables using standard browser windows (that can be handled as tabs)
// instead of popup windows
// instead of popup windows
@ -1112,25 +916,25 @@ $config['addressbook_pagesize'] = 50;
// sort contacts by this col (preferably either one of name, firstname, surname)
// sort contacts by this col (preferably either one of name, firstname, surname)
$config['addressbook_sort_col'] = 'surname';
$config['addressbook_sort_col'] = 'surname';
// T he way how contact names are displayed in the list.
// t he way how contact names are displayed in the list
// 0: prefix firstname middlename surname suffix (only if display name is not set)
// 0: display name
// 1: firstname middlename surname
// 1: (prefix) firstname middlename surname (suffix)
// 2: surname firstname middlename
// 2: (prefix) surname firstname middlename (suffix)
// 3: surname, firstname middlename
// 3: (prefix) surname, firstname middlename (suffix)
$config['addressbook_name_listing'] = 0;
$config['addressbook_name_listing'] = 0;
// use this timezone to display date/time
// use this timezone to display date/time
// valid timezone identifi ers are listed here: php.net/manual/en/timezones.php
// valid timezone identifers are listed here: php.net/manual/en/timezones.php
// 'auto' will use the browser's timezone settings
// 'auto' will use the browser's timezone settings
$config['timezone'] = 'auto';
$config['timezone'] = 'auto';
// prefer displaying HTML messages
// prefer displaying HTML messages
$config['prefer_html'] = true;
$config['prefer_html'] = true;
// display remote resources ( inline images, styles)
// display remote inline images
// 0 - Never, always ask
// 0 - Never, always ask
// 1 - Ask if sender is not in address book
// 1 - Ask if sender is not in address book
// 2 - Always allow
// 2 - Always show inline images
$config['show_images'] = 0;
$config['show_images'] = 0;
// open messages in new window
// open messages in new window
@ -1140,32 +944,21 @@ $config['message_extwin'] = false;
$config['compose_extwin'] = false;
$config['compose_extwin'] = false;
// compose html formatted messages by default
// compose html formatted messages by default
// 0 - never,
// 0 - never, 1 - always, 2 - on reply to HTML message, 3 - on forward or reply to HTML message
// 1 - always,
// 2 - on reply to HTML message,
// 3 - on forward or reply to HTML message
// 4 - always, except when replying to plain text message
$config['htmleditor'] = 0;
$config['htmleditor'] = 0;
// save copies of compose messages in the browser's local storage
// for recovery in case of browser crashes and session timeout.
$config['compose_save_localstorage'] = true;
// show pretty dates as standard
// show pretty dates as standard
$config['prettydate'] = true;
$config['prettydate'] = true;
// save compose message every 300 seconds (5min)
// save compose message every 300 seconds (5min)
$config['draft_autosave'] = 300;
$config['draft_autosave'] = 300;
// Interface layout. Default: 'widescreen'.
// default setting if preview pane is enabled
// 'widescreen' - three columns
$config['preview_pane'] = false;
// 'desktop' - two columns, preview on bottom
// 'list' - two columns, no preview
$config['layout'] = 'widescreen';
// Mark as read when viewing a messag e (delay in seconds)
// Mark as read when viewed in preview pane (delay in seconds)
// Set to -1 if messages should not be marked as read
// Set to -1 if messages in preview pane should not be marked as read
$config['mail_read_time '] = 0;
$config['preview_pane_mark_read '] = 0;
// Clear Trash on logout
// Clear Trash on logout
$config['logout_purge'] = false;
$config['logout_purge'] = false;
@ -1202,7 +995,7 @@ $config['refresh_interval'] = 60;
// If true all folders will be checked for recent messages
// If true all folders will be checked for recent messages
$config['check_all_folders'] = false;
$config['check_all_folders'] = false;
// If true, after message/contact delete/move, the next message/contact will be displayed
// If true, after message delete/move, the next message will be displayed
$config['display_next'] = true;
$config['display_next'] = true;
// Default messages listing mode. One of 'threads' or 'list'.
// Default messages listing mode. One of 'threads' or 'list'.
@ -1217,7 +1010,6 @@ $config['autoexpand_threads'] = 0;
// -1 - don't cite the original message
// -1 - don't cite the original message
// 0 - place cursor below the original message
// 0 - place cursor below the original message
// 1 - place cursor above original message (top posting)
// 1 - place cursor above original message (top posting)
// 2 - place cursor above original message (top posting), but do not indent the quote
$config['reply_mode'] = 0;
$config['reply_mode'] = 0;
// When replying strip original signature from message
// When replying strip original signature from message
@ -1230,14 +1022,6 @@ $config['strip_existing_sig'] = true;
// 3 - Forwards and Replies only
// 3 - Forwards and Replies only
$config['show_sig'] = 1;
$config['show_sig'] = 1;
// By default the signature is placed depending on cursor position (reply_mode).
// Sometimes it might be convenient to start the reply on top but keep
// the signature below the quoted text (sig_below = true).
$config['sig_below'] = false;
// Enables adding of standard separator to the signature
$config['sig_separator'] = true;
// Use MIME encoding (quoted-printable) for 8bit characters in message body
// Use MIME encoding (quoted-printable) for 8bit characters in message body
$config['force_7bit'] = false;
$config['force_7bit'] = false;
@ -1250,6 +1034,12 @@ $config['search_mods'] = null; // Example: array('*' => array('subject'=>1, 'fr
// Defaults of the addressbook search field configuration.
// Defaults of the addressbook search field configuration.
$config['addressbook_search_mods'] = null; // Example: array('name'=>1, 'firstname'=>1, 'surname'=>1, 'email'=>1, '*'=>1);
$config['addressbook_search_mods'] = null; // Example: array('name'=>1, 'firstname'=>1, 'surname'=>1, 'email'=>1, '*'=>1);
// 'Delete always'
// This setting reflects if mail should be always deleted
// when moving to Trash fails. This is necessary in some setups
// when user is over quota and Trash is included in the quota.
$config['delete_always'] = false;
// Directly delete messages in Junk instead of moving to Trash
// Directly delete messages in Junk instead of moving to Trash
$config['delete_junk'] = false;
$config['delete_junk'] = false;