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