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