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