current 2.40 is running.
fetch 2.41
http://turtle.ee.ncku.edu.tw/openwebmail/download/release/openwebmail-2.41.tar.gz-> 更新 cgi 程式 與網頁資料
upgrade cgi & data folder
-> 建立資料組態檔案
vi etc/dbm.conf
dbm_ext .db
dbmopen_ext .db
dbmopen_haslock yes
-> 檢查
./openwebmail-tool.pl --init
./openwebmail-tool.pl --init
/usr/local/www/cgi-bin/openwebmail/etc/maps/b2g.map not found at ./openwebmail-tool.pl line 251.
-> 順應作者預設路徑,原在/var/www/cgi-bin
# mkdir -p /usr/local/www/cgi-bin
# ln -s /var/www/cgi-bin/openwebmail /usr/local/www/cgi-bin/openwebmail-> 與系統認證設定
vi cgi-bin/openwebmail/etc/defaults/auth_unix.conf
..
..
passwdfile_plaintext /etc/passwd
passwdfile_encrypted /etc/shadow
passwdmkdb none
-> 網頁文件的路徑alias更新,2.40/data, 2.41/openwebmail
httpd.conf
<VirtualHost WHERE.SITE.IS>
..
Alias /openwebmail/ /u/var/opt/owm/2.41/data/openwebmail/
<Directory "/u/var/opt/owm/2.41/data/openwebmail">
</Directory>
</VirtualHost>-> UI編輯組態發生檔案遺失錯誤,再順應一次
Q: 無法開啟 /usr/local/www/data/openwebmail/images/iconsets directory
for reading! (No such file or directory)
# ln -s /u/var/opt/owm/2.41/data/openwebmail /usr/local/www/data/openwebmail備註:
(!) 變更file UID發生PERL/SUID問題,變更原root:mail擁有權後:
chmod +s openwebmail-tool.pl