squirrelmail/config.php

changeset 159
5524672ebbe7
parent 157
3214ed6c04f6
child 162
f38ce52e77c3
     1.1 --- a/squirrelmail/config.php	Fri Apr 17 23:07:57 2009 +0200
     1.2 +++ b/squirrelmail/config.php	Fri Apr 17 23:40:08 2009 +0200
     1.3 @@ -6,26 +6,24 @@
     1.4   */
     1.5  
     1.6  global $version;
     1.7 -$config_version = '1.4.0';
     1.8 +$config_version   = '1.4.0';
     1.9  $config_use_color = 1;
    1.10  
    1.11 -$org_name      = "Email";
    1.12 -$org_logo      = SM_PATH . 'images/opkg_large.png';
    1.13 +$org_name        = "Provisional Email";
    1.14 +$org_logo        = SM_PATH . 'images/opkg_large.png';
    1.15  $org_logo_width  = '277';
    1.16  $org_logo_height = '88';
    1.17 -$org_title     = "SquirrelMail $version";
    1.18 -$signout_page  = '';
    1.19 -$frame_top     = '_top';
    1.20 +$org_title       = "SquirrelMail $version";
    1.21 +$signout_page    = '';
    1.22 +$frame_top       = '_top';
    1.23  
    1.24 -$provider_uri     = 'http://www.openpkg.org/';
    1.25 -
    1.26 -$provider_name     = 'OpenPKG';
    1.27 -
    1.28 -$motd = "";
    1.29 +$motd            = "";
    1.30 +$provider_uri    = 'http://www.openpkg.org/';
    1.31 +$provider_name   = 'OpenPKG';
    1.32  
    1.33  $squirrelmail_default_language = 'de_DE';
    1.34 -$default_charset       = 'iso-8859-1';
    1.35 -$lossy_encoding        = false;
    1.36 +$default_charset        = 'iso-8859-1';
    1.37 +$lossy_encoding         = false;
    1.38  
    1.39  $domain                 = '@l_fqdm@';
    1.40  $imapServerAddress      = '@l_fqdm@';
    1.41 @@ -35,14 +33,14 @@
    1.42  $smtpPort               = 25;
    1.43  $sendmail_path          = '@l_prefix@/sbin/sendmail';
    1.44  $pop_before_smtp        = false;
    1.45 -$imap_server_type       = 'cyrus';
    1.46 +$imap_server_type       = 'dovecot';
    1.47  $invert_time            = false;
    1.48 -$optional_delimiter     = '.';
    1.49 +$optional_delimiter     = 'detect';
    1.50  
    1.51  $default_folder_prefix          = '';
    1.52 -$trash_folder                   = 'INBOX.Trash';
    1.53 -$sent_folder                    = 'INBOX.Sent';
    1.54 -$draft_folder                   = 'INBOX.Drafts';
    1.55 +$trash_folder                   = 'Trash';
    1.56 +$sent_folder                    = 'Sent';
    1.57 +$draft_folder                   = 'Drafts';
    1.58  $default_move_to_trash          = true;
    1.59  $default_move_to_sent           = true;
    1.60  $default_save_as_draft          = true;
    1.61 @@ -55,19 +53,20 @@
    1.62  $default_unseen_notify          = 2;
    1.63  $default_unseen_type            = 1;
    1.64  $auto_create_special            = false;
    1.65 -$delete_folder                  = true;
    1.66 +$delete_folder                  = false;
    1.67  $noselect_fix_enable            = false;
    1.68  
    1.69  $data_dir                 = '@l_prefix@/share/squirrelmail/prefs/';
    1.70  $attachment_dir           = '@l_prefix@/var/squirrelmail/spool/attach/';
    1.71  $dir_hash_level           = 1;
    1.72  $default_left_size        = '224';
    1.73 -$force_username_lowercase = false;
    1.74 +$force_username_lowercase = true;
    1.75  $default_use_priority     = true;
    1.76  $hide_sm_attributions     = false;
    1.77  $default_use_mdn          = true;
    1.78  $edit_identity            = true;
    1.79  $edit_name                = true;
    1.80 +$hide_auth_header         = true;
    1.81  $allow_thread_sort        = true;
    1.82  $allow_server_sort        = true;
    1.83  $allow_charset_search     = true;
    1.84 @@ -91,103 +90,81 @@
    1.85  
    1.86  /* NOP, for patch line placeholder (avoids fuzz) */
    1.87  $theme_css = '';
    1.88 -$theme_default = 0;
    1.89 -$theme[0]['PATH'] = '@l_prefix@/share/squirrelmail/themes/default_theme.php';
    1.90 -$theme[0]['NAME'] = 'Default';
    1.91 -$theme[1]['PATH'] = '@l_prefix@/share/squirrelmail/themes/plain_blue_theme.php';
    1.92 -$theme[1]['NAME'] = 'Plain Blue';
    1.93 -$theme[2]['PATH'] = '@l_prefix@/share/squirrelmail/themes/sandstorm_theme.php';
    1.94 -$theme[2]['NAME'] = 'Sand Storm';
    1.95 +$theme_default = 4;
    1.96 +$theme[0]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesome.php';
    1.97 +$theme[0]['NAME'] = 'Bluesome';
    1.98 +$theme[1]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_green.php';
    1.99 +$theme[1]['NAME'] = 'Dark Green';
   1.100 +$theme[2]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_grey_theme.php';
   1.101 +$theme[2]['NAME'] = 'Dark Grey';
   1.102  $theme[3]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean_theme.php';
   1.103  $theme[3]['NAME'] = 'Deep Ocean';
   1.104 -$theme[4]['PATH'] = '@l_prefix@/share/squirrelmail/themes/slashdot_theme.php';
   1.105 -$theme[4]['NAME'] = 'Slashdot';
   1.106 -$theme[5]['PATH'] = '@l_prefix@/share/squirrelmail/themes/purple_theme.php';
   1.107 -$theme[5]['NAME'] = 'Purple';
   1.108 -$theme[6]['PATH'] = '@l_prefix@/share/squirrelmail/themes/forest_theme.php';
   1.109 -$theme[6]['NAME'] = 'Forest';
   1.110 -$theme[7]['PATH'] = '@l_prefix@/share/squirrelmail/themes/ice_theme.php';
   1.111 -$theme[7]['NAME'] = 'Ice';
   1.112 -$theme[8]['PATH'] = '@l_prefix@/share/squirrelmail/themes/seaspray_theme.php';
   1.113 -$theme[8]['NAME'] = 'Sea Spray';
   1.114 -$theme[9]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesteel_theme.php';
   1.115 -$theme[9]['NAME'] = 'Blue Steel';
   1.116 -$theme[10]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_grey_theme.php';
   1.117 -$theme[10]['NAME'] = 'Dark Grey';
   1.118 -$theme[11]['PATH'] = '@l_prefix@/share/squirrelmail/themes/high_contrast_theme.php';
   1.119 -$theme[11]['NAME'] = 'High Contrast';
   1.120 -$theme[12]['PATH'] = '@l_prefix@/share/squirrelmail/themes/black_bean_burrito_theme.php';
   1.121 -$theme[12]['NAME'] = 'Black Bean Burrito';
   1.122 -$theme[13]['PATH'] = '@l_prefix@/share/squirrelmail/themes/servery_theme.php';
   1.123 -$theme[13]['NAME'] = 'Servery';
   1.124 -$theme[14]['PATH'] = '@l_prefix@/share/squirrelmail/themes/maize_theme.php';
   1.125 -$theme[14]['NAME'] = 'Maize';
   1.126 -$theme[15]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesnews_theme.php';
   1.127 -$theme[15]['NAME'] = 'BluesNews';
   1.128 -$theme[16]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean2_theme.php';
   1.129 -$theme[16]['NAME'] = 'Deep Ocean 2';
   1.130 -$theme[17]['PATH'] = '@l_prefix@/share/squirrelmail/themes/blue_grey_theme.php';
   1.131 -$theme[17]['NAME'] = 'Blue Grey';
   1.132 -$theme[18]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dompie_theme.php';
   1.133 -$theme[18]['NAME'] = 'Dompie';
   1.134 -$theme[19]['PATH'] = '@l_prefix@/share/squirrelmail/themes/methodical_theme.php';
   1.135 -$theme[19]['NAME'] = 'Methodical';
   1.136 -$theme[20]['PATH'] = '@l_prefix@/share/squirrelmail/themes/greenhouse_effect.php';
   1.137 -$theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
   1.138 -$theme[21]['PATH'] = '@l_prefix@/share/squirrelmail/themes/in_the_pink.php';
   1.139 -$theme[21]['NAME'] = 'In The Pink (Changes)';
   1.140 -$theme[22]['PATH'] = '@l_prefix@/share/squirrelmail/themes/kind_of_blue.php';
   1.141 -$theme[22]['NAME'] = 'Kind of Blue (Changes)';
   1.142 -$theme[23]['PATH'] = '@l_prefix@/share/squirrelmail/themes/monostochastic.php';
   1.143 -$theme[23]['NAME'] = 'Monostochastic (Changes)';
   1.144 -$theme[24]['PATH'] = '@l_prefix@/share/squirrelmail/themes/shades_of_grey.php';
   1.145 -$theme[24]['NAME'] = 'Shades of Grey (Changes)';
   1.146 -$theme[25]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life.php';
   1.147 -$theme[25]['NAME'] = 'Spice of Life (Changes)';
   1.148 -$theme[26]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life_lite.php';
   1.149 -$theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
   1.150 -$theme[27]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life_dark.php';
   1.151 -$theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
   1.152 -$theme[28]['PATH'] = '@l_prefix@/share/squirrelmail/themes/christmas.php';
   1.153 -$theme[28]['NAME'] = 'Holiday - Christmas';
   1.154 -$theme[29]['PATH'] = '@l_prefix@/share/squirrelmail/themes/darkness.php';
   1.155 -$theme[29]['NAME'] = 'Darkness (Changes)';
   1.156 -$theme[30]['PATH'] = '@l_prefix@/share/squirrelmail/themes/random.php';
   1.157 -$theme[30]['NAME'] = 'Random (Changes every login)';
   1.158 -$theme[31]['PATH'] = '@l_prefix@/share/squirrelmail/themes/midnight.php';
   1.159 -$theme[31]['NAME'] = 'Midnight';
   1.160 -$theme[32]['PATH'] = '@l_prefix@/share/squirrelmail/themes/alien_glow.php';
   1.161 -$theme[32]['NAME'] = 'Alien Glow';
   1.162 -$theme[33]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_green.php';
   1.163 -$theme[33]['NAME'] = 'Dark Green';
   1.164 -$theme[34]['PATH'] = '@l_prefix@/share/squirrelmail/themes/penguin.php';
   1.165 -$theme[34]['NAME'] = 'Penguin';
   1.166 +$theme[4]['PATH'] = '@l_prefix@/share/squirrelmail/themes/default_theme.php';
   1.167 +$theme[4]['NAME'] = 'Default';
   1.168 +$theme[5]['PATH'] = '@l_prefix@/share/squirrelmail/themes/forest_theme.php';
   1.169 +$theme[5]['NAME'] = 'Forest';
   1.170 +$theme[6]['PATH'] = '@l_prefix@/share/squirrelmail/themes/ice_theme.php';
   1.171 +$theme[6]['NAME'] = 'Ice';
   1.172 +$theme[7]['PATH'] = '@l_prefix@/share/squirrelmail/themes/maize_theme.php';
   1.173 +$theme[7]['NAME'] = 'Maize';
   1.174 +$theme[8]['PATH'] = '@l_prefix@/share/squirrelmail/themes/purple_theme.php';
   1.175 +$theme[8]['NAME'] = 'Purple';
   1.176 +$theme[9]['PATH'] = '@l_prefix@/share/squirrelmail/themes/sandstorm_theme.php';
   1.177 +$theme[9]['NAME'] = 'Sand Storm';
   1.178 +$theme[10]['PATH'] = '@l_prefix@/share/squirrelmail/themes/seaspray_theme.php';
   1.179 +$theme[10]['NAME'] = 'Sea Spray';
   1.180 +$theme[11]['PATH'] = '@l_prefix@/share/squirrelmail/themes/servery_theme.php';
   1.181 +$theme[11]['NAME'] = 'Servery';
   1.182 +$theme[12]['PATH'] = '@l_prefix@/share/squirrelmail/themes/silver_steel_theme.php';
   1.183 +$theme[12]['NAME'] = 'SilverSteel';
   1.184 +$theme[13]['PATH'] = '@l_prefix@/share/squirrelmail/themes/simple_green_theme.php';
   1.185 +$theme[13]['NAME'] = 'SimpleGreen';
   1.186 +$theme[14]['PATH'] = '@l_prefix@/share/squirrelmail/themes/simple_purple.php';
   1.187 +$theme[14]['NAME'] = 'SimplePurple';
   1.188 +$theme[15]['PATH'] = '@l_prefix@/share/squirrelmail/themes/wood_theme.php';
   1.189 +$theme[15]['NAME'] = 'Wood';
   1.190  
   1.191 -$default_use_javascript_addr_book = false;
   1.192 -$abook_global_file = '';
   1.193 -$abook_global_file_writeable = false;
   1.194 +$ldap_server[0] = array(
   1.195 +    'host' => 'ldaps://ldap.host.tld:636/',
   1.196 +    'base' => 'dc=region,dc=domain,dc=tld',
   1.197 +    'name' => 'Serveur LDAP',
   1.198 +    'port' => 636,
   1.199 +    'binddn' => 'cn=user,dc=domain,dc=tld',
   1.200 +    'bindpw' => 'password',
   1.201 +    'protocol' => 3
   1.202 +);
   1.203  
   1.204 -$addrbook_dsn = '';
   1.205 -$addrbook_table = 'address';
   1.206 +$addrbook_dsn                     = '';
   1.207 +$addrbook_table                   = 'address';
   1.208 +$abook_global_file                = '';
   1.209 +$abook_global_file_writeable      = false;
   1.210 +$abook_global_file_listing        = true;
   1.211 +$abook_file_line_length           = 2048;
   1.212 +$default_use_javascript_addr_book = true;
   1.213  
   1.214 -$prefs_dsn = '';
   1.215 -$prefs_table = 'userprefs';
   1.216 -$prefs_user_field = 'user';
   1.217 -$prefs_key_field = 'prefkey';
   1.218 -$prefs_val_field = 'prefval';
   1.219 -$addrbook_global_dsn = '';
   1.220 -$addrbook_global_table = 'global_abook';
   1.221 +$prefs_dsn                 = '';
   1.222 +$prefs_table               = 'userprefs';
   1.223 +$prefs_user_field          = 'user';
   1.224 +$prefs_key_field           = 'prefkey';
   1.225 +$prefs_val_field           = 'prefval';
   1.226 +$addrbook_global_dsn       = '';
   1.227 +$addrbook_global_table     = 'global_abook';
   1.228  $addrbook_global_writeable = false;
   1.229 -$addrbook_global_listing = false;
   1.230 +$addrbook_global_listing   = false;
   1.231  
   1.232 -$no_list_for_subscribe = false;
   1.233 -$smtp_auth_mech = 'digest-md5';
   1.234 -$imap_auth_mech = 'digest-md5';
   1.235 -$use_imap_tls = false;
   1.236 -$use_smtp_tls = false;
   1.237 -$session_name = 'SQMSESSID';
   1.238 +$no_list_for_subscribe     = false;
   1.239 +$smtp_auth_mech            = 'digest-md5';
   1.240 +$imap_auth_mech            = 'digest-md5';
   1.241 +$smtp_sitewide_user        = '';
   1.242 +$smtp_sitewide_pass        = '';
   1.243 +$use_imap_tls              = false;
   1.244 +$use_smtp_tls              = false;
   1.245 +$session_name              = 'SQMSESSID';
   1.246 +$only_secure_cookies       = true;
   1.247  
   1.248 -@include 'config_local.php';
   1.249 +$config_location_base      = '';
   1.250 +
   1.251 +@include SM_PATH . 'config_local.php';
   1.252  
   1.253  /**
   1.254   * Make sure there are no characters after the PHP closing

mercurial