squirrelmail/config.php

changeset 161
79e49c6c1eb1
parent 157
3214ed6c04f6
child 162
f38ce52e77c3
equal deleted inserted replaced
0:88e199ec03bf 1:439581c6dc75
4 * SquirrelMail Configuration File 4 * SquirrelMail Configuration File
5 * Created using the configure script, conf.pl 5 * Created using the configure script, conf.pl
6 */ 6 */
7 7
8 global $version; 8 global $version;
9 $config_version = '1.4.0'; 9 $config_version = '1.4.0';
10 $config_use_color = 1; 10 $config_use_color = 1;
11 11
12 $org_name = "Email"; 12 $org_name = "Provisional Email";
13 $org_logo = SM_PATH . 'images/opkg_large.png'; 13 $org_logo = SM_PATH . 'images/opkg_large.png';
14 $org_logo_width = '277'; 14 $org_logo_width = '277';
15 $org_logo_height = '88'; 15 $org_logo_height = '88';
16 $org_title = "SquirrelMail $version"; 16 $org_title = "SquirrelMail $version";
17 $signout_page = ''; 17 $signout_page = '';
18 $frame_top = '_top'; 18 $frame_top = '_top';
19 19
20 $provider_uri = 'http://www.openpkg.org/'; 20 $motd = "";
21 21 $provider_uri = 'http://www.openpkg.org/';
22 $provider_name = 'OpenPKG'; 22 $provider_name = 'OpenPKG';
23
24 $motd = "";
25 23
26 $squirrelmail_default_language = 'de_DE'; 24 $squirrelmail_default_language = 'de_DE';
27 $default_charset = 'iso-8859-1'; 25 $default_charset = 'iso-8859-1';
28 $lossy_encoding = false; 26 $lossy_encoding = false;
29 27
30 $domain = '@l_fqdm@'; 28 $domain = '@l_fqdm@';
31 $imapServerAddress = '@l_fqdm@'; 29 $imapServerAddress = '@l_fqdm@';
32 $imapPort = 143; 30 $imapPort = 143;
33 $useSendmail = true; 31 $useSendmail = true;
34 $smtpServerAddress = '@l_fqdm@'; 32 $smtpServerAddress = '@l_fqdm@';
35 $smtpPort = 25; 33 $smtpPort = 25;
36 $sendmail_path = '@l_prefix@/sbin/sendmail'; 34 $sendmail_path = '@l_prefix@/sbin/sendmail';
37 $pop_before_smtp = false; 35 $pop_before_smtp = false;
38 $imap_server_type = 'cyrus'; 36 $imap_server_type = 'dovecot';
39 $invert_time = false; 37 $invert_time = false;
40 $optional_delimiter = '.'; 38 $optional_delimiter = 'detect';
41 39
42 $default_folder_prefix = ''; 40 $default_folder_prefix = '';
43 $trash_folder = 'INBOX.Trash'; 41 $trash_folder = 'Trash';
44 $sent_folder = 'INBOX.Sent'; 42 $sent_folder = 'Sent';
45 $draft_folder = 'INBOX.Drafts'; 43 $draft_folder = 'Drafts';
46 $default_move_to_trash = true; 44 $default_move_to_trash = true;
47 $default_move_to_sent = true; 45 $default_move_to_sent = true;
48 $default_save_as_draft = true; 46 $default_save_as_draft = true;
49 $show_prefix_option = false; 47 $show_prefix_option = false;
50 $list_special_folders_first = true; 48 $list_special_folders_first = true;
53 $default_sub_of_inbox = true; 51 $default_sub_of_inbox = true;
54 $show_contain_subfolders_option = false; 52 $show_contain_subfolders_option = false;
55 $default_unseen_notify = 2; 53 $default_unseen_notify = 2;
56 $default_unseen_type = 1; 54 $default_unseen_type = 1;
57 $auto_create_special = false; 55 $auto_create_special = false;
58 $delete_folder = true; 56 $delete_folder = false;
59 $noselect_fix_enable = false; 57 $noselect_fix_enable = false;
60 58
61 $data_dir = '@l_prefix@/share/squirrelmail/prefs/'; 59 $data_dir = '@l_prefix@/share/squirrelmail/prefs/';
62 $attachment_dir = '@l_prefix@/var/squirrelmail/spool/attach/'; 60 $attachment_dir = '@l_prefix@/var/squirrelmail/spool/attach/';
63 $dir_hash_level = 1; 61 $dir_hash_level = 1;
64 $default_left_size = '224'; 62 $default_left_size = '224';
65 $force_username_lowercase = false; 63 $force_username_lowercase = true;
66 $default_use_priority = true; 64 $default_use_priority = true;
67 $hide_sm_attributions = false; 65 $hide_sm_attributions = false;
68 $default_use_mdn = true; 66 $default_use_mdn = true;
69 $edit_identity = true; 67 $edit_identity = true;
70 $edit_name = true; 68 $edit_name = true;
69 $hide_auth_header = true;
71 $allow_thread_sort = true; 70 $allow_thread_sort = true;
72 $allow_server_sort = true; 71 $allow_server_sort = true;
73 $allow_charset_search = true; 72 $allow_charset_search = true;
74 $uid_support = true; 73 $uid_support = true;
75 74
89 $plugins[13] = 'squirrel_logger'; 88 $plugins[13] = 'squirrel_logger';
90 $plugins[14] = 'translate'; 89 $plugins[14] = 'translate';
91 90
92 /* NOP, for patch line placeholder (avoids fuzz) */ 91 /* NOP, for patch line placeholder (avoids fuzz) */
93 $theme_css = ''; 92 $theme_css = '';
94 $theme_default = 0; 93 $theme_default = 4;
95 $theme[0]['PATH'] = '@l_prefix@/share/squirrelmail/themes/default_theme.php'; 94 $theme[0]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesome.php';
96 $theme[0]['NAME'] = 'Default'; 95 $theme[0]['NAME'] = 'Bluesome';
97 $theme[1]['PATH'] = '@l_prefix@/share/squirrelmail/themes/plain_blue_theme.php'; 96 $theme[1]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_green.php';
98 $theme[1]['NAME'] = 'Plain Blue'; 97 $theme[1]['NAME'] = 'Dark Green';
99 $theme[2]['PATH'] = '@l_prefix@/share/squirrelmail/themes/sandstorm_theme.php'; 98 $theme[2]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_grey_theme.php';
100 $theme[2]['NAME'] = 'Sand Storm'; 99 $theme[2]['NAME'] = 'Dark Grey';
101 $theme[3]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean_theme.php'; 100 $theme[3]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean_theme.php';
102 $theme[3]['NAME'] = 'Deep Ocean'; 101 $theme[3]['NAME'] = 'Deep Ocean';
103 $theme[4]['PATH'] = '@l_prefix@/share/squirrelmail/themes/slashdot_theme.php'; 102 $theme[4]['PATH'] = '@l_prefix@/share/squirrelmail/themes/default_theme.php';
104 $theme[4]['NAME'] = 'Slashdot'; 103 $theme[4]['NAME'] = 'Default';
105 $theme[5]['PATH'] = '@l_prefix@/share/squirrelmail/themes/purple_theme.php'; 104 $theme[5]['PATH'] = '@l_prefix@/share/squirrelmail/themes/forest_theme.php';
106 $theme[5]['NAME'] = 'Purple'; 105 $theme[5]['NAME'] = 'Forest';
107 $theme[6]['PATH'] = '@l_prefix@/share/squirrelmail/themes/forest_theme.php'; 106 $theme[6]['PATH'] = '@l_prefix@/share/squirrelmail/themes/ice_theme.php';
108 $theme[6]['NAME'] = 'Forest'; 107 $theme[6]['NAME'] = 'Ice';
109 $theme[7]['PATH'] = '@l_prefix@/share/squirrelmail/themes/ice_theme.php'; 108 $theme[7]['PATH'] = '@l_prefix@/share/squirrelmail/themes/maize_theme.php';
110 $theme[7]['NAME'] = 'Ice'; 109 $theme[7]['NAME'] = 'Maize';
111 $theme[8]['PATH'] = '@l_prefix@/share/squirrelmail/themes/seaspray_theme.php'; 110 $theme[8]['PATH'] = '@l_prefix@/share/squirrelmail/themes/purple_theme.php';
112 $theme[8]['NAME'] = 'Sea Spray'; 111 $theme[8]['NAME'] = 'Purple';
113 $theme[9]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesteel_theme.php'; 112 $theme[9]['PATH'] = '@l_prefix@/share/squirrelmail/themes/sandstorm_theme.php';
114 $theme[9]['NAME'] = 'Blue Steel'; 113 $theme[9]['NAME'] = 'Sand Storm';
115 $theme[10]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_grey_theme.php'; 114 $theme[10]['PATH'] = '@l_prefix@/share/squirrelmail/themes/seaspray_theme.php';
116 $theme[10]['NAME'] = 'Dark Grey'; 115 $theme[10]['NAME'] = 'Sea Spray';
117 $theme[11]['PATH'] = '@l_prefix@/share/squirrelmail/themes/high_contrast_theme.php'; 116 $theme[11]['PATH'] = '@l_prefix@/share/squirrelmail/themes/servery_theme.php';
118 $theme[11]['NAME'] = 'High Contrast'; 117 $theme[11]['NAME'] = 'Servery';
119 $theme[12]['PATH'] = '@l_prefix@/share/squirrelmail/themes/black_bean_burrito_theme.php'; 118 $theme[12]['PATH'] = '@l_prefix@/share/squirrelmail/themes/silver_steel_theme.php';
120 $theme[12]['NAME'] = 'Black Bean Burrito'; 119 $theme[12]['NAME'] = 'SilverSteel';
121 $theme[13]['PATH'] = '@l_prefix@/share/squirrelmail/themes/servery_theme.php'; 120 $theme[13]['PATH'] = '@l_prefix@/share/squirrelmail/themes/simple_green_theme.php';
122 $theme[13]['NAME'] = 'Servery'; 121 $theme[13]['NAME'] = 'SimpleGreen';
123 $theme[14]['PATH'] = '@l_prefix@/share/squirrelmail/themes/maize_theme.php'; 122 $theme[14]['PATH'] = '@l_prefix@/share/squirrelmail/themes/simple_purple.php';
124 $theme[14]['NAME'] = 'Maize'; 123 $theme[14]['NAME'] = 'SimplePurple';
125 $theme[15]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesnews_theme.php'; 124 $theme[15]['PATH'] = '@l_prefix@/share/squirrelmail/themes/wood_theme.php';
126 $theme[15]['NAME'] = 'BluesNews'; 125 $theme[15]['NAME'] = 'Wood';
127 $theme[16]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean2_theme.php';
128 $theme[16]['NAME'] = 'Deep Ocean 2';
129 $theme[17]['PATH'] = '@l_prefix@/share/squirrelmail/themes/blue_grey_theme.php';
130 $theme[17]['NAME'] = 'Blue Grey';
131 $theme[18]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dompie_theme.php';
132 $theme[18]['NAME'] = 'Dompie';
133 $theme[19]['PATH'] = '@l_prefix@/share/squirrelmail/themes/methodical_theme.php';
134 $theme[19]['NAME'] = 'Methodical';
135 $theme[20]['PATH'] = '@l_prefix@/share/squirrelmail/themes/greenhouse_effect.php';
136 $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
137 $theme[21]['PATH'] = '@l_prefix@/share/squirrelmail/themes/in_the_pink.php';
138 $theme[21]['NAME'] = 'In The Pink (Changes)';
139 $theme[22]['PATH'] = '@l_prefix@/share/squirrelmail/themes/kind_of_blue.php';
140 $theme[22]['NAME'] = 'Kind of Blue (Changes)';
141 $theme[23]['PATH'] = '@l_prefix@/share/squirrelmail/themes/monostochastic.php';
142 $theme[23]['NAME'] = 'Monostochastic (Changes)';
143 $theme[24]['PATH'] = '@l_prefix@/share/squirrelmail/themes/shades_of_grey.php';
144 $theme[24]['NAME'] = 'Shades of Grey (Changes)';
145 $theme[25]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life.php';
146 $theme[25]['NAME'] = 'Spice of Life (Changes)';
147 $theme[26]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life_lite.php';
148 $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
149 $theme[27]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life_dark.php';
150 $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
151 $theme[28]['PATH'] = '@l_prefix@/share/squirrelmail/themes/christmas.php';
152 $theme[28]['NAME'] = 'Holiday - Christmas';
153 $theme[29]['PATH'] = '@l_prefix@/share/squirrelmail/themes/darkness.php';
154 $theme[29]['NAME'] = 'Darkness (Changes)';
155 $theme[30]['PATH'] = '@l_prefix@/share/squirrelmail/themes/random.php';
156 $theme[30]['NAME'] = 'Random (Changes every login)';
157 $theme[31]['PATH'] = '@l_prefix@/share/squirrelmail/themes/midnight.php';
158 $theme[31]['NAME'] = 'Midnight';
159 $theme[32]['PATH'] = '@l_prefix@/share/squirrelmail/themes/alien_glow.php';
160 $theme[32]['NAME'] = 'Alien Glow';
161 $theme[33]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_green.php';
162 $theme[33]['NAME'] = 'Dark Green';
163 $theme[34]['PATH'] = '@l_prefix@/share/squirrelmail/themes/penguin.php';
164 $theme[34]['NAME'] = 'Penguin';
165 126
166 $default_use_javascript_addr_book = false; 127 $ldap_server[0] = array(
167 $abook_global_file = ''; 128 'host' => 'ldaps://ldap.host.tld:636/',
168 $abook_global_file_writeable = false; 129 'base' => 'dc=region,dc=domain,dc=tld',
130 'name' => 'Serveur LDAP',
131 'port' => 636,
132 'binddn' => 'cn=user,dc=domain,dc=tld',
133 'bindpw' => 'password',
134 'protocol' => 3
135 );
169 136
170 $addrbook_dsn = ''; 137 $addrbook_dsn = '';
171 $addrbook_table = 'address'; 138 $addrbook_table = 'address';
139 $abook_global_file = '';
140 $abook_global_file_writeable = false;
141 $abook_global_file_listing = true;
142 $abook_file_line_length = 2048;
143 $default_use_javascript_addr_book = true;
172 144
173 $prefs_dsn = ''; 145 $prefs_dsn = '';
174 $prefs_table = 'userprefs'; 146 $prefs_table = 'userprefs';
175 $prefs_user_field = 'user'; 147 $prefs_user_field = 'user';
176 $prefs_key_field = 'prefkey'; 148 $prefs_key_field = 'prefkey';
177 $prefs_val_field = 'prefval'; 149 $prefs_val_field = 'prefval';
178 $addrbook_global_dsn = ''; 150 $addrbook_global_dsn = '';
179 $addrbook_global_table = 'global_abook'; 151 $addrbook_global_table = 'global_abook';
180 $addrbook_global_writeable = false; 152 $addrbook_global_writeable = false;
181 $addrbook_global_listing = false; 153 $addrbook_global_listing = false;
182 154
183 $no_list_for_subscribe = false; 155 $no_list_for_subscribe = false;
184 $smtp_auth_mech = 'digest-md5'; 156 $smtp_auth_mech = 'digest-md5';
185 $imap_auth_mech = 'digest-md5'; 157 $imap_auth_mech = 'digest-md5';
186 $use_imap_tls = false; 158 $smtp_sitewide_user = '';
187 $use_smtp_tls = false; 159 $smtp_sitewide_pass = '';
188 $session_name = 'SQMSESSID'; 160 $use_imap_tls = false;
161 $use_smtp_tls = false;
162 $session_name = 'SQMSESSID';
163 $only_secure_cookies = true;
189 164
190 @include 'config_local.php'; 165 $config_location_base = '';
166
167 @include SM_PATH . 'config_local.php';
191 168
192 /** 169 /**
193 * Make sure there are no characters after the PHP closing 170 * Make sure there are no characters after the PHP closing
194 * tag below (including newline characters and whitespace). 171 * tag below (including newline characters and whitespace).
195 * Otherwise, that character will cause the headers to be 172 * Otherwise, that character will cause the headers to be

mercurial