幾個以 PHP 為運作環境的 Webmail:
1月 28, 2016
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
3月 18, 2012
Exim4 與 SquirrelMail 設定
設定 Exim4
# apt-get install dovecot-common dovecot-imapd dovecot-pop3d
# vim /etc/dovecot/dovecot.conf 加入
protocols = imap imaps pop3 pop3s# vim /etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='internet'# exim4 -bt user (檢測郵件派送路徑)
# 接收 user@mail.server.net 的信件
dc_other_hostnames='mail.server.net'
# 接受各方連線
dc_local_interfaces='0.0.0.0'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
R: system_aliases for user@mail.server.net
R: userforward for user@mail.server.net
R: procmail for user@mail.server.net
R: maildrop for user@mail.server.net
R: lowuid_aliases for user@mail.server.net (UID 1000)
R: local_user for user@mail.server.net
user@mail.server.net
router = local_user, transport = mail_spool
設定 SquirrelMail
1. 至 SquirrelMail 網站下載最新版
2. 在 SquirrelMail Configuration - Languages 下面(控制信件內容)
Default Language : zh_TW3. 在 functions/i18n.php 下面改成 (控制信件列表)
Default Charset : UTF-8
$languages['zh_TW']['NAME'] = 'Chinese Trad';
$languages['zh_TW']['CHARSET'] = 'big5';
$languages['zh_TW']['LOCALE'] = array('zh_TW.UTF-8', 'zh_TW.big5');
$languages['tw']['ALIAS'] = 'zh_TW';
訂閱:
文章 (Atom)