「admin」的全部文章

寫好電子報輸出系統

被催了很久,昨天終於搞定。

http://www.fhl.net/main/fhl.php

可以接受一個參數 encoding 目前僅可以加上 gb2312 來轉簡體。

另外,昨天亞太固網來電,關心線路的穩定度問題,已經回報近日不穩的狀況。

昨天修正icecast偵測系統,把北美偵站測移到北美去,這樣就可以減少網路不穩擁塞造成的誤警報,未來應該可以進一步改成「自動修復」。

openwebmail 安裝小抄

先由 http://openwebmail.org/ 下載 openwebmail

到 tmp 下 tar zxvf openwebmail.xxx.tar.gz

然後 

mv  ~xxx/WWW/data/openwebmail ~xxx/WWW/openwebmai.bak  #備份一下

mv data/openwebmail ~xxx/WWW/data/openwebmail  #放入新的 html

mv  ~xxx/cgi-bin/openwebmail ~xxx/openwebmail.bak

mv cgi-bin/lopenwebmail ~xxx/cgi-bin/openwebmail

cd  ~xxx/service/cgi-bin/openwebmail/etc

vi  openwebmail.conf

修改:

mailspooldir            /var/spool/mail

ow_cgidir               /home/xxx/cgi-bin/openwebmail

ow_htmldir              /home/xxx/WWW/data/openwebmail

default_ctrlposition_folderview top
default_ctrlposition_msgread    top

default_language                zh_TW.utf8

default_iconset                 Cool3D.Chinese.Traditional
<default_signature>
—
WebMail Service of fhl (http://wmail.fhl.net)
</default_signature>

然後

cp defaults/auth_unix.conf .

vi auth_unix.conf 

修改

passwdfile_plaintext    /etc/passwd
passwdfile_encrypted    /etc/shadow
passwdmkdb              none

新增

/home/xxxx/cgi-bin/openwebmail/etc/dbm.conf 

裡面放入

dbm_ext             .db
dbmopen_ext         .db
dbmopen_haslock     no


 最後

/home/xxxx/cgi-bin/openwebmail/openwebmail-tool.pl –init