9月 08, 2013
run OpenWebMail on Debian 7
# apt-get install build-essential
# cpan HTML::Template
# wget http://openwebmail.acatysmoof.com/download/current/openwebmail-current.tar.gz
# touch /var/log/openwebmail.log
# chown root:mail /var/log/openwebmail.log
# tar -zxvf openwebmail-current.tar.gz
# vim cgi-bin/openwebmail/etc/openwebmail.conf
ow_cgidir /var/www/cgi-bin/openwebmail
ow_cgiurl /cgi-bin/openwebmail
ow_htmldir /var/www/openwebmail
ow_htmlurl /openwebmail
# cp cgi-bin/openwebmail/etc/defaults/auth_unix.conf cgi-bin/openwebmail/etc/
# vim cgi-bin/openwebmail/etc/auth_unix.conf
passwdfile_plaintext /etc/passwd
passwdfile_encrypted /etc/shadow
passwdmkdb none
# cp cgi-bin/openwebmail/etc/defaults/dbm.conf cgi-bin/openwebmail/etc/
# vim cgi-bin/openwebmail/etc/dbm.conf
dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no
# mv cgi-bin/openwebmail/ /var/www/cgi-bin/
# mv data/openwebmail/ /var/www/
# cd /var/www/cgi-bin/openwebmail/
# chmod 4755 ./misc/tools/wrapsuid/wrapsuid.pl
# ./misc/tools/wrapsuid/wrapsuid.pl /var/www/cgi-bin/openwebmail/openwebmail*.pl
# chmod 600 ./misc/tools/wrapsuid/wrapsuid.pl
# chmod 4755 openwebmail*.pl
# ./openwebmail-tool.pl --init
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言