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