以之前在讨论区上post的安装方法,收发信皆很正常,唯独行事历却完全不会动作,
也无错误任何讯息。
以下是我的解决步骤:
downLoad 下列档案
http://openwebmail.org/openwebmail/...e64-2.12.tar.gz
http://openwebmail.org/openwebmail/...t-1.0901.tar.gz
http://openwebmail.org/openwebmail/...021204.i386.rpm
安装 MIME-Base64
For MIME-Base64 do the following:
cd /tmp
tar -zxvf MIME-Base64-2.12.tar.gz
cd MIME-Base64-2.12
perl Makefile.PL
make
make install
ps: Though you may already have the MIME-Base64 perl module,
we recommended you install MIME-Base64 module from source.
This would enable the XS support in this module which greatly
improves the encoding/decoding speed of MIME attachment.
安装libnet
For libnet do the following:
cd /tmp
tar -zxvf libnet-1.0901.tar.gz
cd libnet-1.0901
perl Makefile.PL (ans 'no' if asked to update configuration)
make
make install
先备份 cp /var/www/cgi-bin/openwebmail/ect/openwebmail.conf /backup
安装新下载的openwebmail
rpm -Uvh openwebmail-1.81-20021204.i386.rpm
参考备份的 /backup/openwebmail.conf
修改 /var/www/cgi-bin/openwebmail/ect/openwebmail.conf
重新初始化openwebmail
cd /var/www/cgi-bin
[root@justdoit openwebmail]# ./openwebmail-tool.pl --init
此时出现错误讯息
WARNING!
The perl on your system has serious bug in routine tell()!
While openwebmail can work properly with this bug, other perl application
may not function properly and thus cause data loss.
We suggest that you should patch your perl as soon as possible.
Please hit 'Enter' to continue or Ctrl-C to break.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm line 259.
Please modify /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm by adding
$arg[3] = 0666 unless defined $arg[3];
before the following text (about line 247)
# make recno in Berkeley DB version 2 work like recno in version 1
And execute './openwebmail-tool.pl --init' again!.
依错误讯息的意思
修改
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm
在247行加入
$arg[3] = 0666 unless defined $arg[3];
w!存盘,要加! (因为是编辑只读档)
重新初始化
./openwebmail-tool.pl --init
OK!!
后记:
虽然一并做了更新openwebmail的动作,但是我觉得关键应该是
未安装MIME-Base64 套件,安装后再重新初始化,应该就可以!
因为在我做openwebmail初始化的动作之前(此时,已完成套件安装及openwebmail更新),
进入openwebmail,行事历功能仍然不会动作,直到,我重新再做初始化, 行事历功能就恢复正常!