2
/********************************************************
6
Configuration options for login screen
8
********************************************************/
10
/***************** HOSTS *******************************
11
The $host variable is used to determine how the user
12
specifies the email server to log into.
14
[protocol/]host[:port]
17
IMAP/mail.domain.com:145
20
You can have multiple mail server that use
21
different protocols. If protocol or port
22
is specified in host string, the "protocol"
23
field in the login screen will be ignored.
25
Protocol is optional only if the port is a
26
standard port (110=pop, 143=imap, 993=imap-ssl)
27
If neither protocol or port is specified,
28
it will default to IMAP.
29
********************************************************/
31
// default. index.php will display an empty text box
35
// Use the following to hard code the server. If the
36
// following line is used, index.php will not allow
37
// users to specify any other server
39
//$default_host = "imap.example.com";
42
// Use the following if you have multiple supported
43
// servers, from which users can choose from.
45
//$default_host = array(
46
// "red.example.com"=>"Red",
47
// "green.example.com"=>"Green",
48
// "imap.example.com"=>"imap.example.com"
53
/***************** ADVANCED ****************************
54
The "advanced" login screen allows the users to specify
55
the protocol (POP/IMAP) as well as the root directory,
56
in addition to the standard parameters.
57
Set the value to 0 if you do not want to give users
58
the ability to specify the protocol or rootdir.
59
********************************************************/
65
/***************** Default Port *************************
66
Specify the default port. If "advanced" mode is enabled,
67
the value specified here will be the default value, but
68
the user will be able to change it.
69
IlohaMail currently does not support nonstandard ports.
73
********************************************************/
79
/***************** Default Root Direcotry ***************
80
Specify the default rootdir. If "advanced" mode is
81
enabled, the value specified here will be the default
82
value, but the user will be able to change it.
84
Rootdirs are only used by IMAP accounts, and in only
85
rare cases. Some IMAP servers will return all folders
86
within a user's home directory, and not only folders
87
used to store email. If that happens, rootdir can
88
be used to make sure only related folders are returned.
89
********************************************************/
91
$default_rootdir = "";
95
/***************** Default Root Direcotry ***************
96
Default language to use if user doesn't specify one
97
when first logging in. See include/langs.inc for
99
********************************************************/
101
$default_lang = "eng/";
106
/******************* Show / Hide Fields *****************
107
The following directives allow you to hide some of
108
the fields in the login screen.
109
A default value should be specified above, if the
115
For $hide_host to have affect, a $default_host must
117
********************************************************/
128
/******************* Auto-Append ************************
129
Automatically appends string (usually host) to end of
130
user id. Leave blank/undeclared if you do not need
132
String will not be appended if already present in
136
This will append "@domain.com" to users logging
137
into mail.domain.com (so it'll be something like
140
$AUTO_APPEND["mail.domain.com"] = "@domain.com";
142
********************************************************/
144
//$AUTO_APPEND["mail.domain.com"] = "@domain.com";
149
/******************* Log out redirect *******************
150
URL to be redirected to after user logs out. Default
151
is "index.php" which is the login screen.
152
********************************************************/
154
$logout_url = "index.php";
158
/******************* Use Cookies ************************
159
When cookies are used, the session encryption key is
160
stored in a cookie, instead of using an encryption key
161
generated from the user's IP address. Unlike IP-based
162
encryption keys, keys stored in cookies will carry over
163
even if the user's IP address changes. This will also
164
enhance security, especially when used with SSL.
166
If cookies aren't available in the user's browser,
167
IlohaMail will automatically revert to a IP-based key.
168
********************************************************/
173
/******************* VDOMAIN_DETECT ************************
174
When allowing access to multiple hosts through one installation
175
of IlohaMail, this feature can be used to auto-detect the right
176
host depending on the vhost used to access the interface.
179
$VDOMAIN_DETECT["HTTP vhost"] = "mail host";
181
********************************************************/
183
// When accessed from http://domain1.com/mail,
184
// use mail.domain1.com:
185
$VDOMAIN_DETECT["domain1.com"] = "mail.domain1.com";
187
// When accessed from http://domain2.net/mail,
188
// use mail.domain2.net
189
$VDOMAIN_DETECT["domain2.net"] = "mail.domain2.net";
192
/******************* SSL_ENABLED ************************
193
If set to 'true', the protocol selection menu will
194
display 'imap-ssl', for IMAP over SSL.
196
NOTE: Enabled ONLY IF your build of PHP supports
197
SSL (i.e. was compiled with the --with-openssl flag).
198
********************************************************/
199
$SSL_ENABLED = false;
b'\\ No newline at end of file'