c9e6f27b0305cd2eb2c8e8446773b1cbb9400693
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 * Note on SECURITY: some options require putting a password in this file.
14 * Please make sure that you adapt its permissions appropriately to avoid
15 * passwords being leaked to e.g. other system users. Take extra care when
16 * the webserver is shared with untrusted users.
18 * @copyright © 2000-2006 The SquirrelMail Project Team
19 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
21 * @package squirrelmail
25 /* Do not change this value. */
27 global $config_version;
28 $config_version = '1.4.0';
30 /*** Organization preferences ***/
33 * @global string $org_name
35 $org_name = "SquirrelMail";
38 * Organization's logo picture (blank if none)
39 * @global string $org_logo
41 $org_logo = SM_PATH
. 'images/sm_logo.png';
44 * The width of the logo (0 for default)
45 * @global string $org_logo_width
47 $org_logo_width = '308';
50 * The height of the logo (0 for default)
51 * @global string $org_logo_height
53 $org_logo_height = '111';
58 * This is the web page title that appears at the top of the browser window.
59 * @global string $org_title
61 $org_title = "SquirrelMail";
66 * Rather than going to the signout.php page (which only allows you
67 * to sign back in), setting signout_page allows you to sign the user
68 * out and then redirect to whatever page you want. For instance,
69 * the following would return the user to your home page:
70 * $signout_page = '/';
71 * Set to the empty string to continue to use the default signout page.
72 * @global string $signout_page
79 * By default SquirrelMail takes up the whole browser window,
80 * this allows you to embed it within sites using frames. Set
81 * this to the frame you want it to stay in.
82 * @global string $frame_top
89 * Here you can set name of the link displayed on the right side of main page.
91 * Link will be displayed only if you have $hide_sm_attributions
93 * @global string $provider_name
95 $provider_name = 'SquirrelMail';
100 * Here you can set URL of the link displayed on the right side of main page.
101 * When empty, this refers to the SquirrelMail About page.
102 * Link will be displayed only if you have $hide_sm_attributions
103 * option set to true.
104 * @global string $provider_uri
108 /*** Server Settings ***/
112 * The domain part of local email addresses.
113 * This is for all messages sent out from this server.
114 * Reply address is generated by $username@$domain
115 * Example: In bob@example.com, example.com is the domain.
116 * @global string $domain
118 $domain = 'example.com';
121 * Time offset inversion
123 * If you are running on a machine that doesn't have the tm_gmtoff
124 * value in your time structure and if you are in a time zone that
125 * has a negative offset, you need to set this value to 1. This is
126 * typically people in the US that are running Solaris 7.
127 * @global bool $invert_time
129 $invert_time = false;
132 * Default send transport
134 * What should be used when sending email.
135 * If it is set to false, SquirrelMail will use SMTP server settings.
136 * If it is set to true, SquirrelMail will use program defined in
138 * @global bool $useSendmail
140 $useSendmail = false;
143 * Your SMTP server (usually the same as the IMAP server).
144 * @global string $smtpServerAddress
146 $smtpServerAddress = 'localhost';
148 * Your SMTP port number (usually 25).
149 * @global integer $smtpPort
154 * SquirrelMail header encryption
156 * Encryption key allows to hide SquirrelMail Received: headers
157 * in outbound messages. Interface uses encryption key to encode
158 * username, remote address and proxied address, then stores encoded
159 * information in X-Squirrel-* headers.
161 * Warning: used encryption function is not bulletproof. When used
162 * with static encryption keys, it provides only minimal security
163 * measures and information can be decoded quickly.
165 * Encoded information can be decoded with decrypt_headers.php script
166 * from SquirrelMail contrib/ directory.
167 * @global string $encode_header_key
168 * @since 1.5.1 and 1.4.5
170 $encode_header_key = '';
175 * Program that should be used when sending email. SquirrelMail expects that
176 * this program will follow options used by original sendmail
177 * (http://www.sendmail.org). Support of -f argument is required.
178 * @global string $sendmail_path
180 $sendmail_path = '/usr/sbin/sendmail';
183 * Extra sendmail command arguments.
185 * Sets additional sendmail command arguments. Make sure that arguments are
186 * supported by your sendmail program. -f argument is added automatically by
187 * SquirrelMail scripts. Variable defaults to standard /usr/sbin/sendmail
188 * arguments. If you use qmail-inject, nbsmtp or any other sendmail wrapper,
189 * which does not support -t and -i arguments, set variable to empty string
190 * or use arguments suitable for your mailer.
191 * @global string $sendmail_args
192 * @since 1.5.1 and 1.4.8
194 $sendmail_args = '-i -t';
197 * IMAP server address
199 * The dns name (or IP address) for your imap server.
200 * @global string $imapServerAddress
202 $imapServerAddress = 'localhost';
207 * Port used by your imap server. (Usually 143)
208 * @global integer $imapPort
215 * The type of IMAP server you are running.
216 * Valid type are the following (case is important):
228 * Please note that this changes only some of server settings.
230 * In order to set everything correctly, you need to adjust several
231 * SquirrelMail options. These options are listed in doc/presets.txt
232 * @global string $imap_server_type
234 $imap_server_type = 'other';
237 * Secure IMAP connection controls
239 * 0 - use plain text connection,
240 * 1 - use imaps (adds tls:// prefix to hostname),
241 * 2 - use IMAP STARTTLS extension (rfc2595).
243 * Was boolean before 1.5.1.
244 * @global integer $use_imap_tls
250 * Secure SMTP connection controls
252 * 0 - use plain text connection,
253 * 1 - use ssmtp (adds tls:// prefix to hostname),
254 * 2 - use SMTP STARTTLS extension (rfc2487).
256 * Was boolean before 1.5.1.
257 * @global integer $use_smtp_tls
263 * SMTP authentication mechanism
265 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
266 * @global string $smtp_auth_mech
268 $smtp_auth_mech = 'none';
271 * Custom SMTP authentication username
273 * IMAP username is used if variable is set to empty string.
274 * Variable is included in main configuration file only from 1.5.2 version.
275 * Older versions stored it in config_local.php.
276 * @global string $smtp_sitewide_user
279 $smtp_sitewide_user = '';
282 * Custom SMTP authentication password
284 * IMAP password is used if $smtp_sitewide_user global is set to empty string.
285 * Variable is included in main configuration file only from 1.5.2 version.
286 * Older versions stored it in config_local.php.
287 * @global string $smtp_sitewide_pass
290 $smtp_sitewide_pass = '';
293 * IMAP authentication mechanism
295 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
296 * @global string $imap_auth_mech
298 $imap_auth_mech = 'login';
301 * IMAP folder delimiter
303 * This is the delimiter that your IMAP server uses to distinguish between
304 * folders. For example, Cyrus uses '.' as the delimiter and a complete
305 * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would
306 * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect'
307 * but if you are sure you know what delimiter your server uses, you can
310 * To have it autodetect the delimiter, set it to 'detect'.
311 * @global string $optional_delimiter
313 $optional_delimiter = 'detect';
316 * POP before SMTP setting
318 * Do you wish to use POP3 before SMTP? Your server must
319 * support this in order for SquirrelMail to work with it.
320 * @global bool $pop_before_smtp
322 $pop_before_smtp = false;
325 /*** Folder Settings ***/
327 * Default IMAP folder prefix
329 * Many servers store mail in your home directory. With this, they
330 * store them in a subdirectory: mail/ or Mail/, etc. If your server
331 * does this, please set this to what the default mail folder should
332 * be. This is still a user preference, so they can change it if it
333 * is different for each user.
336 * $default_folder_prefix = 'mail/';
338 * $default_folder_prefix = 'Mail/folders/';
340 * If you do not use this, set it to the empty string.
341 * @global string $default_folder_prefix
343 $default_folder_prefix = '';
346 * User level prefix control
348 * If you do not wish to give them the option to change this, set it
349 * to false. Otherwise, if it is true, they can change the folder prefix
351 * @global bool $show_prefix_option
353 $show_prefix_option = false;
356 * The following are related to deleting messages.
357 * $default_move_to_trash
358 * If this is set to 'true', when 'delete' is pressed, it
359 * will attempt to move the selected messages to the folder
360 * named $trash_folder. If it's set to 'false', we won't even
361 * attempt to move the messages, just delete them.
362 * $default_move_to_sent
363 * If this is set to 'true', sent messages will be stored in
364 * $sent_folder by default.
365 * $default_save_as_draft
366 * If this is set to 'true', users are able to use $draft_folder
367 * to store their unfinished messages.
369 * This is the path to the default trash folder. For Cyrus
370 * IMAP, it would be 'INBOX.Trash', but for UW it would be
371 * 'Trash'. We need the full path name here.
373 * This is the patch to where Draft messages will be stored.
375 * If this is true, when a message is moved or copied, the
376 * source mailbox will get expunged, removing all messages
379 * This is the path to where Sent messages will be stored.
381 * If this is true, when a folder is deleted then it will
382 * not get moved into the Trash folder.
383 * @global bool $default_move_to_trash
384 * @global bool $default_move_to_sent
385 * @global bool $default_save_as_draft
386 * @global string $trash_folder
387 * @global string $sent_folder
388 * @global string $draft_folder
389 * @global bool $auto_expunge
390 * @global bool $delete_folder
392 $default_move_to_trash = true;
393 $default_move_to_sent = true;
394 $default_save_as_draft = true;
395 $trash_folder = 'INBOX.Trash';
396 $sent_folder = 'INBOX.Sent';
397 $draft_folder = 'INBOX.Drafts';
398 $auto_expunge = true;
399 $delete_folder = false;
402 * Special Folder Color Control
404 * Whether or not to use a special color for special folders. If not,
405 * special folders will be the same color as the other folders.
406 * @global bool $use_special_folder_color
408 $use_special_folder_color = true;
411 * Create Special Folders Control
413 * Should I create the Sent and Trash folders automatically for
414 * a new user that doesn't already have them created?
415 * @global bool $auto_create_special
417 $auto_create_special = true;
420 * List Special Folders First Control
422 * Whether or not to list the special folders first (true/false).
423 * @global bool $list_special_folders_first
425 $list_special_folders_first = true;
428 * Subfolder Layout Control
430 * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
431 * If you are unsure, set it to false.
432 * @global bool $default_sub_of_inbox
434 $default_sub_of_inbox = true;
437 * Subfolder Format Control
439 * Some IMAP daemons (UW) handle folders weird. They only allow a
440 * folder to contain either messages or other folders, not both at
441 * the same time. This option controls whether or not to display an
442 * option during folder creation. The option toggles which type of
443 * folder it should be.
445 * If this option confuses you, just set it to 'true'. You can not hurt
446 * anything if it's true, but some servers will respond weird if it's
447 * false. (Cyrus works fine whether it's true OR false).
448 * @global bool $show_contain_subfolders_option
450 $show_contain_subfolders_option = false;
453 * These next two options set the defaults for the way that the
454 * users see their folder list.
455 * $default_unseen_notify
456 * Specifies whether or not the users will see the number of
457 * unseen in each folder by default and also which folders to
458 * do this to. Valid values are: 1=none, 2=inbox, 3=all.
459 * $default_unseen_type
460 * Specifies the type of notification to give the users by
461 * default. Valid choice are: 1=(4), 2=(4,25).
462 * @global integer $default_unseen_notify
463 * @global integer $default_unseen_type
465 $default_unseen_notify = 2;
466 $default_unseen_type = 1;
469 * NoSelect Fix Control
471 * This enables the no select fix for Cyrus when subfolders
472 * exist but parent folders do not
473 * @global bool $noselect_fix_enable
475 $noselect_fix_enable = false;
477 /*** General options ***/
479 * Path to the data/ directory
481 * You need to create this directory yourself (see INSTALL).
483 * It is a possible security hole to have a writable directory
484 * under the web server's root directory (ex: /home/httpd/html).
485 * The path name can be absolute or relative (to the config directory).
486 * If path is relative, it must use SM_PATH constant.
487 * Here are two examples:
490 * $data_dir = '/var/local/squirrelmail/data/';
492 * Relative (to main SM directory):
493 * $data_dir = SM_PATH . 'data/';
494 * (NOT recommended: you need to secure apache to make sure these
495 * files are not world readable)
497 * @global string $data_dir
499 $data_dir = '/var/local/squirrelmail/data/';
502 * Attachments directory
504 * Path to directory used for storing attachments while a mail is
505 * being sent. There are a few security considerations regarding
507 * + It should have the permission 733 (rwx-wx-wx) to make it
508 * impossible for a random person with access to the webserver to
509 * list files in this directory. Confidential data might be laying
511 * + Since the webserver is not able to list the files in the content
512 * is also impossible for the webserver to delete files lying around
513 * there for too long. You should have some script that deletes
514 * left over temp files.
515 * + It should probably be another directory than data_dir.
516 * @global string $attachment_dir
518 $attachment_dir = '/var/local/squirrelmail/attach/';
521 * Hash level used for data directory.
523 * This option allows spliting file based SquirrelMail user
524 * data storage directory into several subfolders. Number from
525 * 0 to 4 allows allows having up to four subfolder levels.
527 * Hashing should speed up directory access if you have big number
528 * of users (500 and more).
529 * @global integer $dir_hash_level
534 * Default Size of Folder List
536 * This is the default size of the folder list. Default
537 * is 150, but you can set it to whatever you wish.
538 * @global string $default_left_size
540 $default_left_size = '150';
543 * Username Case Control
545 * Some IMAP servers allow a username (like 'bob') to log in if they use
546 * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
547 * preference files. Toggling this option to true will transparently
548 * change all usernames to lowercase.
549 * @global bool $force_username_lowercase
551 $force_username_lowercase = false;
554 * Email Priority Control
556 * This option enables use of email priority flags by end users.
557 * @global bool $default_use_priority
559 $default_use_priority = true;
562 * SquirrelMail Attributions Control
564 * This option disables display of "created by SquirrelMail developers"
565 * strings and provider link
566 * @global bool $hide_sm_attributions
569 $hide_sm_attributions = false;
572 * Delivery Receipts Control
574 * This option enables use of read/delivery receipts by end users.
575 * @global bool $default_use_mdn
577 $default_use_mdn = true;
582 * If you don't want to allow users to change their email address
583 * then you can set $edit_identity to false, if you want them to
584 * not be able to change their full name too then set $edit_name
585 * to false as well. $edit_name has no effect unless $edit_identity
587 * @global bool $edit_identity
588 * @global bool $edit_name
590 $edit_identity = true;
594 * SquirrelMail adds username information to every sent email.
595 * It is done in order to prevent possible sender forging when
596 * end users are allowed to change their email and name
599 * You can disable this header, if you think that it violates
600 * user's privacy or security. Please note, that setting will
601 * work only when users are not allowed to change their identity.
603 * See SquirrelMail bug tracker #847107 for more details about it.
604 * @global bool $hide_auth_header
605 * @since 1.5.1 and 1.4.5
607 $hide_auth_header = false;
610 * Server Side Threading Control
612 * Set it to true, if you want to disable server side thread
613 * sorting options. Your IMAP server must support the THREAD
614 * extension for this to have any effect.
616 * Older SquirrelMail versions used $allow_thread_sort option.
617 * @global bool $disable_thread_sort
620 $disable_thread_sort = false;
623 * Server Side Sorting Control
625 * Set it to true, if you want to disable server side sorting
626 * and use SM client side sorting instead (client side sorting
627 * can be slow). Your IMAP server must support the SORT extension
628 * for this to have any effect.
630 * Older SquirrelMail versions used $allow_server_sort option.
631 * @global bool $disable_server_sort
634 $disable_server_sort = false;
637 * IMAP Charset Use Control
639 * This option allows you to choose if SM uses charset search
640 * Your imap server should support SEARCH CHARSET command for
642 * @global bool $allow_charset_search
644 $allow_charset_search = true;
647 * Search functions control
649 * This option allows you to control the use of advanced search form.
650 * Set to 0 to enable basic search only, 1 to enable advanced search only
651 * or 2 to enable both.
652 * @global integer $allow_advanced_search
654 $allow_advanced_search = 0;
659 * Leave this alone unless you know what you are doing.
660 * @global string $session_name
662 $session_name = 'SQMSESSID';
667 * You can define your own theme and put it in this directory.
668 * You must call it as the example below. You can name the theme
669 * whatever you want. For an example of a theme, see the ones
670 * included in the config directory.
672 * To add a new theme to the options that users can choose from, just
673 * add a new number to the array at the bottom, and follow the pattern.
675 * $theme_default sets theme that will be used by default
677 * @global integer $theme_default
682 * Listing of installed themes
683 * @global array $theme
685 $theme[0]['PATH'] = SM_PATH
. 'themes/default_theme.php';
686 $theme[0]['NAME'] = 'Default';
688 $theme[1]['PATH'] = SM_PATH
. 'themes/plain_blue_theme.php';
689 $theme[1]['NAME'] = 'Plain Blue';
691 $theme[2]['PATH'] = SM_PATH
. 'themes/sandstorm_theme.php';
692 $theme[2]['NAME'] = 'Sand Storm';
694 $theme[3]['PATH'] = SM_PATH
. 'themes/deepocean_theme.php';
695 $theme[3]['NAME'] = 'Deep Ocean';
697 $theme[4]['PATH'] = SM_PATH
. 'themes/slashdot_theme.php';
698 $theme[4]['NAME'] = 'Slashdot';
700 $theme[5]['PATH'] = SM_PATH
. 'themes/purple_theme.php';
701 $theme[5]['NAME'] = 'Purple';
703 $theme[6]['PATH'] = SM_PATH
. 'themes/forest_theme.php';
704 $theme[6]['NAME'] = 'Forest';
706 $theme[7]['PATH'] = SM_PATH
. 'themes/ice_theme.php';
707 $theme[7]['NAME'] = 'Ice';
709 $theme[8]['PATH'] = SM_PATH
. 'themes/seaspray_theme.php';
710 $theme[8]['NAME'] = 'Sea Spray';
712 $theme[9]['PATH'] = SM_PATH
. 'themes/bluesteel_theme.php';
713 $theme[9]['NAME'] = 'Blue Steel';
715 $theme[10]['PATH'] = SM_PATH
. 'themes/dark_grey_theme.php';
716 $theme[10]['NAME'] = 'Dark Grey';
718 $theme[11]['PATH'] = SM_PATH
. 'themes/high_contrast_theme.php';
719 $theme[11]['NAME'] = 'High Contrast';
721 $theme[12]['PATH'] = SM_PATH
. 'themes/black_bean_burrito_theme.php';
722 $theme[12]['NAME'] = 'Black Bean Burrito';
724 $theme[13]['PATH'] = SM_PATH
. 'themes/servery_theme.php';
725 $theme[13]['NAME'] = 'Servery';
727 $theme[14]['PATH'] = SM_PATH
. 'themes/maize_theme.php';
728 $theme[14]['NAME'] = 'Maize';
730 $theme[15]['PATH'] = SM_PATH
. 'themes/bluesnews_theme.php';
731 $theme[15]['NAME'] = 'BluesNews';
733 $theme[16]['PATH'] = SM_PATH
. 'themes/deepocean2_theme.php';
734 $theme[16]['NAME'] = 'Deep Ocean 2';
736 $theme[17]['PATH'] = SM_PATH
. 'themes/blue_grey_theme.php';
737 $theme[17]['NAME'] = 'Blue Grey';
739 $theme[18]['PATH'] = SM_PATH
. 'themes/dompie_theme.php';
740 $theme[18]['NAME'] = 'Dompie';
742 $theme[19]['PATH'] = SM_PATH
. 'themes/methodical_theme.php';
743 $theme[19]['NAME'] = 'Methodical';
745 $theme[20]['PATH'] = SM_PATH
. 'themes/greenhouse_effect.php';
746 $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
748 $theme[21]['PATH'] = SM_PATH
. 'themes/in_the_pink.php';
749 $theme[21]['NAME'] = 'In The Pink (Changes)';
751 $theme[22]['PATH'] = SM_PATH
. 'themes/kind_of_blue.php';
752 $theme[22]['NAME'] = 'Kind of Blue (Changes)';
754 $theme[23]['PATH'] = SM_PATH
. 'themes/monostochastic.php';
755 $theme[23]['NAME'] = 'Monostochastic (Changes)';
757 $theme[24]['PATH'] = SM_PATH
. 'themes/shades_of_grey.php';
758 $theme[24]['NAME'] = 'Shades of Grey (Changes)';
760 $theme[25]['PATH'] = SM_PATH
. 'themes/spice_of_life.php';
761 $theme[25]['NAME'] = 'Spice of Life (Changes)';
763 $theme[26]['PATH'] = SM_PATH
. 'themes/spice_of_life_lite.php';
764 $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
766 $theme[27]['PATH'] = SM_PATH
. 'themes/spice_of_life_dark.php';
767 $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
769 $theme[28]['PATH'] = SM_PATH
. 'themes/christmas.php';
770 $theme[28]['NAME'] = 'Holiday - Christmas';
772 $theme[29]['PATH'] = SM_PATH
. 'themes/darkness.php';
773 $theme[29]['NAME'] = 'Darkness (Changes)';
775 $theme[30]['PATH'] = SM_PATH
. 'themes/random.php';
776 $theme[30]['NAME'] = 'Random (Changes every login)';
778 $theme[31]['PATH'] = SM_PATH
. 'themes/midnight.php';
779 $theme[31]['NAME'] = 'Midnight';
781 $theme[32]['PATH'] = SM_PATH
. 'themes/alien_glow.php';
782 $theme[32]['NAME'] = 'Alien Glow';
784 $theme[33]['PATH'] = SM_PATH
. 'themes/dark_green.php';
785 $theme[33]['NAME'] = 'Dark Green';
787 $theme[34]['PATH'] = SM_PATH
. 'themes/penguin.php';
788 $theme[34]['NAME'] = 'Penguin';
790 $theme[35]['PATH'] = SM_PATH
. 'themes/minimal_bw.php';
791 $theme[35]['NAME'] = 'Minimal BW';
793 $theme[36]['PATH'] = SM_PATH
. 'themes/redmond.php';
794 $theme[36]['NAME'] = 'Redmond';
796 $theme[37]['PATH'] = SM_PATH
. 'themes/netstyle_theme.php';
797 $theme[37]['NAME'] = 'Net Style';
799 $theme[38]['PATH'] = SM_PATH
. 'themes/silver_steel_theme.php';
800 $theme[38]['NAME'] = 'Silver Steel';
802 $theme[39]['PATH'] = SM_PATH
. 'themes/simple_green_theme.php';
803 $theme[39]['NAME'] = 'Simple Green';
805 $theme[40]['PATH'] = SM_PATH
. 'themes/wood_theme.php';
806 $theme[40]['NAME'] = 'Wood';
808 $theme[41]['PATH'] = SM_PATH
. 'themes/bluesome.php';
809 $theme[41]['NAME'] = 'Bluesome';
811 $theme[42]['PATH'] = SM_PATH
. 'themes/simple_green2.php';
812 $theme[42]['NAME'] = 'Simple Green 2';
814 $theme[43]['PATH'] = SM_PATH
. 'themes/simple_purple.php';
815 $theme[43]['NAME'] = 'Simple Purple';
817 $theme[44]['PATH'] = SM_PATH
. 'themes/autumn.php';
818 $theme[44]['NAME'] = 'Autumn';
820 $theme[45]['PATH'] = SM_PATH
. 'themes/autumn2.php';
821 $theme[45]['NAME'] = 'Autumn 2';
823 $theme[46]['PATH'] = SM_PATH
. 'themes/blue_on_blue.php';
824 $theme[46]['NAME'] = 'Blue on Blue';
826 $theme[47]['PATH'] = SM_PATH
. 'themes/classic_blue.php';
827 $theme[47]['NAME'] = 'Classic Blue';
829 $theme[48]['PATH'] = SM_PATH
. 'themes/classic_blue2.php';
830 $theme[48]['NAME'] = 'Classic Blue 2';
832 $theme[49]['PATH'] = SM_PATH
. 'themes/powder_blue.php';
833 $theme[49]['NAME'] = 'Powder Blue';
835 $theme[50]['PATH'] = SM_PATH
. 'themes/techno_blue.php';
836 $theme[50]['NAME'] = 'Techno Blue';
838 $theme[51]['PATH'] = SM_PATH
. 'themes/turquoise.php';
839 $theme[51]['NAME'] = 'Turquoise';
843 * You can define your own template and put it in a new directory
844 * under SM_PATH/templates. The ID must match the name of
845 * the template directory as the example below. You can name the
846 * template whatever you want. For an example of a template, see
847 * the ones included in the SM_PATH/templates directory.
849 * To add a new template to the options that users can choose from, just
850 * add a new number to the array at the bottom, and follow the pattern.
852 * $templateset_default sets theme that will be used by default.
854 * @global integer $templateset_default
856 $templateset_default = 0;
857 $templateset_fallback = 0;
859 $aTemplateSet[0]['ID'] = 'default';
860 $aTemplateSet[0]['NAME'] = 'Default';
861 $aTemplateSet[1]['ID'] = 'default_advanced';
862 $aTemplateSet[1]['NAME'] = 'Advanced';
865 * Default interface font size.
866 * @global string $default_fontsize
869 $default_fontsize = '';
873 * @global string $default_fontset
876 $default_fontset = '';
879 * List of available fontsets.
880 * @global array $fontsets
884 $fontsets['serif'] = 'serif';
885 $fontsets['sans'] = 'helvetica,arial,sans-serif';
886 $fontsets['comicsans'] = 'comic sans ms,sans-serif';
887 $fontsets['verasans'] = 'bitstream vera sans,verdana,sans-serif';
888 $fontsets['tahoma'] = 'tahoma,sans-serif';
892 * Array of arrays with LDAP server parameters. See
893 * functions/abook_ldap_server.php for a list of possible
897 * $ldap_server[0] = Array(
898 * 'host' => 'memberdir.netscape.com',
899 * 'name' => 'Netcenter Member Directory',
900 * 'base' => 'ou=member_directory,o=netcenter.com'
903 * NOTE: please see security note at the top of this file when
904 * entering a password.
906 // Add your ldap server options here
909 * Javascript in Addressbook Control
911 * Users may search their addressbook via either a plain HTML or Javascript
912 * enhanced user interface. This option allows you to set the default choice.
913 * Set this default choice as either:
916 * @global bool $default_use_javascript_addr_book
918 $default_use_javascript_addr_book = false;
921 * Shared filebased address book
922 * @global string $abook_global_file
923 * @since 1.5.1 and 1.4.4
925 $abook_global_file = '';
928 * Writing into shared address book control
929 * @global bool $abook_global_file_writeable
930 * @since 1.5.1 and 1.4.4
932 $abook_global_file_writeable = false;
935 * Listing of shared address book control
936 * @global bool $abook_global_file_listing
939 $abook_global_file_listing = true;
942 * Controls file based address book entry size
944 * This setting controls space allocated to file based address book records.
945 * End users will be unable to save address book entry, if total entry size
946 * (quoted address book fields + 4 delimiters + linefeed) exceeds allowed
947 * address book length size.
949 * Same setting is applied to personal and global file based address books.
951 * It is strongly recommended to keep default setting value. Change it only
952 * if you really want to store address book entries that are bigger than two
954 * @global integer $abook_file_line_length
957 $abook_file_line_length = 2048;
962 * This is a message that is displayed immediately after a user logs in.
963 * @global string $motd
969 * To install plugins, just add elements to this array that have
970 * the plugin directory name relative to the /plugins/ directory.
971 * For instance, for the 'sqclock' plugin, you'd put a line like
973 * $plugins[] = 'sqclock';
974 * $plugins[] = 'attachment_common';
976 // Add list of enabled plugins here
981 * Read doc/database.txt in order to get more information
982 * about these settings.
985 * Database-driven private addressbooks
986 * DSN (Data Source Name) for a database where the private
987 * addressbooks are stored. See doc/db-backend.txt for more info.
988 * If it is not set, the addressbooks are stored in files
990 * The DSN is in the format: mysql://user:pass@hostname/dbname
991 * The table is the name of the table to use within the
992 * specified database.
994 * NOTE: please see security note at the top of this file when
995 * entering a password.
998 $addrbook_table = 'address';
1000 * Database used to store user data
1003 $prefs_table = 'userprefs';
1005 * Preference key field
1006 * @global string $prefs_key_field
1008 $prefs_key_field = 'prefkey';
1010 * Size of preference key field
1011 * @global integer $prefs_key_size
1014 $prefs_key_size = 64;
1016 * Preference owner field
1017 * @global string $prefs_user_field
1019 $prefs_user_field = 'user';
1021 * Size of preference owner field
1022 * @global integer $prefs_user_size
1025 $prefs_user_size = 128;
1027 * Preference value field
1028 * @global string $prefs_val_field
1030 $prefs_val_field = 'prefval';
1032 * Size of preference key field
1033 * @global integer $prefs_val_size
1036 $prefs_val_size = 65536;
1038 /*** Global sql database options ***/
1040 * DSN of global address book database
1041 * @global string $addrbook_global_dsn
1042 * @since 1.5.1 and 1.4.4
1044 $addrbook_global_dsn = '';
1046 * Table used for global database address book
1047 * @global string $addrbook_global_table
1048 * @since 1.5.1 and 1.4.4
1050 $addrbook_global_table = 'global_abook';
1052 * Control writing into global database address book
1053 * @global boolean $addrbook_global_writeable
1054 * @since 1.5.1 and 1.4.4
1056 $addrbook_global_writeable = false;
1058 * Control listing of global database address book
1059 * @global boolean $addrbook_global_listing
1060 * @since 1.5.1 and 1.4.4
1062 $addrbook_global_listing = false;
1064 /*** Language settings ***/
1068 * This is the default language. It is used as a last resort
1069 * if SquirrelMail can't figure out which language to display.
1070 * Language names usually consist of language code, undercore
1071 * symbol and country code
1072 * @global string $squirrelmail_default_language
1074 $squirrelmail_default_language = 'en_US';
1079 * This option controls what character set is used when sending
1080 * mail and when sending HTML to the browser. Option works only
1081 * with US English (en_US) translation. Other translations use
1082 * charsets that are set in translation settings.
1084 * @global string $default_charset
1086 $default_charset = 'iso-8859-1';
1089 * Alternative Language Names Control
1091 * This options allows displaying native language names in language
1093 * @global bool $show_alternative_names
1096 $show_alternative_names = false;
1099 * Aggressive Decoding Control
1101 * This option enables reading of Eastern multibyte encodings.
1102 * Functions that provide this support are very cpu and memory intensive.
1103 * Don't enable this option unless you really need it.
1104 * @global bool $aggressive_decoding
1107 $aggressive_decoding = false;
1110 * Lossy Encoding Control
1112 * This option allows charset conversions when output charset does not support
1113 * all symbols used in original charset. Symbols unsupported by output charset
1114 * will be replaced with question marks.
1115 * @global bool $lossy_encoding
1118 $lossy_encoding = false;
1121 * Controls use of time zone libraries
1125 * <li>0 - default, SquirrelMail uses GNU C timezone names in
1126 * TZ environment variables
1127 * <li>1 - strict, SquirrelMail uses 'TZ' subkey values in TZ
1128 * environment variables
1129 * <li>2 - custom, SquirrelMail loads time zone data from
1130 * config/timezones.php and uses time zone array keys in
1131 * TZ enviroment variables
1132 * <li>3 - custom strict, SquirrelMail loads time zone data from
1133 * config/timezones.php and uses TZ subkey values in
1134 * TZ enviroment variables
1136 * Use of any other value switches to default SquirrelMail time zone
1137 * handling ($time_zone_type).
1138 * @global integer $time_zone_type
1141 $time_zone_type = 0;
1146 * This is used to build the URL to the SquirrelMail location.
1147 * It should contain only the protocol and hostname/port parts
1148 * of the URL; the full path will be appended automatically.
1150 * If not specified or empty, it will be autodetected.
1153 * http://webmail.example.org
1154 * http://webmail.example.com:8080
1155 * https://webmail.example.com:6691
1157 * To be clear: do not include any of the path elements, so if
1158 * SquirrelMail is at http://www.example.net/web/mail/src/login.php, you
1159 * write: http://www.example.net
1161 * @global string $config_location_base
1162 * @since 1.5.2 and 1.4.8
1164 $config_location_base = '';
1168 * Iframe sandbox code control
1170 * Use iframe to render html emails
1171 * (temp option used during debuging of new code)
1172 * @global bool $use_iframe
1175 $use_iframe = false;
1178 * Message Icons control
1180 * Use icons for message and folder markers
1181 * @global bool $use_icons
1187 * PHP recode functions control
1189 * Use experimental code with php recode functions when reading messages with
1190 * different encoding. This code is faster that original SM functions,
1191 * but it require php with recode support.
1193 * Don't enable this option if you are not sure about availability of
1195 * @global bool $use_php_recode
1198 $use_php_recode = false;
1201 * PHP iconv functions control
1203 * Use experimental code with php iconv functions when reading messages with
1204 * different encoding. This code is faster that original SM functions,
1205 * but it require php with iconv support and works only with some translations.
1207 * Don't enable this option if you are not sure about availability of
1209 * @global bool $use_php_iconv
1212 $use_php_iconv = false;
1215 * Controls remote configuration checks
1216 * @global boolean $allow_remote_configtest
1219 $allow_remote_configtest = false;
1222 * Subscribe Listing Control
1224 * this disables listing all of the folders on the IMAP Server to
1225 * generate the folder subscribe listbox (this can take a long time
1226 * when you have a lot of folders). Instead, a textbox will be
1227 * displayed allowing users to enter a specific folder name to subscribe to
1229 * This option can't be changed by conf.pl
1230 * @global bool $no_list_for_subscribe
1232 $no_list_for_subscribe = false;
1235 * Color in config control
1237 * This option is used only by conf.pl script to generate configuration
1238 * menu with some colors and is provided here only as reference.
1239 * @global integer $config_use_color
1241 $config_use_color = 2;