Openwebmail Configuration
I
used Debian 6.0.0 OS.
Step: 1 At first we need apache.
apt-get install apache2
Step: 2 Download openwebmail tar from internet.
#wget http://www.openwebmail.org/openwebmail/download/release/openwebmail-2.53.tar.gz
Step: 3 tar -zxvf openwebmail-2.53.tar.gz
you will get to dirrectories named: "data" and "cgi-bin"
Step: 1 At first we need apache.
apt-get install apache2
Step: 2 Download openwebmail tar from internet.
#wget http://www.openwebmail.org/openwebmail/download/release/openwebmail-2.53.tar.gz
Step: 3 tar -zxvf openwebmail-2.53.tar.gz
you will get to dirrectories named: "data" and "cgi-bin"
Step: 4 cp -R cgi-bin/openwebmail /usr/lib/cgi-bin/
# cd data/
cp -R openwebmail /var/www
vim /usr/lib/cgi-bin/openwebmail/etc/openwebmail.conf
Edit the following:
domainnames pijush.com
auth_module auth_unix.pl
mailspooldir /var/mail
ow_cgidir /usr/lib/cgi-bin/openwebmail
ow_cgiurl /cgi-bin/openwebmail
ow_htmldir /var/www/openwebmail
ow_htmlurl /openwebmail
logfile /var/log/openwebmail.log
# cd data/
cp -R openwebmail /var/www
vim /usr/lib/cgi-bin/openwebmail/etc/openwebmail.conf
Edit the following:
domainnames pijush.com
auth_module auth_unix.pl
mailspooldir /var/mail
ow_cgidir /usr/lib/cgi-bin/openwebmail
ow_cgiurl /cgi-bin/openwebmail
ow_htmldir /var/www/openwebmail
ow_htmlurl /openwebmail
logfile /var/log/openwebmail.log
Step: 5 vim /usr/lib/cgi-bin/openwebmail/etc/defaults/auth_unix.conf
Edit the following:
passwdfile_encrypted /etc/shadow
passwdmkdb none
Step: 6 vim /usr/lib/cgi-bin/openwebmail/etc/defaults/dbm.conf
Edit the following:
dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no
Step: 7 Install the following dependencies.
apt-get install perl-suid
Step: 8 apt-get install libhtml-template-perl
Step: 9 cd /usr/lib/cgi-bin/openwebmail
#chmod 4555 *.pl
Step: 10 cd /var/www
# chown -R www-data:www-data openwebmail
Step: 11 cd /usr/lib/cgi-bin/openwebmail/etc/
# chmod 777 sessions
Step: 12 cd /usr/lib/cgi-bin/openwebmail
# ./openwebmail-tool.pl --init
Comments
Post a Comment