= 2.1. $config['enigma_pgp_gpgconf'] = '{{ roundcube_enigma_gpgconf_bin }}'; // Name of the PGP symmetric cipher algorithm. // Run gpg --version to see the list of supported algorithms $config['enigma_pgp_cipher_algo'] = null; // Name of the PGP digest (hash) algorithm. // Run gpg --version to see the list of supported algorithms $config['enigma_pgp_digest_algo'] = null; // Enables multi-host environments support. // Enable it if you have more than one HTTP server. // Make sure all servers run the same GnuPG version and have time in sync. // Keys will be stored in SQL database (make sure max_allowed_packet // is big enough). $config['enigma_multihost'] = {{ roundcube_enigma_multihost }}; // Enables signatures verification feature. $config['enigma_signatures'] = true; // Enables messages decryption feature. $config['enigma_decryption'] = true; // Enables messages encryption and signing feature. $config['enigma_encryption'] = true; // Enable signing all messages by default $config['enigma_sign_all'] = false; // Enable encrypting all messages by default $config['enigma_encrypt_all'] = false; // Enable attaching a public key to all messages by default $config['enigma_attach_pubkey'] = false; // Default for how long to store private key passwords (in minutes). // When set to 0 passwords will be stored for the whole session. $config['enigma_password_time'] = 5; // With this option you can lock composing options // of the plugin forcing the user to use configured settings. // The array accepts: 'sign', 'encrypt', 'pubkey'. // // For example, to force your users to sign every email, // you should set: // - enigma_sign_all = true // - enigma_options_lock = array('sign') // - dont_override = array('enigma_sign_all') $config['enigma_options_lock'] = array(); {% endif %} {% if roundcube_use_memcache %} // 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'] = array({% for h in roundcube_memcache_hosts %}'{{ h }}'{% if not loop.last %}, {% endif %} {% endfor %}); // 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; {% endif %} {% if roundcube_use_redis %} // 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'; {% endif %} // Message size limit. Note that SMTP server(s) may use a different value. // 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'] = '{{ roundcube_max_attachments_size }}M'; // 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; // skin name: folder from skins/ $config['skin'] = '{{ roundcube_default_skin }}'; // limit skins available/shown in the settings section $config['skins_allowed'] = array({% for skin in roundcube_available_skins %}'{{ skin }}'{% if not loop.last %}, {% endif %} {% endfor %}); // Logo image replacement. Specifies location of the image as: // - URL relative to the document root of this Roundcube installation // - full URL with http:// or https:// prefix // - URL relative to the current skin folder (when starts with a '/') // // 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'] = '{{ roundcube_skin_logo }}'; // automatically create a new Roundcube user when log-in the first time. // a new user will be created once the IMAP login succeeds. // set to false if only registered users can use this service $config['auto_create_user'] = true; // Enables possibility to log in using email address from user identities $config['user_aliases'] = false; // use this folder to store log files // 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. $config['log_dir'] = '{{ roundcube_logs_dir }}/'; // use this folder to store temp files // must be writeable for the user who runs PHP process (Apache user if mod_php is being used) $config['temp_dir'] = '{{ roundcube_temp_dir }}/'; // expire files in temp_dir after 48 hours // possible units: s, m, h, d, w $config['temp_dir_ttl'] = '48h'; // Enforce connections over https // 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 // different than default HTTP_HOST:443 $config['force_https'] = {{ roundcube_force_https_connection }}; // tell PHP that it should work as under secure connection // even if it doesn't recognize it as secure ($_SERVER['HTTPS'] is not set) // e.g. when you're running Roundcube behind a https proxy // this option is mutually exclusive to 'force_https' and only either one of them should be set to true. $config['use_https'] = false; // Allow browser-autocompletion on login form. // 0 - disabled, 1 - username and host only, 2 - username, host, password $config['login_autocomplete'] = {{ roundcube_login_autocomplete }}; // Forces conversion of logins to lower case. // 0 - disabled, 1 - only domain part, 2 - domain and local part. // If users authentication is case-insensitive this must be enabled. // Note: After enabling it all user records need to be updated, e.g. with query: // UPDATE users SET username = LOWER(username); $config['login_lc'] = {{ roundcube_login_lc }}; $config['display_product_info'] = 0; // Session lifetime in minutes $config['session_lifetime'] = {{ roundcube_session_lifetime }}; // Session domain: .example.org $config['session_domain'] = ''; // Session name. Default: 'roundcube_sessid' $config['session_name'] = null; // Session authentication cookie name. Default: 'roundcube_sessauth' $config['session_auth_name'] = null; {% if roundcube_use_memcache %} $config['session_storage'] = 'memcache'; {% elif roundcube_use_redis %} $config['session_storage'] = 'redis'; {% else %} $config['session_storage'] = 'db'; {% endif %} {% if haproxy_ips is defined %} $config['proxy_whitelist'] = array({% for h in haproxy_ips %}'{{ h }}'{% if not loop.last %}, {% endif %} {% endfor %}); {% endif %} $config['mail_domain'] = '{{ roundcube_domain_name }}'; $config['http_received_header_encrypt'] = {{ roundcube_http_received_header_encrypt }}; $config['identities_level'] = {{ roundcube_identities_level }}; $config['create_default_folders'] = true; $config['show_real_foldernames'] = true; $config['enable_spellcheck'] = {{ roundcube_enable_spellcheck }}; $config['show_images'] = {{ roundcube_show_images }}; $config['htmleditor'] = {{ roundcube_html_editor }}; {% if roundcube_managesieve_config %} // managesieve server port $rcmail_config['managesieve_port'] = {{ roundcube_managesieve_port }}; $config['managesieve_auth_type'] = '{{ roundcube_managesieve_auth }}'; $rcmail_config['managesieve_host'] = '{{ roundcube_managesieve_host }}'; $rcmail_config['managesieve_usetls'] = {{ roundcube_managesieve_tls }}; $config['managesieve_debug'] = {{ roundcube_managesieve_debug }}; $config['managesieve_vacation'] = {{ roundcube_managesieve_vacation }}; $config['managesieve_forward'] = {{ roundcube_managesieve_forward }}; {% endif %} // Help URL. The default does not work $config['help_source'] = '{{ roundcube_help_url }}'; // Map to translate Roundcube language codes into help document languages // The '*' entry will be used as default $config['help_language_map'] = array('*' => 'en_US'); // Enter an absolute URL to a page displaying information about this webmail // Alternatively, create a HTML file under /content/about.html $config['help_about_url'] = null; // Enter an absolute URL to a page displaying information about this webmail // Alternatively, put your license text to /content/license.html $config['help_license_url'] = null; // Determine whether to open the help in a new window $config['help_open_extwin'] = {{ roundcube_help_extwin }};