X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=config%2Fconfig.php;h=dfda9dac2c054600b6219b9669b2b97a7e861432;hb=748c796b5b55517ca0327702a3f83af3e7bfb575;hp=640e0268ca93b7440333c1cf47d0f07c42744f6d;hpb=8dc0fb27d62a0f73b4170b81d1ad1e15e03bcd91;p=squirrelmail.git
diff --git a/config/config.php b/config/config.php
index 640e0268..dfda9dac 100644
--- a/config/config.php
+++ b/config/config.php
@@ -1,6 +1,6 @@
// Organization's logo picture (blank if none)
- $org_logo = "../images/logo.jpg";
+ $org_logo = "../images/sm_logo.jpg";
// Organization's name
$org_name = "SquirrelMail";
@@ -17,26 +17,55 @@
// 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 = "localhost";
+ $domain = "initio.no";
// Your SMTP server and port number (usually the same as the IMAP server)
$smtpServerAddress = "localhost";
$smtpPort = 25;
+// 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 = "";
- $motd .= "You are using SquirrelMail's web-based email client. If you run into any bugs or have ";
- $motd .= "suggestions, please report them to our mailing list";
+ $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";
-// Customizable colors
+// 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.
-// Example: require("../config/default_theme.php");
- require("../config/default_theme.php");
+//
+// 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";
-// Whether or not to use $color[11] for special folders. If not, special
+ $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;
@@ -55,7 +84,7 @@
* will get expunged, removing all messages marked "Deleted".
*/
- $move_to_trash = true;
+ $default_move_to_trash = true;
$trash_folder = "INBOX.Trash";
$auto_expunge = true;
@@ -90,4 +119,20 @@
// 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;
?>