Added some preference options, and debugged many bugs
[squirrelmail.git] / config / config.php
CommitLineData
c63afa2d 1<?
2// Organization's logo picture (blank if none)
78509c54 3 $org_logo = "../images/sm_logo.jpg";
c63afa2d 4
5// Organization's name
8dc0fb27 6 $org_name = "SquirrelMail";
c63afa2d 7
8// Webmail Title
9// This is the title that goes at the top of the browser window
8dc0fb27 10 $org_title = "SquirrelMail $version";
c63afa2d 11
12// The server that your imap server is on
bcb432a3 13 $imapServerAddress = "localhost";
c63afa2d 14 $imapPort = 143;
15
16// The domain where your email address is.
17// Example: in "luke@usa.om.org", usa.om.org is the domain.
18// this is for all the messages sent out. Reply address
19// is generated by $username@$domain
bcb432a3 20 $domain = "localhost";
c63afa2d 21
22// Your SMTP server and port number (usually the same as the IMAP server)
bcb432a3 23 $smtpServerAddress = "localhost";
c63afa2d 24 $smtpPort = 25;
25
26// This is displayed right after they log in
97be2168 27 $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>";
c63afa2d 28
97be2168 29// Themes
f1eeea57 30// You can define your own theme and put it in this directory. You must
31// call it as the example below. You can name the theme whatever you
32// want. For an example of a theme, see the ones included in the config
33// directory.
97be2168 34//
35// You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
36//
d3cdb279 37// To add a new theme to the options that users can choose from, just add
38// a new number to the array at the bottom, and follow the pattern.
39
a8648d75 40 // The first one HAS to be here, and is your system's default theme.
41 // It can be any theme you want
42 $theme[0]["PATH"] = "../config/default_theme.php";
d3cdb279 43 $theme[0]["NAME"] = "Default";
44
45 $theme[1]["PATH"] = "../config/sandstorm_theme.php";
46 $theme[1]["NAME"] = "Sand Storm";
47
48 $theme[2]["PATH"] = "../config/deepocean_theme.php";
49 $theme[2]["NAME"] = "Deep Ocean";
50
51 $theme[3]["PATH"] = "../config/slashdot_theme.php";
52 $theme[3]["NAME"] = "Slashdot";
53
c63afa2d 54
3021b626 55// Whether or not to use a special color for special folders. If not, special
c63afa2d 56// folders will be the same color as the other folders
57 $use_special_folder_color = true;
58
59/* The following are related to deleting messages.
60 * $move_to_trash
61 * - if this is set to "true", when "delete" is pressed, it will attempt
62 * to move the selected messages to the folder named $trash_folder. If
63 * it's set to "false", we won't even attempt to move the messages, just
64 * delete them.
65 * $trash_folder
66 * - This is the path to the default trash folder. For Cyrus IMAP, it
67 * would be "INBOX.Trash", but for UW it would be "Trash". We need the
68 * full path name here.
69 * $auto_expunge
70 * - If this is true, when a message is moved or copied, the source mailbox
71 * will get expunged, removing all messages marked "Deleted".
72 */
73
a8648d75 74 $default_move_to_trash = true;
c63afa2d 75 $trash_folder = "INBOX.Trash";
a8648d75 76 $default_auto_expunge = true;
c63afa2d 77
78// Special Folders are folders that can't be manipulated like normal user created
79// folders can. A couple of examples would be "INBOX.Trash", "INBOX.Drafts". We have
80// them set to Netscape's default mailboxes, but this obviously can be changed.
81// To add one, just add a new number to the array.
82
83 $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is)
84 $special_folders[1] = $trash_folder;
85 $special_folders[2] = "INBOX.Sent";
86 $special_folders[3] = "INBOX.Drafts";
87 $special_folders[4] = "INBOX.Templates";
88
89// Whether or not to list the special folders first (true/false)
90 $list_special_folders_first = true;
91
92// Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
93// If you are not sure, set it to false.
94 $default_sub_of_inbox = true;
95
96// Some IMAP daemons (UW) handle folders weird. They only allow a folder to contain
97// either messages or other folders, not both at the same time. This option controls
98// whether or not to display an option during folder creation. The option toggles
99// which type of folder it should be.
100//
101// If this option confuses you, make it "true". You can't hurt anything if it's true,
102// but some servers will respond weird if it's false. (Cyrus works fine whether it's
103// true OR false).
104 $show_contain_subfolders_option = false;
105
106// Whether or not to use META tags and automatically forward after an action has
107// been completed.
108 $auto_forward = true;
d0747e26 109
110// Path to the data/ directory
111// It is a possible security hole to have a writable directory under the web server's
112// root directory (ex: /home/httpd/html). For this reason, it is possible to put
113// the data directory anywhere you would like. The path name can be absolute or
114// relative (to the config directory). It doesn't matter. Here are two examples:
115//
116// Absolute:
117// $data_dir = "/usr/local/squirrelmail/data/";
118//
119// Relative (to the config directory):
120// $data_dir = "../data/";
121
96ba920b 122 $data_dir = "../data/";
c63afa2d 123?>