zeMail 1.0 review
DownloadzeMail is a minimalist webmail package written in Mason
|
|
zeMail is a minimalist webmail package written in Mason. It implements the basic features one would expect from an IMAP mail client, displaying folder and message contents, handling attachments and allowing you to move, mark and purge your messages.
zeMail package is written in plain HTML, and uses JavaScript only to reduce the click count, it will work perfectly with scripting disabled. Compared to the modern AJAX trend, this web mail package is designed to work everywhere.
Installation:
Download and unpack the tarball. Copy the directory lib/Zentus into your Perl inc. path (/usr/local/lib/perl/5.8.4 on Debian).
Copy the contents of mason/ into the desired subdirectory of your Apache htdocs directory or virtual host. Then add the following to your httpd.conf:
PerlModule Zentus::Mail::Connection
PerlModule Zentus::Mail::AttachmentHandler
PerlModule HTML::Mason::ApacheHandler
PerlModule Apache::Session::File
PerlModule Text::Autoformat
< Location / >
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
DirectoryIndex folder
< /Location >
< Location /attachment >
SetHandler perl-script
PerlHandler Zentus::Mail::AttachmentHandler
< /Location >
< LocationMatch "(/icons|/images|.ico|.html|.txt)" >
SetHandler default-handler
< /Location >
< LocationMatch "(autohandler|dhandler|.inc)" >
SetHandler None
< /Location >
This code segment can be added as-is if you intend to devote a VirtualHost to zeMail, otherwise prefix a directory name in the < Location > and < LocationMatch > tags.
Now install the necessary Perl modules from CPAN:
cpan -i HTML::Mason # or deb: libhtml-mason-perl
cpan -i Apache::Session # or deb: libapache-session-perl
cpan -i DB_File::Lock # or deb: libdb-file-lock-perl
cpan -i Text::Autoformat # or deb: libtext-autoformat-perl
cpan -i HTML::FormatText # or deb: libhtml-format-perl
cpan -i Net::IMAP::Simple # (needed really in name only,
# to be removed in next release)
You may have to create the temporary directory manually:
mkdir /tmp/zemail
chown www /tmp/zemail
Now restart your Apache and your are good to go.
What's New in This Release:
Supports all basic forms of email, strips out MIME, displays attached images inline, and lets you download the rest.
zeMail 1.0 keywords