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