squirrelmail/config.php

Mon, 20 Apr 2009 19:22:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 20 Apr 2009 19:22:00 +0200
changeset 178
0ba300bdf30a
parent 159
5524672ebbe7
child 180
4c723152d46f
permissions
-rw-r--r--

Change unfortunate but partly useful overreaching security tradeoff.
The principle of allocating each running process an individual system
user and group can have security benefits, however maintining a plethora
of users, groups, processes, file modes, file permissions, and even
nonportable file ACLs on a host serving from a hundred processes has
some security disadvantages. This tradeoff is even worse for systems
like OpenPKG which benefit from administration transparency through the
use of minimal system intrusion and only three usage privilege levels.

     1 <?php
     3 /**
     4  * SquirrelMail Configuration File
     5  * Created using the configure script, conf.pl
     6  */
     8 global $version;
     9 $config_version   = '1.4.0';
    10 $config_use_color = 1;
    12 $org_name        = "Provisional Email";
    13 $org_logo        = SM_PATH . 'images/opkg_large.png';
    14 $org_logo_width  = '277';
    15 $org_logo_height = '88';
    16 $org_title       = "SquirrelMail $version";
    17 $signout_page    = '';
    18 $frame_top       = '_top';
    20 $motd            = "";
    21 $provider_uri    = 'http://www.openpkg.org/';
    22 $provider_name   = 'OpenPKG';
    24 $squirrelmail_default_language = 'de_DE';
    25 $default_charset        = 'iso-8859-1';
    26 $lossy_encoding         = false;
    28 $domain                 = '@l_fqdm@';
    29 $imapServerAddress      = '@l_fqdm@';
    30 $imapPort               = 143;
    31 $useSendmail            = true;
    32 $smtpServerAddress      = '@l_fqdm@';
    33 $smtpPort               = 25;
    34 $sendmail_path          = '@l_prefix@/sbin/sendmail';
    35 $pop_before_smtp        = false;
    36 $imap_server_type       = 'dovecot';
    37 $invert_time            = false;
    38 $optional_delimiter     = 'detect';
    40 $default_folder_prefix          = '';
    41 $trash_folder                   = 'Trash';
    42 $sent_folder                    = 'Sent';
    43 $draft_folder                   = 'Drafts';
    44 $default_move_to_trash          = true;
    45 $default_move_to_sent           = true;
    46 $default_save_as_draft          = true;
    47 $show_prefix_option             = false;
    48 $list_special_folders_first     = true;
    49 $use_special_folder_color       = true;
    50 $auto_expunge                   = true;
    51 $default_sub_of_inbox           = true;
    52 $show_contain_subfolders_option = false;
    53 $default_unseen_notify          = 2;
    54 $default_unseen_type            = 1;
    55 $auto_create_special            = false;
    56 $delete_folder                  = false;
    57 $noselect_fix_enable            = false;
    59 $data_dir                 = '@l_prefix@/share/squirrelmail/prefs/';
    60 $attachment_dir           = '@l_prefix@/var/squirrelmail/spool/attach/';
    61 $dir_hash_level           = 1;
    62 $default_left_size        = '224';
    63 $force_username_lowercase = true;
    64 $default_use_priority     = true;
    65 $hide_sm_attributions     = false;
    66 $default_use_mdn          = true;
    67 $edit_identity            = true;
    68 $edit_name                = true;
    69 $hide_auth_header         = true;
    70 $allow_thread_sort        = true;
    71 $allow_server_sort        = true;
    72 $allow_charset_search     = true;
    73 $uid_support              = true;
    75 $plugins[0] = 'administrator';
    76 $plugins[1] = 'bug_report';
    77 $plugins[2] = 'calendar';
    78 $plugins[3] = 'compatibility';
    79 $plugins[4] = 'delete_move_next';
    80 $plugins[5] = 'filters';
    81 $plugins[6] = 'fortune';
    82 $plugins[7] = 'info';
    83 $plugins[8] = 'listcommands';
    84 $plugins[9] = 'mail_fetch';
    85 $plugins[10] = 'message_details';
    86 $plugins[11] = 'newmail';
    87 $plugins[12] = 'sent_subfolders';
    88 $plugins[13] = 'spamcop';
    89 $plugins[14] = 'squirrel_logger';
    90 $plugins[15] = 'squirrelspell';
    91 $plugins[16] = 'translate';
    93 /* NOP, for patch line placeholder (avoids fuzz) */
    94 $theme_css = '';
    95 $theme_default = 4;
    96 $theme[0]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesome.php';
    97 $theme[0]['NAME'] = 'Bluesome';
    98 $theme[1]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_green.php';
    99 $theme[1]['NAME'] = 'Dark Green';
   100 $theme[2]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_grey_theme.php';
   101 $theme[2]['NAME'] = 'Dark Grey';
   102 $theme[3]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean_theme.php';
   103 $theme[3]['NAME'] = 'Deep Ocean';
   104 $theme[4]['PATH'] = '@l_prefix@/share/squirrelmail/themes/default_theme.php';
   105 $theme[4]['NAME'] = 'Default';
   106 $theme[5]['PATH'] = '@l_prefix@/share/squirrelmail/themes/forest_theme.php';
   107 $theme[5]['NAME'] = 'Forest';
   108 $theme[6]['PATH'] = '@l_prefix@/share/squirrelmail/themes/ice_theme.php';
   109 $theme[6]['NAME'] = 'Ice';
   110 $theme[7]['PATH'] = '@l_prefix@/share/squirrelmail/themes/maize_theme.php';
   111 $theme[7]['NAME'] = 'Maize';
   112 $theme[8]['PATH'] = '@l_prefix@/share/squirrelmail/themes/purple_theme.php';
   113 $theme[8]['NAME'] = 'Purple';
   114 $theme[9]['PATH'] = '@l_prefix@/share/squirrelmail/themes/sandstorm_theme.php';
   115 $theme[9]['NAME'] = 'Sand Storm';
   116 $theme[10]['PATH'] = '@l_prefix@/share/squirrelmail/themes/seaspray_theme.php';
   117 $theme[10]['NAME'] = 'Sea Spray';
   118 $theme[11]['PATH'] = '@l_prefix@/share/squirrelmail/themes/servery_theme.php';
   119 $theme[11]['NAME'] = 'Servery';
   120 $theme[12]['PATH'] = '@l_prefix@/share/squirrelmail/themes/silver_steel_theme.php';
   121 $theme[12]['NAME'] = 'SilverSteel';
   122 $theme[13]['PATH'] = '@l_prefix@/share/squirrelmail/themes/simple_green_theme.php';
   123 $theme[13]['NAME'] = 'SimpleGreen';
   124 $theme[14]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life.php';
   125 $theme[14]['NAME'] = 'SpiceLife';
   126 $theme[15]['PATH'] = '@l_prefix@/share/squirrelmail/themes/wood_theme.php';
   127 $theme[15]['NAME'] = 'Wood';
   129 $ldap_server[0] = array(
   130     'host' => 'ldaps://ldap.host.tld:636/',
   131     'base' => 'dc=region,dc=domain,dc=tld',
   132     'name' => 'Serveur LDAP',
   133     'port' => 636,
   134     'binddn' => 'cn=user,dc=domain,dc=tld',
   135     'bindpw' => 'password',
   136     'protocol' => 3
   137 );
   139 $addrbook_dsn                     = '';
   140 $addrbook_table                   = 'address';
   141 $abook_global_file                = '';
   142 $abook_global_file_writeable      = false;
   143 $abook_global_file_listing        = true;
   144 $abook_file_line_length           = 2048;
   145 $default_use_javascript_addr_book = true;
   147 $prefs_dsn                 = '';
   148 $prefs_table               = 'userprefs';
   149 $prefs_user_field          = 'user';
   150 $prefs_key_field           = 'prefkey';
   151 $prefs_val_field           = 'prefval';
   152 $addrbook_global_dsn       = '';
   153 $addrbook_global_table     = 'global_abook';
   154 $addrbook_global_writeable = false;
   155 $addrbook_global_listing   = false;
   157 $no_list_for_subscribe     = false;
   158 $smtp_auth_mech            = 'digest-md5';
   159 $imap_auth_mech            = 'digest-md5';
   160 $smtp_sitewide_user        = '';
   161 $smtp_sitewide_pass        = '';
   162 $use_imap_tls              = false;
   163 $use_smtp_tls              = false;
   164 $session_name              = 'SQMSESSID';
   165 $only_secure_cookies       = true;
   167 $config_location_base      = '';
   169 @include SM_PATH . 'config_local.php';
   171 /**
   172  * Make sure there are no characters after the PHP closing
   173  * tag below (including newline characters and whitespace).
   174  * Otherwise, that character will cause the headers to be
   175  * sent and regular output to begin, which will majorly screw
   176  * things up when we try to send more headers later.
   177  */
   178 ?>

mercurial