~ubuntu-branches/ubuntu/maverick/ilohamail/maverick

« back to all changes in this revision

Viewing changes to IlohaMail/conf/login.inc

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Jaspert
  • Date: 2004-02-04 13:44:37 UTC
  • Revision ID: james.westby@ubuntu.com-20040204134437-kz8j3ui2qa7oq8z2
Tags: upstream-0.8.12
ImportĀ upstreamĀ versionĀ 0.8.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/********************************************************
 
3
        conf/defaults.inc
 
4
                
 
5
        PURPOSE:
 
6
                Configuration options for login screen
 
7
 
 
8
********************************************************/
 
9
 
 
10
/***************** HOSTS *******************************
 
11
        The $host variable is used to determine how the user
 
12
        specifies the email server to log into.
 
13
                Format of host:
 
14
                        [protocol/]host[:port]
 
15
                e.g.:
 
16
                        mail.domain.com
 
17
                        IMAP/mail.domain.com:145
 
18
                        mail.domain.com:110
 
19
                note:
 
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.
 
24
                        
 
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
********************************************************/
 
30
 
 
31
// default.  index.php will display an empty text box
 
32
$default_host = "";
 
33
 
 
34
 
 
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
 
38
//
 
39
//$default_host = "imap.example.com";
 
40
 
 
41
 
 
42
//      Use the following if you have multiple supported
 
43
//      servers, from which users can choose from.
 
44
//
 
45
//$default_host = array(
 
46
//      "red.example.com"=>"Red", 
 
47
//      "green.example.com"=>"Green", 
 
48
//      "imap.example.com"=>"imap.example.com"
 
49
//      );
 
50
 
 
51
 
 
52
 
 
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
********************************************************/
 
60
 
 
61
$adv_mode = 1;
 
62
 
 
63
 
 
64
 
 
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.
 
70
        Ports:
 
71
                143 for IMAP
 
72
                110 for POP3
 
73
********************************************************/
 
74
 
 
75
$default_port = 143;
 
76
 
 
77
 
 
78
 
 
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.
 
83
 
 
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
********************************************************/
 
90
 
 
91
$default_rootdir = "";
 
92
 
 
93
 
 
94
 
 
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
 
98
    available languages.
 
99
********************************************************/
 
100
 
 
101
$default_lang = "eng/";
 
102
 
 
103
 
 
104
 
 
105
 
 
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
 
110
        fields are hidden.
 
111
        Values:
 
112
                1 = Hide
 
113
                0 = Show
 
114
        
 
115
        For $hide_host to have affect, a $default_host must 
 
116
        be specified.
 
117
********************************************************/
 
118
 
 
119
$hide_host = 0;
 
120
 
 
121
$hide_protocol = 0;
 
122
 
 
123
$hide_rootdir = 1;
 
124
 
 
125
$hide_lang = 0;
 
126
 
 
127
 
 
128
/******************* Auto-Append ************************
 
129
        Automatically appends string (usually host) to end of
 
130
        user id.  Leave blank/undeclared if you do not need
 
131
        to auto-append.
 
132
        String will not be appended if already present in 
 
133
        user id.
 
134
        
 
135
        e.g.
 
136
                This will append "@domain.com" to users logging
 
137
                into mail.domain.com (so it'll be something like
 
138
                "user@domain.com"):
 
139
 
 
140
                $AUTO_APPEND["mail.domain.com"] = "@domain.com";
 
141
                
 
142
********************************************************/
 
143
 
 
144
//$AUTO_APPEND["mail.domain.com"] = "@domain.com";
 
145
 
 
146
 
 
147
 
 
148
 
 
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
********************************************************/
 
153
 
 
154
$logout_url = "index.php";
 
155
 
 
156
 
 
157
 
 
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.
 
165
        
 
166
        If cookies aren't available in the user's browser, 
 
167
        IlohaMail will automatically revert to a IP-based key.
 
168
********************************************************/
 
169
 
 
170
$USE_COOKIES = 1;
 
171
 
 
172
 
 
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.
 
177
        
 
178
        Format:
 
179
        $VDOMAIN_DETECT["HTTP vhost"] = "mail host";
 
180
        
 
181
********************************************************/
 
182
 
 
183
//      When accessed from http://domain1.com/mail,
 
184
//              use mail.domain1.com:
 
185
$VDOMAIN_DETECT["domain1.com"] = "mail.domain1.com";
 
186
 
 
187
//      When accessed from http://domain2.net/mail, 
 
188
//              use mail.domain2.net
 
189
$VDOMAIN_DETECT["domain2.net"] = "mail.domain2.net";
 
190
 
 
191
 
 
192
/******************* SSL_ENABLED ************************
 
193
        If set to 'true', the protocol selection menu will 
 
194
        display 'imap-ssl', for IMAP over SSL.
 
195
        
 
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;
 
200
 
 
201
?>
 
 
b'\\ No newline at end of file'