This is an old revision of the document!
Table of Contents
Installing OpenWebMail in Slackware64 14.0
Topic about openwebmail installation and setup for can use your mailbox over web interface from any place, where you get internet access and can run webbrowser.
It be based on Slackware64 14.0 64 bit OS and latest openwebmail-current.tar.gz (actually ver 2.53)
It means, you are configured and running Apache web server and Sendmail mailserver.
Install libraries and required packages
Using CPAN via CPAN.pm:
perl -MCPAN -e shell [as root] o conf prerequisites_policy ask
then:
install CGI install Compress:Zlib install Convert::ASN1 install Digest install Digest::MD5 install IO::Socket::SSL install MIME::Base64 install Net::SSLeay install Text::Iconv quit
Install OpenWebMail
- First, download latest openwebmail: http://openwebmail.org/openwebmail/download/current/openwebmail-current.tar.gz
- Create an folder when you want, say a “/ADISKS/openwebm_inst” and move openwebmail-current.tar.gz in that
- extract files with command
tar -zxvBpf openwebmail-current.tar.gz
<note important>Use “tar” with “-zxvBpf” option, due to strange files permissions inside that archive. I try to untar it via midnight comander built-in archive tools, ans wrapsuid script not work due this… </note>
- move untar folder /cgi-bin/openwebmail to /var/www/cgi-bin/openwebmail
- move untar folder /data/openwebmail to your webserver root ( /var/www/openwebmail )
- go to /var/www/openwebmail, delete index.html and do
ln -s redirect.html index.html
- go /var/www/cgi-bin/openwebmail and do
perl misc/tools/wrapsuid/wrapsuid.pl /var/www/cgi-bin/openwebmail
you must get
Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-folder.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-main.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-read.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-send.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-cal.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-webdisk.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-advsearch.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-abook.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-viewatt.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-vdomain.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-saprefs.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-prefs.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-tool.pl Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-spell.pl
- then go to
/var/www/cgi-bin/openwebmail/etc
and edit configs: - changes openwebmail.conf according to:
domainnames auto auth_module auth_unix.pl mailspooldir /var/spool/mail ow_cgidir /var/www/cgi-bin/openwebmail ow_cgiurl /cgi-bin/openwebmail ow_htmldir /var/www/openwebmail ow_htmlurl / logfile /var/log/openwebmail.log
- Go to in
/var/www/cgi-bin/openwebmail/etc/defaults
, edit auth_unix conf to:passwdfile_plaintext /etc/passwd passwdfile_encrypted /etc/shadow passwdmkdb none
- In
/var/www/cgi-bin/openwebmail/etc/defaults
edit db.conf:dbm_ext .db dbmopen_ext .db dbmopen_haslock no
- Then, go to
/var/www/cgi-bin/openwebmail
and do./openwebmail-tool.pl --init
- after that, go to
/var/www/cgi-bin/openwebmail
, check it be a files starting with dot ( like .openwebmail.pl) and old-style ones (like openwebmail.pl). Dochmod u+s openwebmail*.pl in /var/www/cgi-bin/openwebmail
try to write down all my movings until i forget it - finish in 2-3 days, i think.
Links
Sources
* With help of user phenixia2003 from LinuxQuestions.org Forums
* Thanks for editing Eric Hameleers
* Originally written by John Ciemgals 2013/02/14 05:12