Aleksander Machniak
2016-03-28 46f7b7096450939fe03c95aa81ce06ae4bfca89d
commit | author | age
9bacb2 1 <?php
TB 2
3 /*
4  +-----------------------------------------------------------------------+
5  | Local configuration for the Roundcube Webmail installation.           |
6  |                                                                       |
d49146 7  | This is a sample configuration file only containing the minimum       |
447fc6 8  | setup required for a functional installation. Copy more options       |
9bacb2 9  | from defaults.inc.php to this file to override the defaults.          |
TB 10  |                                                                       |
11  | This file is part of the Roundcube Webmail client                     |
12  | Copyright (C) 2005-2013, The Roundcube Dev Team                       |
13  |                                                                       |
14  | Licensed under the GNU General Public License version 3 or            |
15  | any later version with exceptions for skins & plugins.                |
16  | See the README file for a full license statement.                     |
17  +-----------------------------------------------------------------------+
18 */
19
20 $config = array();
21
22 // Database connection string (DSN) for read+write operations
23 // Format (compatible with PEAR MDB2): db_provider://user:password@host/database
90c82e 24 // Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle
9bacb2 25 // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
90c82e 26 // NOTE: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
AM 27 //       or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
9bacb2 28 $config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
TB 29
30 // The mail host chosen to perform the log-in.
31 // Leave blank to show a textbox at login, give a list of hosts
32 // to display a pulldown menu or set one host as string.
33 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
34 // Supported replacement variables:
35 // %n - hostname ($_SERVER['SERVER_NAME'])
36 // %t - hostname without the first part
37 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
38 // %s - domain name after the '@' from e-mail address provided at login screen
39 // For example %n = mail.domain.tld, %t = domain.tld
40 $config['default_host'] = 'localhost';
41
42 // SMTP server host (for sending mails).
43 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
44 // If left blank, the PHP mail() function is used
45 // Supported replacement variables:
46 // %h - user's IMAP hostname
47 // %n - hostname ($_SERVER['SERVER_NAME'])
48 // %t - hostname without the first part
49 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
50 // %z - IMAP domain (IMAP hostname without the first part)
51 // For example %n = mail.domain.tld, %t = domain.tld
52 $config['smtp_server'] = '';
53
54 // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
55 // deprecated SSL over SMTP (aka SMTPS))
56 $config['smtp_port'] = 25;
57
58 // SMTP username (if required) if you use %u as the username Roundcube
59 // will use the current username for login
60 $config['smtp_user'] = '';
61
62 // SMTP password (if required) if you use %p as the password Roundcube
63 // will use the current user's password for login
64 $config['smtp_pass'] = '';
65
66 // provide an URL where a user can get support for this Roundcube installation
67 // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
68 $config['support_url'] = '';
69
70 // Name your service. This is displayed on the login screen and in the window title
71 $config['product_name'] = 'Roundcube Webmail';
72
73 // this key is used to encrypt the users imap password which is stored
74 // in the session record (and the client cookie if remember password is enabled).
75 // please provide a string of exactly 24 chars.
76 // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
77 $config['des_key'] = 'rcmail-!24ByteDESkey*Str';
78
79 // List of active plugins (in plugins/ directory)
80 $config['plugins'] = array(
81     'archive',
82     'zipdownload',
83 );
84
85 // skin name: folder from skins/
86 $config['skin'] = 'larry';