Openwebmail Installation

Home » Computer Articles » Linux » Openwebmail Installation
May 23, 2008 Linux No Comments

Download Openwebmail from this web site Openwebmail

This of course will not be the current Readme file.

If you want to look at Openwebmail readme file click on link. Openwebmail Readme file

Needed application before installation.

You of course need to have Apache installed and running.
There might be other applications that need to be installed,
like ispell spell checker. But this is beyond this document.

Make sure you have openssl-devel and db4-devel installed.

swup --install openssl-devel

swup --install db4-devel

Install Perl modules in the CPAN shell, make sure to install top one first and then work down the list.

perl -MCPAN -e shell hit enter

install Bundle::CPAN hit enter
install Archive::Zip hit enter
install File::SPEC hit enter
install Digest::MD5 hit enter
install Digest::SHA1 hit enter
install Digest::HMAC hit enter
install MIME::Base64 hit enter
install HTML::Tagset hit enter
install HTML::Parser hit enter
install Net::FTP hit enter
install URI hit enter
install Bundle::LWP hit enter
install CGI hit enter
install Mail::Address hit enter
install MIME::Body hit enter
install IO::AtomicFile hit enter
install MIME:Lite hit enter
install Mail:Sender hit enter
install Net::DNS hit enter
install Net::SSLeay hit enter
install Net::Server hit enter
install Text::Iconv hit enter
install Time::HiRes hit enter
install Unix::Syslog hit enter
install Data::Dump hit enter
install WWW::Chat hit enter
install Convert::TNEF hit enter
install Convert::UUlib hit enter
install DB_FIle hit enter

INSTALL OPENWEBMAIL

If this is a upgrade, then a extra step would be to make a backup of the /home/httpd directory.

   cd /home
   tar -zcf httpd.tgz httpd

1. cd /home/httpd

    tar -zxvBpf openwebmail-X.XX.tar.gz
    mv data/openwebmail html/
    rmdir data

2. cd /home/httpd/cgi-bin/openwebmail/etc

    modify auth_unix.conf from defaults/auth_unix.conf
    a. set passwdfile_encrypted to '/etc/shadow'
    b. set passwdmkdb           to 'none'

3. add

    /var/log/openwebmail.log {
        postrotate
            /usr/bin/killall -HUP syslogd
        endscript
    }
    to /etc/logrotate.d/syslog to enable logrotate on openwebmail.log

4. execute /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

    Follow anything it may ask you to do.
Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *