Fixed some bugs in data directory stuff
[squirrelmail.git] / config / config.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 = "localhost";
21
22 // Your SMTP server and port number (usually the same as the IMAP server)
23 $smtpServerAddress = "localhost";
24 $smtpPort = 25;
25
26 // This is displayed right after they log in
27 $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>";
28
29 // Themes
30 // You can define your own theme and put it in this directory. You must
31 // call it as the example below. You can name the theme whatever you
32 // want. For an example of a theme, see the ones included in the config
33 // directory.
34 //
35 // You can download themes from http://squirrelmail.sourceforge.net/index.php3?page=10
36 //
37 // To add a new theme to the options that users can choose from, just add
38 // a new number to the array at the bottom, and follow the pattern.
39
40 $theme[0]["PATH"] = "../config/default_theme.php"; // This is your default theme. Can be theme.
41 $theme[0]["NAME"] = "Default";
42
43 $theme[1]["PATH"] = "../config/sandstorm_theme.php";
44 $theme[1]["NAME"] = "Sand Storm";
45
46 $theme[2]["PATH"] = "../config/deepocean_theme.php";
47 $theme[2]["NAME"] = "Deep Ocean";
48
49 $theme[3]["PATH"] = "../config/slashdot_theme.php";
50 $theme[3]["NAME"] = "Slashdot";
51
52
53 // Whether or not to use a special color for special folders. If not, special
54 // folders will be the same color as the other folders
55 $use_special_folder_color = true;
56
57 /* The following are related to deleting messages.
58 * $move_to_trash
59 * - if this is set to "true", when "delete" is pressed, it will attempt
60 * to move the selected messages to the folder named $trash_folder. If
61 * it's set to "false", we won't even attempt to move the messages, just
62 * delete them.
63 * $trash_folder
64 * - This is the path to the default trash folder. For Cyrus IMAP, it
65 * would be "INBOX.Trash", but for UW it would be "Trash". We need the
66 * full path name here.
67 * $auto_expunge
68 * - If this is true, when a message is moved or copied, the source mailbox
69 * will get expunged, removing all messages marked "Deleted".
70 */
71
72 $move_to_trash = true;
73 $trash_folder = "INBOX.Trash";
74 $auto_expunge = true;
75
76 // Special Folders are folders that can't be manipulated like normal user created
77 // folders can. A couple of examples would be "INBOX.Trash", "INBOX.Drafts". We have
78 // them set to Netscape's default mailboxes, but this obviously can be changed.
79 // To add one, just add a new number to the array.
80
81 $special_folders[0] = "INBOX"; // The first one has to be the inbox (whatever the name is)
82 $special_folders[1] = $trash_folder;
83 $special_folders[2] = "INBOX.Sent";
84 $special_folders[3] = "INBOX.Drafts";
85 $special_folders[4] = "INBOX.Templates";
86
87 // Whether or not to list the special folders first (true/false)
88 $list_special_folders_first = true;
89
90 // Are all your folders subfolders of INBOX (i.e. cyrus IMAP server)
91 // If you are not sure, set it to false.
92 $default_sub_of_inbox = true;
93
94 // Some IMAP daemons (UW) handle folders weird. They only allow a folder to contain
95 // either messages or other folders, not both at the same time. This option controls
96 // whether or not to display an option during folder creation. The option toggles
97 // which type of folder it should be.
98 //
99 // If this option confuses you, make it "true". You can't hurt anything if it's true,
100 // but some servers will respond weird if it's false. (Cyrus works fine whether it's
101 // true OR false).
102 $show_contain_subfolders_option = false;
103
104 // Whether or not to use META tags and automatically forward after an action has
105 // been completed.
106 $auto_forward = true;
107
108 // Path to the data/ directory
109 // It is a possible security hole to have a writable directory under the web server's
110 // root directory (ex: /home/httpd/html). For this reason, it is possible to put
111 // the data directory anywhere you would like. The path name can be absolute or
112 // relative (to the config directory). It doesn't matter. Here are two examples:
113 //
114 // Absolute:
115 // $data_dir = "/usr/local/squirrelmail/data/";
116 //
117 // Relative (to the config directory):
118 // $data_dir = "../data/";
119
120 $data_dir = "../data/";
121 ?>