From 55c860f6a81d4ef8908761745c4676775cec0a44 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 8 Feb 2010 11:33:14 +0100 Subject: [PATCH] squirrelmail: Add default config. --- etc/squirrelmail/config.php | 1054 +++++++++++++++++++++++++++++++++++ 1 file changed, 1054 insertions(+) create mode 100644 etc/squirrelmail/config.php diff --git a/etc/squirrelmail/config.php b/etc/squirrelmail/config.php new file mode 100644 index 0000000..449c864 --- /dev/null +++ b/etc/squirrelmail/config.php @@ -0,0 +1,1054 @@ + 'memberdir.netscape.com', + * 'name' => 'Netcenter Member Directory', + * 'base' => 'ou=member_directory,o=netcenter.com' + * ); + * + * NOTE: please see security note at the top of this file when + * entering a password. + */ +// Add your ldap server options here + +/** + * Javascript in Addressbook Control + * + * Users may search their addressbook via either a plain HTML or Javascript + * enhanced user interface. This option allows you to set the default choice. + * Set this default choice as either: + * true = javascript + * false = html + * @global bool $default_use_javascript_addr_book + */ +$default_use_javascript_addr_book = false; + +/** + * Shared filebased address book + * @global string $abook_global_file + * @since 1.5.1 and 1.4.4 + */ +$abook_global_file = ''; + +/** + * Writing into shared address book control + * @global bool $abook_global_file_writeable + * @since 1.5.1 and 1.4.4 + */ +$abook_global_file_writeable = false; + +/** + * Listing of shared address book control + * @global bool $abook_global_file_listing + * @since 1.5.1 and 1.4.9 + */ +$abook_global_file_listing = true; + +/** + * Controls file based address book entry size + * + * This setting controls space allocated to file based address book records. + * End users will be unable to save address book entry, if total entry size + * (quoted address book fields + 4 delimiters + linefeed) exceeds allowed + * address book length size. + * + * Same setting is applied to personal and global file based address books. + * + * It is strongly recommended to keep default setting value. Change it only + * if you really want to store address book entries that are bigger than two + * kilobytes (2048). + * @global integer $abook_file_line_length + * @since 1.5.2 and 1.4.9 + */ +$abook_file_line_length = 2048; + +/** + * MOTD + * + * This is a message that is displayed immediately after a user logs in. + * @global string $motd + */ +$motd = ""; + + +/** + * To install plugins, just add elements to this array that have + * the plugin directory name relative to the /plugins/ directory. + * For instance, for the 'squirrelspell' plugin, you'd put a line like + * the following. + * $plugins[0] = 'squirrelspell'; + * $plugins[1] = 'listcommands'; + */ +// Add list of enabled plugins here + + +/*** Database ***/ +/** + * Read the administrator's manual in order to get more information + * about these settings. + */ +/** + * Database-driven private addressbooks + * DSN (Data Source Name) for a database where the private + * addressbooks are stored. See the administrator's manual for more info. + * If it is not set, the addressbooks are stored in files + * in the data dir. + * The DSN is in the format: mysql://user:pass@hostname/dbname + * The table is the name of the table to use within the + * specified database. + * + * NOTE: please see security note at the top of this file when + * entering a password. + */ +$addrbook_dsn = ''; +$addrbook_table = 'address'; +/** + * Database used to store user data + */ +$prefs_dsn = ''; +$prefs_table = 'userprefs'; +$prefs_key_field = 'prefkey'; +$prefs_user_field = 'user'; +$prefs_val_field = 'prefval'; + +/*** Global sql database options ***/ +/** + * DSN of global address book database + * @global string $addrbook_global_dsn + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_dsn = ''; +/** + * Table used for global database address book + * @global string $addrbook_global_table + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_table = 'global_abook'; +/** + * Control writing into global database address book + * @global boolean $addrbook_global_writeable + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_writeable = false; +/** + * Control listing of global database address book + * @global boolean $addrbook_global_listing + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_listing = false; + +/*** Language settings ***/ +/** + * Default language + * + * This is the default language. It is used as a last resort + * if SquirrelMail can't figure out which language to display. + * Language names usually consist of language code, undercore + * symbol and country code + * @global string $squirrelmail_default_language + */ +$squirrelmail_default_language = 'en_US'; + +/** + * Default Charset + * + * This option controls what character set is used when sending mail + * and when sending HTML to the browser. Do not set this to US-ASCII, + * use ISO-8859-1 instead. + * + * This option is active only when default language is en_US. In other + * cases SquirrelMail uses charset that depends on default language. + * See $squirrelmail_default_language + * + * @global string $default_charset + */ +$default_charset = 'iso-8859-1'; + +/** + * Lossy Encoding Control + * + * This option allows charset conversions when output charset does not support + * all symbols used in original charset. Symbols unsupported by output charset + * will be replaced with question marks. + * @global bool $lossy_encoding + * @since 1.4.4 and 1.5.1 + */ +$lossy_encoding = false; + +/** + * Subscribe Listing Control + * + * this disables listing all of the folders on the IMAP Server to + * generate the folder subscribe listbox (this can take a long time + * when you have a lot of folders). Instead, a textbox will be + * displayed allowing users to enter a specific folder name to subscribe to + * + * This option can't be changed by conf.pl + * @global bool $no_list_for_subscribe + */ +$no_list_for_subscribe = false; + +/** + * Color in config control + * + * This option is used only by conf.pl script to generate configuration + * menu with some colors and is provided here only as reference. + * @global integer $config_use_color + */ +$config_use_color = 2; + +/** + * This option includes special configuration options + */ +@include SM_PATH . 'config/config_local.php'; + -- 2.30.2