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.

config.inc.php 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. /* Local configuration for Roundcube Webmail */
  3. // ----------------------------------
  4. // SQL DATABASE
  5. // ----------------------------------
  6. // Database connection string (DSN) for read+write operations
  7. // Format (compatible with PEAR MDB2): db_provider://user:password@host/database
  8. // Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle
  9. // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
  10. // NOTE: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
  11. // or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
  12. $config['db_dsnw'] = 'pgsql://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_HOST/POSTGRES_DB';
  13. // ----------------------------------
  14. // LOGGING/DEBUGGING
  15. // ----------------------------------
  16. // system error reporting, sum of: 1 = log; 4 = show
  17. $config['debug_level'] = 4;
  18. // ----------------------------------
  19. // IMAP
  20. // ----------------------------------
  21. // The mail host chosen to perform the log-in.
  22. // Leave blank to show a textbox at login, give a list of hosts
  23. // to display a pulldown menu or set one host as string.
  24. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  25. // Supported replacement variables:
  26. // %n - hostname ($_SERVER['SERVER_NAME'])
  27. // %t - hostname without the first part
  28. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  29. // %s - domain name after the '@' from e-mail address provided at login screen
  30. // For example %n = mail.domain.tld, %t = domain.tld
  31. // WARNING: After hostname change update of mail_host column in users table is
  32. // required to match old user data records with the new host.
  33. $config['default_host'] = 'IMAP_HOST';
  34. // ----------------------------------
  35. // SMTP
  36. // ----------------------------------
  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'] = 'SMTP_HOST';
  48. // SMTP username (if required) if you use %u as the username Roundcube
  49. // will use the current username for login
  50. $config['smtp_user'] = '%u';
  51. // SMTP password (if required) if you use %p as the password Roundcube
  52. // will use the current user's password for login
  53. $config['smtp_pass'] = '%p';
  54. // provide an URL where a user can get support for this Roundcube installation
  55. // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
  56. $config['support_url'] = '';
  57. // This key is used for encrypting purposes, like storing of imap password
  58. // in the session. For historical reasons it's called DES_key, but it's used
  59. // with any configured cipher_method (see below).
  60. $config['des_key'] = 'DES_KEY';
  61. // ----------------------------------
  62. // PLUGINS
  63. // ----------------------------------
  64. // List of active plugins (in plugins/ directory)
  65. $config['plugins'] = array('attachment_reminder',
  66. 'managesieve',
  67. 'password',
  68. 'zipdownload',
  69. // 'vacation_sieve',
  70. 'automatic_addressbook',
  71. 'html5_notifier');
  72. // the default locale setting (leave empty for auto-detection)
  73. // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
  74. $config['language'] = 'en_US';
  75. // save compose message every 300 seconds (5min)
  76. $config['draft_autosave'] = 60;
  77. $config['create_default_folders'] = true;