我正在升级一个服务器,现有的perl程序需要IMAP::Sieve perl模块。我的问题是我在网上找不到任何关于它的参考资料。有人知道它是否被别的什么东西取代了吗?或者我能在哪里找到它?
我们使用的现有perl程序是websieve (可以在SourceForge上找到)。我们不想使用其他的东西,因为我们定制它,它是完美的工作。该脚本还使用IMAP::Admin。
非常感谢你的暗示和建议。
发布于 2014-09-19 13:34:21
通常,对于旧模块来说,可以使用的地方是后座,但是看起来它实际上是其他东西的一部分和生活在sourceforge上,而不是cpan:
用于在Cyrus IMAP邮件服务器上创建筛子脚本的一个Perl模块。有时也被称为“perlsieve”。 WWW:http://sourceforge.net/projects/websieve
在tarball的最新版本中,有一个tarball用于perlsieve 0.4.9,其make文件如下:
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'IMAP::Sieve',
'VERSION_FROM' => 'Sieve.pm', # finds $VERSION
);所以用老式的方式安装它:
D:\websieve-063a\perlsieve-0.4.9>dmake install
Installing D:\perl\perl\site\lib\IMAP\Sieve.pm
Installing D:\perl\perl\site\lib\IMAP\testssl.pl
Appending installation info to D:\perl\perl\lib/perllocal.pod
D:\websieve-063a\perlsieve-0.4.9>perl Makefile.PL
Generating a dmake-style Makefile
Writing Makefile for IMAP::Sieve
Writing MYMETA.yml and MYMETA.json
D:\websieve-063a\perlsieve-0.4.9>dmake
Skip blib\lib\IMAP\testssl.pl (unchanged)
Skip blib\lib\IMAP\Sieve.pm (unchanged)
D:\websieve-063a\perlsieve-0.4.9>dmake install
Appending installation info to D:\perl\perl\lib/perllocal.pod
D:\websieve-063a\perlsieve-0.4.9>可以在dmake test之前使用dmake install,它提示测试服务器条件,我没有。
https://stackoverflow.com/questions/25934957
复制相似问题