basic html address book
[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 // Whether or not to use META tags and automatically forward after an
125 // action has been completed.
126 $auto_forward = true;
127
128 // Path to the data/ directory
129 // It is a possible security hole to have a writable directory
130 // under the web server's root directory (ex: /home/httpd/html).
131 // For this reason, it is possible to put the data directory
132 // anywhere you would like. The path name can be absolute or
133 // relative (to the config directory). It doesn't matter. Here are
134 // two examples:
135 //
136 // Absolute:
137 // $data_dir = "/usr/local/squirrelmail/data/";
138 //
139 // Relative (to the config directory):
140 // $data_dir = "../data/";
141
142 $data_dir = "../data/";
143
144 // Path to directory used for storing attachments while a mail is
145 // being sent. There are a few security considerations regarding this
146 // directory:
147 // - It should have the permission 733 (rwx-wx-wx) to make it
148 // impossible for a random person with access to the webserver to
149 // list files in this directory. Confidential data might be laying
150 // around there
151 // - Since the webserver is not able to list the files in the content
152 // is also impossible for the webserver to delete files lying around
153 // there for too long.
154 // - It should probably be another directory than data_dir.
155
156 $attachment_dir = $data_dir;
157
158 // This is the default size of the left folder list. Default is 200,
159 // but you can set it to whatever you wish.
160
161 $default_left_size = 200;
162
163 // Themes
164 // You can define your own theme and put it in this directory. You must
165 // call it as the example below. You can name the theme whatever you
166 // want. For an example of a theme, see the ones included in the config
167 // directory.
168 //
169 // You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
170 //
171 // To add a new theme to the options that users can choose from, just add
172 // a new number to the array at the bottom, and follow the pattern.
173
174 // The first one HAS to be here, and is your system's default theme.
175 // It can be any theme you want
176 $theme[0]["PATH"] = "../config/default_theme.php";
177 $theme[0]["NAME"] = "Default";
178
179 $theme[1]["PATH"] = "../config/sandstorm_theme.php";
180 $theme[1]["NAME"] = "Sand Storm";
181
182 $theme[2]["PATH"] = "../config/deepocean_theme.php";
183 $theme[2]["NAME"] = "Deep Ocean";
184
185 $theme[3]["PATH"] = "../config/slashdot_theme.php";
186 $theme[3]["NAME"] = "Slashdot";
187
188 $theme[4]["PATH"] = "../config/purple_theme.php";
189 $theme[4]["NAME"] = "Purple";
190
191 $theme[5]["PATH"] = "../config/forest_theme.php";
192 $theme[5]["NAME"] = "Forest";
193
194 $theme[6]["PATH"] = "../config/ice_theme.php";
195 $theme[6]["NAME"] = "Ice";
196
197 $theme[7]["PATH"] = "../config/seaspray_theme.php";
198 $theme[7]["NAME"] = "Sea Spray";
199
200 $theme[8]["PATH"] = "../config/plain_blue_theme.php";
201 $theme[8]["NAME"] = "Plain Blue";
202
203
204 // LDAP server(s)
205 //
206 // Array of arrays with LDAP server parameters. See
207 // functions/abook_ldap_server.php for a list of possible
208 // parameters
209
210 $ldap_server[0] = Array(
211 "host" => "memberdir.netscape.com",
212 "name" => "Netcenter Member Directory",
213 "base" => "ou=member_directory,o=netcenter.com");
214
215 $ldap_server[1] = Array(
216 "host" => "ldap.bigfoot.com",
217 "name" => "Bigfoot Directory",
218 "base" => "",
219 "charset" => "iso8859-1");
220
221 // you have an option to chose between javascript or html version of
222 // address book searching.
223 // true = javascript
224 // false = html
225
226 $default_use_javascript_addr_book = false;
227
228 ?>