1.相關套件:
Sendmail
perl
openwebmail
perl
openwebmail
2.安裝套件:
在安裝系統時已將perl跟sendmail安裝完成,但openwebmail在centos官方yum server上並沒有
必須自己到openwebmail上取得,可google "openwebmail yum repo"有教學
設定好openwebmail.repo後
#yum search openwebmail
================================ Matched: openwebmail ================================
openwebmail.i386 : Open Webmail 2.30
openwebmail-data.i386 : openwebmail data package
#yum install openwebmail #會有錯誤訊息
openwebmail-2.53-3.i386 from openwebmail has depsolving problems
--> Missing Dependency: perl-Text-Iconv is needed by package openwebmail-2.53-3.i386 (openwebmail)
遇到這問題到openwebmail網站去找這個套件,下載下來用rpm安裝
#rpm -ivh http://套件網址 #rpm可直接安裝網路上的檔案
#yum install openwebmail #如還有其他錯誤訊息要處理掉
3.初始化openwebmail必須自己到openwebmail上取得,可google "openwebmail yum repo"有教學
設定好openwebmail.repo後
#yum search openwebmail
================================ Matched: openwebmail ================================
openwebmail.i386 : Open Webmail 2.30
openwebmail-data.i386 : openwebmail data package
#yum install openwebmail #會有錯誤訊息
openwebmail-2.53-3.i386 from openwebmail has depsolving problems
--> Missing Dependency: perl-Text-Iconv is needed by package openwebmail-2.53-3.i386 (openwebmail)
遇到這問題到openwebmail網站去找這個套件,下載下來用rpm安裝
#rpm -ivh http://套件網址 #rpm可直接安裝網路上的檔案
#yum install openwebmail #如還有其他錯誤訊息要處理掉
#rpm -ql openwebmail #可觀察到程式安裝於/var/www/cgi-bin/openwebmail下
#cd /var/www/cgi-bin/openwebmail
#./openwebmail-tool.pl --init //做openwebmail初始化
creating db /var/www/cgi-bin/openwebmail/etc/maps/b2g ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/g2b ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/lunar ...done.
Creating UTF-8 locales...
langconv ar_AE.CP1256 -> ar_AE.UTF-8
langconv ar_AE.ISO8859-6 -> ar_AE.UTF-8
langconv bg_BG.CP1251 -> bg_BG.UTF-8
langconv ca_ES.ISO8859-1 -> ca_ES.UTF-8
langconv cs_CZ.ISO8859-2 -> cs_CZ.UTF-8
langconv da_DK.ISO8859-1 -> da_DK.UTF-8
langconv de_DE.ISO8859-1 -> de_DE.UTF-8
langconv el_GR.ISO8859-7 -> el_GR.UTF-8
langconv en_US.ISO8859-1 -> en_US.UTF-8
langconv es_AR.ISO8859-1 -> es_AR.UTF-8
langconv fi_FI.ISO8859-1 -> fi_FI.UTF-8
langconv fr_FR.ISO8859-1 -> fr_FR.UTF-8
langconv he_IL.CP1255 -> he_IL.UTF-8
langconv hr_HR.ISO8859-2 -> hr_HR.UTF-8
langconv hu_HU.ISO8859-2 -> hu_HU.UTF-8
langconv id_ID.ISO8859-1 -> id_ID.UTF-8
langconv it_IT.ISO8859-1 -> it_IT.UTF-8
langconv ko_KR.eucKR -> ko_KR.UTF-8
langconv lt_LT.CP1257 -> lt_LT.UTF-8
langconv nl_NL.ISO8859-1 -> nl_NL.UTF-8
langconv no_NO.ISO8859-1 -> no_NO.UTF-8
langconv pl_PL.ISO8859-2 -> pl_PL.UTF-8
langconv pt_BR.ISO8859-1 -> pt_BR.UTF-8
langconv pt_PT.ISO8859-1 -> pt_PT.UTF-8
langconv ro_RO.ISO8859-2 -> ro_RO.UTF-8
langconv ru_RU.KOI8-R -> ru_RU.UTF-8
langconv sk_SK.ISO8859-2 -> sk_SK.UTF-8
langconv sl_SI.CP1250 -> sl_SI.UTF-8
langconv sr_CS.ISO8859-2 -> sr_CS.UTF-8
langconv sv_SE.ISO8859-1 -> sv_SE.UTF-8
langconv th_TH.TIS-620 -> th_TH.UTF-8
langconv tr_TR.ISO8859-9 -> tr_TR.UTF-8
langconv uk_UA.KOI8-U -> uk_UA.UTF-8
...done.
Welcome to the OpenWebMail!
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.6.18-194.el5 i686
Perl: 5.008008
WebMail: OpenWebMail 2.53 20080123
Send the site report?(Y/n) n
Thank you.
#/etc/init.d/httpd restart //重啟apache
用browser連上http://ip or 網址/webmail應可看到登入畫面
#cd /var/www/cgi-bin/openwebmail
#./openwebmail-tool.pl --init //做openwebmail初始化
creating db /var/www/cgi-bin/openwebmail/etc/maps/b2g ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/g2b ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/lunar ...done.
Creating UTF-8 locales...
langconv ar_AE.CP1256 -> ar_AE.UTF-8
langconv ar_AE.ISO8859-6 -> ar_AE.UTF-8
langconv bg_BG.CP1251 -> bg_BG.UTF-8
langconv ca_ES.ISO8859-1 -> ca_ES.UTF-8
langconv cs_CZ.ISO8859-2 -> cs_CZ.UTF-8
langconv da_DK.ISO8859-1 -> da_DK.UTF-8
langconv de_DE.ISO8859-1 -> de_DE.UTF-8
langconv el_GR.ISO8859-7 -> el_GR.UTF-8
langconv en_US.ISO8859-1 -> en_US.UTF-8
langconv es_AR.ISO8859-1 -> es_AR.UTF-8
langconv fi_FI.ISO8859-1 -> fi_FI.UTF-8
langconv fr_FR.ISO8859-1 -> fr_FR.UTF-8
langconv he_IL.CP1255 -> he_IL.UTF-8
langconv hr_HR.ISO8859-2 -> hr_HR.UTF-8
langconv hu_HU.ISO8859-2 -> hu_HU.UTF-8
langconv id_ID.ISO8859-1 -> id_ID.UTF-8
langconv it_IT.ISO8859-1 -> it_IT.UTF-8
langconv ko_KR.eucKR -> ko_KR.UTF-8
langconv lt_LT.CP1257 -> lt_LT.UTF-8
langconv nl_NL.ISO8859-1 -> nl_NL.UTF-8
langconv no_NO.ISO8859-1 -> no_NO.UTF-8
langconv pl_PL.ISO8859-2 -> pl_PL.UTF-8
langconv pt_BR.ISO8859-1 -> pt_BR.UTF-8
langconv pt_PT.ISO8859-1 -> pt_PT.UTF-8
langconv ro_RO.ISO8859-2 -> ro_RO.UTF-8
langconv ru_RU.KOI8-R -> ru_RU.UTF-8
langconv sk_SK.ISO8859-2 -> sk_SK.UTF-8
langconv sl_SI.CP1250 -> sl_SI.UTF-8
langconv sr_CS.ISO8859-2 -> sr_CS.UTF-8
langconv sv_SE.ISO8859-1 -> sv_SE.UTF-8
langconv th_TH.TIS-620 -> th_TH.UTF-8
langconv tr_TR.ISO8859-9 -> tr_TR.UTF-8
langconv uk_UA.KOI8-U -> uk_UA.UTF-8
...done.
Welcome to the OpenWebMail!
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.6.18-194.el5 i686
Perl: 5.008008
WebMail: OpenWebMail 2.53 20080123
Send the site report?(Y/n) n
Thank you.
#/etc/init.d/httpd restart //重啟apache
用browser連上http://ip or 網址/webmail應可看到登入畫面
4.Openwebmail相關設定:
#vim /var/www/openwebmail/etc/openwebmail.conf
//修改預設語系
#default_language en
default_language zh_TW.utf8
//修改icon變中文版本
#default_iconset Cool3D.English
default_iconset Cool3D.Chinese.Traditional
//更換登入時的logo與連結
#logo_url %ow_htmlurl%/images/openwebmail.gif
#logo_link http://openwebmail.org
//根據%ow_htmlurl%設定,圖檔應放置在/var/www/data/openwebmail/images
logo_url %ow_htmlurl%/images/marcus.gif
logo_link http://www.a238.snpy.org
#default_language en
default_language zh_TW.utf8
//修改icon變中文版本
#default_iconset Cool3D.English
default_iconset Cool3D.Chinese.Traditional
//更換登入時的logo與連結
#logo_url %ow_htmlurl%/images/openwebmail.gif
#logo_link http://openwebmail.org
//根據%ow_htmlurl%設定,圖檔應放置在/var/www/data/openwebmail/images
logo_url %ow_htmlurl%/images/marcus.gif
logo_link http://www.a238.snpy.org
沒有留言:
張貼留言