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