PageRenderTime 54ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1_4_4-rc1/squirrelmail/config/config_default.php

#
PHP | 843 lines | 155 code | 105 blank | 583 comment | 0 complexity | 6975e6664decb86a4d918693159b1a5a MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0
  1. <?php
  2. /**
  3. * Default SquirrelMail configuration file
  4. *
  5. * BEFORE EDITING THIS FILE!
  6. *
  7. * Don't edit this file directly. Copy it to config.php before you
  8. * edit it. However, it is best to use the configuration script
  9. * conf.pl if at all possible. That is the easiest and cleanest way
  10. * to configure.
  11. *
  12. * @package squirrelmail
  13. * @subpackage config
  14. */
  15. /* Do not change this value. */
  16. global $version;
  17. global $config_version;
  18. $config_version = '1.4.0';
  19. /*** Organization preferences ***/
  20. /**
  21. * Organization's name
  22. * @global string $org_name
  23. */
  24. $org_name = "SquirrelMail";
  25. /**
  26. * Organization's logo picture (blank if none)
  27. * @global string $org_logo
  28. */
  29. $org_logo = SM_PATH . 'images/sm_logo.png';
  30. /**
  31. * The width of the logo (0 for default)
  32. * @global string $org_logo_width
  33. */
  34. $org_logo_width = '308';
  35. /**
  36. * The height of the logo (0 for default)
  37. * @global string $org_logo_height
  38. */
  39. $org_logo_height = '111';
  40. /**
  41. * Webmail Title
  42. *
  43. * This is the web page title that appears at the top of the browser window.
  44. * @global string $org_title
  45. */
  46. $org_title = "SquirrelMail $version";
  47. /**
  48. * Signout page
  49. *
  50. * Rather than going to the signout.php page (which only allows you
  51. * to sign back in), setting signout_page allows you to sign the user
  52. * out and then redirect to whatever page you want. For instance,
  53. * the following would return the user to your home page:
  54. * $signout_page = '/';
  55. * Set to the empty string to continue to use the default signout page.
  56. * @global string $signout_page
  57. */
  58. $signout_page = '';
  59. /**
  60. * Top frame
  61. *
  62. * By default SquirrelMail takes up the whole browser window,
  63. * this allows you to embed it within sites using frames. Set
  64. * this to the frame you want it to stay in.
  65. * @global string $frame_top
  66. */
  67. $frame_top = '_top';
  68. /**
  69. * Provider name
  70. *
  71. * Here you can set name of the link displayed on the right side of main page.
  72. *
  73. * Link will be displayed only if you have $hide_sm_attributions
  74. * option set to true.
  75. * @global string $provider_name
  76. */
  77. $provider_name = 'SquirrelMail';
  78. /**
  79. * Provider URI
  80. *
  81. * Here you can set URL of the link displayed on the right side of main page.
  82. *
  83. * Link will be displayed only if you have $hide_sm_attributions
  84. * option set to true.
  85. * @global string $provider_uri
  86. */
  87. $provider_uri = 'http://www.squirrelmail.org/';
  88. /*** Server Settings ***/
  89. /**
  90. * Default Domain
  91. *
  92. * The domain part of local email addresses.
  93. * This is for all messages sent out from this server.
  94. * Reply address is generated by $username@$domain
  95. * Example: In bob@example.com, example.com is the domain.
  96. * @global string $domain
  97. */
  98. $domain = 'example.com';
  99. /**
  100. * Time offset inversion
  101. *
  102. * If you are running on a machine that doesn't have the tm_gmtoff
  103. * value in your time structure and if you are in a time zone that
  104. * has a negative offset, you need to set this value to 1. This is
  105. * typically people in the US that are running Solaris 7.
  106. * @global bool $invert_time
  107. */
  108. $invert_time = false;
  109. /**
  110. * Default send transport
  111. *
  112. * What should be used when sending email.
  113. * If it is set to false, SquirrelMail will use SMTP server settings.
  114. * If it is set to true, SquirrelMail will use program defined in
  115. * $sendmail_path
  116. * @global bool $useSendmail
  117. */
  118. $useSendmail = false;
  119. /**
  120. * Your SMTP server (usually the same as the IMAP server).
  121. * @global string $smtpServerAddress
  122. */
  123. $smtpServerAddress = 'localhost';
  124. /**
  125. * Your SMTP port number (usually 25).
  126. * @global integer $smtpPort
  127. */
  128. $smtpPort = 25;
  129. /**
  130. * Path to Sendmail
  131. *
  132. * Program that should be used when sending email. SquirrelMail expects that
  133. * this program will follow options used by original sendmail
  134. * (http://www.sendmail.org).
  135. * @global string $sendmail_path
  136. */
  137. $sendmail_path = '/usr/sbin/sendmail';
  138. /**
  139. * IMAP server address
  140. *
  141. * The dns name (or IP address) for your imap server.
  142. * @global string $imapServerAddress
  143. */
  144. $imapServerAddress = 'localhost';
  145. /**
  146. * IMAP server port
  147. *
  148. * Port used by your imap server. (Usually 143)
  149. * @global integer $imapPort
  150. */
  151. $imapPort = 143;
  152. /**
  153. * IMAP server type
  154. *
  155. * The type of IMAP server you are running.
  156. * Valid type are the following (case is important):
  157. * courier
  158. * cyrus
  159. * exchange
  160. * uw
  161. * macosx
  162. * hmailserver
  163. * other
  164. *
  165. * Please note that this changes only some of server settings.
  166. *
  167. * In order to set everything correctly, you need to adjust several
  168. * squirrelmail options. These options are listed in doc/presets.txt
  169. * @global string $imap_server_type
  170. */
  171. $imap_server_type = 'other';
  172. /**
  173. * Advanced IMAP authentication options control
  174. *
  175. * CRAM-MD5, DIGEST-MD5, Plain, and TLS
  176. * Set reasonable defaults - you'd never know this was there unless you ask for it
  177. * @global bool $use_imap_tls
  178. */
  179. $use_imap_tls = false;
  180. /**
  181. * Advanced SMTP authentication options control
  182. *
  183. * CRAM-MD5, DIGEST-MD5, Plain, and TLS
  184. * Set reasonable defaults - you'd never know this was there unless you ask for it
  185. * @global bool $use_smtp_tls
  186. */
  187. $use_smtp_tls = false;
  188. /**
  189. * SMTP authentication mechanism
  190. *
  191. * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
  192. * @global string $smtp_auth_mech
  193. */
  194. $smtp_auth_mech = 'none';
  195. /**
  196. * IMAP authentication mechanism
  197. *
  198. * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
  199. * @global string $imap_auth_mech
  200. */
  201. $imap_auth_mech = 'login';
  202. /**
  203. * IMAP folder delimiter
  204. *
  205. * This is the delimiter that your IMAP server uses to distinguish between
  206. * folders. For example, Cyrus uses '.' as the delimiter and a complete
  207. * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would
  208. * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect'
  209. * but if you are sure you know what delimiter your server uses, you can
  210. * specify it here.
  211. *
  212. * To have it autodetect the delimiter, set it to 'detect'.
  213. * @global string $optional_delimiter
  214. */
  215. $optional_delimiter = 'detect';
  216. /**
  217. * POP before SMTP setting
  218. *
  219. * Do you wish to use POP3 before SMTP? Your server must
  220. * support this in order for SquirrelMail to work with it.
  221. * @global bool $pop_before_smtp
  222. */
  223. $pop_before_smtp = false;
  224. /*** Folder Settings ***/
  225. /**
  226. * Default IMAP folder prefix
  227. *
  228. * Many servers store mail in your home directory. With this, they
  229. * store them in a subdirectory: mail/ or Mail/, etc. If your server
  230. * does this, please set this to what the default mail folder should
  231. * be. This is still a user preference, so they can change it if it
  232. * is different for each user.
  233. *
  234. * Example:
  235. * $default_folder_prefix = 'mail/';
  236. * -- or --
  237. * $default_folder_prefix = 'Mail/folders/';
  238. *
  239. * If you do not use this, set it to the empty string.
  240. * @global string $default_folder_prefix
  241. */
  242. $default_folder_prefix = '';
  243. /**
  244. * User level prefix control
  245. *
  246. * If you do not wish to give them the option to change this, set it
  247. * to false. Otherwise, if it is true, they can change the folder prefix
  248. * to be anything.
  249. * @global bool $show_prefix_option
  250. */
  251. $show_prefix_option = false;
  252. /**
  253. * The following are related to deleting messages.
  254. * $default_move_to_trash
  255. * If this is set to 'true', when 'delete' is pressed, it
  256. * will attempt to move the selected messages to the folder
  257. * named $trash_folder. If it's set to 'false', we won't even
  258. * attempt to move the messages, just delete them.
  259. * $default_move_to_sent
  260. * If this is set to 'true', sent messages will be stored in
  261. * $sent_folder by default.
  262. * $default_save_as_draft
  263. * If this is set to 'true', users are able to use $draft_folder
  264. * to store their unfinished messages.
  265. * $trash_folder
  266. * This is the path to the default trash folder. For Cyrus
  267. * IMAP, it would be 'INBOX.Trash', but for UW it would be
  268. * 'Trash'. We need the full path name here.
  269. * $draft_folder
  270. * This is the patch to where Draft messages will be stored.
  271. * $auto_expunge
  272. * If this is true, when a message is moved or copied, the
  273. * source mailbox will get expunged, removing all messages
  274. * marked 'Deleted'.
  275. * $sent_folder
  276. * This is the path to where Sent messages will be stored.
  277. * $delete_folder
  278. * If this is true, when a folder is deleted then it will
  279. * not get moved into the Trash folder.
  280. * @global bool $default_move_to_trash
  281. * @global bool $default_move_to_sent
  282. * @global bool $default_save_as_draft
  283. * @global string $trash_folder
  284. * @global string $sent_folder
  285. * @global string $draft_folder
  286. * @global bool $auto_expunge
  287. * @global bool $delete_folder
  288. */
  289. $default_move_to_trash = true;
  290. $default_move_to_sent = true;
  291. $default_save_as_draft = true;
  292. $trash_folder = 'INBOX.Trash';
  293. $sent_folder = 'INBOX.Sent';
  294. $draft_folder = 'INBOX.Drafts';
  295. $auto_expunge = true;
  296. $delete_folder = false;
  297. /**
  298. * Special Folder Color Control
  299. *
  300. * Whether or not to use a special color for special folders. If not,
  301. * special folders will be the same color as the other folders.
  302. * @global bool $use_special_folder_color
  303. */
  304. $use_special_folder_color = true;
  305. /**
  306. * Create Special Folders Control
  307. *
  308. * Should I create the Sent and Trash folders automatically for
  309. * a new user that doesn't already have them created?
  310. * @global bool $auto_create_special
  311. */
  312. $auto_create_special = true;
  313. /**
  314. * List Special Folders First Control
  315. *
  316. * Whether or not to list the special folders first (true/false).
  317. * @global bool $list_special_folders_first
  318. */
  319. $list_special_folders_first = true;
  320. /**
  321. * Subfolder Layout Control
  322. *
  323. * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
  324. * If you are unsure, set it to false.
  325. * @global bool $default_sub_of_inbox
  326. */
  327. $default_sub_of_inbox = true;
  328. /**
  329. * Subfolder Format Control
  330. *
  331. * Some IMAP daemons (UW) handle folders weird. They only allow a
  332. * folder to contain either messages or other folders, not both at
  333. * the same time. This option controls whether or not to display an
  334. * option during folder creation. The option toggles which type of
  335. * folder it should be.
  336. *
  337. * If this option confuses you, just set it to 'true'. You can not hurt
  338. * anything if it's true, but some servers will respond weird if it's
  339. * false. (Cyrus works fine whether it's true OR false).
  340. * @global bool $show_contain_subfolders_option
  341. */
  342. $show_contain_subfolders_option = false;
  343. /**
  344. * These next two options set the defaults for the way that the
  345. * users see their folder list.
  346. * $default_unseen_notify
  347. * Specifies whether or not the users will see the number of
  348. * unseen in each folder by default and also which folders to
  349. * do this to. Valid values are: 1=none, 2=inbox, 3=all.
  350. * $default_unseen_type
  351. * Specifies the type of notification to give the users by
  352. * default. Valid choice are: 1=(4), 2=(4,25).
  353. * @global integer $default_unseen_notify
  354. * @global integer $default_unseen_type
  355. */
  356. $default_unseen_notify = 2;
  357. $default_unseen_type = 1;
  358. /**
  359. * NoSelect Fix Control
  360. *
  361. * This enables the no select fix for Cyrus when subfolders
  362. * exist but parent folders do not
  363. * @global bool $noselect_fix_enable
  364. */
  365. $noselect_fix_enable = false;
  366. /*** General options ***/
  367. /**
  368. * Path to the data/ directory
  369. *
  370. * It is a possible security hole to have a writable directory
  371. * under the web server's root directory (ex: /home/httpd/html).
  372. * For this reason, it is possible to put the data directory
  373. * anywhere you would like. The path name can be absolute or
  374. * relative (to the config directory). It doesn't matter. Here
  375. * are two examples:
  376. *
  377. * Absolute:
  378. * $data_dir = '/usr/local/squirrelmail/data/';
  379. *
  380. * Relative (to main SM directory):
  381. * $data_dir = SM_PATH . 'data/';
  382. * @global string $data_dir
  383. */
  384. $data_dir = SM_PATH . 'data/';
  385. /**
  386. * Attachments directory
  387. *
  388. * Path to directory used for storing attachments while a mail is
  389. * being sent. There are a few security considerations regarding
  390. * this directory:
  391. * + It should have the permission 733 (rwx-wx-wx) to make it
  392. * impossible for a random person with access to the webserver to
  393. * list files in this directory. Confidential data might be laying
  394. * around there.
  395. * + Since the webserver is not able to list the files in the content
  396. * is also impossible for the webserver to delete files lying around
  397. * there for too long.
  398. * + It should probably be another directory than data_dir.
  399. * @global string $attachment_dir
  400. */
  401. $attachment_dir = $data_dir;
  402. /**
  403. * Hash level used for data directory.
  404. *
  405. * This option allows spliting file based squirrelmail user
  406. * data storage directory into several subfolders. Number from
  407. * 0 to 4 allows allows having up to four subfolder levels.
  408. *
  409. * Hashing should speed up directory access if you have big number
  410. * of users (500 and more).
  411. * @global integer $dir_hash_level
  412. */
  413. $dir_hash_level = 0;
  414. /**
  415. * Default Size of Folder List
  416. *
  417. * This is the default size of the folder list. Default
  418. * is 150, but you can set it to whatever you wish.
  419. * @global string $default_left_size
  420. */
  421. $default_left_size = '150';
  422. /**
  423. * Username Case Control
  424. *
  425. * Some IMAP servers allow a username (like 'bob') to log in if they use
  426. * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
  427. * preference files. Toggling this option to true will transparently
  428. * change all usernames to lowercase.
  429. * @global bool $force_username_lowercase
  430. */
  431. $force_username_lowercase = false;
  432. /**
  433. * Email Priority Control
  434. *
  435. * This option enables use of email priority flags by end users.
  436. * @global bool $default_use_priority
  437. */
  438. $default_use_priority = true;
  439. /**
  440. * SquirrelMail Attributions Control
  441. *
  442. * This option disables display of "created by squirrelmail developers"
  443. * strings and provider link
  444. * @global bool $hide_sm_attributions
  445. */
  446. $hide_sm_attributions = false;
  447. /**
  448. * Delivery Receipts Control
  449. *
  450. * This option enables use of read/delivery receipts by end users.
  451. * @global bool $default_use_mdn
  452. */
  453. $default_use_mdn = true;
  454. /**
  455. * Identity Controls
  456. *
  457. * If you don't want to allow users to change their email address
  458. * then you can set $edit_identity to false, if you want them to
  459. * not be able to change their full name too then set $edit_name
  460. * to false as well. $edit_name has no effect unless $edit_identity
  461. * is false;
  462. * @global bool $edit_identity
  463. * @global bool $edit_name
  464. */
  465. $edit_identity = true;
  466. $edit_name = true;
  467. /**
  468. * Server Side Threading Control
  469. *
  470. * If you want to enable server side thread sorting options
  471. * Your IMAP server must support the THREAD extension for
  472. * this to work.
  473. * @global bool $allow_thread_sort
  474. */
  475. $allow_thread_sort = false;
  476. /**
  477. * Server Side Sorting Control
  478. *
  479. * to use server-side sorting instead of SM client side.
  480. * Your IMAP server must support the SORT extension for this
  481. * to work.
  482. * @global bool $allow_server_sort
  483. */
  484. $allow_server_sort = false;
  485. /**
  486. * IMAP Charset Use Control
  487. *
  488. * This option allows you to choose if SM uses charset search
  489. * Your imap server should support SEARCH CHARSET command for
  490. * this to work.
  491. * @global bool $allow_charset_search
  492. */
  493. $allow_charset_search = true;
  494. /**
  495. * IMAP UID control
  496. *
  497. * This option allows you to enable unique identifier (UID) support.
  498. * @global bool $uid_support
  499. */
  500. $uid_support = true;
  501. /**
  502. * PHP session name.
  503. *
  504. * Leave this alone unless you know what you are doing.
  505. * @global string $session_name
  506. */
  507. $session_name = 'SQMSESSID';
  508. /**
  509. * Themes
  510. * You can define your own theme and put it in this directory.
  511. * You must call it as the example below. You can name the theme
  512. * whatever you want. For an example of a theme, see the ones
  513. * included in the config directory.
  514. *
  515. * To add a new theme to the options that users can choose from, just
  516. * add a new number to the array at the bottom, and follow the pattern.
  517. *
  518. * $theme_default sets theme that will be used by default
  519. * $theme_css sets stylesheet (from theme/css directory) that will be
  520. * used by default.
  521. * @global integer $theme_default
  522. * @global string $theme_css
  523. */
  524. $theme_default = 0;
  525. $theme_css = '';
  526. /**
  527. * Listing of installed themes
  528. * @global array $theme
  529. */
  530. $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
  531. $theme[0]['NAME'] = 'Default';
  532. $theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
  533. $theme[1]['NAME'] = 'Plain Blue';
  534. $theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
  535. $theme[2]['NAME'] = 'Sand Storm';
  536. $theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
  537. $theme[3]['NAME'] = 'Deep Ocean';
  538. $theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
  539. $theme[4]['NAME'] = 'Slashdot';
  540. $theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
  541. $theme[5]['NAME'] = 'Purple';
  542. $theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
  543. $theme[6]['NAME'] = 'Forest';
  544. $theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
  545. $theme[7]['NAME'] = 'Ice';
  546. $theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
  547. $theme[8]['NAME'] = 'Sea Spray';
  548. $theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
  549. $theme[9]['NAME'] = 'Blue Steel';
  550. $theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
  551. $theme[10]['NAME'] = 'Dark Grey';
  552. $theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
  553. $theme[11]['NAME'] = 'High Contrast';
  554. $theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
  555. $theme[12]['NAME'] = 'Black Bean Burrito';
  556. $theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
  557. $theme[13]['NAME'] = 'Servery';
  558. $theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
  559. $theme[14]['NAME'] = 'Maize';
  560. $theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
  561. $theme[15]['NAME'] = 'BluesNews';
  562. $theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
  563. $theme[16]['NAME'] = 'Deep Ocean 2';
  564. $theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
  565. $theme[17]['NAME'] = 'Blue Grey';
  566. $theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
  567. $theme[18]['NAME'] = 'Dompie';
  568. $theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
  569. $theme[19]['NAME'] = 'Methodical';
  570. $theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
  571. $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
  572. $theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
  573. $theme[21]['NAME'] = 'In The Pink (Changes)';
  574. $theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
  575. $theme[22]['NAME'] = 'Kind of Blue (Changes)';
  576. $theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
  577. $theme[23]['NAME'] = 'Monostochastic (Changes)';
  578. $theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
  579. $theme[24]['NAME'] = 'Shades of Grey (Changes)';
  580. $theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
  581. $theme[25]['NAME'] = 'Spice of Life (Changes)';
  582. $theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
  583. $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
  584. $theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
  585. $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
  586. $theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
  587. $theme[28]['NAME'] = 'Holiday - Christmas';
  588. $theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
  589. $theme[29]['NAME'] = 'Darkness (Changes)';
  590. $theme[30]['PATH'] = SM_PATH . 'themes/random.php';
  591. $theme[30]['NAME'] = 'Random (Changes every login)';
  592. $theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
  593. $theme[31]['NAME'] = 'Midnight';
  594. $theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
  595. $theme[32]['NAME'] = 'Alien Glow';
  596. $theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
  597. $theme[33]['NAME'] = 'Dark Green';
  598. $theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
  599. $theme[34]['NAME'] = 'Penguin';
  600. $theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php';
  601. $theme[35]['NAME'] = 'Minimal BW';
  602. $theme[36]['PATH'] = SM_PATH . 'themes/redmond.php';
  603. $theme[36]['NAME'] = 'Redmond';
  604. $theme[37]['PATH'] = SM_PATH . 'themes/netstyle_theme.php';
  605. $theme[37]['NAME'] = 'Net Style';
  606. /**
  607. * LDAP server(s)
  608. * Array of arrays with LDAP server parameters. See
  609. * functions/abook_ldap_server.php for a list of possible
  610. * parameters
  611. *
  612. * EXAMPLE:
  613. * $ldap_server[0] = Array(
  614. * 'host' => 'memberdir.netscape.com',
  615. * 'name' => 'Netcenter Member Directory',
  616. * 'base' => 'ou=member_directory,o=netcenter.com'
  617. * );
  618. */
  619. // Add your ldap server options here
  620. /**
  621. * Javascript in Addressbook Control
  622. *
  623. * Users may search their addressbook via either a plain HTML or Javascript
  624. * enhanced user interface. This option allows you to set the default choice.
  625. * Set this default choice as either:
  626. * true = javascript
  627. * false = html
  628. * @global bool $default_use_javascript_addr_book
  629. */
  630. $default_use_javascript_addr_book = false;
  631. /**
  632. * MOTD
  633. *
  634. * This is a message that is displayed immediately after a user logs in.
  635. * @global string $motd
  636. */
  637. $motd = "";
  638. /**
  639. * To install plugins, just add elements to this array that have
  640. * the plugin directory name relative to the /plugins/ directory.
  641. * For instance, for the 'sqclock' plugin, you'd put a line like
  642. * the following.
  643. * $plugins[0] = 'sqclock';
  644. * $plugins[1] = 'attachment_common';
  645. */
  646. // Add list of enabled plugins here
  647. /*** Database ***/
  648. /**
  649. * Read doc/database.txt in order to get more information
  650. * about these settings.
  651. */
  652. /**
  653. * Database-driven private addressbooks
  654. * DSN (Data Source Name) for a database where the private
  655. * addressbooks are stored. See doc/db-backend.txt for more info.
  656. * If it is not set, the addressbooks are stored in files
  657. * in the data dir.
  658. * The DSN is in the format: mysql://user:pass@hostname/dbname
  659. * The table is the name of the table to use within the
  660. * specified database.
  661. */
  662. $addrbook_dsn = '';
  663. $addrbook_table = 'address';
  664. /**
  665. * Database used to store user data
  666. */
  667. $prefs_dsn = '';
  668. $prefs_table = 'userprefs';
  669. $prefs_key_field = 'prefkey';
  670. $prefs_user_field = 'user';
  671. $prefs_val_field = 'prefval';
  672. /*** Language settings ***/
  673. /**
  674. * Default language
  675. *
  676. * This is the default language. It is used as a last resort
  677. * if SquirrelMail can't figure out which language to display.
  678. * Language names usually consist of language code, undercore
  679. * symbol and country code
  680. * @global string $squirrelmail_default_language
  681. */
  682. $squirrelmail_default_language = 'en_US';
  683. /**
  684. * Default Charset
  685. *
  686. * This option controls what character set is used when sending mail
  687. * and when sending HTML to the browser. Do not set this to US-ASCII,
  688. * use ISO-8859-1 instead.
  689. *
  690. * This option is active only when default language is en_US. In other
  691. * cases SquirrelMail uses charset that depends on default language.
  692. * See $squirrelmail_default_language
  693. *
  694. * @global string $default_charset
  695. */
  696. $default_charset = 'iso-8859-1';
  697. /**
  698. * Lossy Encoding Control
  699. *
  700. * This option allows charset conversions when output charset does not support
  701. * all symbols used in original charset. Symbols unsupported by output charset
  702. * will be replaced with question marks.
  703. * @global bool $lossy_encoding
  704. * @since 1.4.4 and 1.5.1
  705. */
  706. $lossy_encoding = false;
  707. /**
  708. * Subscribe Listing Control
  709. *
  710. * this disables listing all of the folders on the IMAP Server to
  711. * generate the folder subscribe listbox (this can take a long time
  712. * when you have a lot of folders). Instead, a textbox will be
  713. * displayed allowing users to enter a specific folder name to subscribe to
  714. *
  715. * This option can't be changed by conf.pl
  716. * @global bool $no_list_for_subscribe
  717. */
  718. $no_list_for_subscribe = false;
  719. /**
  720. * Color in config control
  721. *
  722. * This option is used only by conf.pl script to generate configuration
  723. * menu with some colors and is provided here only as reference.
  724. * @global integer $config_use_color
  725. */
  726. $config_use_color = 2;
  727. /**
  728. * This option includes special configuration options
  729. */
  730. @include SM_PATH . 'config/config_local.php';
  731. /**
  732. * Make sure there are no characters after the PHP closing
  733. * tag below (including newline characters and whitespace).
  734. * Otherwise, that character will cause the headers to be
  735. * sent and regular output to begin, which will majorly screw
  736. * things up when we try to send more headers later.
  737. */
  738. ?>