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