fix php5 mistakes and remove disabled code. disabled code might be used to make sure
[squirrelmail.git] / config / config_default.php
1 <?php
2
3 /**
4 * Default SquirrelMail configuration file
5 *
6 * BEFORE EDITING THIS FILE!
7 *
8 * Don't edit this file directly. Copy it to config.php before you
9 * edit it. However, it is best to use the configuration script
10 * conf.pl if at all possible. That is the easiest and cleanest way
11 * to configure.
12 *
13 * @package squirrelmail
14 * @subpackage config
15 */
16
17 /* Do not change this value. */
18 global $version;
19 global $config_version;
20 $config_version = '1.4.0';
21
22 /*** Organization preferences ***/
23 /**
24 * Organization's name
25 * @global string $org_name
26 */
27 $org_name = "SquirrelMail";
28
29 /**
30 * Organization's logo picture (blank if none)
31 * @global string $org_logo
32 */
33 $org_logo = SM_PATH . 'images/sm_logo.png';
34
35 /**
36 * The width of the logo (0 for default)
37 * @global string $org_logo_width
38 */
39 $org_logo_width = '308';
40
41 /**
42 * The height of the logo (0 for default)
43 * @global string $org_logo_height
44 */
45 $org_logo_height = '111';
46
47 /**
48 * Webmail Title
49 *
50 * This is the web page title that appears at the top of the browser window.
51 * @global string $org_title
52 */
53 $org_title = "SquirrelMail";
54
55 /**
56 * Signout page
57 *
58 * Rather than going to the signout.php page (which only allows you
59 * to sign back in), setting signout_page allows you to sign the user
60 * out and then redirect to whatever page you want. For instance,
61 * the following would return the user to your home page:
62 * $signout_page = '/';
63 * Set to the empty string to continue to use the default signout page.
64 * @global string $signout_page
65 */
66 $signout_page = '';
67
68 /**
69 * Top frame
70 *
71 * By default SquirrelMail takes up the whole browser window,
72 * this allows you to embed it within sites using frames. Set
73 * this to the frame you want it to stay in.
74 * @global string $frame_top
75 */
76 $frame_top = '_top';
77
78 /**
79 * Provider name
80 *
81 * Here you can set name of the link displayed on the right side of main page.
82 *
83 * Link will be displayed only if you have $hide_sm_attributions
84 * option set to true.
85 * @global string $provider_name
86 */
87 $provider_name = 'SquirrelMail';
88
89 /**
90 * Provider URI
91 *
92 * Here you can set URL of the link displayed on the right side of main page.
93 * When empty, this refers to the SquirrelMail About page.
94 * Link will be displayed only if you have $hide_sm_attributions
95 * option set to true.
96 * @global string $provider_uri
97 */
98 $provider_uri = '';
99
100 /*** Server Settings ***/
101 /**
102 * Default Domain
103 *
104 * The domain part of local email addresses.
105 * This is for all messages sent out from this server.
106 * Reply address is generated by $username@$domain
107 * Example: In bob@example.com, example.com is the domain.
108 * @global string $domain
109 */
110 $domain = 'example.com';
111
112 /**
113 * Time offset inversion
114 *
115 * If you are running on a machine that doesn't have the tm_gmtoff
116 * value in your time structure and if you are in a time zone that
117 * has a negative offset, you need to set this value to 1. This is
118 * typically people in the US that are running Solaris 7.
119 * @global bool $invert_time
120 */
121 $invert_time = false;
122
123 /**
124 * Default send transport
125 *
126 * What should be used when sending email.
127 * If it is set to false, SquirrelMail will use SMTP server settings.
128 * If it is set to true, SquirrelMail will use program defined in
129 * $sendmail_path
130 * @global bool $useSendmail
131 */
132 $useSendmail = false;
133
134 /**
135 * Your SMTP server (usually the same as the IMAP server).
136 * @global string $smtpServerAddress
137 */
138 $smtpServerAddress = 'localhost';
139 /**
140 * Your SMTP port number (usually 25).
141 * @global integer $smtpPort
142 */
143 $smtpPort = 25;
144
145 /**
146 * SquirrelMail header encryption
147 *
148 * Encryption key allows to hide SquirrelMail Received: headers
149 * in outbound messages. Interface uses encryption key to encode
150 * username, remote address and proxied address, then stores encoded
151 * information in X-Squirrel-* headers.
152 *
153 * Warning: used encryption function is not bulletproof. When used
154 * with static encryption keys, it provides only minimal security
155 * measures and information can be decoded quickly.
156 *
157 * Encoded information can be decoded with decrypt_headers.php script
158 * from SquirrelMail contrib/ directory.
159 * @global string $encode_header_key
160 * @since 1.5.1
161 */
162 $encode_header_key = '';
163
164 /**
165 * Path to Sendmail
166 *
167 * Program that should be used when sending email. SquirrelMail expects that
168 * this program will follow options used by original sendmail
169 * (http://www.sendmail.org).
170 * @global string $sendmail_path
171 */
172 $sendmail_path = '/usr/sbin/sendmail';
173
174 /**
175 * IMAP server address
176 *
177 * The dns name (or IP address) for your imap server.
178 * @global string $imapServerAddress
179 */
180 $imapServerAddress = 'localhost';
181
182 /**
183 * IMAP server port
184 *
185 * Port used by your imap server. (Usually 143)
186 * @global integer $imapPort
187 */
188 $imapPort = 143;
189
190 /**
191 * IMAP server type
192 *
193 * The type of IMAP server you are running.
194 * Valid type are the following (case is important):
195 * courier
196 * cyrus
197 * exchange
198 * uw
199 * macosx
200 * hmailserver
201 * mercury32
202 * dovecot
203 * other
204 *
205 * Please note that this changes only some of server settings.
206 *
207 * In order to set everything correctly, you need to adjust several
208 * SquirrelMail options. These options are listed in doc/presets.txt
209 * @global string $imap_server_type
210 */
211 $imap_server_type = 'other';
212
213 /**
214 * Advanced IMAP authentication options control
215 *
216 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
217 * Set reasonable defaults - you'd never know this was there unless you ask for it
218 * @global bool $use_imap_tls
219 */
220 $use_imap_tls = false;
221
222 /**
223 * Advanced SMTP authentication options control
224 *
225 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
226 * Set reasonable defaults - you'd never know this was there unless you ask for it
227 * @global bool $use_smtp_tls
228 */
229 $use_smtp_tls = false;
230
231 /**
232 * SMTP authentication mechanism
233 *
234 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
235 * @global string $smtp_auth_mech
236 */
237 $smtp_auth_mech = 'none';
238
239 /**
240 * IMAP authentication mechanism
241 *
242 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
243 * @global string $imap_auth_mech
244 */
245 $imap_auth_mech = 'login';
246
247 /**
248 * IMAP folder delimiter
249 *
250 * This is the delimiter that your IMAP server uses to distinguish between
251 * folders. For example, Cyrus uses '.' as the delimiter and a complete
252 * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would
253 * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect'
254 * but if you are sure you know what delimiter your server uses, you can
255 * specify it here.
256 *
257 * To have it autodetect the delimiter, set it to 'detect'.
258 * @global string $optional_delimiter
259 */
260 $optional_delimiter = 'detect';
261
262 /**
263 * POP before SMTP setting
264 *
265 * Do you wish to use POP3 before SMTP? Your server must
266 * support this in order for SquirrelMail to work with it.
267 * @global bool $pop_before_smtp
268 */
269 $pop_before_smtp = false;
270
271
272 /*** Folder Settings ***/
273 /**
274 * Default IMAP folder prefix
275 *
276 * Many servers store mail in your home directory. With this, they
277 * store them in a subdirectory: mail/ or Mail/, etc. If your server
278 * does this, please set this to what the default mail folder should
279 * be. This is still a user preference, so they can change it if it
280 * is different for each user.
281 *
282 * Example:
283 * $default_folder_prefix = 'mail/';
284 * -- or --
285 * $default_folder_prefix = 'Mail/folders/';
286 *
287 * If you do not use this, set it to the empty string.
288 * @global string $default_folder_prefix
289 */
290 $default_folder_prefix = '';
291
292 /**
293 * User level prefix control
294 *
295 * If you do not wish to give them the option to change this, set it
296 * to false. Otherwise, if it is true, they can change the folder prefix
297 * to be anything.
298 * @global bool $show_prefix_option
299 */
300 $show_prefix_option = false;
301
302 /**
303 * The following are related to deleting messages.
304 * $default_move_to_trash
305 * If this is set to 'true', when 'delete' is pressed, it
306 * will attempt to move the selected messages to the folder
307 * named $trash_folder. If it's set to 'false', we won't even
308 * attempt to move the messages, just delete them.
309 * $default_move_to_sent
310 * If this is set to 'true', sent messages will be stored in
311 * $sent_folder by default.
312 * $default_save_as_draft
313 * If this is set to 'true', users are able to use $draft_folder
314 * to store their unfinished messages.
315 * $trash_folder
316 * This is the path to the default trash folder. For Cyrus
317 * IMAP, it would be 'INBOX.Trash', but for UW it would be
318 * 'Trash'. We need the full path name here.
319 * $draft_folder
320 * This is the patch to where Draft messages will be stored.
321 * $auto_expunge
322 * If this is true, when a message is moved or copied, the
323 * source mailbox will get expunged, removing all messages
324 * marked 'Deleted'.
325 * $sent_folder
326 * This is the path to where Sent messages will be stored.
327 * $delete_folder
328 * If this is true, when a folder is deleted then it will
329 * not get moved into the Trash folder.
330 * @global bool $default_move_to_trash
331 * @global bool $default_move_to_sent
332 * @global bool $default_save_as_draft
333 * @global string $trash_folder
334 * @global string $sent_folder
335 * @global string $draft_folder
336 * @global bool $auto_expunge
337 * @global bool $delete_folder
338 */
339 $default_move_to_trash = true;
340 $default_move_to_sent = true;
341 $default_save_as_draft = true;
342 $trash_folder = 'INBOX.Trash';
343 $sent_folder = 'INBOX.Sent';
344 $draft_folder = 'INBOX.Drafts';
345 $auto_expunge = true;
346 $delete_folder = false;
347
348 /**
349 * Special Folder Color Control
350 *
351 * Whether or not to use a special color for special folders. If not,
352 * special folders will be the same color as the other folders.
353 * @global bool $use_special_folder_color
354 */
355 $use_special_folder_color = true;
356
357 /**
358 * Create Special Folders Control
359 *
360 * Should I create the Sent and Trash folders automatically for
361 * a new user that doesn't already have them created?
362 * @global bool $auto_create_special
363 */
364 $auto_create_special = true;
365
366 /**
367 * List Special Folders First Control
368 *
369 * Whether or not to list the special folders first (true/false).
370 * @global bool $list_special_folders_first
371 */
372 $list_special_folders_first = true;
373
374 /**
375 * Subfolder Layout Control
376 *
377 * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
378 * If you are unsure, set it to false.
379 * @global bool $default_sub_of_inbox
380 */
381 $default_sub_of_inbox = true;
382
383 /**
384 * Subfolder Format Control
385 *
386 * Some IMAP daemons (UW) handle folders weird. They only allow a
387 * folder to contain either messages or other folders, not both at
388 * the same time. This option controls whether or not to display an
389 * option during folder creation. The option toggles which type of
390 * folder it should be.
391 *
392 * If this option confuses you, just set it to 'true'. You can not hurt
393 * anything if it's true, but some servers will respond weird if it's
394 * false. (Cyrus works fine whether it's true OR false).
395 * @global bool $show_contain_subfolders_option
396 */
397 $show_contain_subfolders_option = false;
398
399 /**
400 * These next two options set the defaults for the way that the
401 * users see their folder list.
402 * $default_unseen_notify
403 * Specifies whether or not the users will see the number of
404 * unseen in each folder by default and also which folders to
405 * do this to. Valid values are: 1=none, 2=inbox, 3=all.
406 * $default_unseen_type
407 * Specifies the type of notification to give the users by
408 * default. Valid choice are: 1=(4), 2=(4,25).
409 * @global integer $default_unseen_notify
410 * @global integer $default_unseen_type
411 */
412 $default_unseen_notify = 2;
413 $default_unseen_type = 1;
414
415 /**
416 * NoSelect Fix Control
417 *
418 * This enables the no select fix for Cyrus when subfolders
419 * exist but parent folders do not
420 * @global bool $noselect_fix_enable
421 */
422 $noselect_fix_enable = false;
423
424 /*** General options ***/
425 /**
426 * Path to the data/ directory
427 *
428 * It is a possible security hole to have a writable directory
429 * under the web server's root directory (ex: /home/httpd/html).
430 * For this reason, it is possible to put the data directory
431 * anywhere you would like. The path name can be absolute or
432 * relative (to the config directory). It doesn't matter. Here
433 * are two examples:
434 *
435 * Absolute:
436 * $data_dir = '/usr/local/squirrelmail/data/';
437 *
438 * Relative (to main SM directory):
439 * $data_dir = SM_PATH . 'data/';
440 * @global string $data_dir
441 */
442 $data_dir = SM_PATH . 'data/';
443
444 /**
445 * Attachments directory
446 *
447 * Path to directory used for storing attachments while a mail is
448 * being sent. There are a few security considerations regarding
449 * this directory:
450 * + It should have the permission 733 (rwx-wx-wx) to make it
451 * impossible for a random person with access to the webserver to
452 * list files in this directory. Confidential data might be laying
453 * around there.
454 * + Since the webserver is not able to list the files in the content
455 * is also impossible for the webserver to delete files lying around
456 * there for too long.
457 * + It should probably be another directory than data_dir.
458 * @global string $attachment_dir
459 */
460 $attachment_dir = $data_dir;
461
462 /**
463 * Hash level used for data directory.
464 *
465 * This option allows spliting file based SquirrelMail user
466 * data storage directory into several subfolders. Number from
467 * 0 to 4 allows allows having up to four subfolder levels.
468 *
469 * Hashing should speed up directory access if you have big number
470 * of users (500 and more).
471 * @global integer $dir_hash_level
472 */
473 $dir_hash_level = 0;
474
475 /**
476 * Default Size of Folder List
477 *
478 * This is the default size of the folder list. Default
479 * is 150, but you can set it to whatever you wish.
480 * @global string $default_left_size
481 */
482 $default_left_size = '150';
483
484 /**
485 * Username Case Control
486 *
487 * Some IMAP servers allow a username (like 'bob') to log in if they use
488 * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
489 * preference files. Toggling this option to true will transparently
490 * change all usernames to lowercase.
491 * @global bool $force_username_lowercase
492 */
493 $force_username_lowercase = false;
494
495 /**
496 * Email Priority Control
497 *
498 * This option enables use of email priority flags by end users.
499 * @global bool $default_use_priority
500 */
501 $default_use_priority = true;
502
503 /**
504 * SquirrelMail Attributions Control
505 *
506 * This option disables display of "created by SquirrelMail developers"
507 * strings and provider link
508 * @global bool $hide_sm_attributions
509 */
510 $hide_sm_attributions = false;
511
512 /**
513 * Delivery Receipts Control
514 *
515 * This option enables use of read/delivery receipts by end users.
516 * @global bool $default_use_mdn
517 */
518 $default_use_mdn = true;
519
520 /**
521 * Identity Controls
522 *
523 * If you don't want to allow users to change their email address
524 * then you can set $edit_identity to false, if you want them to
525 * not be able to change their full name too then set $edit_name
526 * to false as well. $edit_name has no effect unless $edit_identity
527 * is false;
528 * @global bool $edit_identity
529 * @global bool $edit_name
530 */
531 $edit_identity = true;
532 $edit_name = true;
533
534 /**
535 * SquirrelMail adds username information to every sent email.
536 * It is done in order to prevent possible sender forging when
537 * end users are allowed to change their email and name
538 * information.
539 *
540 * You can disable this header, if you think that it violates
541 * user's privacy or security. Please note, that setting will
542 * work only when users are not allowed to change their identity.
543 *
544 * See SquirrelMail bug tracker #847107 for more details about it.
545 * @global bool $hide_auth_header
546 */
547 $hide_auth_header = false;
548
549 /**
550 * Server Side Threading Control
551 *
552 * If you want to enable server side thread sorting options
553 * Your IMAP server must support the THREAD extension for
554 * this to work.
555 * @global bool $allow_thread_sort
556 */
557 $allow_thread_sort = false;
558
559 /**
560 * Server Side Sorting Control
561 *
562 * to use server-side sorting instead of SM client side.
563 * Your IMAP server must support the SORT extension for this
564 * to work.
565 * @global bool $allow_server_sort
566 */
567 $allow_server_sort = false;
568
569 /**
570 * IMAP Charset Use Control
571 *
572 * This option allows you to choose if SM uses charset search
573 * Your imap server should support SEARCH CHARSET command for
574 * this to work.
575 * @global bool $allow_charset_search
576 */
577 $allow_charset_search = true;
578
579 /**
580 * Search functions control
581 *
582 * This option allows you to control the use of advanced search form.
583 * Set to 0 to enable basic search only, 1 to enable advanced search only
584 * or 2 to enable both.
585 * @global integer $allow_advanced_search
586 */
587 $allow_advanced_search = 0;
588
589 /**
590 * PHP session name.
591 *
592 * Leave this alone unless you know what you are doing.
593 * @global string $session_name
594 */
595 $session_name = 'SQMSESSID';
596
597
598 /**
599 * Themes
600 * You can define your own theme and put it in this directory.
601 * You must call it as the example below. You can name the theme
602 * whatever you want. For an example of a theme, see the ones
603 * included in the config directory.
604 *
605 * To add a new theme to the options that users can choose from, just
606 * add a new number to the array at the bottom, and follow the pattern.
607 *
608 * $theme_default sets theme that will be used by default
609 * $theme_css sets stylesheet (from theme/css directory) that will be
610 * used by default.
611 * @global integer $theme_default
612 * @global string $theme_css
613 */
614 $theme_default = 0;
615 $theme_css = '';
616
617 /**
618 * Listing of installed themes
619 * @global array $theme
620 */
621 $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
622 $theme[0]['NAME'] = 'Default';
623
624 $theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
625 $theme[1]['NAME'] = 'Plain Blue';
626
627 $theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
628 $theme[2]['NAME'] = 'Sand Storm';
629
630 $theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
631 $theme[3]['NAME'] = 'Deep Ocean';
632
633 $theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
634 $theme[4]['NAME'] = 'Slashdot';
635
636 $theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
637 $theme[5]['NAME'] = 'Purple';
638
639 $theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
640 $theme[6]['NAME'] = 'Forest';
641
642 $theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
643 $theme[7]['NAME'] = 'Ice';
644
645 $theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
646 $theme[8]['NAME'] = 'Sea Spray';
647
648 $theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
649 $theme[9]['NAME'] = 'Blue Steel';
650
651 $theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
652 $theme[10]['NAME'] = 'Dark Grey';
653
654 $theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
655 $theme[11]['NAME'] = 'High Contrast';
656
657 $theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
658 $theme[12]['NAME'] = 'Black Bean Burrito';
659
660 $theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
661 $theme[13]['NAME'] = 'Servery';
662
663 $theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
664 $theme[14]['NAME'] = 'Maize';
665
666 $theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
667 $theme[15]['NAME'] = 'BluesNews';
668
669 $theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
670 $theme[16]['NAME'] = 'Deep Ocean 2';
671
672 $theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
673 $theme[17]['NAME'] = 'Blue Grey';
674
675 $theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
676 $theme[18]['NAME'] = 'Dompie';
677
678 $theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
679 $theme[19]['NAME'] = 'Methodical';
680
681 $theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
682 $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
683
684 $theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
685 $theme[21]['NAME'] = 'In The Pink (Changes)';
686
687 $theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
688 $theme[22]['NAME'] = 'Kind of Blue (Changes)';
689
690 $theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
691 $theme[23]['NAME'] = 'Monostochastic (Changes)';
692
693 $theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
694 $theme[24]['NAME'] = 'Shades of Grey (Changes)';
695
696 $theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
697 $theme[25]['NAME'] = 'Spice of Life (Changes)';
698
699 $theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
700 $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
701
702 $theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
703 $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
704
705 $theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
706 $theme[28]['NAME'] = 'Holiday - Christmas';
707
708 $theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
709 $theme[29]['NAME'] = 'Darkness (Changes)';
710
711 $theme[30]['PATH'] = SM_PATH . 'themes/random.php';
712 $theme[30]['NAME'] = 'Random (Changes every login)';
713
714 $theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
715 $theme[31]['NAME'] = 'Midnight';
716
717 $theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
718 $theme[32]['NAME'] = 'Alien Glow';
719
720 $theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
721 $theme[33]['NAME'] = 'Dark Green';
722
723 $theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
724 $theme[34]['NAME'] = 'Penguin';
725
726 $theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php';
727 $theme[35]['NAME'] = 'Minimal BW';
728
729 $theme[36]['PATH'] = SM_PATH . 'themes/redmond.php';
730 $theme[36]['NAME'] = 'Redmond';
731
732 $theme[37]['PATH'] = SM_PATH . 'themes/netstyle_theme.php';
733 $theme[37]['NAME'] = 'Net Style';
734
735 $theme[38]['PATH'] = SM_PATH . 'themes/silver_steel_theme.php';
736 $theme[38]['NAME'] = 'Silver Steel';
737
738 $theme[39]['PATH'] = SM_PATH . 'themes/simple_green_theme.php';
739 $theme[39]['NAME'] = 'Simple Green';
740
741 $theme[40]['PATH'] = SM_PATH . 'themes/wood_theme.php';
742 $theme[40]['NAME'] = 'Wood';
743
744 /**
745 * LDAP server(s)
746 * Array of arrays with LDAP server parameters. See
747 * functions/abook_ldap_server.php for a list of possible
748 * parameters
749 *
750 * EXAMPLE:
751 * $ldap_server[0] = Array(
752 * 'host' => 'memberdir.netscape.com',
753 * 'name' => 'Netcenter Member Directory',
754 * 'base' => 'ou=member_directory,o=netcenter.com'
755 * );
756 */
757 // Add your ldap server options here
758
759 /**
760 * Javascript in Addressbook Control
761 *
762 * Users may search their addressbook via either a plain HTML or Javascript
763 * enhanced user interface. This option allows you to set the default choice.
764 * Set this default choice as either:
765 * true = javascript
766 * false = html
767 * @global bool $default_use_javascript_addr_book
768 */
769 $default_use_javascript_addr_book = false;
770
771 /**
772 * Shared filebased address book
773 * @global string $abook_global_file
774 * @since 1.5.1 and 1.4.4
775 */
776 $abook_global_file = '';
777
778 /**
779 * Writing into shared address book control
780 * @global bool $abook_global_file_writeable
781 * @since 1.5.1 and 1.4.4
782 */
783 $abook_global_file_writeable = false;
784
785 /**
786 * Listing of shared address book control
787 * @global bool $abook_global_file_listing
788 * @since 1.5.1
789 */
790 $abook_global_file_listing = true;
791
792 /**
793 * MOTD
794 *
795 * This is a message that is displayed immediately after a user logs in.
796 * @global string $motd
797 */
798 $motd = "";
799
800
801 /**
802 * To install plugins, just add elements to this array that have
803 * the plugin directory name relative to the /plugins/ directory.
804 * For instance, for the 'sqclock' plugin, you'd put a line like
805 * the following.
806 * $plugins[] = 'sqclock';
807 * $plugins[] = 'attachment_common';
808 */
809 // Add list of enabled plugins here
810
811
812 /*** Database ***/
813 /**
814 * Read doc/database.txt in order to get more information
815 * about these settings.
816 */
817 /**
818 * Database-driven private addressbooks
819 * DSN (Data Source Name) for a database where the private
820 * addressbooks are stored. See doc/db-backend.txt for more info.
821 * If it is not set, the addressbooks are stored in files
822 * in the data dir.
823 * The DSN is in the format: mysql://user:pass@hostname/dbname
824 * The table is the name of the table to use within the
825 * specified database.
826 */
827 $addrbook_dsn = '';
828 $addrbook_table = 'address';
829 /**
830 * Database used to store user data
831 */
832 $prefs_dsn = '';
833 $prefs_table = 'userprefs';
834 $prefs_key_field = 'prefkey';
835 $prefs_user_field = 'user';
836 $prefs_val_field = 'prefval';
837
838 /*** Global sql database options ***/
839 /**
840 * DSN of global address book database
841 * @global string $addrbook_global_dsn
842 * @since 1.5.1
843 */
844 $addrbook_global_dsn = '';
845 /**
846 * Table used for global database address book
847 * @global string $addrbook_global_table
848 * @since 1.5.1
849 */
850 $addrbook_global_table = 'global_abook';
851 /**
852 * Control writing into global database address book
853 * @global boolean $addrbook_global_writeable
854 * @since 1.5.1
855 */
856 $addrbook_global_writeable = false;
857 /**
858 * Control listing of global database address book
859 * @global boolean $addrbook_global_listing
860 * @since 1.5.1
861 */
862 $addrbook_global_listing = false;
863
864 /*** Language settings ***/
865 /**
866 * Default language
867 *
868 * This is the default language. It is used as a last resort
869 * if SquirrelMail can't figure out which language to display.
870 * Language names usually consist of language code, undercore
871 * symbol and country code
872 * @global string $squirrelmail_default_language
873 */
874 $squirrelmail_default_language = 'en_US';
875
876 /**
877 * Default Charset
878 *
879 * This option controls what character set is used when sending
880 * mail and when sending HTML to the browser. Option works only
881 * with US English (en_US) translation. Other translations use
882 * charsets that are set in functions/i18n.php.
883 *
884 * @global string $default_charset
885 */
886 $default_charset = 'iso-8859-1';
887
888 /**
889 * Available Languages
890 *
891 * This option controls number of languages available to end user in
892 * language selection preferences. You can use space separated list
893 * of translations installed in locale/ directory or special keys
894 * 'all' (all languages are available) and 'none' (language selection
895 * is disabled, interface is set to $squirrelmail_default_language
896 * @global string $available_languages
897 * @since 1.5.0
898 */
899 $available_languages = 'all';
900
901 /**
902 * Alternative Language Names Control
903 *
904 * This options allows displaying native language names in language
905 * selection box.
906 * @global bool $show_alternative_names
907 * @since 1.5.0
908 */
909 $show_alternative_names = false;
910
911 /**
912 * Aggressive Decoding Control
913 *
914 * This option enables reading of Eastern multibyte encodings.
915 * Functions that provide this support are very cpu and memory intensive.
916 * Don't enable this option unless you really need it.
917 * @global bool $aggressive_decoding
918 * @since 1.5.1
919 */
920 $aggressive_decoding = false;
921
922 /**
923 * Lossy Encoding Control
924 *
925 * This option allows charset conversions when output charset does not support
926 * all symbols used in original charset. Symbols unsupported by output charset
927 * will be replaced with question marks.
928 * @global bool $lossy_encoding
929 * @since 1.5.1
930 */
931 $lossy_encoding = false;
932
933 /*** Tweaks ***/
934 /**
935 * Advanced DHTML tree control
936 *
937 * Use experimental DHTML folder listing
938 * @global bool $advanced_tree
939 * @since 1.5.0
940 */
941 $advanced_tree = false;
942
943 /**
944 * Iframe sandbox code control
945 *
946 * Use iframe to render html emails
947 * (temp option used during debuging of new code)
948 * @global bool $use_iframe
949 * @since 1.5.1
950 */
951 $use_iframe = false;
952
953 /**
954 * Message Icons control
955 *
956 * Use icons for message and folder markers
957 * @global bool $use_icons
958 * @since 1.5.1
959 */
960 $use_icons = false;
961
962 /**
963 * PHP recode functions control
964 *
965 * Use experimental code with php recode functions when reading messages with
966 * different encoding. This code is faster that original SM functions,
967 * but it require php with recode support.
968 *
969 * Don't enable this option if you are not sure about availability of
970 * recode support.
971 * @global bool $use_php_recode
972 * @since 1.5.0
973 */
974 $use_php_recode = false;
975
976 /**
977 * PHP iconv functions control
978 *
979 * Use experimental code with php iconv functions when reading messages with
980 * different encoding. This code is faster that original SM functions,
981 * but it require php with iconv support and works only with some translations.
982 *
983 * Don't enable this option if you are not sure about availability of
984 * iconv support.
985 * @global bool $use_php_iconv
986 * @since 1.5.0
987 */
988 $use_php_iconv = false;
989
990 /**
991 * Controls remote configuration checks
992 * @global boolean $allow_remote_configtest
993 * @since 1.5.1
994 */
995 $allow_remote_configtest = false;
996
997 /**
998 * Subscribe Listing Control
999 *
1000 * this disables listing all of the folders on the IMAP Server to
1001 * generate the folder subscribe listbox (this can take a long time
1002 * when you have a lot of folders). Instead, a textbox will be
1003 * displayed allowing users to enter a specific folder name to subscribe to
1004 *
1005 * This option can't be changed by conf.pl
1006 * @global bool $no_list_for_subscribe
1007 */
1008 $no_list_for_subscribe = false;
1009
1010 /**
1011 * Color in config control
1012 *
1013 * This option is used only by conf.pl script to generate configuration
1014 * menu with some colors and is provided here only as reference.
1015 * @global integer $config_use_color
1016 */
1017 $config_use_color = 2;
1018
1019 /**
1020 * This option includes special configuration options
1021 */
1022 @include SM_PATH . 'config/config_local.php';
1023
1024 /**
1025 * Make sure there are no characters after the PHP closing
1026 * tag below (including newline characters and whitespace).
1027 * Otherwise, that character will cause the headers to be
1028 * sent and regular output to begin, which will majorly screw
1029 * things up when we try to send more headers later.
1030 */
1031 ?>