File: mailreader.cfg.5

package info (click to toggle)
mailreader 2.3.36-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,632 kB
  • ctags: 131
  • sloc: perl: 3,496; sh: 405; makefile: 68
file content (158 lines) | stat: -rw-r--r-- 5,461 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
.TH MAILREADER.CFG 5 "Tue Feb 27 21:20:13 CET 2001" GNU
.SH NAME
mailreader.cfg \- configuration files for Mailreader.com
.SH "DESCRIPTION"
Directory
.I /etc/mailreader
contains config files for
.BR Mailreader.com
system. Most options are in
.I /etc/mailreader/server.cfg
.br Because this manpage is written by packager (not author) so not all options will be described.
.br Please note, that all paths
.B NEED TO
be ended with slash ( 
.B /
) otherwise mailreader will not work.
.SH "OPTIONS"
.IP HTMLPath
Path to html template files used by cgi script to generate dynamic html pages. 
This is local path (not relative to DocumentRoot or cgi-bin).
.IP DefaultHTMLFile
The logs/ directory will have an index-file (index.html) and a bunch 
of parsed logfiles in html and raw format. This just defines the 
name of the index-file (Default.htm for IIS etc) so that it can be 
accessed with just blah/logs/ instead of blah/logs/theindexfile.hmtl.

For 
.B Debian 
this doesn't work because logs are outside the 
.br DocumentRoot
and cannot be accessed via web browser
.IP VirtualGfxPath
Path to graphics directory. (can be relative to 
.B DocumentRoot
or full URL path with server name).
.IP TempPath
Path to temporary storage (local). Directory is used as temporary storage for user informations.
It should have 0600 access mode and owned by user which runs http daemon.
(Default: www-data).
.IP CachePath
Path to temporary storage (local). Directory is used as temporary storage for viewed mails.
It should have 0600 access mode and owned by user which runs http daemon.
(Default: www-data).
.IP CacheHashDepth
Defines how many characters are used for hashing in /var/lib/mailreader/cache directory
.B Attention!
Please modify it only during first installation!
(default=2)
.IP SMTPPath
Path to local directory for temporary storage outgoing mails.
It should have 0600 access mode and owned by user which runs http daemon.
(Default: www-data).
.IP AdvertisementPath
Path to local directory containing advertisements. Graphics for advertisements
have to go to DocumentRoot dir. Please check
.I /var/lib/mailreader/ads/debian/ad.cfg
and
.I /var/lib/mailreader/ads/debian/ad.html
for reference.
.IP Language
Default language, which is proposed to use during first use of
.BR Mailreader
.br
.BR ATTENTION
!!!
.br
The login page still will be using default language set during instalation.
If you want to change it you need to change LanguageOptions in
.I /etc/mailreader/main.cfg
.IP LogPath
Local path to directory containing 
.I mailreader.log
file. This file have to be writeable for user running http daemon.
.IP FeedbackEmail
Account receiving feedback emails from user (listed on login page)
.IP AddressBook
Default addressbook entries that are used when the user logs in the first time

AddressBook=Rulez: kim@holviala.com
+sUcks: bill@everyonehates.com
.IP CreateFakePasswords
.br /var/lib/mailreader/temp
has files that contain user's passwords (with 
.B REALLY STUPID
encoding). If that one is 1, then the directory contains not only 
passwords but files that look like passwords that really aren't. 
Mind you, on the server side there is
.br no
link between a password-file and rest of the user's stuff. 
Password file will be deleted after closing session (or - if user quits without
logout - ater 2 hours). Temp directory should have 0600 access mode.
.IP SMTPServers
List (separated by a comma) of SMTP servers allowed to use for sending outgoing mails.
First server is default one.
.IP OverrideHELO
Some SMTP servers only let you in if your 
.B HELO domain
is correct.
Normally Mailreader uses users mailserver domain as 
.br HELO
, but since 
some servers refuse those this will make it possible to lie.
.IP OverrideMailFrom
SMTP server requires 
.B MAIL FROM
, usually Mailreader just uses the 
users email address, but sometimes the server requires something 
else. This doesn't actually affect the reply address of the email,
or anything else. It's just an convenient way to lie to the mailserver.
.IP FullHTTPHeaders
If set, sends full http header including 
.B HTTP/1.0 200
.IP DefaultMailserver
Default POP3 server showed in loginpage. Please consider modification of
.I /usr/lib/mailreader/html/login.html
to restrict using
.BR Mailreader
to specific POP3 servers.
.br
You can find sample file in
.I /usr/share/doc/mailreader/login.html
- find line with
.BR configServer
text.
.IP AllowedMailservers
List of POP3 servers allowed to be reached from
.BR Mailreader
Please note, that if someone enters an illegal POP3 server in login page program
just exits without any note.
.IP AllowedHosts
???? Doesn't work
It's just domain names separated with a comma. If the 
user is within the domains listed here, no problem. If not, the user 
is silently logged into the main site :-).
.IP OutsideConnections
if this is 0 the the user is NOT logged into any other 
site but given an "access denied" instead.
.IP MaxLoginTime
Maximum time of single session (in hours). After given time user will be logget out.
.IP NoAdvertisements
Turn advertisements off.
.IP AfterLogout
URL to http page showed after user logout.
.IP NoReverseLookup
????
.br
Copied from original server.conf:
Desable reverse DNS lookup on login
.SH "SEE ALSO"
.B mailreader.config
(5) and http://www.mailreader.com
.SH AUTHOR
This manual page was written by 
.br
Wojciech Jeczmien <Wojciech.Jeczmien@ocean.univ.gda.pl>,
.br
for the Debian GNU/Linux system
(but may be used by others).