Advertisement
SipriusPT

config.inc.php

Nov 23rd, 2016
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. <?php
  2.  
  3. /* Local configuration for Roundcube Webmail */
  4.  
  5. // ----------------------------------
  6. // SQL DATABASE
  7. // ----------------------------------
  8. // Database connection string (DSN) for read+write operations
  9. // Format (compatible with PEAR MDB2): db_provider://user:password@host/database
  10. // Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle
  11. // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
  12. // NOTE: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
  13. // or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
  14. $config['db_dsnw'] = 'mysql://roundcubemail:GFETEC2014nucle0n@localhost/roundcubemail';
  15.  
  16. // ----------------------------------
  17. // IMAP
  18. // ----------------------------------
  19. // The mail host chosen to perform the log-in.
  20. // Leave blank to show a textbox at login, give a list of hosts
  21. // to display a pulldown menu or set one host as string.
  22. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  23. // Supported replacement variables:
  24. // %n - hostname ($_SERVER['SERVER_NAME'])
  25. // %t - hostname without the first part
  26. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  27. // %s - domain name after the '@' from e-mail address provided at login screen
  28. // For example %n = mail.domain.tld, %t = domain.tld
  29. // WARNING: After hostname change update of mail_host column in users table is
  30. // required to match old user data records with the new host.
  31. $config['default_host'] = 'localhost';
  32.  
  33. // ----------------------------------
  34. // SMTP
  35. // ----------------------------------
  36. // SMTP server host (for sending mails).
  37. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  38. // If left blank, the PHP mail() function is used
  39. // Supported replacement variables:
  40. // %h - user's IMAP hostname
  41. // %n - hostname ($_SERVER['SERVER_NAME'])
  42. // %t - hostname without the first part
  43. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  44. // %z - IMAP domain (IMAP hostname without the first part)
  45. // For example %n = mail.domain.tld, %t = domain.tld
  46. $config['smtp_server'] = 'localhost';
  47.  
  48. // provide an URL where a user can get support for this Roundcube installation
  49. // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
  50. $config['support_url'] = '';
  51.  
  52. // This key is used for encrypting purposes, like storing of imap password
  53. // in the session. For historical reasons it's called DES_key, but it's used
  54. // with any configured cipher_method (see below).
  55. $config['des_key'] = 'X';
  56.  
  57. // Automatically add this domain to user names for login
  58. // Only for IMAP servers that require full e-mail addresses for login
  59. // Specify an array with 'host' => 'domain' values to support multiple hosts
  60. // Supported replacement variables:
  61. // %h - user's IMAP hostname
  62. // %n - hostname ($_SERVER['SERVER_NAME'])
  63. // %t - hostname without the first part
  64. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  65. // %z - IMAP domain (IMAP hostname without the first part)
  66. // For example %n = mail.domain.tld, %t = domain.tld
  67. $config['username_domain'] = 'gfe-tec.pt';
  68.  
  69. // Name your service. This is displayed on the login screen and in the window title
  70. $config['product_name'] = 'X';
  71.  
  72. // ----------------------------------
  73. // PLUGINS
  74. // ----------------------------------
  75. // List of active plugins (in plugins/ directory)
  76. $config['plugins'] = array();
  77.  
  78. // the default locale setting (leave empty for auto-detection)
  79. // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
  80. $config['language'] = 'en_US';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement