added auto expunge
[squirrelmail.git] / config / config.php
1 <?
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 = "localhost";
21
22 // Your SMTP server and port number (usually the same as the IMAP server)
23 $smtpServerAddress = "localhost";
24 $smtpPort = 25;
25
26 // This is displayed right after they log in
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>";
28
29 // Themes
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.
34 //
35 // You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
36 //
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
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";
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
54 $theme[4]["PATH"] = "../config/purple_theme.php";
55 $theme[4]["NAME"] = "Purple";
56
57 $theme[5]["PATH"] = "../config/forest_theme.php";
58 $theme[5]["NAME"] = "Forest";
59
60 $theme[6]["PATH"] = "../config/ice_theme.php";
61 $theme[6]["NAME"] = "Ice";
62
63 // Whether or not to use a special color for special folders. If not, special
64 // folders will be the same color as the other folders
65 $use_special_folder_color = true;
66
67 /* The following are related to deleting messages.
68 * $move_to_trash
69 * - if this is set to "true", when "delete" is pressed, it will attempt
70 * to move the selected messages to the folder named $trash_folder. If
71 * it's set to "false", we won't even attempt to move the messages, just
72 * delete them.
73 * $trash_folder
74 * - This is the path to the default trash folder. For Cyrus IMAP, it
75 * would be "INBOX.Trash", but for UW it would be "Trash". We need the
76 * full path name here.
77 * $auto_expunge
78 * - If this is true, when a message is moved or copied, the source mailbox
79 * will get expunged, removing all messages marked "Deleted".
80 */
81
82 $default_move_to_trash = true;
83 $trash_folder = "INBOX.Trash";
84 $auto_expunge = true;
85
86 // Special Folders are folders that can't be manipulated like normal user created
87 // folders can. A couple of examples would be "INBOX.Trash", "INBOX.Drafts". We have
88 // them set to Netscape's default mailboxes, but this obviously can be changed.
89 // To add one, just add a new number to the array.
90
91 $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is)
92 $special_folders[1] = $trash_folder;
93 $special_folders[2] = "INBOX.Sent";
94 $special_folders[3] = "INBOX.Drafts";
95 $special_folders[4] = "INBOX.Templates";
96
97 // Whether or not to list the special folders first (true/false)
98 $list_special_folders_first = true;
99
100 // Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
101 // If you are not sure, set it to false.
102 $default_sub_of_inbox = true;
103
104 // Some IMAP daemons (UW) handle folders weird. They only allow a folder to contain
105 // either messages or other folders, not both at the same time. This option controls
106 // whether or not to display an option during folder creation. The option toggles
107 // which type of folder it should be.
108 //
109 // If this option confuses you, make it "true". You can't hurt anything if it's true,
110 // but some servers will respond weird if it's false. (Cyrus works fine whether it's
111 // true OR false).
112 $show_contain_subfolders_option = false;
113
114 // Whether or not to use META tags and automatically forward after an action has
115 // been completed.
116 $auto_forward = true;
117
118 // Path to the data/ directory
119 // It is a possible security hole to have a writable directory under the web server's
120 // root directory (ex: /home/httpd/html). For this reason, it is possible to put
121 // the data directory anywhere you would like. The path name can be absolute or
122 // relative (to the config directory). It doesn't matter. Here are two examples:
123 //
124 // Absolute:
125 // $data_dir = "/usr/local/squirrelmail/data/";
126 //
127 // Relative (to the config directory):
128 // $data_dir = "../data/";
129
130 $data_dir = "../data/";
131 ?>