選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

config.inc.php 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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'] = NULL;
  18. $config['debug_level'] = 1;
  19. // ----------------------------------
  20. // IMAP
  21. // ----------------------------------
  22. // The mail host chosen to perform the log-in.
  23. // Leave blank to show a textbox at login, give a list of hosts
  24. // to display a pulldown menu or set one host as string.
  25. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  26. // Supported replacement variables:
  27. // %n - hostname ($_SERVER['SERVER_NAME'])
  28. // %t - hostname without the first part
  29. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  30. // %s - domain name after the '@' from e-mail address provided at login screen
  31. // For example %n = mail.domain.tld, %t = domain.tld
  32. // WARNING: After hostname change update of mail_host column in users table is
  33. // required to match old user data records with the new host.
  34. $config['default_host'] = 'IMAP_HOST';
  35. // ----------------------------------
  36. // SMTP
  37. // ----------------------------------
  38. // SMTP server host (for sending mails).
  39. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  40. // If left blank, the PHP mail() function is used
  41. // Supported replacement variables:
  42. // %h - user's IMAP hostname
  43. // %n - hostname ($_SERVER['SERVER_NAME'])
  44. // %t - hostname without the first part
  45. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  46. // %z - IMAP domain (IMAP hostname without the first part)
  47. // For example %n = mail.domain.tld, %t = domain.tld
  48. $config['smtp_server'] = 'SMTP_HOST';
  49. // SMTP username (if required) if you use %u as the username Roundcube
  50. // will use the current username for login
  51. $config['smtp_user'] = '%u';
  52. // SMTP password (if required) if you use %p as the password Roundcube
  53. // will use the current user's password for login
  54. $config['smtp_pass'] = '%p';
  55. // provide an URL where a user can get support for this Roundcube installation
  56. // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
  57. $config['support_url'] = '';
  58. // This key is used for encrypting purposes, like storing of imap password
  59. // in the session. For historical reasons it's called DES_key, but it's used
  60. // with any configured cipher_method (see below).
  61. $config['des_key'] = 'DES_KEY';
  62. // ----------------------------------
  63. // PLUGINS
  64. // ----------------------------------
  65. // List of active plugins (in plugins/ directory)
  66. $config['plugins'] = array(
  67. 'attachment_reminder',
  68. 'managesieve',
  69. 'password',
  70. 'zipdownload',
  71. // 'vacation_sieve',
  72. 'automatic_addressbook',
  73. 'html5_notifier'
  74. );
  75. // the default locale setting (leave empty for auto-detection)
  76. // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
  77. $config['language'] = 'en_US';
  78. // save compose message every 300 seconds (5min)
  79. $config['draft_autosave'] = 60;
  80. $config['create_default_folders'] = true;