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