No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

var_www_roundcube_config_config.inc.j2 4.0KB

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