Source for file config_default.php

Documentation is available at config_default.php

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

Documentation generated on Wed, 19 Jun 2013 04:21:51 +0200 by phpDocumentor 1.4.3