config_default.php 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  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@foo.com, foo.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. * SquirrelMail header control
  131. *
  132. * Option can be used to disable Received: headers added by squirrelmail.
  133. * This can increase user's privacy and solve problems with spam filters
  134. * that increase spam marks for dynamic dialup addresses.
  135. *
  136. * If admin enables this setting, system should have some logging facility
  137. * or other tools to control users. SquirrelMail's Received: header provides
  138. * information, that can't be forged by webmail user.
  139. * @global bool $skip_SM_header
  140. */
  141. $skip_SM_header = false;
  142. /**
  143. * Path to Sendmail
  144. *
  145. * Program that should be used when sending email. SquirrelMail expects that
  146. * this program will follow options used by original sendmail
  147. * (http://www.sendmail.org).
  148. * @global string $sendmail_path
  149. */
  150. $sendmail_path = '/usr/sbin/sendmail';
  151. /**
  152. * IMAP server address
  153. *
  154. * The dns name (or IP address) for your imap server.
  155. * @global string $imapServerAddress
  156. */
  157. $imapServerAddress = 'localhost';
  158. /**
  159. * IMAP server port
  160. *
  161. * Port used by your imap server. (Usually 143)
  162. * @global integer $imapPort
  163. */
  164. $imapPort = 143;
  165. /**
  166. * IMAP server type
  167. *
  168. * The type of IMAP server you are running.
  169. * Valid type are the following (case is important):
  170. * courier
  171. * cyrus
  172. * exchange
  173. * uw
  174. * macosx
  175. * mercury32
  176. * other
  177. *
  178. * Please note that this changes only some of server settings.
  179. *
  180. * In order to set everything correctly, you need to adjust several
  181. * squirrelmail options. These options are listed in doc/presets.txt
  182. * @global string $imap_server_type
  183. */
  184. $imap_server_type = 'other';
  185. /**
  186. * Advanced IMAP authentication options control
  187. *
  188. * CRAM-MD5, DIGEST-MD5, Plain, and TLS
  189. * Set reasonable defaults - you'd never know this was there unless you ask for it
  190. * @global bool $use_imap_tls
  191. */
  192. $use_imap_tls = false;
  193. /**
  194. * Advanced SMTP authentication options control
  195. *
  196. * CRAM-MD5, DIGEST-MD5, Plain, and TLS
  197. * Set reasonable defaults - you'd never know this was there unless you ask for it
  198. * @global bool $use_smtp_tls
  199. */
  200. $use_smtp_tls = false;
  201. /**
  202. * SMTP authentication mechanism
  203. *
  204. * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
  205. * @global string $smtp_auth_mech
  206. */
  207. $smtp_auth_mech = 'none';
  208. /**
  209. * IMAP authentication mechanism
  210. *
  211. * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
  212. * @global string $imap_auth_mech
  213. */
  214. $imap_auth_mech = 'login';
  215. /**
  216. * IMAP folder delimiter
  217. *
  218. * This is the delimiter that your IMAP server uses to distinguish between
  219. * folders. For example, Cyrus uses '.' as the delimiter and a complete
  220. * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would
  221. * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect'
  222. * but if you are sure you know what delimiter your server uses, you can
  223. * specify it here.
  224. *
  225. * To have it autodetect the delimiter, set it to 'detect'.
  226. * @global string $optional_delimiter
  227. */
  228. $optional_delimiter = 'detect';
  229. /**
  230. * POP before SMTP setting
  231. *
  232. * Do you wish to use POP3 before SMTP? Your server must
  233. * support this in order for SquirrelMail to work with it.
  234. * @global bool $pop_before_smtp
  235. */
  236. $pop_before_smtp = false;
  237. /*** Folder Settings ***/
  238. /**
  239. * Default IMAP folder prefix
  240. *
  241. * Many servers store mail in your home directory. With this, they
  242. * store them in a subdirectory: mail/ or Mail/, etc. If your server
  243. * does this, please set this to what the default mail folder should
  244. * be. This is still a user preference, so they can change it if it
  245. * is different for each user.
  246. *
  247. * Example:
  248. * $default_folder_prefix = 'mail/';
  249. * -- or --
  250. * $default_folder_prefix = 'Mail/folders/';
  251. *
  252. * If you do not use this, set it to the empty string.
  253. * @global string $default_folder_prefix
  254. */
  255. $default_folder_prefix = '';
  256. /**
  257. * User level prefix control
  258. *
  259. * If you do not wish to give them the option to change this, set it
  260. * to false. Otherwise, if it is true, they can change the folder prefix
  261. * to be anything.
  262. * @global bool $show_prefix_option
  263. */
  264. $show_prefix_option = false;
  265. /**
  266. * The following are related to deleting messages.
  267. * $default_move_to_trash
  268. * If this is set to 'true', when 'delete' is pressed, it
  269. * will attempt to move the selected messages to the folder
  270. * named $trash_folder. If it's set to 'false', we won't even
  271. * attempt to move the messages, just delete them.
  272. * $default_move_to_sent
  273. * If this is set to 'true', sent messages will be stored in
  274. * $sent_folder by default.
  275. * $default_save_as_draft
  276. * If this is set to 'true', users are able to use $draft_folder
  277. * to store their unfinished messages.
  278. * $trash_folder
  279. * This is the path to the default trash folder. For Cyrus
  280. * IMAP, it would be 'INBOX.Trash', but for UW it would be
  281. * 'Trash'. We need the full path name here.
  282. * $draft_folder
  283. * This is the patch to where Draft messages will be stored.
  284. * $auto_expunge
  285. * If this is true, when a message is moved or copied, the
  286. * source mailbox will get expunged, removing all messages
  287. * marked 'Deleted'.
  288. * $sent_folder
  289. * This is the path to where Sent messages will be stored.
  290. * $delete_folder
  291. * If this is true, when a folder is deleted then it will
  292. * not get moved into the Trash folder.
  293. * @global bool $default_move_to_trash
  294. * @global bool $default_move_to_sent
  295. * @global bool $default_save_as_draft
  296. * @global string $trash_folder
  297. * @global string $sent_folder
  298. * @global string $draft_folder
  299. * @global bool $auto_expunge
  300. * @global bool $delete_folder
  301. */
  302. $default_move_to_trash = true;
  303. $default_move_to_sent = true;
  304. $default_save_as_draft = true;
  305. $trash_folder = 'INBOX.Trash';
  306. $sent_folder = 'INBOX.Sent';
  307. $draft_folder = 'INBOX.Drafts';
  308. $auto_expunge = true;
  309. $delete_folder = false;
  310. /**
  311. * Special Folder Color Control
  312. *
  313. * Whether or not to use a special color for special folders. If not,
  314. * special folders will be the same color as the other folders.
  315. * @global bool $use_special_folder_color
  316. */
  317. $use_special_folder_color = true;
  318. /**
  319. * Create Special Folders Control
  320. *
  321. * Should I create the Sent and Trash folders automatically for
  322. * a new user that doesn't already have them created?
  323. * @global bool $auto_create_special
  324. */
  325. $auto_create_special = true;
  326. /**
  327. * List Special Folders First Control
  328. *
  329. * Whether or not to list the special folders first (true/false).
  330. * @global bool $list_special_folders_first
  331. */
  332. $list_special_folders_first = true;
  333. /**
  334. * Subfolder Layout Control
  335. *
  336. * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
  337. * If you are unsure, set it to false.
  338. * @global bool $default_sub_of_inbox
  339. */
  340. $default_sub_of_inbox = true;
  341. /**
  342. * Subfolder Format Control
  343. *
  344. * Some IMAP daemons (UW) handle folders weird. They only allow a
  345. * folder to contain either messages or other folders, not both at
  346. * the same time. This option controls whether or not to display an
  347. * option during folder creation. The option toggles which type of
  348. * folder it should be.
  349. *
  350. * If this option confuses you, just set it to 'true'. You can not hurt
  351. * anything if it's true, but some servers will respond weird if it's
  352. * false. (Cyrus works fine whether it's true OR false).
  353. * @global bool $show_contain_subfolders_option
  354. */
  355. $show_contain_subfolders_option = false;
  356. /**
  357. * These next two options set the defaults for the way that the
  358. * users see their folder list.
  359. * $default_unseen_notify
  360. * Specifies whether or not the users will see the number of
  361. * unseen in each folder by default and also which folders to
  362. * do this to. Valid values are: 1=none, 2=inbox, 3=all.
  363. * $default_unseen_type
  364. * Specifies the type of notification to give the users by
  365. * default. Valid choice are: 1=(4), 2=(4,25).
  366. * @global integer $default_unseen_notify
  367. * @global integer $default_unseen_type
  368. */
  369. $default_unseen_notify = 2;
  370. $default_unseen_type = 1;
  371. /**
  372. * NoSelect Fix Control
  373. *
  374. * This enables the no select fix for Cyrus when subfolders
  375. * exist but parent folders do not
  376. * @global bool $noselect_fix_enable
  377. */
  378. $noselect_fix_enable = false;
  379. /*** General options ***/
  380. /**
  381. * Path to the data/ directory
  382. *
  383. * It is a possible security hole to have a writable directory
  384. * under the web server's root directory (ex: /home/httpd/html).
  385. * For this reason, it is possible to put the data directory
  386. * anywhere you would like. The path name can be absolute or
  387. * relative (to the config directory). It doesn't matter. Here
  388. * are two examples:
  389. *
  390. * Absolute:
  391. * $data_dir = '/usr/local/squirrelmail/data/';
  392. *
  393. * Relative (to main SM directory):
  394. * $data_dir = SM_PATH . 'data/';
  395. * @global string $data_dir
  396. */
  397. $data_dir = SM_PATH . 'data/';
  398. /**
  399. * Attachments directory
  400. *
  401. * Path to directory used for storing attachments while a mail is
  402. * being sent. There are a few security considerations regarding
  403. * this directory:
  404. * + It should have the permission 733 (rwx-wx-wx) to make it
  405. * impossible for a random person with access to the webserver to
  406. * list files in this directory. Confidential data might be laying
  407. * around there.
  408. * + Since the webserver is not able to list the files in the content
  409. * is also impossible for the webserver to delete files lying around
  410. * there for too long.
  411. * + It should probably be another directory than data_dir.
  412. * @global string $attachment_dir
  413. */
  414. $attachment_dir = $data_dir;
  415. /**
  416. * Hash level used for data directory.
  417. *
  418. * This option allows spliting file based squirrelmail user
  419. * data storage directory into several subfolders. Number from
  420. * 0 to 4 allows allows having up to four subfolder levels.
  421. *
  422. * Hashing should speed up directory access if you have big number
  423. * of users (500 and more).
  424. * @global integer $dir_hash_level
  425. */
  426. $dir_hash_level = 0;
  427. /**
  428. * Default Size of Folder List
  429. *
  430. * This is the default size of the folder list. Default
  431. * is 150, but you can set it to whatever you wish.
  432. * @global string $default_left_size
  433. */
  434. $default_left_size = '150';
  435. /**
  436. * Username Case Control
  437. *
  438. * Some IMAP servers allow a username (like 'bob') to log in if they use
  439. * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
  440. * preference files. Toggling this option to true will transparently
  441. * change all usernames to lowercase.
  442. * @global bool $force_username_lowercase
  443. */
  444. $force_username_lowercase = false;
  445. /**
  446. * Email Priority Control
  447. *
  448. * This option enables use of email priority flags by end users.
  449. * @global bool $default_use_priority
  450. */
  451. $default_use_priority = true;
  452. /**
  453. * SquirrelMail Attributions Control
  454. *
  455. * This option disables display of "created by squirrelmail developers"
  456. * strings and provider link
  457. * @global bool $hide_sm_attributions
  458. */
  459. $hide_sm_attributions = false;
  460. /**
  461. * Delivery Receipts Control
  462. *
  463. * This option enables use of read/delivery receipts by end users.
  464. * @global bool $default_use_mdn
  465. */
  466. $default_use_mdn = true;
  467. /**
  468. * Identity Controls
  469. *
  470. * If you don't want to allow users to change their email address
  471. * then you can set $edit_identity to false, if you want them to
  472. * not be able to change their full name too then set $edit_name
  473. * to false as well. $edit_name has no effect unless $edit_identity
  474. * is false;
  475. * @global bool $edit_identity
  476. * @global bool $edit_name
  477. */
  478. $edit_identity = true;
  479. $edit_name = true;
  480. /**
  481. * Server Side Threading Control
  482. *
  483. * If you want to enable server side thread sorting options
  484. * Your IMAP server must support the THREAD extension for
  485. * this to work.
  486. * @global bool $allow_thread_sort
  487. */
  488. $allow_thread_sort = false;
  489. /**
  490. * Server Side Sorting Control
  491. *
  492. * to use server-side sorting instead of SM client side.
  493. * Your IMAP server must support the SORT extension for this
  494. * to work.
  495. * @global bool $allow_server_sort
  496. */
  497. $allow_server_sort = false;
  498. /**
  499. * IMAP Charset Use Control
  500. *
  501. * This option allows you to choose if SM uses charset search
  502. * Your imap server should support SEARCH CHARSET command for
  503. * this to work.
  504. * @global bool $allow_charset_search
  505. */
  506. $allow_charset_search = true;
  507. /**
  508. * Search functions control
  509. *
  510. * This option allows you to control the use of advanced search form.
  511. * Set to 0 to enable basic search only, 1 to enable advanced search only
  512. * or 2 to enable both.
  513. * @global integer $allow_advanced_search
  514. */
  515. $allow_advanced_search = 0;
  516. /**
  517. * PHP session name.
  518. *
  519. * Leave this alone unless you know what you are doing.
  520. * @global string $session_name
  521. */
  522. $session_name = 'SQMSESSID';
  523. /**
  524. * Themes
  525. * You can define your own theme and put it in this directory.
  526. * You must call it as the example below. You can name the theme
  527. * whatever you want. For an example of a theme, see the ones
  528. * included in the config directory.
  529. *
  530. * To add a new theme to the options that users can choose from, just
  531. * add a new number to the array at the bottom, and follow the pattern.
  532. *
  533. * $theme_default sets theme that will be used by default
  534. * $theme_css sets stylesheet (from theme/css directory) that will be
  535. * used by default.
  536. * @global integer $theme_default
  537. * @global string $theme_css
  538. */
  539. $theme_default = 0;
  540. $theme_css = '';
  541. /**
  542. * Listing of installed themes
  543. * @global array $theme
  544. */
  545. $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
  546. $theme[0]['NAME'] = 'Default';
  547. $theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
  548. $theme[1]['NAME'] = 'Plain Blue';
  549. $theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
  550. $theme[2]['NAME'] = 'Sand Storm';
  551. $theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
  552. $theme[3]['NAME'] = 'Deep Ocean';
  553. $theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
  554. $theme[4]['NAME'] = 'Slashdot';
  555. $theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
  556. $theme[5]['NAME'] = 'Purple';
  557. $theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
  558. $theme[6]['NAME'] = 'Forest';
  559. $theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
  560. $theme[7]['NAME'] = 'Ice';
  561. $theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
  562. $theme[8]['NAME'] = 'Sea Spray';
  563. $theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
  564. $theme[9]['NAME'] = 'Blue Steel';
  565. $theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
  566. $theme[10]['NAME'] = 'Dark Grey';
  567. $theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
  568. $theme[11]['NAME'] = 'High Contrast';
  569. $theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
  570. $theme[12]['NAME'] = 'Black Bean Burrito';
  571. $theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
  572. $theme[13]['NAME'] = 'Servery';
  573. $theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
  574. $theme[14]['NAME'] = 'Maize';
  575. $theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
  576. $theme[15]['NAME'] = 'BluesNews';
  577. $theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
  578. $theme[16]['NAME'] = 'Deep Ocean 2';
  579. $theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
  580. $theme[17]['NAME'] = 'Blue Grey';
  581. $theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
  582. $theme[18]['NAME'] = 'Dompie';
  583. $theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
  584. $theme[19]['NAME'] = 'Methodical';
  585. $theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
  586. $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
  587. $theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
  588. $theme[21]['NAME'] = 'In The Pink (Changes)';
  589. $theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
  590. $theme[22]['NAME'] = 'Kind of Blue (Changes)';
  591. $theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
  592. $theme[23]['NAME'] = 'Monostochastic (Changes)';
  593. $theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
  594. $theme[24]['NAME'] = 'Shades of Grey (Changes)';
  595. $theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
  596. $theme[25]['NAME'] = 'Spice of Life (Changes)';
  597. $theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
  598. $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
  599. $theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
  600. $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
  601. $theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
  602. $theme[28]['NAME'] = 'Holiday - Christmas';
  603. $theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
  604. $theme[29]['NAME'] = 'Darkness (Changes)';
  605. $theme[30]['PATH'] = SM_PATH . 'themes/random.php';
  606. $theme[30]['NAME'] = 'Random (Changes every login)';
  607. $theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
  608. $theme[31]['NAME'] = 'Midnight';
  609. $theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
  610. $theme[32]['NAME'] = 'Alien Glow';
  611. $theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
  612. $theme[33]['NAME'] = 'Dark Green';
  613. $theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
  614. $theme[34]['NAME'] = 'Penguin';
  615. $theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php';
  616. $theme[35]['NAME'] = 'Minimal BW';
  617. $theme[36]['PATH'] = SM_PATH . 'themes/redmond.php';
  618. $theme[36]['NAME'] = 'Redmond';
  619. /**
  620. * LDAP server(s)
  621. * Array of arrays with LDAP server parameters. See
  622. * functions/abook_ldap_server.php for a list of possible
  623. * parameters
  624. *
  625. * EXAMPLE:
  626. * $ldap_server[0] = Array(
  627. * 'host' => 'memberdir.netscape.com',
  628. * 'name' => 'Netcenter Member Directory',
  629. * 'base' => 'ou=member_directory,o=netcenter.com'
  630. * );
  631. */
  632. // Add your ldap server options here
  633. /**
  634. * Javascript in Addressbook Control
  635. *
  636. * Users may search their addressbook via either a plain HTML or Javascript
  637. * enhanced user interface. This option allows you to set the default choice.
  638. * Set this default choice as either:
  639. * true = javascript
  640. * false = html
  641. * @global bool $default_use_javascript_addr_book
  642. */
  643. $default_use_javascript_addr_book = false;
  644. /**
  645. * MOTD
  646. *
  647. * This is a message that is displayed immediately after a user logs in.
  648. * @global string $motd
  649. */
  650. $motd = "";
  651. /**
  652. * To install plugins, just add elements to this array that have
  653. * the plugin directory name relative to the /plugins/ directory.
  654. * For instance, for the 'sqclock' plugin, you'd put a line like
  655. * the following.
  656. * $plugins[0] = 'sqclock';
  657. * $plugins[1] = 'attachment_common';
  658. */
  659. // Add list of enabled plugins here
  660. /*** Database ***/
  661. /**
  662. * Read doc/database.txt in order to get more information
  663. * about these settings.
  664. */
  665. /**
  666. * Database-driven private addressbooks
  667. * DSN (Data Source Name) for a database where the private
  668. * addressbooks are stored. See doc/db-backend.txt for more info.
  669. * If it is not set, the addressbooks are stored in files
  670. * in the data dir.
  671. * The DSN is in the format: mysql://user:pass@hostname/dbname
  672. * The table is the name of the table to use within the
  673. * specified database.
  674. */
  675. $addrbook_dsn = '';
  676. $addrbook_table = 'address';
  677. /**
  678. * Database used to store user data
  679. */
  680. $prefs_dsn = '';
  681. $prefs_table = 'userprefs';
  682. $prefs_key_field = 'prefkey';
  683. $prefs_user_field = 'user';
  684. $prefs_val_field = 'prefval';
  685. /**
  686. * Global sql database options
  687. */
  688. $addrbook_global_dsn = '';
  689. $addrbook_global_table = 'global_abook';
  690. $addrbook_global_writeable = false;
  691. $addrbook_global_listing = false;
  692. /*** Language settings ***/
  693. /**
  694. * Default language
  695. *
  696. * This is the default language. It is used as a last resort
  697. * if SquirrelMail can't figure out which language to display.
  698. * Language names usually consist of language code, undercore
  699. * symbol and country code
  700. * @global string $squirrelmail_default_language
  701. */
  702. $squirrelmail_default_language = 'en_US';
  703. /**
  704. * Default Charset
  705. *
  706. * This option controls what character set is used when sending mail
  707. * and when sending HTML to the browser. Do not set this to US-ASCII,
  708. * use ISO-8859-1 instead.
  709. *
  710. * You can set this option, only if $squirrelmail_default_language setting
  711. * contains 'en_US' string. In any other case system does not allow
  712. * making mistakes with incorrect language and charset combinations.
  713. * @global string $default_charset
  714. */
  715. $default_charset = 'iso-8859-1';
  716. /**
  717. * Available Languages
  718. *
  719. * This option controls number of languages available to end user in
  720. * language selection preferences. You can use space separated list
  721. * of translations installed in locale/ directory or special keys
  722. * 'all' (all languages are available) and 'none' (language selection
  723. * is disabled, interface is set to $squirrelmail_default_language
  724. * @global string $available_languages
  725. */
  726. $available_languages = 'all';
  727. /**
  728. * Alternative Language Names Control
  729. *
  730. * This options allows displaying native language names in language
  731. * selection box.
  732. * @global bool $show_alternative_names
  733. */
  734. $show_alternative_names = false;
  735. /**
  736. * Agresive Decoding Control
  737. *
  738. * This option enables reading of Eastern multibyte encodings.
  739. * Functions that provide this support are very cpu and memory intensive.
  740. * Don't enable this option unless you really need it.
  741. * @global bool $agresive_decoding
  742. */
  743. $agresive_decoding = false;
  744. /*** Tweaks ***/
  745. /**
  746. * Advanced DHTML tree control
  747. *
  748. * Use experimental DHTML folder listing
  749. * @global bool $advanced_tree
  750. */
  751. $advanced_tree = false;
  752. /**
  753. * Older listing way control
  754. *
  755. * Use older way of folder listing
  756. * @global bool $oldway
  757. */
  758. $oldway = false;
  759. /**
  760. * Message Icons control
  761. *
  762. * Use icons for message and folder markers
  763. * @global bool $use_icons
  764. */
  765. $use_icons = false;
  766. /**
  767. * PHP recode functions control
  768. *
  769. * Use experimental code with php recode functions when reading messages with
  770. * different encoding. This code is faster that original SM functions,
  771. * but it require php with recode support.
  772. *
  773. * Don't enable this option if you are not sure about availability of
  774. * recode support.
  775. * @global bool $use_php_recode
  776. */
  777. $use_php_recode = false;
  778. /**
  779. * PHP iconv functions control
  780. *
  781. * Use experimental code with php iconv functions when reading messages with
  782. * different encoding. This code is faster that original SM functions,
  783. * but it require php with iconv support and works only with some translations.
  784. *
  785. * Don't enable this option if you are not sure about availability of
  786. * iconv support.
  787. * @global bool $use_php_iconv
  788. */
  789. $use_php_iconv = false;
  790. /**
  791. * Subscribe Listing Control
  792. *
  793. * this disables listing all of the folders on the IMAP Server to
  794. * generate the folder subscribe listbox (this can take a long time
  795. * when you have a lot of folders). Instead, a textbox will be
  796. * displayed allowing users to enter a specific folder name to subscribe to
  797. *
  798. * This option can't be changed by conf.pl
  799. * @global bool $no_list_for_subscribe
  800. */
  801. $no_list_for_subscribe = false;
  802. /**
  803. * Color in config control
  804. *
  805. * This option is used only by conf.pl script to generate configuration
  806. * menu with some colors and is provided here only as reference.
  807. * @global integer $config_use_color
  808. */
  809. $config_use_color = 2;
  810. /**
  811. * This option includes special configuration options
  812. */
  813. @include SM_PATH . 'config/config_local.php';
  814. /**
  815. * Make sure there are no characters after the PHP closing
  816. * tag below (including newline characters and whitespace).
  817. * Otherwise, that character will cause the headers to be
  818. * sent and regular output to begin, which will majorly screw
  819. * things up when we try to send more headers later.
  820. */
  821. ?>