59177427 |
1 | <?php |
716fa276 |
2 | |
a3439b27 |
3 | /** |
4 | * BEFORE EDITING THIS FILE! |
5 | * |
6 | * Don't edit this file directly. Copy it to config.php before you |
7 | * edit it. However, it is best to use the configuration script |
8 | * conf.pl if at all possible. That is the easiest and cleanest way |
9 | * to configure. |
10 | */ |
11 | |
12 | /* Do not change this value. */ |
f6cfbdac |
13 | global $version; |
a3439b27 |
14 | global $config_version; |
76911253 |
15 | $config_version = '1.4.0'; |
a3439b27 |
16 | |
f6cfbdac |
17 | /*** Organization preferences ***/ |
18 | /** |
19 | * Organization's name |
20 | */ |
21 | $org_name = "SquirrelMail"; |
b6e0c3b6 |
22 | |
f6cfbdac |
23 | /** |
24 | * Organization's logo picture (blank if none) |
25 | */ |
26 | $org_logo = SM_PATH . 'images/sm_logo.png'; |
b6e0c3b6 |
27 | |
f6cfbdac |
28 | /** |
29 | * The width of the logo (0 for default) |
30 | */ |
31 | $org_logo_width = '308'; |
b6e0c3b6 |
32 | |
f6cfbdac |
33 | /** |
34 | * The height of the logo (0 for default) |
35 | */ |
36 | $org_logo_height = '111'; |
a3439b27 |
37 | |
38 | /** |
39 | * Webmail Title |
40 | * This is the web page title that appears at the top of the browser window. |
41 | */ |
120fbed7 |
42 | $org_title = "SquirrelMail $version"; |
f6cfbdac |
43 | |
a3439b27 |
44 | /** |
f6cfbdac |
45 | * Rather than going to the signout.php page (which only allows you |
46 | * to sign back in), setting signout_page allows you to sign the user |
47 | * out and then redirect to whatever page you want. For instance, |
48 | * the following would return the user to your home page: |
49 | * $signout_page = '/'; |
50 | * Set to the empty string to continue to use the default signout page. |
a3439b27 |
51 | */ |
f6cfbdac |
52 | $signout_page = ''; |
a3439b27 |
53 | |
f6cfbdac |
54 | /** |
55 | * By default SquirrelMail takes up the whole browser window, |
56 | * this allows you to embed it within sites using frames. Set |
57 | * this to the frame you want it to stay in. |
58 | */ |
59 | $frame_top = '_top'; |
a3439b27 |
60 | |
f6cfbdac |
61 | /** |
62 | * Here you can set link displayed on the right side of main page. |
63 | * $provider_name sets name of link |
64 | * $provider_url set address used in the link |
65 | * |
66 | * Link will be displayed only if you have $hide_sm_attributions |
67 | * option set to true. |
68 | */ |
69 | $provider_name = 'SquirrelMail'; |
70 | $provider_uri = 'http://www.squirrelmail.org/'; |
71 | |
72 | |
73 | /*** Server Settings ***/ |
a3439b27 |
74 | /** |
75 | * The domain part of local email addresses. |
76 | * This is for all messages sent out from this server. |
77 | * Reply address is generated by $username@$domain |
78 | * Example: In bob@foo.com, foo.com is the domain. |
79 | */ |
884eba1e |
80 | $domain = 'example.com'; |
a3439b27 |
81 | |
f6cfbdac |
82 | /** |
83 | * If you are running on a machine that doesn't have the tm_gmtoff |
84 | * value in your time structure and if you are in a time zone that |
85 | * has a negative offset, you need to set this value to 1. This is |
86 | * typically people in the US that are running Solaris 7. |
87 | */ |
88 | $invert_time = false; |
a3439b27 |
89 | |
90 | /** |
f6cfbdac |
91 | * What should be used when sending email. |
92 | * If it is set to false, SquirrelMail will use SMTP server settings. |
93 | * If it is set to true, SquirrelMail will use program defined in |
94 | * $sendmail_path |
a3439b27 |
95 | */ |
f6cfbdac |
96 | $useSendmail = false; |
a3439b27 |
97 | |
f6cfbdac |
98 | /** |
99 | * Your SMTP server and port number (usually the same as the IMAP server). |
100 | */ |
101 | $smtpServerAddress = 'localhost'; |
102 | $smtpPort = 25; |
a3439b27 |
103 | |
cba7675e |
104 | /** |
105 | * Option can be used to disable Received: headers added by squirrelmail. |
106 | * This can increase user's privacy and solve problems with spam filters |
107 | * that increase spam marks for dynamic dialup addresses. |
108 | * |
109 | * If admin enables this setting, system should have some logging facility |
110 | * or other tools to control users. SquirrelMail's Received: header provides |
111 | * information, that can't be forged by webmail user. |
112 | */ |
113 | $skip_SM_header = false; |
114 | |
a3439b27 |
115 | /** |
f6cfbdac |
116 | * Program that should be used when sending email. SquirrelMail expects that |
117 | * this program will follow options used by original sendmail |
118 | * (http://www.sendmail.org). |
a3439b27 |
119 | */ |
f6cfbdac |
120 | $sendmail_path = '/usr/sbin/sendmail'; |
121 | |
122 | /** |
123 | * The dns name (or IP address) and port for your imap server. |
124 | */ |
125 | $imapServerAddress = 'localhost'; |
126 | $imapPort = 143; |
a3439b27 |
127 | |
128 | /** |
129 | * The type of IMAP server you are running. |
130 | * Valid type are the following (case is important): |
131 | * courier |
132 | * cyrus |
133 | * exchange |
134 | * uw |
f6cfbdac |
135 | * macosx |
136 | * mercury32 |
a3439b27 |
137 | * other |
f6cfbdac |
138 | * |
139 | * Please note that this changes only some of server settings. |
140 | * |
141 | * In order to set everything correctly, you need to adjust several |
142 | * squirrelmail options. These options are listed in doc/presets.txt |
a3439b27 |
143 | */ |
884eba1e |
144 | $imap_server_type = 'other'; |
a3439b27 |
145 | |
146 | /** |
f6cfbdac |
147 | * Advanced authentication options |
148 | * CRAM-MD5, DIGEST-MD5, Plain, and TLS |
149 | * Set reasonable defaults - you'd never know this was there unless you ask for it |
a3439b27 |
150 | */ |
f6cfbdac |
151 | $use_imap_tls = false; |
152 | $use_smtp_tls = false; |
a3439b27 |
153 | |
f6cfbdac |
154 | /** |
155 | * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5' |
156 | * SMTP can also be 'none' |
157 | */ |
158 | $smtp_auth_mech = 'none'; |
159 | $imap_auth_mech = 'login'; |
160 | |
161 | /** |
162 | * This is the delimiter that your IMAP server uses to distinguish between |
163 | * folders. For example, Cyrus uses '.' as the delimiter and a complete |
164 | * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would |
165 | * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect' |
166 | * but if you are sure you know what delimiter your server uses, you can |
167 | * specify it here. |
168 | * |
169 | * To have it autodetect the delimiter, set it to 'detect'. |
170 | */ |
171 | $optional_delimiter = 'detect'; |
172 | |
173 | /** |
174 | * Do you wish to use POP3 before SMTP? Your server must |
175 | * support this in order for SquirrelMail to work with it. |
176 | */ |
177 | $pop_before_smtp = false; |
178 | |
179 | |
180 | /*** Folder Settings ***/ |
a3439b27 |
181 | /** |
182 | * Many servers store mail in your home directory. With this, they |
183 | * store them in a subdirectory: mail/ or Mail/, etc. If your server |
184 | * does this, please set this to what the default mail folder should |
185 | * be. This is still a user preference, so they can change it if it |
186 | * is different for each user. |
187 | * |
188 | * Example: |
189 | * $default_folder_prefix = 'mail/'; |
190 | * -- or -- |
191 | * $default_folder_prefix = 'Mail/folders/'; |
192 | * |
193 | * If you do not use this, set it to the empty string. |
194 | */ |
a3439b27 |
195 | $default_folder_prefix = ''; |
196 | |
197 | /** |
198 | * If you do not wish to give them the option to change this, set it |
199 | * to false. Otherwise, if it is true, they can change the folder prefix |
200 | * to be anything. |
201 | */ |
a3439b27 |
202 | $show_prefix_option = false; |
203 | |
204 | /** |
205 | * The following are related to deleting messages. |
f6cfbdac |
206 | * $default_move_to_trash |
207 | * If this is set to 'true', when 'delete' is pressed, it |
a3439b27 |
208 | * will attempt to move the selected messages to the folder |
209 | * named $trash_folder. If it's set to 'false', we won't even |
210 | * attempt to move the messages, just delete them. |
f6cfbdac |
211 | * $default_move_to_sent |
212 | * If this is set to 'true', sent messages will be stored in |
213 | * $sent_folder by default. |
214 | * $default_save_as_draft |
215 | * If this is set to 'true', users are able to use $draft_folder |
216 | * to store their unfinished messages. |
a3439b27 |
217 | * $trash_folder |
218 | * This is the path to the default trash folder. For Cyrus |
219 | * IMAP, it would be 'INBOX.Trash', but for UW it would be |
220 | * 'Trash'. We need the full path name here. |
f6cfbdac |
221 | * $draft_folder |
222 | * This is the patch to where Draft messages will be stored. |
a3439b27 |
223 | * $auto_expunge |
224 | * If this is true, when a message is moved or copied, the |
225 | * source mailbox will get expunged, removing all messages |
226 | * marked 'Deleted'. |
227 | * $sent_folder |
228 | * This is the path to where Sent messages will be stored. |
4e85a37f |
229 | * $delete_folder |
230 | * If this is true, when a folder is deleted then it will |
231 | * not get moved into the Trash folder. |
a3439b27 |
232 | */ |
a3439b27 |
233 | $default_move_to_trash = true; |
234 | $default_move_to_sent = true; |
235 | $default_save_as_draft = true; |
236 | $trash_folder = 'INBOX.Trash'; |
237 | $sent_folder = 'INBOX.Sent'; |
238 | $draft_folder = 'INBOX.Drafts'; |
239 | $auto_expunge = true; |
4e85a37f |
240 | $delete_folder = false; |
a3439b27 |
241 | |
f6cfbdac |
242 | /** |
243 | * Whether or not to use a special color for special folders. If not, |
244 | * special folders will be the same color as the other folders. |
245 | */ |
246 | $use_special_folder_color = true; |
247 | |
a3439b27 |
248 | /** |
249 | * Should I create the Sent and Trash folders automatically for |
250 | * a new user that doesn't already have them created? |
251 | */ |
a3439b27 |
252 | $auto_create_special = true; |
253 | |
254 | /* Whether or not to list the special folders first (true/false). */ |
a3439b27 |
255 | $list_special_folders_first = true; |
256 | |
257 | /** |
258 | * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server). |
259 | * If you are unsure, set it to false. |
260 | */ |
a3439b27 |
261 | $default_sub_of_inbox = true; |
262 | |
263 | /** |
264 | * Some IMAP daemons (UW) handle folders weird. They only allow a |
265 | * folder to contain either messages or other folders, not both at |
266 | * the same time. This option controls whether or not to display an |
267 | * option during folder creation. The option toggles which type of |
268 | * folder it should be. |
269 | * |
270 | * If this option confuses you, just set it to 'true'. You can not hurt |
271 | * anything if it's true, but some servers will respond weird if it's |
272 | * false. (Cyrus works fine whether it's true OR false). |
273 | */ |
a3439b27 |
274 | $show_contain_subfolders_option = false; |
275 | |
276 | /** |
f6cfbdac |
277 | * These next two options set the defaults for the way that the |
278 | * users see their folder list. |
279 | * $default_unseen_notify |
280 | * Specifies whether or not the users will see the number of |
281 | * unseen in each folder by default and also which folders to |
282 | * do this to. Valid values are: 1=none, 2=inbox, 3=all. |
283 | * $default_unseen_type |
284 | * Specifies the type of notification to give the users by |
285 | * default. Valid choice are: 1=(4), 2=(4,25). |
a3439b27 |
286 | */ |
f6cfbdac |
287 | $default_unseen_notify = 2; |
288 | $default_unseen_type = 1; |
a3439b27 |
289 | |
f6cfbdac |
290 | /** |
291 | * This enables the no select fix for Cyrus when subfolders |
292 | * exist but parent folders do not |
293 | */ |
294 | $noselect_fix_enable = false; |
295 | |
296 | /*** General options ***/ |
a3439b27 |
297 | /** |
298 | * Path to the data/ directory |
299 | * It is a possible security hole to have a writable directory |
300 | * under the web server's root directory (ex: /home/httpd/html). |
301 | * For this reason, it is possible to put the data directory |
302 | * anywhere you would like. The path name can be absolute or |
303 | * relative (to the config directory). It doesn't matter. Here |
304 | * are two examples: |
305 | * |
306 | * Absolute: |
307 | * $data_dir = '/usr/local/squirrelmail/data/'; |
308 | * |
f6cfbdac |
309 | * Relative (to main SM directory): |
884eba1e |
310 | * $data_dir = SM_PATH . 'data/'; |
a3439b27 |
311 | */ |
884eba1e |
312 | $data_dir = SM_PATH . 'data/'; |
a3439b27 |
313 | |
314 | /** |
315 | * Path to directory used for storing attachments while a mail is |
316 | * being sent. There are a few security considerations regarding |
317 | * this directory: |
318 | * + It should have the permission 733 (rwx-wx-wx) to make it |
319 | * impossible for a random person with access to the webserver to |
320 | * list files in this directory. Confidential data might be laying |
321 | * around there. |
322 | * + Since the webserver is not able to list the files in the content |
323 | * is also impossible for the webserver to delete files lying around |
324 | * there for too long. |
325 | * + It should probably be another directory than data_dir. |
326 | */ |
f6cfbdac |
327 | $attachment_dir = $data_dir; |
a3439b27 |
328 | |
f6cfbdac |
329 | /** |
330 | * Hash level used for data directory. |
331 | * |
332 | * This option allows spliting file based squirrelmail user |
333 | * data storage directory into several subfolders. Number from |
334 | * 0 to 4 allows allows having up to four subfolder levels. |
335 | * |
336 | * Hashing should speed up directory access if you have big number |
337 | * of users (500 and more). |
338 | */ |
a3439b27 |
339 | $dir_hash_level = 0; |
340 | |
341 | /** |
342 | * This is the default size of the folder list. Default |
343 | * is 150, but you can set it to whatever you wish. |
344 | */ |
f6cfbdac |
345 | $default_left_size = '150'; |
a3439b27 |
346 | |
347 | /** |
348 | * Some IMAP servers allow a username (like 'bob') to log in if they use |
349 | * uppercase in their name (like 'Bob' or 'BOB'). This creates extra |
350 | * preference files. Toggling this option to true will transparently |
351 | * change all usernames to lowercase. |
352 | */ |
a3439b27 |
353 | $force_username_lowercase = false; |
354 | |
f6cfbdac |
355 | /** |
356 | * This option enables use of email priority flags by end users. |
357 | */ |
358 | $default_use_priority = true; |
359 | |
360 | /** |
361 | * This option disables display of "created by squirrelmail developers" |
362 | * strings and provider link |
363 | */ |
364 | $hide_sm_attributions = false; |
365 | |
366 | /** |
367 | * This option enables use of read/delivery reciepts by end users. |
368 | */ |
369 | $default_use_mdn = true; |
370 | |
371 | /** |
372 | * If you don't want to allow users to change their email address |
373 | * then you can set $edit_identity to false, if you want them to |
374 | * not be able to change their full name too then set $edit_name |
375 | * to false as well. $edit_name has no effect unless $edit_identity |
376 | * is false; |
377 | */ |
378 | $edit_identity = true; |
379 | $edit_name = true; |
380 | |
381 | /** |
382 | * If you want to enable server side thread sorting options |
383 | * Your IMAP server must support the THREAD extension for |
384 | * this to work. |
385 | */ |
386 | $allow_thread_sort = false; |
387 | |
388 | /** |
389 | * to use server-side sorting instead of SM client side. |
390 | * Your IMAP server must support the SORT extension for this |
391 | * to work. |
392 | */ |
393 | $allow_server_sort = false; |
394 | |
395 | /** |
396 | * This option allows you to choose if SM uses charset search |
397 | * Your imap server should support SEARCH CHARSET command for |
398 | * this to work. |
399 | */ |
400 | $allow_charset_search = true; |
401 | |
402 | /** |
403 | * PHP session name. Leave this alone unless you know what you are doing. |
404 | */ |
405 | $session_name = 'SQMSESSID'; |
406 | |
407 | |
a3439b27 |
408 | /** |
409 | * Themes |
410 | * You can define your own theme and put it in this directory. |
411 | * You must call it as the example below. You can name the theme |
412 | * whatever you want. For an example of a theme, see the ones |
413 | * included in the config directory. |
414 | * |
415 | * To add a new theme to the options that users can choose from, just |
416 | * add a new number to the array at the bottom, and follow the pattern. |
f6cfbdac |
417 | * |
418 | * $theme_default sets theme that will be used by default |
419 | * $theme_css sets stylesheet (from theme/css directory) that will be |
420 | * used by default. |
a3439b27 |
421 | */ |
57c6fabc |
422 | $theme_default = 0; |
f6cfbdac |
423 | $theme_css = ''; |
a3439b27 |
424 | |
884eba1e |
425 | $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php'; |
a3439b27 |
426 | $theme[0]['NAME'] = 'Default'; |
427 | |
884eba1e |
428 | $theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php'; |
a3439b27 |
429 | $theme[1]['NAME'] = 'Plain Blue'; |
430 | |
884eba1e |
431 | $theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php'; |
a3439b27 |
432 | $theme[2]['NAME'] = 'Sand Storm'; |
433 | |
884eba1e |
434 | $theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php'; |
a3439b27 |
435 | $theme[3]['NAME'] = 'Deep Ocean'; |
436 | |
884eba1e |
437 | $theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php'; |
a3439b27 |
438 | $theme[4]['NAME'] = 'Slashdot'; |
439 | |
884eba1e |
440 | $theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php'; |
a3439b27 |
441 | $theme[5]['NAME'] = 'Purple'; |
442 | |
884eba1e |
443 | $theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php'; |
a3439b27 |
444 | $theme[6]['NAME'] = 'Forest'; |
445 | |
884eba1e |
446 | $theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php'; |
a3439b27 |
447 | $theme[7]['NAME'] = 'Ice'; |
448 | |
884eba1e |
449 | $theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php'; |
a3439b27 |
450 | $theme[8]['NAME'] = 'Sea Spray'; |
451 | |
884eba1e |
452 | $theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php'; |
a3439b27 |
453 | $theme[9]['NAME'] = 'Blue Steel'; |
454 | |
884eba1e |
455 | $theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php'; |
a3439b27 |
456 | $theme[10]['NAME'] = 'Dark Grey'; |
457 | |
884eba1e |
458 | $theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php'; |
a3439b27 |
459 | $theme[11]['NAME'] = 'High Contrast'; |
460 | |
884eba1e |
461 | $theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php'; |
a3439b27 |
462 | $theme[12]['NAME'] = 'Black Bean Burrito'; |
463 | |
884eba1e |
464 | $theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php'; |
a3439b27 |
465 | $theme[13]['NAME'] = 'Servery'; |
466 | |
884eba1e |
467 | $theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php'; |
a3439b27 |
468 | $theme[14]['NAME'] = 'Maize'; |
469 | |
884eba1e |
470 | $theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php'; |
a3439b27 |
471 | $theme[15]['NAME'] = 'BluesNews'; |
472 | |
884eba1e |
473 | $theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php'; |
a3439b27 |
474 | $theme[16]['NAME'] = 'Deep Ocean 2'; |
475 | |
884eba1e |
476 | $theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php'; |
ecf5c1bd |
477 | $theme[17]['NAME'] = 'Blue Grey'; |
a3439b27 |
478 | |
884eba1e |
479 | $theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php'; |
a3439b27 |
480 | $theme[18]['NAME'] = 'Dompie'; |
481 | |
884eba1e |
482 | $theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php'; |
a3439b27 |
483 | $theme[19]['NAME'] = 'Methodical'; |
484 | |
884eba1e |
485 | $theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php'; |
a3439b27 |
486 | $theme[20]['NAME'] = 'Greenhouse Effect (Changes)'; |
6e0fa5e6 |
487 | |
884eba1e |
488 | $theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php'; |
a3439b27 |
489 | $theme[21]['NAME'] = 'In The Pink (Changes)'; |
94c9adcb |
490 | |
884eba1e |
491 | $theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php'; |
a3439b27 |
492 | $theme[22]['NAME'] = 'Kind of Blue (Changes)'; |
493 | |
884eba1e |
494 | $theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php'; |
a3439b27 |
495 | $theme[23]['NAME'] = 'Monostochastic (Changes)'; |
a610c5e4 |
496 | |
884eba1e |
497 | $theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php'; |
a3439b27 |
498 | $theme[24]['NAME'] = 'Shades of Grey (Changes)'; |
a610c5e4 |
499 | |
884eba1e |
500 | $theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php'; |
a3439b27 |
501 | $theme[25]['NAME'] = 'Spice of Life (Changes)'; |
a1b33f64 |
502 | |
884eba1e |
503 | $theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php'; |
a3439b27 |
504 | $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)'; |
a1b33f64 |
505 | |
884eba1e |
506 | $theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php'; |
a3439b27 |
507 | $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)'; |
a1b33f64 |
508 | |
884eba1e |
509 | $theme[28]['PATH'] = SM_PATH . 'themes/christmas.php'; |
a3439b27 |
510 | $theme[28]['NAME'] = 'Holiday - Christmas'; |
511 | |
884eba1e |
512 | $theme[29]['PATH'] = SM_PATH . 'themes/darkness.php'; |
9007bf00 |
513 | $theme[29]['NAME'] = 'Darkness (Changes)'; |
514 | |
884eba1e |
515 | $theme[30]['PATH'] = SM_PATH . 'themes/random.php'; |
fb351cd8 |
516 | $theme[30]['NAME'] = 'Random (Changes every login)'; |
517 | |
884eba1e |
518 | $theme[31]['PATH'] = SM_PATH . 'themes/midnight.php'; |
fb351cd8 |
519 | $theme[31]['NAME'] = 'Midnight'; |
9007bf00 |
520 | |
884eba1e |
521 | $theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php'; |
211f8c1d |
522 | $theme[32]['NAME'] = 'Alien Glow'; |
523 | |
884eba1e |
524 | $theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php'; |
211f8c1d |
525 | $theme[33]['NAME'] = 'Dark Green'; |
526 | |
884eba1e |
527 | $theme[34]['PATH'] = SM_PATH . 'themes/penguin.php'; |
46b89abe |
528 | $theme[34]['NAME'] = 'Penguin'; |
716fa276 |
529 | |
e79c77f2 |
530 | $theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php'; |
531 | $theme[35]['NAME'] = 'Minimal BW'; |
532 | |
f2225182 |
533 | $theme[36]['PATH'] = SM_PATH . 'themes/redmond.php'; |
534 | $theme[36]['NAME'] = 'Redmond'; |
e79c77f2 |
535 | |
a3439b27 |
536 | /** |
537 | * LDAP server(s) |
538 | * Array of arrays with LDAP server parameters. See |
539 | * functions/abook_ldap_server.php for a list of possible |
540 | * parameters |
541 | * |
542 | * EXAMPLE: |
543 | * $ldap_server[0] = Array( |
544 | * 'host' => 'memberdir.netscape.com', |
545 | * 'name' => 'Netcenter Member Directory', |
546 | * 'base' => 'ou=member_directory,o=netcenter.com' |
547 | * ); |
548 | */ |
f6cfbdac |
549 | // Add your ldap server options here |
3499f99f |
550 | |
a3439b27 |
551 | /** |
552 | * Users may search their addressbook via either a plain HTML or Javascript |
553 | * enhanced user interface. This option allows you to set the default choice. |
554 | * Set this default choice as either: |
555 | * true = javascript |
556 | * false = html |
557 | */ |
a3439b27 |
558 | $default_use_javascript_addr_book = false; |
559 | |
a3439b27 |
560 | |
80e86e94 |
561 | /** |
f6cfbdac |
562 | * MOTD |
563 | * This is a message that is displayed immediately after a user logs in. |
80e86e94 |
564 | */ |
f6cfbdac |
565 | $motd = ""; |
80e86e94 |
566 | |
80e86e94 |
567 | |
a3439b27 |
568 | /** |
569 | * To install plugins, just add elements to this array that have |
570 | * the plugin directory name relative to the /plugins/ directory. |
571 | * For instance, for the 'sqclock' plugin, you'd put a line like |
572 | * the following. |
573 | * $plugins[0] = 'sqclock'; |
574 | * $plugins[1] = 'attachment_common'; |
575 | */ |
f6cfbdac |
576 | // Add list of enabled plugins here |
a3439b27 |
577 | |
f6cfbdac |
578 | |
579 | /*** Database ***/ |
8a7d0669 |
580 | /** |
f6cfbdac |
581 | * Read doc/database.txt in order to get more information |
582 | * about these settings. |
8a7d0669 |
583 | */ |
f6cfbdac |
584 | /** |
585 | * Database-driven private addressbooks |
586 | * DSN (Data Source Name) for a database where the private |
587 | * addressbooks are stored. See doc/db-backend.txt for more info. |
588 | * If it is not set, the addressbooks are stored in files |
589 | * in the data dir. |
590 | * The DSN is in the format: mysql://user:pass@hostname/dbname |
591 | * The table is the name of the table to use within the |
592 | * specified database. |
593 | */ |
594 | $addrbook_dsn = ''; |
595 | $addrbook_table = 'address'; |
596 | /** |
597 | * Database used to store user data |
598 | */ |
599 | $prefs_dsn = ''; |
600 | $prefs_table = 'userprefs'; |
601 | $prefs_key_field = 'prefkey'; |
602 | $prefs_user_field = 'user'; |
603 | $prefs_val_field = 'prefval'; |
30e9932c |
604 | /** |
605 | * Global sql database options |
606 | */ |
607 | $addrbook_global_dsn = ''; |
608 | $addrbook_global_table = 'global_abook'; |
609 | $addrbook_global_writeable = false; |
610 | $addrbook_global_listing = false; |
7c612fdd |
611 | |
f6cfbdac |
612 | /*** Language settings ***/ |
7c612fdd |
613 | /** |
f6cfbdac |
614 | * Default language |
615 | * This is the default language. It is used as a last resort |
616 | * if SquirrelMail can't figure out which language to display. |
617 | * Language names usually consist of language code, undercore |
618 | * symbol and country code |
aa0da530 |
619 | */ |
f6cfbdac |
620 | $squirrelmail_default_language = 'en_US'; |
7c612fdd |
621 | |
f6cfbdac |
622 | /** |
623 | * This option controls what character set is used when sending mail |
624 | * and when sending HTML to the browser. Do not set this to US-ASCII, |
625 | * use ISO-8859-1 instead. |
626 | * |
627 | * You can set this option, only if $squirrelmail_default_language setting |
628 | * contains 'en_US' string. In any other case system does not allow |
629 | * making mistakes with incorrect language and charset combinations. |
630 | */ |
631 | $default_charset = 'iso-8859-1'; |
7c612fdd |
632 | |
f6cfbdac |
633 | /** |
634 | * This option controls number of languages available to end user in |
635 | * language selection preferences. You can use space separated list |
636 | * of translations installed in locale/ directory or special keys |
637 | * 'all' (all languages are available) and 'none' (language selection |
638 | * is disabled, interface is set to $squirrelmail_default_language |
aa0da530 |
639 | */ |
f6cfbdac |
640 | $available_languages = 'all'; |
ca85aabe |
641 | |
f6cfbdac |
642 | /** |
643 | * This options allows displaying native language names in language |
644 | * selection box. |
645 | */ |
646 | $show_alternative_names = false; |
aa0da530 |
647 | |
ca85aabe |
648 | /** |
f6cfbdac |
649 | * This option enables reading of Eastern multibyte encodings. |
650 | * Functions that provide this support are very cpu and memory intensive. |
651 | * Don't enable this option unless you really need it. |
ca85aabe |
652 | */ |
f6cfbdac |
653 | $agresive_decoding = false; |
ca85aabe |
654 | |
f6cfbdac |
655 | /*** Tweaks ***/ |
656 | /** |
657 | * Use experimental DHTML folder listing |
658 | */ |
659 | $advanced_tree = false; |
660 | /** |
661 | * Use older way of folder listing |
662 | */ |
663 | $oldway = false; |
6395c46d |
664 | /** |
665 | * Use icons for message and folder markers |
666 | */ |
667 | $use_icons = false; |
f6cfbdac |
668 | /** |
669 | * Use experimental code with php recode functions when reading messages with |
670 | * different encoding. This code is faster that original SM functions, |
671 | * but it require php with recode support. |
672 | * |
673 | * Don't enable this option if you are not sure about availability of |
674 | * recode support. |
675 | */ |
676 | $use_php_recode = false; |
677 | /** |
678 | * Use experimental code with php iconv functions when reading messages with |
679 | * different encoding. This code is faster that original SM functions, |
680 | * but it require php with iconv support and works only with some translations. |
681 | * |
682 | * Don't enable this option if you are not sure about availability of |
683 | * iconv support. |
684 | */ |
685 | $use_php_iconv = false; |
ca85aabe |
686 | |
52ed2f88 |
687 | /** |
688 | * this disables listing all of the folders on the IMAP Server to |
689 | * generate the folder subscribe listbox (this can take a long time |
690 | * when you have a lot of folders). Instead, a textbox will be |
f6cfbdac |
691 | * displayed allowing users to enter a specific folder name to subscribe to |
692 | * |
693 | * This option can't be changed by conf.pl |
694 | */ |
52ed2f88 |
695 | $no_list_for_subscribe = false; |
696 | |
47a29326 |
697 | /** |
f6cfbdac |
698 | * This option is used only by conf.pl script to generate configuration |
699 | * menu with some colors and is provided here only as reference. |
47a29326 |
700 | */ |
f6cfbdac |
701 | $config_use_color = 2; |
47a29326 |
702 | |
f6cfbdac |
703 | /** |
704 | * This option includes special configuration options |
705 | */ |
706 | @include SM_PATH . 'config/config_local.php'; |
9a641903 |
707 | |
a3439b27 |
708 | /** |
709 | * Make sure there are no characters after the PHP closing |
710 | * tag below (including newline characters and whitespace). |
711 | * Otherwise, that character will cause the headers to be |
712 | * sent and regular output to begin, which will majorly screw |
713 | * things up when we try to send more headers later. |
714 | */ |
6395c46d |
715 | ?> |