Testing CVS access
[squirrelmail.git] / config / config_default.php
... / ...
CommitLineData
1<?php
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
11 // This makes sure we don't load it dozens of times
12 // don't change this
13 if (defined('config_php'))
14 return;
15 define('config_php', true);
16
17 // don't change
18 global $config_version;
19 $config_version = "x63";
20
21// Organization's logo picture (blank if none)
22 global $org_logo;
23 $org_logo = "../images/sm_logo.jpg";
24
25// Organization's name
26 global $org_name;
27 $org_name = "SquirrelMail";
28
29// Webmail Title
30// This is the title that goes at the top of the browser window
31 global $org_title;
32 $org_title = "SquirrelMail $version";
33
34// Default language
35// This is the default language. It is used as a last resort if SquirrelMail
36// can't figure out which language to display.
37// Use the two-letter code.
38 global $squirrelmail_default_language;
39 $squirrelmail_default_language = "en";
40
41// The server that your imap server is on
42 global $imapServerAddress, $imapPort;
43 $imapServerAddress = "localhost";
44 $imapPort = 143;
45
46// The domain where your email address is.
47// Example: in "luke@usa.om.org", usa.om.org is the domain.
48// this is for all the messages sent out. Reply address
49// is generated by $username@$domain
50 global $domain;
51 $domain = "mydomain.com";
52
53// Your SMTP server and port number (usually the same as the IMAP server)
54 global $smtpServerAddress, $smtpPort;
55 $smtpServerAddress = "localhost";
56 $smtpPort = 25;
57
58// Uncomment this if you want to deliver locally using sendmail instead
59// of connecting to a SMTP-server
60// global $useSendmail, $sendmail_path;
61// $useSendmail = true;
62// $sendmail_path = "/usr/sbin/sendmail";
63
64// This is displayed right after they log in
65 global $motd;
66 $motd = "";
67
68// Whether or not to use a special color for special folders. If not, special
69// folders will be the same color as the other folders
70 global $use_special_folder_color;
71 $use_special_folder_color = true;
72
73// The type of IMAP server you are running
74// Valid type are the following (case is important).
75//
76// courier
77// cyrus
78// exchange
79// uw
80// other
81 global $imap_server_type;
82 $imap_server_type = "cyrus";
83
84// Rather than going to the signout.php page (which only allows you
85// to sign back in), setting signout_page allows you to sign
86// the user out and then redirect to whatever page you want.
87// For instance, the following would return the user to your
88// home page: $signout_page = "/";
89// Set to the empty string to continue to use the default signout page.
90 global $signout_page;
91 $signout_page = "";
92
93// Many servers store mail in your home directory. With this, they
94// store them in a subdirectory: mail/ or Mail/, etc. If your
95// server does this, please set this to what the default mail folder
96// should be. This is still a user preference, so they can change
97// it if it is different for each user.
98//
99// Example:
100// $default_folder_prefix = "mail/";
101// -- or --
102// $default_folder_prefix = "Mail/folders/";
103//
104// If you do not use this, please set it to "".
105 global $default_folder_prefix;
106 $default_folder_prefix = "";
107// If you do not wish to give them the option to change this, set it to false.
108// Otherwise, if it is true, they can change the folder prefix to be anything.
109 global $show_prefix_option;
110 $show_prefix_option = false;
111
112// The following are related to deleting messages.
113// $move_to_trash
114// - if this is set to "true", when "delete" is pressed, it
115// will attempt to move the selected messages to the folder
116// named $trash_folder. If it's set to "false", we won't even
117// attempt to move the messages, just delete them.
118// $trash_folder
119// - This is the path to the default trash folder. For Cyrus
120// IMAP, it would be "INBOX.Trash", but for UW it would be
121// "Trash". We need the full path name here.
122// $auto_expunge
123// - If this is true, when a message is moved or copied, the
124// source mailbox will get expunged, removing all messages
125// marked "Deleted".
126// $sent_folder
127// - This is the path to where Sent messages will be stored.
128
129 global $default_move_to_trash, $default_move_to_sent, $trash_folder,
130 $auto_expunge, $sent_folder;
131 $default_move_to_trash = true;
132 $default_move_to_sent = true;
133 $trash_folder = "INBOX.Trash";
134 $auto_expunge = true;
135 $sent_folder = "INBOX.Sent";
136
137// Special Folders are folders that can't be manipulated like normal
138// user created folders can. A couple of examples would be
139// "INBOX.Trash", "INBOX.Drafts". We have them set to Netscape's
140// default mailboxes, but this obviously can be changed. To add one,
141// just add a new number to the array.
142
143 global $special_folders;
144 $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is)
145 $special_folders[1] = $trash_folder;
146 $special_folders[2] = $sent_folder;
147 $special_folders[3] = "INBOX.Drafts";
148 $special_folders[4] = "INBOX.Templates";
149
150// Should I create the Sent and Trash folders automatically for a new
151// user that doesn't already have them created?
152 global $auto_create_special;
153 $auto_create_special = true;
154
155// Whether or not to list the special folders first (true/false)
156 global $list_special_folders_first;
157 $list_special_folders_first = true;
158
159// Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
160// If you are not sure, set it to false.
161 global $default_sub_of_inbox;
162 $default_sub_of_inbox = true;
163
164// Some IMAP daemons (UW) handle folders weird. They only allow a
165// folder to contain either messages or other folders, not both at
166// the same time. This option controls whether or not to display an
167// option during folder creation. The option toggles which type of
168// folder it should be.
169//
170// If this option confuses you, make it "true". You can't hurt
171// anything if it's true, but some servers will respond weird if it's
172// false. (Cyrus works fine whether it's true OR false).
173 global $show_contain_subfolders_option;
174 $show_contain_subfolders_option = false;
175
176// This option controls what character set is used when sending mail
177// and when sending HTMl to the browser. Do not set this to US-ASCII,
178// use ISO-8859-1 instead. For cyrillic it is best to use KOI8-R,
179// since this implementation is faster than the alternatives.
180 global $default_charset;
181 $default_charset = "iso-8859-1";
182
183// Path to the data/ directory
184// It is a possible security hole to have a writable directory
185// under the web server's root directory (ex: /home/httpd/html).
186// For this reason, it is possible to put the data directory
187// anywhere you would like. The path name can be absolute or
188// relative (to the config directory). It doesn't matter. Here are
189// two examples:
190//
191// Absolute:
192// $data_dir = "/usr/local/squirrelmail/data/";
193//
194// Relative (to the config directory):
195// $data_dir = "../data/";
196 global $data_dir;
197 $data_dir = "../data/";
198
199// Path to directory used for storing attachments while a mail is
200// being sent. There are a few security considerations regarding this
201// directory:
202// - It should have the permission 733 (rwx-wx-wx) to make it
203// impossible for a random person with access to the webserver to
204// list files in this directory. Confidential data might be laying
205// around there
206// - Since the webserver is not able to list the files in the content
207// is also impossible for the webserver to delete files lying around
208// there for too long.
209// - It should probably be another directory than data_dir.
210 global $attachment_dir;
211 $attachment_dir = $data_dir;
212
213// This is the default size of the folder list. Default is 150,
214// but you can set it to whatever you wish.
215 global $default_left_size;
216 $default_left_size = 150;
217
218// Some IMAP servers allow a username (like "bob") to log in if they use
219// uppercase in their name (like "Bob" or "BOB"). This creates extra
220// preference files. Toggling this option to true will transparently
221// change all usernames to lowercase.
222 global $force_username_lowercase;
223 $force_username_lowercase = false;
224
225
226// Themes
227// You can define your own theme and put it in this directory. You must
228// call it as the example below. You can name the theme whatever you
229// want. For an example of a theme, see the ones included in the config
230// directory.
231//
232// To add a new theme to the options that users can choose from, just add
233// a new number to the array at the bottom, and follow the pattern.
234 global $theme;
235
236 // The first one HAS to be here, and is your system's default theme.
237 // It can be any theme you want
238 $theme[0]["PATH"] = "../themes/default_theme.php";
239 $theme[0]["NAME"] = "Default";
240
241 $theme[1]["PATH"] = "../themes/plain_blue_theme.php";
242 $theme[1]["NAME"] = "Plain Blue";
243
244 $theme[2]["PATH"] = "../themes/sandstorm_theme.php";
245 $theme[2]["NAME"] = "Sand Storm";
246
247 $theme[3]["PATH"] = "../themes/deepocean_theme.php";
248 $theme[3]["NAME"] = "Deep Ocean";
249
250 $theme[4]["PATH"] = "../themes/slashdot_theme.php";
251 $theme[4]["NAME"] = "Slashdot";
252
253 $theme[5]["PATH"] = "../themes/purple_theme.php";
254 $theme[5]["NAME"] = "Purple";
255
256 $theme[6]["PATH"] = "../themes/forest_theme.php";
257 $theme[6]["NAME"] = "Forest";
258
259 $theme[7]["PATH"] = "../themes/ice_theme.php";
260 $theme[7]["NAME"] = "Ice";
261
262 $theme[8]["PATH"] = "../themes/seaspray_theme.php";
263 $theme[8]["NAME"] = "Sea Spray";
264
265 $theme[9]["PATH"] = "../themes/bluesteel_theme.php";
266 $theme[9]["NAME"] = "Blue Steel";
267
268 $theme[10]["PATH"] = "../themes/dark_grey_theme.php";
269 $theme[10]["NAME"] = "Dark Grey";
270
271 $theme[11]["PATH"] = "../themes/high_contrast_theme.php";
272 $theme[11]["NAME"] = "High Contrast";
273
274 $theme[12]["PATH"] = "../themes/black_bean_burrito_theme.php";
275 $theme[12]["NAME"] = "Black Bean Burrito";
276
277 $theme[13]["PATH"] = "../themes/servery_theme.php";
278 $theme[13]["NAME"] = "Servery";
279
280 $theme[14]["PATH"] = "../themes/maize_theme.php";
281 $theme[14]["NAME"] = "Maize";
282
283 $theme[15]["PATH"] = "../themes/bluesnews_theme.php";
284 $theme[15]["NAME"] = "BluesNews";
285
286 $theme[16]["PATH"] = "../themes/deepocean2_theme.php";
287 $theme[16]["NAME"] = "Deep Ocean 2";
288
289 $theme[17]["PATH"] = "../themes/blue_gray_theme.php";
290 $theme[17]["NAME"] = "Blue Gray";
291
292// LDAP server(s)
293//
294// Array of arrays with LDAP server parameters. See
295// functions/abook_ldap_server.php for a list of possible
296// parameters
297//
298global $ldap_server;
299//
300// EXAMPLE:
301//
302// $ldap_server[0] = Array(
303// "host" => "memberdir.netscape.com",
304// "name" => "Netcenter Member Directory",
305// "base" => "ou=member_directory,o=netcenter.com");
306
307// Database-driven private addressbooks
308//
309// DSN (Data Source Name) for a database where the private
310// addressbooks are stored. See doc/db-backend.txt for more info.
311// If it is not defined, the addressbooks are stored in files
312// in the data dir.
313//
314// global $addrbook_dsn;
315// $addrbook_dsn = 'mysql://user:pass@hostname/dbname';
316
317
318 // you have an option to chose between javascript or html version of
319 // address book searching.
320 // true = javascript
321 // false = html
322 global $default_use_javascript_addr_book;
323 $default_use_javascript_addr_book = false;
324
325 // these next two options set the defaults for the way that the users see
326 // their folder list.
327 // $default_unseen_notify specifies whether or not the users will see
328 // the number of unseen in each folder by default
329 // and alsy which folders to do this to.
330 // 1=none, 2=inbox, 3=all
331 // $default_unseen_type specifies the type of notification to give the
332 // users by default.
333 // 1=(4), 2=(4,25)
334 global $default_unseen_notify, $default_unseen_type;
335 $default_unseen_notify = 2;
336 $default_unseen_type = 1;
337
338 // If you are running on a machine that doesn't have the tm_gmtoff
339 // value in your time structure and if you are in a time zone that
340 // has a negative offset, you need to set this value to 1.
341 // This is typically people in the US that are running Solaris 7.
342 global $invert_time;
343 $invert_time = false;
344
345 global $plugins;
346 // To install plugins, just add elements to this array that have
347 // the plugin directory name relative to the /plugins/ directory.
348 // For instance, for the "sqclock" plugin, you'd put a line like
349 // the following:
350 // $plugins[0] = "sqclock";
351 // $plugins[1] = "attachment_common";
352
353// Do not add the closing PHP tag here just because we want to avoid
354// the potential for parsing errors if there is a newline added