首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >哪里可以找到旧的IMAP::Sieve模块

哪里可以找到旧的IMAP::Sieve模块
EN

Stack Overflow用户
提问于 2014-09-19 13:20:19
回答 1查看 182关注 0票数 1

我正在升级一个服务器,现有的perl程序需要IMAP::Sieve perl模块。我的问题是我在网上找不到任何关于它的参考资料。有人知道它是否被别的什么东西取代了吗?或者我能在哪里找到它?

我们使用的现有perl程序是websieve (可以在SourceForge上找到)。我们不想使用其他的东西,因为我们定制它,它是完美的工作。该脚本还使用IMAP::Admin

非常感谢你的暗示和建议。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 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文件如下:

代码语言:javascript
复制
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
);

所以用老式的方式安装它:

代码语言:javascript
复制
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,它提示测试服务器条件,我没有。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25934957

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档