update RC config file
This commit is contained in:
parent
0af6315548
commit
f8377b523b
|
@ -17,7 +17,7 @@
|
|||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
$config = array();
|
||||
$config = [];
|
||||
|
||||
// ----------------------------------
|
||||
// SQL DATABASE
|
||||
|
@ -27,29 +27,20 @@ $config = array();
|
|||
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
|
||||
// Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle
|
||||
// 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 (Linux): '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'] = '{{ rcube_db_plugin }}://{{ rcube_db_username }}:{{ rcube_db_passwd }}@{{ rcube_db_hostname }}/{{ rcube_db_name }}';
|
||||
|
||||
// Log sent messages to <log_dir>/sendmail.log or to syslog
|
||||
$config['smtp_log'] = {{ rcube_smpt_log }};
|
||||
|
||||
// Log LDAP conversation to <log_dir>/ldap.log or to syslog
|
||||
$config['ldap_debug'] = {{ rcube_ldap_debug }};
|
||||
|
||||
// ----------------------------------
|
||||
// IMAP
|
||||
// ----------------------------------
|
||||
|
||||
// The IMAP host chosen to perform the log-in.
|
||||
// The IMAP host (and optionally port number) 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.
|
||||
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
|
||||
// prefix tls:// to use STARTTLS.
|
||||
// If port number is omitted it will be set to 993 (for ssl://) or 143 otherwise.
|
||||
// Supported replacement variables:
|
||||
// %n - hostname ($_SERVER['SERVER_NAME'])
|
||||
// %t - hostname without the first part
|
||||
|
@ -58,15 +49,26 @@ $config['ldap_debug'] = {{ rcube_ldap_debug }};
|
|||
// 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'] = '{{ rcube_default_host }}';
|
||||
|
||||
// IMAP host chosen to perform the log-in.
|
||||
// See defaults.inc.php for the option description.
|
||||
$config['imap_host'] = '{{ rcube_default_host }}';
|
||||
|
||||
// Log LDAP conversation to <log_dir>/ldap.log or to syslog
|
||||
$config['ldap_debug'] = {{ rcube_ldap_debug }};
|
||||
|
||||
// ----------------------------------
|
||||
// SMTP
|
||||
// ----------------------------------
|
||||
|
||||
// SMTP server host (for sending mails).
|
||||
// See defaults.inc.php for the option description.
|
||||
$config['smtp_host'] = '{{ rcube_security_proto }}://{{ rcube_smtp_server }}:{{ rcube_smpt_port }}';
|
||||
|
||||
// SMTP server host (and optional port number) for sending mails.
|
||||
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
|
||||
// prefix tls:// to use STARTTLS.
|
||||
// If port number is omitted it will be set to 465 (for ssl://) or 587 otherwise.
|
||||
// Supported replacement variables:
|
||||
// %h - user's IMAP hostname
|
||||
// %n - hostname ($_SERVER['SERVER_NAME'])
|
||||
|
@ -74,10 +76,8 @@ $config['default_host'] = '{{ rcube_default_host }}';
|
|||
// %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'] = '{{ rcube_security_proto }}://{{ rcube_smtp_server }}';
|
||||
|
||||
// SMTP port. Use 25 for cleartext, 465 for Implicit TLS, or 587 for STARTTLS (default)
|
||||
$config['smtp_port'] = {{ rcube_smpt_port }};
|
||||
// To specify different SMTP servers for different IMAP hosts provide an array
|
||||
// of IMAP host (no prefix or port) and SMTP server e.g. ['imap.example.com' => 'smtp.example.net']
|
||||
|
||||
// SMTP username (if required) if you use %u as the username Roundcube
|
||||
// will use the current username for login
|
||||
|
@ -87,6 +87,9 @@ $config['smtp_user'] = '{{ rcube_smtp_user }}';
|
|||
// will use the current user's password for login
|
||||
$config['smtp_pass'] = '{{ rcube_smtp_passwd }}';
|
||||
|
||||
// Log sent messages to <log_dir>/sendmail.log or to syslog
|
||||
$config['smtp_log'] = {{ rcube_smpt_log }};
|
||||
|
||||
// ----------------------------------
|
||||
// SYSTEM
|
||||
// ----------------------------------
|
||||
|
@ -102,12 +105,10 @@ $config['log_dir'] = '{{ rcube_logdir }}';
|
|||
|
||||
// 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'] = '{{ rcube_temp_dir }}';
|
||||
|
||||
// This key is used for encrypting purposes, like storing of imap password
|
||||
// in the session. For historical reasons it's called DES_key, but it's used
|
||||
// with any configured cipher_method (see below).
|
||||
// For the default cipher_method a required key length is 24 characters.
|
||||
$config['temp_dir'] = '{{ rcube_temp_dir }}';// Name your service. This is displayed on the login screen and in the window title// This key is used to encrypt the users imap password which is stored
|
||||
// in the session record. For the default cipher method it must be
|
||||
// exactly 24 characters long.
|
||||
// YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
|
||||
$config['des_key'] = '{{ rcube_des_key }}';
|
||||
|
||||
// Name your service. This is displayed on the login screen and in the window title
|
||||
|
@ -119,13 +120,13 @@ $config['product_name'] = '{{ rcube_product_name }}';
|
|||
// ----------------------------------
|
||||
|
||||
// List of active plugins (in plugins/ directory)
|
||||
$config['plugins'] = array(
|
||||
$config['plugins'] = [
|
||||
{% if rcube_plugins is defined %}
|
||||
{% for item in rcube_plugins %}
|
||||
'{{ item.name }}',
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
);
|
||||
];
|
||||
|
||||
// skin name: folder from skins/
|
||||
$config['skin'] = '{{ rcube_default_skin }}';
|
||||
|
@ -141,7 +142,7 @@ $config['language'] = '{{ rcube_default_lang }}';
|
|||
|
||||
// give this choice of date formats to the user to select from
|
||||
// Note: do not use ambiguous formats like m/d/Y
|
||||
$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');
|
||||
$config['date_formats'] = ['Y-m-d', 'Y/m/d', 'Y.m.d', 'd-m-Y', 'd/m/Y', 'd.m.Y', 'j.n.Y'];
|
||||
|
||||
// Make use of the built-in spell checker. It is based on GoogieSpell.
|
||||
$config['enable_spellcheck'] = {{ rcube_enable_spellcheck }};
|
||||
|
@ -186,9 +187,9 @@ $config['htmleditor'] = {{ rcube_htmleditor }};
|
|||
// 0 - Full RFC 2231 compatible
|
||||
// 1 - RFC 2047 for 'name' and RFC 2231 for 'filename' parameter (Thunderbird's default)
|
||||
// 2 - Full 2047 compatible
|
||||
$config['mime_param_folding'] = 0;
|
||||
$config['mime_param_folding'] = 1;
|
||||
|
||||
// Default font for composed HTML message.
|
||||
// Supported values: Andale Mono, Arial, Arial Black, Book Antiqua, Courier New,
|
||||
// Georgia, Helvetica, Impact, Tahoma, Terminal, Times New Roman, Trebuchet MS, Verdana
|
||||
$config['default_font'] = 'Arial';
|
||||
$config['default_font'] = 'Verdana';
|
||||
|
|
Loading…
Reference in New Issue