Monday, December 9, 2013

How to Configure OpenWebMail in Debian Squeeze

# apt-get install apache2

# 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                   mehedi.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

# 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

# apt-get install libhtml-template-perl

# cd /usr/lib/cgi-bin/openwebmail

# chmod 4555 *.pl  [After 4555 there should be a space]

# 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

# cp redirect.html 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

No comments:

Post a Comment