removed old rcptaddress
[squirrelmail.git] / config / config_default.php
1 <?php
2
3 /**
4 * BEFORE EDITING THIS FILE!
5 *
6 * Don't edit this file directly. Copy it to config.php before you
7 * edit it. However, it is best to use the configuration script
8 * conf.pl if at all possible. That is the easiest and cleanest way
9 * to configure.
10 */
11
12 /* Do not change this value. */
13 global $config_version;
14 $config_version = '1.2.0';
15
16 /* Organization's logo picture (blank if none) */
17 global $org_logo;
18 $org_logo = '../images/sm_logo.png';
19
20 /* The width of the logo (0 for default) */
21 $org_logo_width = 308;
22
23 /* The height of the logo (0 for default) */
24 $org_logo_height = 111;
25
26
27 /* Organization's name */
28 global $org_name;
29 $org_name = 'SquirrelMail';
30
31 /**
32 * Webmail Title
33 * This is the web page title that appears at the top of the browser window.
34 */
35 global $org_title;
36 $org_title = "SquirrelMail $version";
37
38 /**
39 * Default language
40 * This is the default language. It is used as a last resort
41 * if SquirrelMail can't figure out which language to display.
42 * Use the two-letter code.
43 */
44 global $squirrelmail_default_language;
45 $squirrelmail_default_language = 'en_US';
46
47 /* The dns name and port for your imap server. */
48 global $imapServerAddress, $imapPort;
49 $imapServerAddress = 'localhost';
50 $imapPort = 143;
51
52 /**
53 * The domain part of local email addresses.
54 * This is for all messages sent out from this server.
55 * Reply address is generated by $username@$domain
56 * Example: In bob@foo.com, foo.com is the domain.
57 */
58 global $domain;
59 $domain = 'mydomain.com';
60
61 /* Your SMTP server and port number (usually the same as the IMAP server). */
62 global $smtpServerAddress, $smtpPort;
63 $smtpServerAddress = 'localhost';
64 $smtpPort = 25;
65
66 /**
67 * Uncomment this if you want to deliver locally using sendmail
68 * instead of connecting to a SMTP-server.
69 */
70 #global $useSendmail, $sendmail_path;
71 #$useSendmail = true;
72 #$sendmail_path = '/usr/sbin/sendmail';
73
74 /* This is a message that is displayed immediately after a user logs in. */
75 global $motd;
76 $motd = '';
77
78 /**
79 * Whether or not to use a special color for special folders. If not,
80 * special folders will be the same color as the other folders.
81 */
82 global $use_special_folder_color;
83 $use_special_folder_color = true;
84
85 /**
86 * The type of IMAP server you are running.
87 * Valid type are the following (case is important):
88 * courier
89 * cyrus
90 * exchange
91 * uw
92 * other
93 */
94 global $imap_server_type;
95 $imap_server_type = 'cyrus';
96
97 /**
98 * Rather than going to the signout.php page (which only allows you
99 * to sign back in), setting signout_page allows you to sign the user
100 * out and then redirect to whatever page you want. For instance,
101 * the following would return the user to your home page:
102 * $signout_page = '/';
103 * Set to the empty string to continue to use the default signout page.
104 */
105 global $signout_page;
106 $signout_page = '';
107
108 /**
109 * Many servers store mail in your home directory. With this, they
110 * store them in a subdirectory: mail/ or Mail/, etc. If your server
111 * does this, please set this to what the default mail folder should
112 * be. This is still a user preference, so they can change it if it
113 * is different for each user.
114 *
115 * Example:
116 * $default_folder_prefix = 'mail/';
117 * -- or --
118 * $default_folder_prefix = 'Mail/folders/';
119 *
120 * If you do not use this, set it to the empty string.
121 */
122 global $default_folder_prefix;
123 $default_folder_prefix = '';
124
125 /**
126 * If you do not wish to give them the option to change this, set it
127 * to false. Otherwise, if it is true, they can change the folder prefix
128 * to be anything.
129 */
130 global $show_prefix_option;
131 $show_prefix_option = false;
132
133 /**
134 * The following are related to deleting messages.
135 * $move_to_trash
136 * if this is set to 'true', when 'delete' is pressed, it
137 * will attempt to move the selected messages to the folder
138 * named $trash_folder. If it's set to 'false', we won't even
139 * attempt to move the messages, just delete them.
140 * $trash_folder
141 * This is the path to the default trash folder. For Cyrus
142 * IMAP, it would be 'INBOX.Trash', but for UW it would be
143 * 'Trash'. We need the full path name here.
144 * $auto_expunge
145 * If this is true, when a message is moved or copied, the
146 * source mailbox will get expunged, removing all messages
147 * marked 'Deleted'.
148 * $sent_folder
149 * This is the path to where Sent messages will be stored.
150 * $delete_folder
151 * If this is true, when a folder is deleted then it will
152 * not get moved into the Trash folder.
153 */
154 global $default_move_to_trash, $default_move_to_sent, $default_save_as_draft;
155 global $trash_folder, $sent_folder, $draft_folder, $auto_expunge;
156 global $delete_folder;
157 $default_move_to_trash = true;
158 $default_move_to_sent = true;
159 $default_save_as_draft = true;
160 $trash_folder = 'INBOX.Trash';
161 $sent_folder = 'INBOX.Sent';
162 $draft_folder = 'INBOX.Drafts';
163 $auto_expunge = true;
164 $delete_folder = false;
165
166 /**
167 * Should I create the Sent and Trash folders automatically for
168 * a new user that doesn't already have them created?
169 */
170 global $auto_create_special;
171 $auto_create_special = true;
172
173 /* Whether or not to list the special folders first (true/false). */
174 global $list_special_folders_first;
175 $list_special_folders_first = true;
176
177 /**
178 * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server).
179 * If you are unsure, set it to false.
180 */
181 global $default_sub_of_inbox;
182 $default_sub_of_inbox = true;
183
184 /**
185 * Some IMAP daemons (UW) handle folders weird. They only allow a
186 * folder to contain either messages or other folders, not both at
187 * the same time. This option controls whether or not to display an
188 * option during folder creation. The option toggles which type of
189 * folder it should be.
190 *
191 * If this option confuses you, just set it to 'true'. You can not hurt
192 * anything if it's true, but some servers will respond weird if it's
193 * false. (Cyrus works fine whether it's true OR false).
194 */
195 global $show_contain_subfolders_option;
196 $show_contain_subfolders_option = false;
197
198 /**
199 * This option controls what character set is used when sending mail
200 * and when sending HTMl to the browser. Do not set this to US-ASCII,
201 * use ISO-8859-1 instead. For cyrillic it is best to use KOI8-R,
202 * since this implementation is faster than the alternatives.
203 */
204 global $default_charset;
205 $default_charset = 'iso-8859-1';
206
207 /**
208 * Path to the data/ directory
209 * It is a possible security hole to have a writable directory
210 * under the web server's root directory (ex: /home/httpd/html).
211 * For this reason, it is possible to put the data directory
212 * anywhere you would like. The path name can be absolute or
213 * relative (to the config directory). It doesn't matter. Here
214 * are two examples:
215 *
216 * Absolute:
217 * $data_dir = '/usr/local/squirrelmail/data/';
218 *
219 * Relative (to the config directory):
220 * $data_dir = '../data/';
221 */
222 global $data_dir;
223 $data_dir = '../data/';
224
225 /**
226 * Path to directory used for storing attachments while a mail is
227 * being sent. There are a few security considerations regarding
228 * this directory:
229 * + It should have the permission 733 (rwx-wx-wx) to make it
230 * impossible for a random person with access to the webserver to
231 * list files in this directory. Confidential data might be laying
232 * around there.
233 * + Since the webserver is not able to list the files in the content
234 * is also impossible for the webserver to delete files lying around
235 * there for too long.
236 * + It should probably be another directory than data_dir.
237 */
238 global $attachment_dir;
239 $attachment_dir = "$data_dir";
240
241 /* Hash level used for data directory. */
242 global $dir_hash_level;
243 $dir_hash_level = 0;
244
245 /**
246 * This is the default size of the folder list. Default
247 * is 150, but you can set it to whatever you wish.
248 */
249 global $default_left_size;
250 $default_left_size = 150;
251
252 /**
253 * Some IMAP servers allow a username (like 'bob') to log in if they use
254 * uppercase in their name (like 'Bob' or 'BOB'). This creates extra
255 * preference files. Toggling this option to true will transparently
256 * change all usernames to lowercase.
257 */
258 global $force_username_lowercase;
259 $force_username_lowercase = false;
260
261 /**
262 * Themes
263 * You can define your own theme and put it in this directory.
264 * You must call it as the example below. You can name the theme
265 * whatever you want. For an example of a theme, see the ones
266 * included in the config directory.
267 *
268 * To add a new theme to the options that users can choose from, just
269 * add a new number to the array at the bottom, and follow the pattern.
270 */
271 global $theme;
272
273 /**
274 * The first one HAS to be here, and is your system's default
275 * theme. It can be any theme you want.
276 */
277 $theme[0]['PATH'] = '../themes/default_theme.php';
278 $theme[0]['NAME'] = 'Default';
279
280 $theme[1]['PATH'] = '../themes/plain_blue_theme.php';
281 $theme[1]['NAME'] = 'Plain Blue';
282
283 $theme[2]['PATH'] = '../themes/sandstorm_theme.php';
284 $theme[2]['NAME'] = 'Sand Storm';
285
286 $theme[3]['PATH'] = '../themes/deepocean_theme.php';
287 $theme[3]['NAME'] = 'Deep Ocean';
288
289 $theme[4]['PATH'] = '../themes/slashdot_theme.php';
290 $theme[4]['NAME'] = 'Slashdot';
291
292 $theme[5]['PATH'] = '../themes/purple_theme.php';
293 $theme[5]['NAME'] = 'Purple';
294
295 $theme[6]['PATH'] = '../themes/forest_theme.php';
296 $theme[6]['NAME'] = 'Forest';
297
298 $theme[7]['PATH'] = '../themes/ice_theme.php';
299 $theme[7]['NAME'] = 'Ice';
300
301 $theme[8]['PATH'] = '../themes/seaspray_theme.php';
302 $theme[8]['NAME'] = 'Sea Spray';
303
304 $theme[9]['PATH'] = '../themes/bluesteel_theme.php';
305 $theme[9]['NAME'] = 'Blue Steel';
306
307 $theme[10]['PATH'] = '../themes/dark_grey_theme.php';
308 $theme[10]['NAME'] = 'Dark Grey';
309
310 $theme[11]['PATH'] = '../themes/high_contrast_theme.php';
311 $theme[11]['NAME'] = 'High Contrast';
312
313 $theme[12]['PATH'] = '../themes/black_bean_burrito_theme.php';
314 $theme[12]['NAME'] = 'Black Bean Burrito';
315
316 $theme[13]['PATH'] = '../themes/servery_theme.php';
317 $theme[13]['NAME'] = 'Servery';
318
319 $theme[14]['PATH'] = '../themes/maize_theme.php';
320 $theme[14]['NAME'] = 'Maize';
321
322 $theme[15]['PATH'] = '../themes/bluesnews_theme.php';
323 $theme[15]['NAME'] = 'BluesNews';
324
325 $theme[16]['PATH'] = '../themes/deepocean2_theme.php';
326 $theme[16]['NAME'] = 'Deep Ocean 2';
327
328 $theme[17]['PATH'] = '../themes/blue_grey_theme.php';
329 $theme[17]['NAME'] = 'Blue Grey';
330
331 $theme[18]['PATH'] = '../themes/dompie_theme.php';
332 $theme[18]['NAME'] = 'Dompie';
333
334 $theme[19]['PATH'] = '../themes/methodical_theme.php';
335 $theme[19]['NAME'] = 'Methodical';
336
337 $theme[20]['PATH'] = '../themes/greenhouse_effect.php';
338 $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
339
340 $theme[21]['PATH'] = '../themes/in_the_pink.php';
341 $theme[21]['NAME'] = 'In The Pink (Changes)';
342
343 $theme[22]['PATH'] = '../themes/kind_of_blue.php';
344 $theme[22]['NAME'] = 'Kind of Blue (Changes)';
345
346 $theme[23]['PATH'] = '../themes/monostochastic.php';
347 $theme[23]['NAME'] = 'Monostochastic (Changes)';
348
349 $theme[24]['PATH'] = '../themes/shades_of_grey.php';
350 $theme[24]['NAME'] = 'Shades of Grey (Changes)';
351
352 $theme[25]['PATH'] = '../themes/spice_of_life.php';
353 $theme[25]['NAME'] = 'Spice of Life (Changes)';
354
355 $theme[26]['PATH'] = '../themes/spice_of_life_lite.php';
356 $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
357
358 $theme[27]['PATH'] = '../themes/spice_of_life_dark.php';
359 $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
360
361 $theme[28]['PATH'] = '../themes/christmas.php';
362 $theme[28]['NAME'] = 'Holiday - Christmas';
363
364 $theme[29]['PATH'] = '../themes/darkness.php';
365 $theme[29]['NAME'] = 'Darkness (Changes)';
366
367 $theme[30]['PATH'] = '../themes/random.php';
368 $theme[30]['NAME'] = 'Random (Changes every login)';
369
370 $theme[31]['PATH'] = '../themes/midnight.php';
371 $theme[31]['NAME'] = 'Midnight';
372
373 $theme[32]['PATH'] = '../themes/alien_glow.php';
374 $theme[32]['NAME'] = 'Alien Glow';
375
376 $theme[33]['PATH'] = '../themes/dark_green.php';
377 $theme[33]['NAME'] = 'Dark Green';
378
379 $theme[33]['PATH'] = '../themes/penguin.php';
380 $theme[33]['NAME'] = 'Penguin';
381
382 /**
383 * LDAP server(s)
384 * Array of arrays with LDAP server parameters. See
385 * functions/abook_ldap_server.php for a list of possible
386 * parameters
387 *
388 * EXAMPLE:
389 * $ldap_server[0] = Array(
390 * 'host' => 'memberdir.netscape.com',
391 * 'name' => 'Netcenter Member Directory',
392 * 'base' => 'ou=member_directory,o=netcenter.com'
393 * );
394 */
395 global $ldap_server;
396
397 /**
398 * Database-driven private addressbooks
399 * DSN (Data Source Name) for a database where the private
400 * addressbooks are stored. See doc/db-backend.txt for more info.
401 * If it is not set, the addressbooks are stored in files
402 * in the data dir.
403 * The DSN is in the format: mysql://user:pass@hostname/dbname
404 * The table is the name of the table to use within the
405 * specified database.
406 */
407 global $addrbook_dsn, $addrbook_table;
408 $addrbook_dsn = '';
409 $addrbook_table = 'address';
410
411 global $prefs_dsn, $prefs_table;
412 $prefs_dsn = '';
413 $prefs_table = 'userprefs';
414
415 /**
416 * Users may search their addressbook via either a plain HTML or Javascript
417 * enhanced user interface. This option allows you to set the default choice.
418 * Set this default choice as either:
419 * true = javascript
420 * false = html
421 */
422 global $default_use_javascript_addr_book;
423 $default_use_javascript_addr_book = false;
424
425 /**
426 * These next two options set the defaults for the way that the
427 * users see their folder list.
428 * $default_unseen_notify
429 * Specifies whether or not the users will see the number of
430 * unseen in each folder by default and also which folders to
431 * do this to. Valid values are: 1=none, 2=inbox, 3=all.
432 * $default_unseen_type
433 * Specifies the type of notification to give the users by
434 * default. Valid choice are: 1=(4), 2=(4,25).
435 */
436 global $default_unseen_notify, $default_unseen_type;
437 $default_unseen_notify = 2;
438 $default_unseen_type = 1;
439
440 /**
441 * If you are running on a machine that doesn't have the tm_gmtoff
442 * value in your time structure and if you are in a time zone that
443 * has a negative offset, you need to set this value to 1. This is
444 * typically people in the US that are running Solaris 7.
445 */
446 global $invert_time;
447 $invert_time = false;
448
449 /**
450 * By default SquirrelMail takes up the whole browser window,
451 * this allows you to embed it within sites using frames. Set
452 * this to the frame you want it to stay in.
453 */
454
455 global $frame_top;
456 $frame_top = '_top';
457
458 global $plugins;
459 /**
460 * To install plugins, just add elements to this array that have
461 * the plugin directory name relative to the /plugins/ directory.
462 * For instance, for the 'sqclock' plugin, you'd put a line like
463 * the following.
464 * $plugins[0] = 'sqclock';
465 * $plugins[1] = 'attachment_common';
466 */
467
468 /**
469 * If you don't want to allow users to change their email address
470 * then you can set $edit_identity to false, if you want them to
471 * not be able to change their full name too then set $edit_name
472 * to false as well. $edit_name has no effect unless $edit_identity
473 * is false;
474 */
475
476 global $edit_identity, $edit_name;
477 $edit_identity = true;
478 $edit_name = true;
479
480
481 /**
482 * If you want to enable server side thread sorting options
483 * Your IMAP server must support the THREAD extension for
484 * this to work.
485 */
486
487 global $allow_thread_sort;
488 $allow_thread_sort = false;
489
490 /**
491 * to use server-side sorting instead of SM client side.
492 * Your IMAP server must support the SORT extension for this
493 * to work.
494 */
495
496 global $allow_server_sort;
497 $allow_server_sort = false;
498
499 /**
500 * This enables the no select fix for Cyrus when subfolders
501 * exist but parent folders do not
502 */
503
504 global $noselect_fix_enable;
505 $noselect_fix_enable = false;
506
507 /**
508 * this disables listing all of the folders on the IMAP Server to
509 * generate the folder subscribe listbox (this can take a long time
510 * when you have a lot of folders). Instead, a textbox will be
511 * displayed allowing users to enter a specific folder name to subscribe to */
512 global $no_list_for_subscribe;
513 $no_list_for_subscribe = false;
514
515 /**
516 * Make sure there are no characters after the PHP closing
517 * tag below (including newline characters and whitespace).
518 * Otherwise, that character will cause the headers to be
519 * sent and regular output to begin, which will majorly screw
520 * things up when we try to send more headers later.
521 */
522 ?>