Advertisement
Guest User

config.inc.php

a guest
Mar 19th, 2016
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 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 or sqlsrv
  11. // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
  12. // NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
  13. $config['db_dsnw'] = 'mysql://MYROUNDCUBEINFOHERE';
  14.  
  15. // ----------------------------------
  16. // IMAP
  17. // ----------------------------------
  18. // The mail host chosen to perform the log-in.
  19. // Leave blank to show a textbox at login, give a list of hosts
  20. // to display a pulldown menu or set one host as string.
  21. // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
  22. // Supported replacement variables:
  23. // %n - hostname ($_SERVER['SERVER_NAME'])
  24. // %t - hostname without the first part
  25. // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
  26. // %s - domain name after the '@' from e-mail address provided at login screen
  27. // For example %n = mail.domain.tld, %t = domain.tld
  28. // WARNING: After hostname change update of mail_host column in users table is
  29. // required to match old user data records with the new host.
  30. $config['default_host'] = 'ssl://SlackwareMachine1';
  31.  
  32. // TCP port used for IMAP connections
  33. $config['default_port'] = 993;
  34.  
  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'] = 'tls://mail.mydomain.com';
  49.  
  50. // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
  51. // deprecated SSL over SMTP (aka SMTPS))
  52. $config['smtp_port'] = 587;
  53.  
  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'] = 'https://mydomain.com';
  57.  
  58. // this key is used to encrypt the users imap password which is stored
  59. // in the session record (and the client cookie if remember password is enabled).
  60. // please provide a string of exactly 24 chars.
  61. $config['des_key'] = '71fa3d1267faa21aec8c7486';
  62.  
  63. // Name your service. This is displayed on the login screen and in the window title
  64. $config['product_name'] = 'Dataglobe.net Mail';
  65.  
  66. // ----------------------------------
  67. // PLUGINS
  68. // ----------------------------------
  69. // List of active plugins (in plugins/ directory)
  70. $config['plugins'] = array('archive', 'password', 'zipdownload');
  71.  
  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.  
  76. // Set the spell checking engine. Possible values:
  77. // - 'googie' - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting)
  78. // - 'pspell' - requires the PHP Pspell module and aspell installed
  79. // - 'enchant' - requires the PHP Enchant module
  80. // - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
  81. // Since Google shut down their public spell checking service, the default settings
  82. // connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
  83. // You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
  84. $config['spellcheck_engine'] = 'enchant';
  85.  
  86.  
  87. $config['enable_installer'] = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement