X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=config%2Fconfig.php;h=dfda9dac2c054600b6219b9669b2b97a7e861432;hb=e03345e1d0ff6f767915af809d73463509615edf;hp=a4a5cde4511576ad5d01b0fcb6074aecd34eeee8;hpb=b8ea4ed629e58fb57a4b110867b4e1b84c82610f;p=squirrelmail.git
diff --git a/config/config.php b/config/config.php
index a4a5cde4..dfda9dac 100644
--- a/config/config.php
+++ b/config/config.php
@@ -1,30 +1,73 @@
-/* Organization's logo picture (blank if none) */
-$org_logo = "../images/om_webmail.gif";
+// Organization's logo picture (blank if none)
+ $org_logo = "../images/sm_logo.jpg";
-/* Organization's name */
-$org_name = "Operation Mobilization";
+// Organization's name
+ $org_name = "SquirrelMail";
-/* The server that your imap server is on */
-$imapServerAddress = "adam.usa.om.org";
-$imapPort = 143;
+// Webmail Title
+// This is the title that goes at the top of the browser window
+ $org_title = "SquirrelMail $version";
-$smtpServerAddress = "adam.usa.om.org";
-$smtpPort = 25;
+// The server that your imap server is on
+ $imapServerAddress = "localhost";
+ $imapPort = 143;
-/* This is displayed right after they log in */
-$motd = " Welcome to OM's webmail system, SquirrelMail. We are currently in beta, and have not yet released a full version of SquirrelMail. Please feel free to look around, and please report any bugs to Nathan or Luke.";
+// The domain where your email address is.
+// Example: in "luke@usa.om.org", usa.om.org is the domain.
+// this is for all the messages sent out. Reply address
+// is generated by $username@$domain
+ $domain = "initio.no";
-/* Customizable colors */
-$color_lgray = "DCDCDC";
-$color_red = "800000";
-$color_light_red = "FF0000";
-$color_left_bg = "A0B8C8";
-$color_bground = "FFFFFF";
-$color_light_yel = "FFFFCC";
+// Your SMTP server and port number (usually the same as the IMAP server)
+ $smtpServerAddress = "localhost";
+ $smtpPort = 25;
-/* SquirrelMail version number -- DO NOT CHANGE */
-$version = "0.0.1";
+// Uncomment this if you want to deliver locally using sendmail instead
+// of connecting to a SMTP-server
+ $useSendmail = true;
+ $sendmail_path = "/usr/sbin/sendmail";
+
+// 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 mailing list";
+
+// 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";
+
+// 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;
/* The following are related to deleting messages.
* $move_to_trash
@@ -41,18 +84,55 @@ $version = "0.0.1";
* will get expunged, removing all messages marked "Deleted".
*/
-$move_to_trash = true;
-$trash_folder = "INBOX.Trash";
-$auto_expunge = true;
-
-/* Special Folders are folders that can't be manipulated like normal user created
- folders can. A couple of examples would be "INBOX.Trash", "INBOX.Drafts". We have
- them set to Netscape's default mailboxes, but this obviously can be changed.
- To add one, just add a new number to the array.
-*/
-$special_folders[0] = "INBOX";
-$special_folders[1] = $trash_folder;
-$special_folders[2] = "INBOX.Sent";
-$special_folders[3] = "INBOX.Drafts";
-$special_folders[4] = "INBOX.Templates";
+ $default_move_to_trash = true;
+ $trash_folder = "INBOX.Trash";
+ $auto_expunge = true;
+
+// Special Folders are folders that can't be manipulated like normal user created
+// folders can. A couple of examples would be "INBOX.Trash", "INBOX.Drafts". We have
+// them set to Netscape's default mailboxes, but this obviously can be changed.
+// To add one, just add a new number to the array.
+
+ $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[3] = "INBOX.Drafts";
+ $special_folders[4] = "INBOX.Templates";
+
+// Whether or not to list the special folders first (true/false)
+ $list_special_folders_first = true;
+
+// Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
+// If you are not sure, set it to false.
+ $default_sub_of_inbox = true;
+
+// Some IMAP daemons (UW) handle folders weird. They only allow a folder to contain
+// either messages or other folders, not both at the same time. This option controls
+// whether or not to display an option during folder creation. The option toggles
+// which type of folder it should be.
+//
+// If this option confuses you, make it "true". You can't hurt anything if it's true,
+// but some servers will respond weird if it's false. (Cyrus works fine whether it's
+// true OR false).
+ $show_contain_subfolders_option = false;
+
+// Whether or not to use META tags and automatically forward after an action has
+// been completed.
+ $auto_forward = true;
+
+// Path to the data/ directory
+// It is a possible security hole to have a writable directory under the web server's
+// root directory (ex: /home/httpd/html). For this reason, it is possible to put
+// the data directory anywhere you would like. The path name can be absolute or
+// relative (to the config directory). It doesn't matter. Here are two examples:
+//
+// Absolute:
+// $data_dir = "/usr/local/squirrelmail/data/";
+//
+// Relative (to the config directory):
+// $data_dir = "../data/";
+
+ $data_dir = "../data/";
+
+ $attachment_dir = $data_dir;
?>