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