dacota 發表於 2009-1-31 23:36:31

Ubuntu 8.04 LTS 伺服器安裝-安裝 openwebmail

安裝 openwebmail

使用 apt 來安裝 openwebmail ^_^
https://www.ubuntu.org.tw/modules/newbb/viewtopic.php?topic_id=3857

vi /etc/apt/sources.list #編輯 apt 的sources.list 檔,新增以下一行,增加 openwebmail 的來源代碼:
deb ftp://debian.tnc.edu.tw/pub1 b2d/

apt-get update #update apt 的資料庫
apt-get install openwebmail #以 apt 來安裝 openwebmail
執行 apt 安裝 openwebmail 時,某些套件尚未安裝,可能無法進行,請執行以下指令來安裝這些套件
apt-get install libconvert-asn1-perl libnet-ldap-perl libperl5.8 libpg-perl perl-suid wwwconfig-common

apt-get install ispell

apt-get install spamassassin

apt-get install openwebmail #目前剩下兩個沒有辦法 apt ,mindterm 及 clamav,按下 y 進行安裝 openwebmail

/etc/init.d/apache2 restart #重新啟動 apache


vi /usr/lib/cgi-bin/openwebmail/etc/openwebmail.conf

domainnames auto #如果 openwebmail 判斷錯誤郵件伺服主機 (kitty@mail.unknown),將 auto 修改成自己的郵件主機
default_iconset default → default_iconset Cool3D.Chinese.Traditional #預設中文按鈕
enable_sshterm no #禁止使用 open webmail 以ssh登入主機

修改使用者寄信的預設簽名檔
<default_signature>
修改您想要呈現的簽名檔
</default_signature>
儲存檔案

/usr/lib/cgi-bin/openwebmail/openwebmail-tool.pl --init #修改完執行該行指令才會生效


#編修openwebmail.conf 設定檔
vi /usr/lib/cgi-bin/openwebmail/etc/defaults/openwebmail.conf

default_filter_badaddrformat no #過濾寄件人地址格式不正確的信件
default_filter_fakedsmtp no #過濾偽造來源端的信件
default_filter_fakedfrom no #過濾偽造寄件人地址的信件
default_filter_fakedexecontenttype no #過濾偽造 EXE 附件型態的信件
以上四個 filter 在 openwebmail.conf.default 中內定是關閉的,如果要啟動他們的功能,將 no 修改為 yes 。

預設圖示
將 default_iconset 後面改成要的圖案
logo_link 修改欲連結的網址

增加校名或注意事項
<page_footer>
<a href="%ow_htmlurl%/openwebmail.html" target="_blank$version %version%
&
<a accesskey="H" href="%help_url%" target="_help">%help_text%?</a>
</page_footer>內

------------------------------------------------------------------------------------------------------------------------------
如果登入 openwebmail 後出現:讀取無法鎖定 /var/mail/XXXXX!
cd /var/mail
ls -la
在 /var/mail 還沒有該位使用者的郵件,猜想可能是這個原因?
目前解決的方法,郵件一封郵件給這位使用者,下次他登入時,就可以成功登入了 >_<

------------------------------------------------------------------------------------------------------------------------------
如果升級 OpenWebMail 至 2.53-B2D 無法登入,解決方法如下
https://b2d.tnc.edu.tw/phpBB2/viewtopic.php?t=2729

不能登入的原因是您的系統不支援 blowfish 加密,只能使用舊的 auth_unix.pl,但升級時已經把 auth_unix.pl 覆蓋,導致無入 >_< ,下載舊的 auth_unix.pl,就可以登入了。

cd /usr/lib/cgi-bin/openwebmail/auth
mv auth_unix.pl auth_unix.pl.old
wget ftp://ftp3.tnc.edu.tw/b2d/openwebmail/auth_unix.pl
頁: [1]
查看完整版本: Ubuntu 8.04 LTS 伺服器安裝-安裝 openwebmail