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