- added a hook at beginning of left_main
[squirrelmail.git] / config / config_default.php
CommitLineData
59177427 1<?php
baf93783 2// Organization's logo picture (blank if none)
3 $org_logo = "../images/sm_logo.jpg";
4
5// Organization's name
6 $org_name = "SquirrelMail";
7
8// Webmail Title
9// This is the title that goes at the top of the browser window
10 $org_title = "SquirrelMail $version";
11
12// The server that your imap server is on
13 $imapServerAddress = "localhost";
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
20 $domain = "mydomain.com";
21
22// Your SMTP server and port number (usually the same as the IMAP server)
23 $smtpServerAddress = "localhost";
24 $smtpPort = 25;
25
26// Uncomment this if you want to deliver locally using sendmail instead
27// of connecting to a SMTP-server
28// $useSendmail = true;
29// $sendmail_path = "/usr/sbin/sendmail";
30
31// This is displayed right after they log in
32 $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>";
33
baf93783 34// Whether or not to use a special color for special folders. If not, special
35// folders will be the same color as the other folders
36 $use_special_folder_color = true;
37
51457ed2 38// The type of IMAP server you are running
39// Valid type are the following (case is important).
40//
41// courier
42// cyrus
43// exchange
44// uw
45 $imap_server_type = "cyrus";
46
5479d709 47// Many servers store mail in your home directory. With this, they
cf85d665 48// store them in a subdirectory: mail/ or Mail/, etc. If your
5479d709 49// server does this, please set this to what the default mail folder
50// should be. This is still a user preference, so they can change
51// it if it is different for each user.
52//
53// Example:
cf85d665 54// $default_folder_prefix = "mail/";
5479d709 55// -- or --
cf85d665 56// $default_folder_prefix = "Mail/folders/";
5479d709 57//
58// If you do not use this, please set it to "".
cf85d665 59 $default_folder_prefix = "";
60// If you do not wish to give them the option to change this, set it to false.
61// Otherwise, if it is true, they can change the folder prefix to be anything.
62 $show_prefix_option = false;
5479d709 63
ca1f4a68 64// The following are related to deleting messages.
65// $move_to_trash
66// - if this is set to "true", when "delete" is pressed, it
67// will attempt to move the selected messages to the folder
68// named $trash_folder. If it's set to "false", we won't even
69// attempt to move the messages, just delete them.
70// $trash_folder
71// - This is the path to the default trash folder. For Cyrus
72// IMAP, it would be "INBOX.Trash", but for UW it would be
73// "Trash". We need the full path name here.
74// $auto_expunge
75// - If this is true, when a message is moved or copied, the
76// source mailbox will get expunged, removing all messages
77// marked "Deleted".
e5370d43 78// $sent_folder
79// - This is the path to where Sent messages will be stored.
baf93783 80
81 $default_move_to_trash = true;
2f287147 82 $default_move_to_sent = true;
baf93783 83 $trash_folder = "INBOX.Trash";
84 $auto_expunge = true;
e5370d43 85 $sent_folder = "INBOX.Sent";
baf93783 86
ca1f4a68 87// Special Folders are folders that can't be manipulated like normal
88// user created folders can. A couple of examples would be
89// "INBOX.Trash", "INBOX.Drafts". We have them set to Netscape's
90// default mailboxes, but this obviously can be changed. To add one,
91// just add a new number to the array.
baf93783 92
93 $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is)
94 $special_folders[1] = $trash_folder;
a3886f39 95 $special_folders[2] = $sent_folder;
baf93783 96 $special_folders[3] = "INBOX.Drafts";
97 $special_folders[4] = "INBOX.Templates";
98
99// Whether or not to list the special folders first (true/false)
100 $list_special_folders_first = true;
101
102// Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
103// If you are not sure, set it to false.
104 $default_sub_of_inbox = true;
105
ca1f4a68 106// Some IMAP daemons (UW) handle folders weird. They only allow a
107// folder to contain either messages or other folders, not both at
108// the same time. This option controls whether or not to display an
109// option during folder creation. The option toggles which type of
110// folder it should be.
baf93783 111//
ca1f4a68 112// If this option confuses you, make it "true". You can't hurt
113// anything if it's true, but some servers will respond weird if it's
114// false. (Cyrus works fine whether it's true OR false).
115
baf93783 116 $show_contain_subfolders_option = false;
117
17ce8467 118// This option controls what character set is used when sending mail
119// and when sending HTMl to the browser. Do not set this to US-ASCII,
120// use ISO-8859-1 instead. For cyrillic it is best to use KOI8-R,
121// since this implementation is faster than the alternatives.
122 $default_charset = "iso-8859-1";
123
baf93783 124// Path to the data/ directory
ca1f4a68 125// It is a possible security hole to have a writable directory
126// under the web server's root directory (ex: /home/httpd/html).
127// For this reason, it is possible to put the data directory
128// anywhere you would like. The path name can be absolute or
129// relative (to the config directory). It doesn't matter. Here are
130// two examples:
baf93783 131//
132// Absolute:
133// $data_dir = "/usr/local/squirrelmail/data/";
134//
135// Relative (to the config directory):
136// $data_dir = "../data/";
137
138 $data_dir = "../data/";
ca1f4a68 139
140// Path to directory used for storing attachments while a mail is
141// being sent. There are a few security considerations regarding this
142// directory:
143// - It should have the permission 733 (rwx-wx-wx) to make it
144// impossible for a random person with access to the webserver to
145// list files in this directory. Confidential data might be laying
146// around there
147// - Since the webserver is not able to list the files in the content
148// is also impossible for the webserver to delete files lying around
149// there for too long.
150// - It should probably be another directory than data_dir.
151
4df48d80 152 $attachment_dir = $data_dir;
2848c630 153
154// This is the default size of the left folder list. Default is 200,
155// but you can set it to whatever you wish.
156
157 $default_left_size = 200;
17ce8467 158
159// Themes
160// You can define your own theme and put it in this directory. You must
161// call it as the example below. You can name the theme whatever you
162// want. For an example of a theme, see the ones included in the config
163// directory.
164//
165// You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
166//
167// To add a new theme to the options that users can choose from, just add
168// a new number to the array at the bottom, and follow the pattern.
169
170 // The first one HAS to be here, and is your system's default theme.
171 // It can be any theme you want
172 $theme[0]["PATH"] = "../config/default_theme.php";
173 $theme[0]["NAME"] = "Default";
174
6170c5b6 175 $theme[1]["PATH"] = "../config/plain_blue_theme.php";
176 $theme[1]["NAME"] = "Plain Blue";
17ce8467 177
6170c5b6 178 $theme[2]["PATH"] = "../config/sandstorm_theme.php";
179 $theme[2]["NAME"] = "Sand Storm";
17ce8467 180
6170c5b6 181 $theme[3]["PATH"] = "../config/deepocean_theme.php";
182 $theme[3]["NAME"] = "Deep Ocean";
17ce8467 183
6170c5b6 184 $theme[4]["PATH"] = "../config/slashdot_theme.php";
185 $theme[4]["NAME"] = "Slashdot";
17ce8467 186
6170c5b6 187 $theme[5]["PATH"] = "../config/purple_theme.php";
188 $theme[5]["NAME"] = "Purple";
17ce8467 189
6170c5b6 190 $theme[6]["PATH"] = "../config/forest_theme.php";
191 $theme[6]["NAME"] = "Forest";
17ce8467 192
6170c5b6 193 $theme[7]["PATH"] = "../config/ice_theme.php";
194 $theme[7]["NAME"] = "Ice";
17ce8467 195
6170c5b6 196 $theme[8]["PATH"] = "../config/seaspray_theme.php";
197 $theme[8]["NAME"] = "Sea Spray";
a871010c 198
9d1c518c 199 $theme[9]["PATH"] = "../config/bluesteel_theme.php";
200 $theme[9]["NAME"] = "Blue Steel";
59eff34d 201
6170c5b6 202 $theme[10]["PATH"] = "../config/dark_grey_theme.php";
203 $theme[10]["NAME"] = "Dark Grey";
204
205 $theme[11]["PATH"] = "../config/high_contrast_theme.php";
206 $theme[11]["NAME"] = "High Contrast";
24fc5dd2 207
59eff34d 208// LDAP server(s)
209//
210// Array of arrays with LDAP server parameters. See
211// functions/abook_ldap_server.php for a list of possible
212// parameters
213
1e0628fb 214 $ldap_server[0] = Array(
215 "host" => "memberdir.netscape.com",
216 "name" => "Netcenter Member Directory",
217 "base" => "ou=member_directory,o=netcenter.com");
218
219 $ldap_server[1] = Array(
220 "host" => "ldap.bigfoot.com",
221 "name" => "Bigfoot Directory",
222 "base" => "",
223 "charset" => "iso8859-1");
59eff34d 224
3806fa52 225 // you have an option to chose between javascript or html version of
226 // address book searching.
227 // true = javascript
228 // false = html
229
230 $default_use_javascript_addr_book = false;
231
24fc5dd2 232 // these next two options set the defaults for the way that the users see
233 // their folder list.
234 // $default_unseen_notify specifies whether or not the users will see
235 // the number of unseen in each folder by default
236 // and alsy which folders to do this to.
237 // 1=none, 2=inbox, 3=all
238 // $default_unseen_type specifies the type of notification to give the
239 // users by default.
240 // 1=(4), 2=(4,25)
241
242 $default_unseen_notify = 2;
243 $default_unseen_type = 1;
baf93783 244?>