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