我刚把一个Debian Lenny盒子升级到Wheezy,发现suidperl已经不在了。 谷歌search显示,上游维护者删除它;
我需要 suidperl来运行我们的邮件安装,Open Webmail。
我没有时间。
谷歌search没有显示简单的解决方法。
有人在这里知道如何得到suidperl喘息? 只是? 谢谢。
底线:如果您没有时间,则需要恢复到升级前的系统快照/备份,直到您有时间迁移到不推荐使用弃用技术的Webmail系统。
据我所知(从我看到一个开放的webmail安装可能已经8年了),打开webmail直接读取邮件假脱机(因此需要suid),而大多数webmail系统与IMAP服务器交互,而不是(需要suid到它所在的邮件服务器)。
据我所知,suidperl在2008年被删除了 (?),因为在上游级别(即:在Debian之上)没有人想维护它,换句话说,suidperl在任何地方都不存在。 你幸运地拥有这么久的唯一原因是因为Debian stable使用了大多数软件的老版本(带有backported安全修复)。 这不是Debian的错,它已经不存在了。
如果您真的想继续使用开放的networking邮件,因为某种原因,您唯一的select是遵循Open Webmail常见问题解答第4部分:e(ps,ps),地址是http://openwebmail.org/openwebmail/doc/ faq.txt其中规定:
ps: If you don't want to recompile perl, you choose to may use misc/tools/suidwrap.pl to generate C wrappers for all suid scripts. However, this is not recommended at all, as you will not be able to use SpeedyCGI with the openwebmail system. Here are the steps: 1. cd cgi-bin/openwebmail 2. perl misc/tool/wrapsuid/wrapsuid.pl /fullpath/cgi-bin/openwebmail 3. change #!/usr/bin/suidperl to the path of your perl All suid scripts will be renamed to .scriptname.pl and the C wrapper will be generated and named as script.pl (thanks to Chris Heegard, heegard.AT.NativeI.com) The spellcheck may not work on Solaris when using C wrappers. (thanks to Isam Ishaq, isam.AT.planet.edu)
抱歉,坏消息,但有时没有好的答案:\
我得到了openwebmail 2.53 +迅速和c – wrappers工作:
1 – 从http://daemoninc.com/SpeedyCGI/download.html下载快速2.22源代码
2 – 提取tar.gz并编辑这个编译:
/src/speedy_backend_main.h:
– #define speedy_new(s,n,t)New(123,s,n,t)
+#define speedy_new(s,n,t)Newx(s,n,t)
( http://sourceforge.net/p/speedycgi/bugs/91/#7fc6 )
3 – perl Makefile.PL; 使; 使安装(不要打扰添加-DIAMSUID)
4 – 改变#! 在你的openwebmail * .pl中input
/ usr / bin / speedy – -T / tmp / speedy
5 – 在您的openwebmail * .pl目录中,运行c wrapper脚本(相应地更改目录):
perl misc / tools / wrapsuid / wrapsuid.pl / var / www / owtest / cgi-bin / openwebmail
6 – chmod u + s openwebmail * pl
这对我的挤压服务器(我准备升级到喘息,所以我需要那个工作)。
(请注意,我的openwebmail 2.53不是股票2.53,但可能是介于3和3beta之间,但它应该适用于两者)
感谢所有的处方,提示和帮助。
Speedy和suid在最近的Debian8(Jessie)64位安装中都可以正常工作! 在VirtualPrivateServer上安装新的Debian8我还需要进行pamauthentication:
apt-get install libpam-dev perl -MCPAN -e shell install Authen::PAM exit
另外还需要chmod 2750用于所有.openwebmail/db目录中的所有文件。
否则, openwebmail/shares/maildb.pl脚本会抱怨无法打开数据库。
除此之外,似乎一切正常!