How to configure Openwebmail in debian wheezy
Posted by Md. Mahidul Hasan on 3:29 AM with No comments
How to configure Openwebmail in debian wheezy
# apt-get install apache2 gcc g++
# cd /var/www
# wget http://openwebmail.acatysmoof.com/download/current/openwebmail-current.tar.gz
# tar xvf openwebmail-current.tar.gz
# cp -R cgi-bin/openwebmail /usr/lib/cgi-bin/
# cd data/
# mv openwebmail /var/www
# vim /usr/lib/cgi-bin/openwebmail/etc/openwebmail.conf
domainnames arif.com #< change your domain name here
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
# vim /usr/lib/cgi-bin/openwebmail/etc/defaults/auth_unix.conf
passwdfile_encrypted /etc/shadow
passwdmkdb none
# vim /usr/lib/cgi-bin/openwebmail/etc/defaults/dbm.conf
dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no
# apt-get install perl-suid libhtml-template-perl
# cd /usr/lib/cgi-bin/openwebmail
# chmod 4555 *.pl
# cd /var/www
# chown -R www-data:www-data openwebmail
# cd /usr/lib/cgi-bin/openwebmail/etc/
# chmod 777 sessions
# cd /usr/lib/cgi-bin/openwebmail
# ./openwebmail-tool.pl --init
# cd /var/www/openwebmail
# cp redirect.html /var/www/index.html
That’s it. Installation is complete. Now type this address to login to the web page.
http://***.***.***.***/openwebmail/
http://***.***.***.***/cgi-bin/openwebmail/openwebmail.pl
# apt-get install apache2 gcc g++
# cd /var/www
# wget http://openwebmail.acatysmoof.com/download/current/openwebmail-current.tar.gz
# tar xvf openwebmail-current.tar.gz
# cp -R cgi-bin/openwebmail /usr/lib/cgi-bin/
# cd data/
# mv openwebmail /var/www
# vim /usr/lib/cgi-bin/openwebmail/etc/openwebmail.conf
domainnames arif.com #< change your domain name here
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
# vim /usr/lib/cgi-bin/openwebmail/etc/defaults/auth_unix.conf
passwdfile_encrypted /etc/shadow
passwdmkdb none
# vim /usr/lib/cgi-bin/openwebmail/etc/defaults/dbm.conf
dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no
# apt-get install perl-suid libhtml-template-perl
# cd /usr/lib/cgi-bin/openwebmail
# chmod 4555 *.pl
# cd /var/www
# chown -R www-data:www-data openwebmail
# cd /usr/lib/cgi-bin/openwebmail/etc/
# chmod 777 sessions
# cd /usr/lib/cgi-bin/openwebmail
# ./openwebmail-tool.pl --init
# cd /var/www/openwebmail
# cp redirect.html /var/www/index.html
That’s it. Installation is complete. Now type this address to login to the web page.
http://***.***.***.***/openwebmail/
http://***.***.***.***/cgi-bin/openwebmail/openwebmail.pl
0 comments:
Post a Comment