Last active
June 13, 2016 12:21
-
-
Save alexh-name/ad81232c31a830378214a102d0b663c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Local configuration for Roundcube Webmail */ | |
// ---------------------------------- | |
// SQL DATABASE | |
// ---------------------------------- | |
// 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 or sqlsrv | |
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php | |
// NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646' | |
$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; | |
// ---------------------------------- | |
// IMAP | |
// ---------------------------------- | |
// The mail 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'; | |
$config['mail_domain'] = '%d'; | |
// ---------------------------------- | |
// SMTP | |
// ---------------------------------- | |
// SMTP server host (for sending mails). | |
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// | |
// If left blank, the PHP mail() function is used | |
// 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 25; use 587 for STARTTLS or 465 for the | |
// deprecated SSL over SMTP (aka SMTPS)) | |
// 587 is where our authenticated SMTP happens | |
$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'; | |
// 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'] = 'mailto:postmaster@YOURADDRESS'; | |
// 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 | |
// for example array("*" => "/images/roundcube_logo.png", "messageprint" => "/images/roundcube_logo_print.png") | |
// $config['skin_logo'] = 'files/logo.png'; | |
// 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. | |
$config['des_key'] = 'rcmail-!24ByteDESkey*Str'; | |
// Name your service. This is displayed on the login screen and in the window title | |
$config['product_name'] = 'YOURSERVICE | Webmail'; | |
// ---------------------------------- | |
// PLUGINS | |
// ---------------------------------- | |
// List of active plugins (in plugins/ directory) | |
$config['plugins'] = array(); | |
// Set the spell checking engine. Possible values: | |
// - 'googie' - the default | |
// - '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, you need to | |
// connect to a Nox Spell Server when using 'googie' here. Therefore specify the 'spellcheck_uri' | |
$config['spellcheck_engine'] = 'pspell'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment