123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?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, 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'] = 'pgsql://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_HOST/POSTGRES_DB';
-
- // ----------------------------------
- // LOGGING/DEBUGGING
- // ----------------------------------
- // system error reporting, sum of: 1 = log; 4 = show
- $config['debug_level'] = 4;
-
- // ----------------------------------
- // 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'] = 'IMAP_HOST';
-
- // ----------------------------------
- // 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'] = 'SMTP_HOST';
-
- // 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'] = '';
-
- // 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).
- $config['des_key'] = 'DES_KEY';
-
- // ----------------------------------
- // PLUGINS
- // ----------------------------------
- // List of active plugins (in plugins/ directory)
- $config['plugins'] = array('attachment_reminder',
- 'managesieve',
- 'password',
- 'zipdownload',
- // 'vacation_sieve',
- 'automatic_addressbook',
- 'html5_notifier');
-
- // the default locale setting (leave empty for auto-detection)
- // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
- $config['language'] = 'en_US';
-
- // save compose message every 300 seconds (5min)
- $config['draft_autosave'] = 60;
-
- $config['create_default_folders'] = true;
|