changed <? to <?php in everything
[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 $trash_folder = "INBOX.Trash";
83 $auto_expunge = true;
84 $sent_folder = "INBOX.Sent";
85
86 // Special Folders are folders that can't be manipulated like normal
87 // user created folders can. A couple of examples would be
88 // "INBOX.Trash", "INBOX.Drafts". We have them set to Netscape's
89 // default mailboxes, but this obviously can be changed. To add one,
90 // just add a new number to the array.
91
92 $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is)
93 $special_folders[1] = $trash_folder;
94 $special_folders[2] = $sent_folder;
95 $special_folders[3] = "INBOX.Drafts";
96 $special_folders[4] = "INBOX.Templates";
97
98 // Whether or not to list the special folders first (true/false)
99 $list_special_folders_first = true;
100
101 // Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
102 // If you are not sure, set it to false.
103 $default_sub_of_inbox = true;
104
105 // Some IMAP daemons (UW) handle folders weird. They only allow a
106 // folder to contain either messages or other folders, not both at
107 // the same time. This option controls whether or not to display an
108 // option during folder creation. The option toggles which type of
109 // folder it should be.
110 //
111 // If this option confuses you, make it "true". You can't hurt
112 // anything if it's true, but some servers will respond weird if it's
113 // false. (Cyrus works fine whether it's true OR false).
114
115 $show_contain_subfolders_option = false;
116
117 // This option controls what character set is used when sending mail
118 // and when sending HTMl to the browser. Do not set this to US-ASCII,
119 // use ISO-8859-1 instead. For cyrillic it is best to use KOI8-R,
120 // since this implementation is faster than the alternatives.
121 $default_charset = "iso-8859-1";
122
123 // Whether or not to use META tags and automatically forward after an
124 // action has been completed.
125 $auto_forward = true;
126
127 // Path to the data/ directory
128 // It is a possible security hole to have a writable directory
129 // under the web server's root directory (ex: /home/httpd/html).
130 // For this reason, it is possible to put the data directory
131 // anywhere you would like. The path name can be absolute or
132 // relative (to the config directory). It doesn't matter. Here are
133 // two examples:
134 //
135 // Absolute:
136 // $data_dir = "/usr/local/squirrelmail/data/";
137 //
138 // Relative (to the config directory):
139 // $data_dir = "../data/";
140
141 $data_dir = "../data/";
142
143 // Path to directory used for storing attachments while a mail is
144 // being sent. There are a few security considerations regarding this
145 // directory:
146 // - It should have the permission 733 (rwx-wx-wx) to make it
147 // impossible for a random person with access to the webserver to
148 // list files in this directory. Confidential data might be laying
149 // around there
150 // - Since the webserver is not able to list the files in the content
151 // is also impossible for the webserver to delete files lying around
152 // there for too long.
153 // - It should probably be another directory than data_dir.
154
155 $attachment_dir = $data_dir;
156
157 // This is the default size of the left folder list. Default is 200,
158 // but you can set it to whatever you wish.
159
160 $default_left_size = 200;
161
162 // Themes
163 // You can define your own theme and put it in this directory. You must
164 // call it as the example below. You can name the theme whatever you
165 // want. For an example of a theme, see the ones included in the config
166 // directory.
167 //
168 // You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
169 //
170 // To add a new theme to the options that users can choose from, just add
171 // a new number to the array at the bottom, and follow the pattern.
172
173 // The first one HAS to be here, and is your system's default theme.
174 // It can be any theme you want
175 $theme[0]["PATH"] = "../config/default_theme.php";
176 $theme[0]["NAME"] = "Default";
177
178 $theme[1]["PATH"] = "../config/sandstorm_theme.php";
179 $theme[1]["NAME"] = "Sand Storm";
180
181 $theme[2]["PATH"] = "../config/deepocean_theme.php";
182 $theme[2]["NAME"] = "Deep Ocean";
183
184 $theme[3]["PATH"] = "../config/slashdot_theme.php";
185 $theme[3]["NAME"] = "Slashdot";
186
187 $theme[4]["PATH"] = "../config/purple_theme.php";
188 $theme[4]["NAME"] = "Purple";
189
190 $theme[5]["PATH"] = "../config/forest_theme.php";
191 $theme[5]["NAME"] = "Forest";
192
193 $theme[6]["PATH"] = "../config/ice_theme.php";
194 $theme[6]["NAME"] = "Ice";
195
196 $theme[7]["PATH"] = "../config/seaspray_theme.php";
197 $theme[7]["NAME"] = "Sea Spray";
198
199
200 // LDAP server(s)
201 //
202 // Array of arrays with LDAP server parameters. See
203 // functions/abook_ldap_server.php for a list of possible
204 // parameters
205
206 $ldap_server[0] = Array("host" => "memberdir.netscape.com",
207 "name" => "Netcenter Member Directory",
208 "base" => "ou=member_directory,o=netcenter.com");
209
210 $ldap_server[1] = Array("host" => "ldap.bigfoot.com",
211 "name" => "Bigfoot Directory",
212 "base" => "",
213 "charset" => "iso8859-1");
214
215 ?>