Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

config.inc.php.sample 3.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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'] = 'mysql://roundcube:pass@localhost/roundcubemail';
  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'] = 'localhost';
  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'] = '';
  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'] = 25;
  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'] = '';
  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'] = '';
  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'] = 'rcmail-!24ByteDESkey*Str';
  67. // List of active plugins (in plugins/ directory)
  68. $config['plugins'] = array(
  69. 'archive',
  70. 'zipdownload',
  71. );
  72. // skin name: folder from skins/
  73. $config['skin'] = 'larry';