made it possible to have a base imap directory for folders
[squirrelmail.git] / config / config_default.php
index ea4585c7a81f2a8877069a878dc81a2a907c7d79..1cfe25d015b9353dd95b6111004c75b26eeba8c1 100644 (file)
 //  This is displayed right after they log in
     $motd = "You are using SquirrelMail's web-based email client.  If you run into any bugs or have suggestions, please report them to our <A HREF=\"mailto:squirrelmail-list@sourceforge.net\">mailing list</A>";
 
-//  Themes
-//     You can define your own theme and put it in this directory.  You must
-//     call it as the example below.  You can name the theme whatever you
-//     want.  For an example of a theme, see the ones included in the config
-//     directory.
-//
-//     You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
-//
-//  To add a new theme to the options that users can choose from, just add
-//  a new number to the array at the bottom, and follow the pattern.
-
-    // The first one HAS to be here, and is your system's default theme.
-    // It can be any theme you want
-    $theme[0]["PATH"] = "../config/default_theme.php";
-    $theme[0]["NAME"] = "Default";
-
-    $theme[1]["PATH"] = "../config/sandstorm_theme.php";
-    $theme[1]["NAME"] = "Sand Storm";
-
-    $theme[2]["PATH"] = "../config/deepocean_theme.php";
-    $theme[2]["NAME"] = "Deep Ocean";
-
-    $theme[3]["PATH"] = "../config/slashdot_theme.php";
-    $theme[3]["NAME"] = "Slashdot";
-
-    $theme[4]["PATH"] = "../config/purple_theme.php";
-    $theme[4]["NAME"] = "Purple";
-
-    $theme[5]["PATH"] = "../config/forest_theme.php";
-    $theme[5]["NAME"] = "Forest";
-
-    $theme[6]["PATH"] = "../config/ice_theme.php";
-    $theme[6]["NAME"] = "Ice";
-
-    $theme[7]["PATH"] = "../config/seaspray_theme.php";
-    $theme[7]["NAME"] = "Sea Spray";
-
 //  Whether or not to use a special color for special folders.  If not, special
 //  folders will be the same color as the other folders
     $use_special_folder_color = true;
 
+//  Many servers store mail in your home directory.  With this, they
+//  store them in a subdirectory: ~/mail or ~/Mail, etc.  If your
+//  server does this, please set this to what the default mail folder
+//  should be.  This is still a user preference, so they can change
+//  it if it is different for each user.
+//
+//  Example:
+//     $folder_prefix = "mail/";
+//        -- or --
+//     $folder_prefix = "Mail/folders/";
+//
+//  If you do not use this, please set it to "".
+    $folder_prefix = "";
+
 //  The following are related to deleting messages.
 //    $move_to_trash
 //         - if this is set to "true", when "delete" is pressed, it
 //         - If this is true, when a message is moved or copied, the
 //           source mailbox will get expunged, removing all messages
 //           marked "Deleted".
+//    $sent_folder
+//         - This is the path to where Sent messages will be stored.
 
     $default_move_to_trash = true;
     $trash_folder = "INBOX.Trash";
     $auto_expunge = true;
+    $sent_folder = "INBOX.Sent";
 
 //  Special Folders are folders that can't be manipulated like normal
 //  user created folders can. A couple of examples would be
@@ -99,7 +79,7 @@
 
     $special_folders[0] = "INBOX";   // The first one has to be the inbox (whatever the name is)
     $special_folders[1] = $trash_folder;
-    $special_folders[2] = "INBOX.Sent";
+    $special_folders[2] = $sent_folder;
     $special_folders[3] = "INBOX.Drafts";
     $special_folders[4] = "INBOX.Templates";
 
 
     $show_contain_subfolders_option = false;
 
+//  This option controls what character set is used when sending mail
+//  and when sending HTMl to the browser. Do not set this to US-ASCII,
+//  use ISO-8859-1 instead. For cyrillic it is best to use KOI8-R,
+//  since this implementation is faster than the alternatives.
+    $default_charset = "iso-8859-1";
+
 //  Whether or not to use META tags and automatically forward after an
 //  action has been completed.
     $auto_forward = true;
 //      there for too long.
 //    - It should probably be another directory than data_dir.
 
-    $attachment_dir = $data_dir
+    $attachment_dir = $data_dir;
+
+//  This is the default size of the left folder list.  Default is 200,
+//  but you can set it to whatever you wish.
+
+   $default_left_size = 200;
+
+//  Themes
+//     You can define your own theme and put it in this directory.  You must
+//     call it as the example below.  You can name the theme whatever you
+//     want.  For an example of a theme, see the ones included in the config
+//     directory.
+//
+//     You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
+//
+//  To add a new theme to the options that users can choose from, just add
+//  a new number to the array at the bottom, and follow the pattern.
+
+    // The first one HAS to be here, and is your system's default theme.
+    // It can be any theme you want
+    $theme[0]["PATH"] = "../config/default_theme.php";
+    $theme[0]["NAME"] = "Default";
+
+    $theme[1]["PATH"] = "../config/sandstorm_theme.php";
+    $theme[1]["NAME"] = "Sand Storm";
+
+    $theme[2]["PATH"] = "../config/deepocean_theme.php";
+    $theme[2]["NAME"] = "Deep Ocean";
+
+    $theme[3]["PATH"] = "../config/slashdot_theme.php";
+    $theme[3]["NAME"] = "Slashdot";
+
+    $theme[4]["PATH"] = "../config/purple_theme.php";
+    $theme[4]["NAME"] = "Purple";
+
+    $theme[5]["PATH"] = "../config/forest_theme.php";
+    $theme[5]["NAME"] = "Forest";
+
+    $theme[6]["PATH"] = "../config/ice_theme.php";
+    $theme[6]["NAME"] = "Ice";
+
+    $theme[7]["PATH"] = "../config/seaspray_theme.php";
+    $theme[7]["NAME"] = "Sea Spray";
+
+
+//  LDAP server(s)
+//
+//    Array of arrays with LDAP server parameters. See
+//    functions/abook_ldap_server.php for a list of possible
+//    parameters
+
+    $ldap_server[0] = Array("host" => "memberdir.netscape.com",
+                           "name" => "Netcenter Member Directory",
+                           "base" => "ou=member_directory,o=netcenter.com");
+
+    $ldap_server[1] = Array("host" => "ldap.bigfoot.com",
+                           "name" => "Bigfoot Directory",
+                           "base" => "",
+                           "charset" => "iso8859-1");
+
 ?>