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