man mailreader.cfg (Formats) - configuration files for Mailreader.com
NAME
mailreader.cfg - configuration files for Mailreader.com
DESCRIPTION
Directory
/etc/mailreader
contains config files for
Mailreader.com
system. Most options are in
/etc/mailreader/server.cfg
NEED TO
be ended with slash (
/
) otherwise mailreader will not work.
OPTIONS
- 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).
- 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
Debian
this doesn't work because logs are outside the
and cannot be accessed via web browser
- VirtualGfxPath
- Path to graphics directory. (can be relative to DocumentRoot or full URL path with server name).
- 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).
- 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).
- CacheHashDepth
- Defines how many characters are used for hashing in /var/lib/mailreader/cache directory Attention! Please modify it only during first installation! (default=2)
- 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).
- AdvertisementPath
- Path to local directory containing advertisements. Graphics for advertisements have to go to DocumentRoot dir. Please check /var/lib/mailreader/ads/debian/ad.cfg and /var/lib/mailreader/ads/debian/ad.html for reference.
- Language
-
Default language, which is proposed to use during first use of
Mailreader
ATTENTION !!!
The login page still will be using default language set during instalation. If you want to change it you need to change LanguageOptions in /etc/mailreader/main.cfg - LogPath
- Local path to directory containing mailreader.log file. This file have to be writeable for user running http daemon.
- FeedbackEmail
- Account receiving feedback emails from user (listed on login page)
- AddressBook
- Default addressbook entries that are used when the user logs in the first time
AddressBook=Rulez: kim@holviala.com +sUcks: bill@everyonehates.com
- CreateFakePasswords
-
has files that contain user's passwords (with 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
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. - SMTPServers
- List (separated by a comma) of SMTP servers allowed to use for sending outgoing mails. First server is default one.
- OverrideHELO
-
Some SMTP servers only let you in if your
HELO domain
is correct.
Normally Mailreader uses users mailserver domain as
, but since some servers refuse those this will make it possible to lie. - OverrideMailFrom
- SMTP server requires 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.
- FullHTTPHeaders
- If set, sends full http header including HTTP/1.0 200
- DefaultMailserver
-
Default POP3 server showed in loginpage. Please consider modification of
/usr/lib/mailreader/html/login.html
to restrict using
Mailreader
to specific POP3 servers.
You can find sample file in /usr/share/doc/mailreader/login.html - find line with configServer text. - AllowedMailservers
- List of POP3 servers allowed to be reached from Mailreader Please note, that if someone enters an illegal POP3 server in login page program just exits without any note.
- 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 :-).
- OutsideConnections
- if this is 0 the the user is NOT logged into any other site but given an "access denied" instead.
- MaxLoginTime
- Maximum time of single session (in hours). After given time user will be logget out.
- NoAdvertisements
- Turn advertisements off.
- AfterLogout
- URL to http page showed after user logout.
- NoReverseLookup
-
????
Copied from original server.conf: Desable reverse DNS lookup on login
SEE ALSO
mailreader.config (5) and http://www.mailreader.com
AUTHOR
This manual page was written by
Wojciech Jeczmien <Wojciech.Jeczmien@ocean.univ.gda.pl>,
for the Debian GNU/Linux system
(but may be used by others).