6cd161050943937433c42e070d0a709bda1fad67
4 * Default SquirrelMail configuration file
6 * BEFORE EDITING THIS FILE!
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
13 * @copyright © 2000-2006 The SquirrelMail Project Team
14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
16 * @package squirrelmail
20 /* Do not change this value. */
22 global $config_version;
23 $config_version = '1.4.0';
25 /*** Organization preferences ***/
28 * @global string $org_name
30 $org_name = "SquirrelMail";
33 * Organization's logo picture (blank if none)
34 * @global string $org_logo
36 $org_logo = SM_PATH
. 'images/sm_logo.png';
39 * The width of the logo (0 for default)
40 * @global string $org_logo_width
42 $org_logo_width = '308';
45 * The height of the logo (0 for default)
46 * @global string $org_logo_height
48 $org_logo_height = '111';
53 * This is the web page title that appears at the top of the browser window.
54 * @global string $org_title
56 $org_title = "SquirrelMail";
61 * Rather than going to the signout.php page (which only allows you
62 * to sign back in), setting signout_page allows you to sign the user
63 * out and then redirect to whatever page you want. For instance,
64 * the following would return the user to your home page:
65 * $signout_page = '/';
66 * Set to the empty string to continue to use the default signout page.
67 * @global string $signout_page
74 * By default SquirrelMail takes up the whole browser window,
75 * this allows you to embed it within sites using frames. Set
76 * this to the frame you want it to stay in.
77 * @global string $frame_top
84 * Here you can set name of the link displayed on the right side of main page.
86 * Link will be displayed only if you have $hide_sm_attributions
88 * @global string $provider_name
90 $provider_name = 'SquirrelMail';
95 * Here you can set URL of the link displayed on the right side of main page.
96 * When empty, this refers to the SquirrelMail About page.
97 * Link will be displayed only if you have $hide_sm_attributions
99 * @global string $provider_uri
103 /*** Server Settings ***/
107 * The domain part of local email addresses.
108 * This is for all messages sent out from this server.
109 * Reply address is generated by $username@$domain
110 * Example: In bob@example.com, example.com is the domain.
111 * @global string $domain
113 $domain = 'example.com';
116 * Time offset inversion
118 * If you are running on a machine that doesn't have the tm_gmtoff
119 * value in your time structure and if you are in a time zone that
120 * has a negative offset, you need to set this value to 1. This is
121 * typically people in the US that are running Solaris 7.
122 * @global bool $invert_time
124 $invert_time = false;
127 * Default send transport
129 * What should be used when sending email.
130 * If it is set to false, SquirrelMail will use SMTP server settings.
131 * If it is set to true, SquirrelMail will use program defined in
133 * @global bool $useSendmail
135 $useSendmail = false;
138 * Your SMTP server (usually the same as the IMAP server).
139 * @global string $smtpServerAddress
141 $smtpServerAddress = 'localhost';
143 * Your SMTP port number (usually 25).
144 * @global integer $smtpPort
149 * SquirrelMail header encryption
151 * Encryption key allows to hide SquirrelMail Received: headers
152 * in outbound messages. Interface uses encryption key to encode
153 * username, remote address and proxied address, then stores encoded
154 * information in X-Squirrel-* headers.
156 * Warning: used encryption function is not bulletproof. When used
157 * with static encryption keys, it provides only minimal security
158 * measures and information can be decoded quickly.
160 * Encoded information can be decoded with decrypt_headers.php script
161 * from SquirrelMail contrib/ directory.
162 * @global string $encode_header_key
163 * @since 1.5.1 and 1.4.5
165 $encode_header_key = '';
170 * Program that should be used when sending email. SquirrelMail expects that
171 * this program will follow options used by original sendmail
172 * (http://www.sendmail.org). Support of -f argument is required.
173 * @global string $sendmail_path
175 $sendmail_path = '/usr/sbin/sendmail';
178 * Extra sendmail command arguments.
180 * Sets additional sendmail command arguments. Make sure that arguments are
181 * supported by your sendmail program. -f argument is added automatically by
182 * SquirrelMail scripts. Variable defaults to standard /usr/sbin/sendmail
183 * arguments. If you use qmail-inject, nbsmtp or any other sendmail wrapper,
184 * which does not support -t and -i arguments, set variable to empty string
185 * or use arguments suitable for your mailer.
186 * @global string $sendmail_args
189 $sendmail_args = '-i -t';
192 * IMAP server address
194 * The dns name (or IP address) for your imap server.
195 * @global string $imapServerAddress
197 $imapServerAddress = 'localhost';
202 * Port used by your imap server. (Usually 143)
203 * @global integer $imapPort
210 * The type of IMAP server you are running.
211 * Valid type are the following (case is important):
223 * Please note that this changes only some of server settings.
225 * In order to set everything correctly, you need to adjust several
226 * SquirrelMail options. These options are listed in doc/presets.txt
227 * @global string $imap_server_type
229 $imap_server_type = 'other';
232 * Secure IMAP connection controls
234 * 0 - use plain text connection,
235 * 1 - use imaps (adds tls:// prefix to hostname),
236 * 2 - use IMAP STARTTLS extension (rfc2595).
238 * Was boolean before 1.5.1.
239 * @global integer $use_imap_tls
245 * Secure SMTP connection controls
247 * 0 - use plain text connection,
248 * 1 - use ssmtp (adds tls:// prefix to hostname),
249 * 2 - use SMTP STARTTLS extension (rfc2487).
251 * Was boolean before 1.5.1.
252 * @global integer $use_smtp_tls
258 * SMTP authentication mechanism
260 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
261 * @global string $smtp_auth_mech
263 $smtp_auth_mech = 'none';
266 * IMAP authentication mechanism
268 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
269 * @global string $imap_auth_mech
271 $imap_auth_mech = 'login';
274 * IMAP folder delimiter
276 * This is the delimiter that your IMAP server uses to distinguish between
277 * folders. For example, Cyrus uses '.' as the delimiter and a complete
278 * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would
279 * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect'
280 * but if you are sure you know what delimiter your server uses, you can
283 * To have it autodetect the delimiter, set it to 'detect'.
284 * @global string $optional_delimiter
286 $optional_delimiter = 'detect';
289 * POP before SMTP setting
291 * Do you wish to use POP3 before SMTP? Your server must
292 * support this in order for SquirrelMail to work with it.
293 * @global bool $pop_before_smtp
295 $pop_before_smtp = false;
298 /*** Folder Settings ***/
300 * Default IMAP folder prefix
302 * Many servers store mail in your home directory. With this, they
303 * store them in a subdirectory: mail/ or Mail/, etc. If your server
304 * does this, please set this to what the default mail folder should
305 * be. This is still a user preference, so they can change it if it
306 * is different for each user.
309 * $default_folder_prefix = 'mail/';
311 * $default_folder_prefix = 'Mail/folders/';
313 * If you do not use this, set it to the empty string.
314 * @global string $default_folder_prefix
316 $default_folder_prefix = '';
319 * User level prefix control
321 * If you do not wish to give them the option to change this, set it
322 * to false. Otherwise, if it is true, they can change the folder prefix
324 * @global bool $show_prefix_option
326 $show_prefix_option = false;
329 * The following are related to deleting messages.
330 * $default_move_to_trash
331 * If this is set to 'true', when 'delete' is pressed, it
332 * will attempt to move the selected messages to the folder
333 * named $trash_folder. If it's set to 'false', we won't even
334 * attempt to move the messages, just delete them.
335 * $default_move_to_sent
336 * If this is set to 'true', sent messages will be stored in
337 * $sent_folder by default.
338 * $default_save_as_draft
339 * If this is set to 'true', users are able to use $draft_folder
340 * to store their unfinished messages.
342 * This is the path to the default trash folder. For Cyrus
343 * IMAP, it would be 'INBOX.Trash', but for UW it would be
344 * 'Trash'. We need the full path name here.
346 * This is the patch to where Draft messages will be stored.
348 * If this is true, when a message is moved or copied, the
349 * source mailbox will get expunged, removing all messages
352 * This is the path to where Sent messages will be stored.
354 * If this is true, when a folder is deleted then it will
355 * not get moved into the Trash folder.
356 * @global bool $default_move_to_trash
357 * @global bool $default_move_to_sent
358 * @global bool $default_save_as_draft
359 * @global string $trash_folder
360 * @global string $sent_folder
361 * @global string $draft_folder
362 * @global bool $auto_expunge
363 * @global bool $delete_folder
365 $default_move_to_trash = true;
366 $default_move_to_sent = true;
367 $default_save_as_draft = true;
368 $trash_folder = 'INBOX.Trash';
369 $sent_folder = 'INBOX.Sent';
370 $draft_folder = 'INBOX.Drafts';
371 $auto_expunge = true;
372 $delete_folder = false;
375 * Special Folder Color Control
377 * Whether or not to use a special color for special folders. If not,
378 * special folders will be the same color as the other folders.
379 * @global bool $use_special_folder_color
381 $use_special_folder_color = true;
384 * Create Special Folders Control
386 * Should I create the Sent and Trash folders automatically for
387 * a new user that doesn't already have them created?
388 * @global bool $auto_create_special
390 $auto_create_special = true;
393 * List Special Folders First Control
395 * Whether or not to list the special folders first (true/false).
396 * @global bool $list_special_folders_first
398 $list_special_folders_first = true;
401 * Subfolder Layout Control
403 * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
404 * If you are unsure, set it to false.
405 * @global bool $default_sub_of_inbox
407 $default_sub_of_inbox = true;
410 * Subfolder Format Control
412 * Some IMAP daemons (UW) handle folders weird. They only allow a
413 * folder to contain either messages or other folders, not both at
414 * the same time. This option controls whether or not to display an
415 * option during folder creation. The option toggles which type of
416 * folder it should be.
418 * If this option confuses you, just set it to 'true'. You can not hurt
419 * anything if it's true, but some servers will respond weird if it's
420 * false. (Cyrus works fine whether it's true OR false).
421 * @global bool $show_contain_subfolders_option
423 $show_contain_subfolders_option = false;
426 * These next two options set the defaults for the way that the
427 * users see their folder list.
428 * $default_unseen_notify
429 * Specifies whether or not the users will see the number of
430 * unseen in each folder by default and also which folders to
431 * do this to. Valid values are: 1=none, 2=inbox, 3=all.
432 * $default_unseen_type
433 * Specifies the type of notification to give the users by
434 * default. Valid choice are: 1=(4), 2=(4,25).
435 * @global integer $default_unseen_notify
436 * @global integer $default_unseen_type
438 $default_unseen_notify = 2;
439 $default_unseen_type = 1;
442 * NoSelect Fix Control
444 * This enables the no select fix for Cyrus when subfolders
445 * exist but parent folders do not
446 * @global bool $noselect_fix_enable
448 $noselect_fix_enable = false;
450 /*** General options ***/
452 * Path to the data/ directory
454 * You need to create this directory yourself (see INSTALL).
456 * It is a possible security hole to have a writable directory
457 * under the web server's root directory (ex: /home/httpd/html).
458 * The path name can be absolute or relative (to the config directory).
459 * If path is relative, it must use SM_PATH constant.
460 * Here are two examples:
463 * $data_dir = '/var/local/squirrelmail/data/';
465 * Relative (to main SM directory):
466 * $data_dir = SM_PATH . 'data/';
467 * (NOT recommended: you need to secure apache to make sure these
468 * files are not world readable)
470 * @global string $data_dir
472 $data_dir = '/var/local/squirrelmail/data';
475 * Attachments directory
477 * Path to directory used for storing attachments while a mail is
478 * being sent. There are a few security considerations regarding
480 * + It should have the permission 733 (rwx-wx-wx) to make it
481 * impossible for a random person with access to the webserver to
482 * list files in this directory. Confidential data might be laying
484 * + Since the webserver is not able to list the files in the content
485 * is also impossible for the webserver to delete files lying around
486 * there for too long. You should have some script that deletes
487 * left over temp files.
488 * + It should probably be another directory than data_dir.
489 * @global string $attachment_dir
491 $attachment_dir = $data_dir;
494 * Hash level used for data directory.
496 * This option allows spliting file based SquirrelMail user
497 * data storage directory into several subfolders. Number from
498 * 0 to 4 allows allows having up to four subfolder levels.
500 * Hashing should speed up directory access if you have big number
501 * of users (500 and more).
502 * @global integer $dir_hash_level
507 * Default Size of Folder List
509 * This is the default size of the folder list. Default
510 * is 150, but you can set it to whatever you wish.
511 * @global string $default_left_size
513 $default_left_size = '150';
516 * Username Case Control
518 * Some IMAP servers allow a username (like 'bob') to log in if they use
519 * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
520 * preference files. Toggling this option to true will transparently
521 * change all usernames to lowercase.
522 * @global bool $force_username_lowercase
524 $force_username_lowercase = false;
527 * Email Priority Control
529 * This option enables use of email priority flags by end users.
530 * @global bool $default_use_priority
532 $default_use_priority = true;
535 * SquirrelMail Attributions Control
537 * This option disables display of "created by SquirrelMail developers"
538 * strings and provider link
539 * @global bool $hide_sm_attributions
541 $hide_sm_attributions = false;
544 * Delivery Receipts Control
546 * This option enables use of read/delivery receipts by end users.
547 * @global bool $default_use_mdn
549 $default_use_mdn = true;
554 * If you don't want to allow users to change their email address
555 * then you can set $edit_identity to false, if you want them to
556 * not be able to change their full name too then set $edit_name
557 * to false as well. $edit_name has no effect unless $edit_identity
559 * @global bool $edit_identity
560 * @global bool $edit_name
562 $edit_identity = true;
566 * SquirrelMail adds username information to every sent email.
567 * It is done in order to prevent possible sender forging when
568 * end users are allowed to change their email and name
571 * You can disable this header, if you think that it violates
572 * user's privacy or security. Please note, that setting will
573 * work only when users are not allowed to change their identity.
575 * See SquirrelMail bug tracker #847107 for more details about it.
576 * @global bool $hide_auth_header
577 * @since 1.5.1 and 1.4.5
579 $hide_auth_header = false;
582 * Server Side Threading Control
584 * Set it to true, if you want to disable server side thread
585 * sorting options. Your IMAP server must support the THREAD
586 * extension for this to have any effect.
588 * Older SquirrelMail versions used $allow_thread_sort option.
589 * @global bool $disable_thread_sort
592 $disable_thread_sort = false;
595 * Server Side Sorting Control
597 * Set it to true, if you want to disable server side sorting
598 * and use SM client side sorting instead (client side sorting
599 * can be slow). Your IMAP server must support the SORT extension
600 * for this to have any effect.
602 * Older SquirrelMail versions used $allow_server_sort option.
603 * @global bool $disable_server_sort
606 $disable_server_sort = false;
609 * IMAP Charset Use Control
611 * This option allows you to choose if SM uses charset search
612 * Your imap server should support SEARCH CHARSET command for
614 * @global bool $allow_charset_search
616 $allow_charset_search = true;
619 * Search functions control
621 * This option allows you to control the use of advanced search form.
622 * Set to 0 to enable basic search only, 1 to enable advanced search only
623 * or 2 to enable both.
624 * @global integer $allow_advanced_search
626 $allow_advanced_search = 0;
631 * Leave this alone unless you know what you are doing.
632 * @global string $session_name
634 $session_name = 'SQMSESSID';
639 * You can define your own theme and put it in this directory.
640 * You must call it as the example below. You can name the theme
641 * whatever you want. For an example of a theme, see the ones
642 * included in the config directory.
644 * To add a new theme to the options that users can choose from, just
645 * add a new number to the array at the bottom, and follow the pattern.
647 * $theme_default sets theme that will be used by default
648 * $theme_css sets stylesheet (from theme/css directory) that will be
650 * @global integer $theme_default
651 * @global string $theme_css
657 * Listing of installed themes
658 * @global array $theme
660 $theme[0]['PATH'] = SM_PATH
. 'themes/default_theme.php';
661 $theme[0]['NAME'] = 'Default';
663 $theme[1]['PATH'] = SM_PATH
. 'themes/plain_blue_theme.php';
664 $theme[1]['NAME'] = 'Plain Blue';
666 $theme[2]['PATH'] = SM_PATH
. 'themes/sandstorm_theme.php';
667 $theme[2]['NAME'] = 'Sand Storm';
669 $theme[3]['PATH'] = SM_PATH
. 'themes/deepocean_theme.php';
670 $theme[3]['NAME'] = 'Deep Ocean';
672 $theme[4]['PATH'] = SM_PATH
. 'themes/slashdot_theme.php';
673 $theme[4]['NAME'] = 'Slashdot';
675 $theme[5]['PATH'] = SM_PATH
. 'themes/purple_theme.php';
676 $theme[5]['NAME'] = 'Purple';
678 $theme[6]['PATH'] = SM_PATH
. 'themes/forest_theme.php';
679 $theme[6]['NAME'] = 'Forest';
681 $theme[7]['PATH'] = SM_PATH
. 'themes/ice_theme.php';
682 $theme[7]['NAME'] = 'Ice';
684 $theme[8]['PATH'] = SM_PATH
. 'themes/seaspray_theme.php';
685 $theme[8]['NAME'] = 'Sea Spray';
687 $theme[9]['PATH'] = SM_PATH
. 'themes/bluesteel_theme.php';
688 $theme[9]['NAME'] = 'Blue Steel';
690 $theme[10]['PATH'] = SM_PATH
. 'themes/dark_grey_theme.php';
691 $theme[10]['NAME'] = 'Dark Grey';
693 $theme[11]['PATH'] = SM_PATH
. 'themes/high_contrast_theme.php';
694 $theme[11]['NAME'] = 'High Contrast';
696 $theme[12]['PATH'] = SM_PATH
. 'themes/black_bean_burrito_theme.php';
697 $theme[12]['NAME'] = 'Black Bean Burrito';
699 $theme[13]['PATH'] = SM_PATH
. 'themes/servery_theme.php';
700 $theme[13]['NAME'] = 'Servery';
702 $theme[14]['PATH'] = SM_PATH
. 'themes/maize_theme.php';
703 $theme[14]['NAME'] = 'Maize';
705 $theme[15]['PATH'] = SM_PATH
. 'themes/bluesnews_theme.php';
706 $theme[15]['NAME'] = 'BluesNews';
708 $theme[16]['PATH'] = SM_PATH
. 'themes/deepocean2_theme.php';
709 $theme[16]['NAME'] = 'Deep Ocean 2';
711 $theme[17]['PATH'] = SM_PATH
. 'themes/blue_grey_theme.php';
712 $theme[17]['NAME'] = 'Blue Grey';
714 $theme[18]['PATH'] = SM_PATH
. 'themes/dompie_theme.php';
715 $theme[18]['NAME'] = 'Dompie';
717 $theme[19]['PATH'] = SM_PATH
. 'themes/methodical_theme.php';
718 $theme[19]['NAME'] = 'Methodical';
720 $theme[20]['PATH'] = SM_PATH
. 'themes/greenhouse_effect.php';
721 $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
723 $theme[21]['PATH'] = SM_PATH
. 'themes/in_the_pink.php';
724 $theme[21]['NAME'] = 'In The Pink (Changes)';
726 $theme[22]['PATH'] = SM_PATH
. 'themes/kind_of_blue.php';
727 $theme[22]['NAME'] = 'Kind of Blue (Changes)';
729 $theme[23]['PATH'] = SM_PATH
. 'themes/monostochastic.php';
730 $theme[23]['NAME'] = 'Monostochastic (Changes)';
732 $theme[24]['PATH'] = SM_PATH
. 'themes/shades_of_grey.php';
733 $theme[24]['NAME'] = 'Shades of Grey (Changes)';
735 $theme[25]['PATH'] = SM_PATH
. 'themes/spice_of_life.php';
736 $theme[25]['NAME'] = 'Spice of Life (Changes)';
738 $theme[26]['PATH'] = SM_PATH
. 'themes/spice_of_life_lite.php';
739 $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
741 $theme[27]['PATH'] = SM_PATH
. 'themes/spice_of_life_dark.php';
742 $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
744 $theme[28]['PATH'] = SM_PATH
. 'themes/christmas.php';
745 $theme[28]['NAME'] = 'Holiday - Christmas';
747 $theme[29]['PATH'] = SM_PATH
. 'themes/darkness.php';
748 $theme[29]['NAME'] = 'Darkness (Changes)';
750 $theme[30]['PATH'] = SM_PATH
. 'themes/random.php';
751 $theme[30]['NAME'] = 'Random (Changes every login)';
753 $theme[31]['PATH'] = SM_PATH
. 'themes/midnight.php';
754 $theme[31]['NAME'] = 'Midnight';
756 $theme[32]['PATH'] = SM_PATH
. 'themes/alien_glow.php';
757 $theme[32]['NAME'] = 'Alien Glow';
759 $theme[33]['PATH'] = SM_PATH
. 'themes/dark_green.php';
760 $theme[33]['NAME'] = 'Dark Green';
762 $theme[34]['PATH'] = SM_PATH
. 'themes/penguin.php';
763 $theme[34]['NAME'] = 'Penguin';
765 $theme[35]['PATH'] = SM_PATH
. 'themes/minimal_bw.php';
766 $theme[35]['NAME'] = 'Minimal BW';
768 $theme[36]['PATH'] = SM_PATH
. 'themes/redmond.php';
769 $theme[36]['NAME'] = 'Redmond';
771 $theme[37]['PATH'] = SM_PATH
. 'themes/netstyle_theme.php';
772 $theme[37]['NAME'] = 'Net Style';
774 $theme[38]['PATH'] = SM_PATH
. 'themes/silver_steel_theme.php';
775 $theme[38]['NAME'] = 'Silver Steel';
777 $theme[39]['PATH'] = SM_PATH
. 'themes/simple_green_theme.php';
778 $theme[39]['NAME'] = 'Simple Green';
780 $theme[40]['PATH'] = SM_PATH
. 'themes/wood_theme.php';
781 $theme[40]['NAME'] = 'Wood';
783 $theme[41]['PATH'] = SM_PATH
. 'themes/bluesome.php';
784 $theme[41]['NAME'] = 'Bluesome';
786 $theme[42]['PATH'] = SM_PATH
. 'themes/simple_green2.php';
787 $theme[42]['NAME'] = 'Simple Green 2';
789 $theme[43]['PATH'] = SM_PATH
. 'themes/simple_purple.php';
790 $theme[43]['NAME'] = 'Simple Purple';
794 * You can define your own template and put it in this directory.
795 * You must call it as the example below. You can name the template
796 * whatever you want. For an example of a template, see the ones
797 * included in the template directory.
799 * To add a new template to the options that users can choose from, just
800 * add a new number to the array at the bottom, and follow the pattern.
802 * $templateset_default sets theme that will be used by default
804 * @global integer $templateset_default
806 $templateset_default = 0;
808 $aTemplateSet[0]['PATH'] = SM_PATH
. 'templates/default/';
809 $aTemplateSet[0]['NAME'] = 'Default template';
813 * Default interface font size.
814 * @global string $default_fontsize
817 $default_fontsize = '';
821 * @global string $default_fontset
824 $default_fontset = '';
827 * List of available fontsets.
828 * @global array $fontsets
832 $fontsets['serif'] = 'serif';
833 $fontsets['sans'] = 'helvetica,arial,sans-serif';
834 $fontsets['comicsans'] = 'comic sans ms,sans-serif';
835 $fontsets['verasans'] = 'bitstream vera sans,verdana,sans-serif';
836 $fontsets['tahoma'] = 'tahoma,sans-serif';
840 * Array of arrays with LDAP server parameters. See
841 * functions/abook_ldap_server.php for a list of possible
845 * $ldap_server[0] = Array(
846 * 'host' => 'memberdir.netscape.com',
847 * 'name' => 'Netcenter Member Directory',
848 * 'base' => 'ou=member_directory,o=netcenter.com'
851 // Add your ldap server options here
854 * Javascript in Addressbook Control
856 * Users may search their addressbook via either a plain HTML or Javascript
857 * enhanced user interface. This option allows you to set the default choice.
858 * Set this default choice as either:
861 * @global bool $default_use_javascript_addr_book
863 $default_use_javascript_addr_book = false;
866 * Shared filebased address book
867 * @global string $abook_global_file
868 * @since 1.5.1 and 1.4.4
870 $abook_global_file = '';
873 * Writing into shared address book control
874 * @global bool $abook_global_file_writeable
875 * @since 1.5.1 and 1.4.4
877 $abook_global_file_writeable = false;
880 * Listing of shared address book control
881 * @global bool $abook_global_file_listing
884 $abook_global_file_listing = true;
889 * This is a message that is displayed immediately after a user logs in.
890 * @global string $motd
896 * To install plugins, just add elements to this array that have
897 * the plugin directory name relative to the /plugins/ directory.
898 * For instance, for the 'sqclock' plugin, you'd put a line like
900 * $plugins[] = 'sqclock';
901 * $plugins[] = 'attachment_common';
903 // Add list of enabled plugins here
908 * Read doc/database.txt in order to get more information
909 * about these settings.
912 * Database-driven private addressbooks
913 * DSN (Data Source Name) for a database where the private
914 * addressbooks are stored. See doc/db-backend.txt for more info.
915 * If it is not set, the addressbooks are stored in files
917 * The DSN is in the format: mysql://user:pass@hostname/dbname
918 * The table is the name of the table to use within the
919 * specified database.
922 $addrbook_table = 'address';
924 * Database used to store user data
927 $prefs_table = 'userprefs';
929 * Preference key field
930 * @global string $prefs_key_field
932 $prefs_key_field = 'prefkey';
934 * Size of preference key field
935 * @global integer $prefs_key_size
938 $prefs_key_size = 64;
940 * Preference owner field
941 * @global string $prefs_user_field
943 $prefs_user_field = 'user';
945 * Size of preference owner field
946 * @global integer $prefs_user_size
949 $prefs_user_size = 128;
951 * Preference value field
952 * @global string $prefs_val_field
954 $prefs_val_field = 'prefval';
956 * Size of preference key field
957 * @global integer $prefs_val_size
960 $prefs_val_size = 65536;
962 /*** Global sql database options ***/
964 * DSN of global address book database
965 * @global string $addrbook_global_dsn
966 * @since 1.5.1 and 1.4.4
968 $addrbook_global_dsn = '';
970 * Table used for global database address book
971 * @global string $addrbook_global_table
972 * @since 1.5.1 and 1.4.4
974 $addrbook_global_table = 'global_abook';
976 * Control writing into global database address book
977 * @global boolean $addrbook_global_writeable
978 * @since 1.5.1 and 1.4.4
980 $addrbook_global_writeable = false;
982 * Control listing of global database address book
983 * @global boolean $addrbook_global_listing
984 * @since 1.5.1 and 1.4.4
986 $addrbook_global_listing = false;
988 /*** Language settings ***/
992 * This is the default language. It is used as a last resort
993 * if SquirrelMail can't figure out which language to display.
994 * Language names usually consist of language code, undercore
995 * symbol and country code
996 * @global string $squirrelmail_default_language
998 $squirrelmail_default_language = 'en_US';
1003 * This option controls what character set is used when sending
1004 * mail and when sending HTML to the browser. Option works only
1005 * with US English (en_US) translation. Other translations use
1006 * charsets that are set in functions/i18n.php.
1008 * @global string $default_charset
1010 $default_charset = 'iso-8859-1';
1013 * Alternative Language Names Control
1015 * This options allows displaying native language names in language
1017 * @global bool $show_alternative_names
1020 $show_alternative_names = false;
1023 * Aggressive Decoding Control
1025 * This option enables reading of Eastern multibyte encodings.
1026 * Functions that provide this support are very cpu and memory intensive.
1027 * Don't enable this option unless you really need it.
1028 * @global bool $aggressive_decoding
1031 $aggressive_decoding = false;
1034 * Lossy Encoding Control
1036 * This option allows charset conversions when output charset does not support
1037 * all symbols used in original charset. Symbols unsupported by output charset
1038 * will be replaced with question marks.
1039 * @global bool $lossy_encoding
1042 $lossy_encoding = false;
1045 * Controls use of time zone libraries
1049 * <li>0 - default, SquirrelMail uses GNU C timezone names in
1050 * TZ environment variables
1051 * <li>1 - strict, SquirrelMail uses 'TZ' subkey values in TZ
1052 * environment variables
1053 * <li>2 - custom, SquirrelMail loads time zone data from
1054 * config/timezones.php and uses time zone array keys in
1055 * TZ enviroment variables
1056 * <li>3 - custom strict, SquirrelMail loads time zone data from
1057 * config/timezones.php and uses TZ subkey values in
1058 * TZ enviroment variables
1060 * Use of any other value switches to default SquirrelMail time zone
1061 * handling ($time_zone_type).
1062 * @global integer $time_zone_type
1065 $time_zone_type = 0;
1069 * Advanced DHTML tree control
1071 * Use experimental DHTML folder listing
1072 * @global bool $advanced_tree
1075 $advanced_tree = false;
1078 * Iframe sandbox code control
1080 * Use iframe to render html emails
1081 * (temp option used during debuging of new code)
1082 * @global bool $use_iframe
1085 $use_iframe = false;
1088 * Message Icons control
1090 * Use icons for message and folder markers
1091 * @global bool $use_icons
1097 * PHP recode functions control
1099 * Use experimental code with php recode functions when reading messages with
1100 * different encoding. This code is faster that original SM functions,
1101 * but it require php with recode support.
1103 * Don't enable this option if you are not sure about availability of
1105 * @global bool $use_php_recode
1108 $use_php_recode = false;
1111 * PHP iconv functions control
1113 * Use experimental code with php iconv functions when reading messages with
1114 * different encoding. This code is faster that original SM functions,
1115 * but it require php with iconv support and works only with some translations.
1117 * Don't enable this option if you are not sure about availability of
1119 * @global bool $use_php_iconv
1122 $use_php_iconv = false;
1125 * Controls remote configuration checks
1126 * @global boolean $allow_remote_configtest
1129 $allow_remote_configtest = false;
1132 * Subscribe Listing Control
1134 * this disables listing all of the folders on the IMAP Server to
1135 * generate the folder subscribe listbox (this can take a long time
1136 * when you have a lot of folders). Instead, a textbox will be
1137 * displayed allowing users to enter a specific folder name to subscribe to
1139 * This option can't be changed by conf.pl
1140 * @global bool $no_list_for_subscribe
1142 $no_list_for_subscribe = false;
1145 * Color in config control
1147 * This option is used only by conf.pl script to generate configuration
1148 * menu with some colors and is provided here only as reference.
1149 * @global integer $config_use_color
1151 $config_use_color = 2;
1154 * This option includes special configuration options
1156 @include SM_PATH
. 'config/config_local.php';
1159 * Make sure there are no characters after the PHP closing
1160 * tag below (including newline characters and whitespace).
1161 * Otherwise, that character will cause the headers to be
1162 * sent and regular output to begin, which will majorly screw
1163 * things up when we try to send more headers later.