94 lines
4.2 KiB
PHP
94 lines
4.2 KiB
PHP
<?php
|
|
|
|
/* Local configuration for Roundcube Webmail */
|
|
|
|
// Database connection string (DSN) for read+write operations
|
|
// 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'
|
|
// or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
|
|
$config['db_dsnw'] = 'mysql://vmail:password@localhost/vmail';
|
|
|
|
// you can define specific table (and sequence) names prefix
|
|
$config['db_prefix'] = 'rc_';
|
|
|
|
// ----------------------------------
|
|
// LOGGING/DEBUGGING
|
|
// ----------------------------------
|
|
// log driver: 'syslog', 'stdout' or 'file'.
|
|
$config['log_driver'] = 'syslog';
|
|
|
|
// 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
|
|
$config['imap_host'] = 'tls://%n';
|
|
$config['imap_auth_type'] = 'PLAIN';
|
|
$config['smtp_auth_type'] = 'PLAIN';
|
|
|
|
// 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'] = '';
|
|
|
|
// 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'] = '/var/tmp/roundcube/';
|
|
|
|
// this key is used to encrypt the users imap password which is stored
|
|
// in the session record (and the client cookie if remember password is enabled).
|
|
// please provide a string of exactly 24 chars.
|
|
// YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
|
|
$config['des_key'] = 'rcmail-!24ByteDESkey*Str';
|
|
|
|
// Automatically add this domain to user names 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
|
|
// 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['username_domain'] = '%d';
|
|
|
|
// Name your service. This is displayed on the login screen and in the window title
|
|
$config['product_name'] = '';
|
|
|
|
// List of active plugins (in plugins/ directory)
|
|
$config['plugins'] = array('archive', 'password', 'sauserprefs', 'zipdownload');
|
|
|
|
// automatically create the above listed default folders on user login
|
|
$config['create_default_folders'] = true;
|
|
|
|
// Disable localization of the default folder names listed above
|
|
$config['show_real_foldernames'] = true;
|
|
|
|
// Set the spell checking engine. Possible values:
|
|
// - 'googie' - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting)
|
|
// - 'pspell' - requires the PHP Pspell module and aspell installed
|
|
// - '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
|
|
// Since Google shut down their public spell checking service, the default settings
|
|
// connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
|
|
// You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
|
|
$config['spellcheck_engine'] = 'pspell';
|
|
|
|
// When replying:
|
|
// -1 - don't cite the original message
|
|
// 0 - place cursor below the original message
|
|
// 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'] = 1;
|
|
|
|
$config['archive_mbox'] = 'Archives';
|
|
|
|
$config['archive_type'] = 'year';
|