阅 读 文 章

Linux IMP安装及相关问题集

[来源:网上转载 () | 作者:网友() | 时间:2007-07-07 | 浏览:人次 ]

(最近修正:2000/7/28)
 分享imp 附件另存时的档名问题(2000/7/28)
(颜国雄):
imp(2.0.11) 在处理用 Outlook 寄来的附件档,下载的部份少了一个将档名解码的动作,以致於无法正确的抓到原来的档名,不过,这锅好像还是得怪 Outlook 老用自己的标准!!
解决的方法很简单,只要在 imp/view.php3 中加入一行即可迎刃而解

找到 view.php3 中下面的部份
--------------------------------------------------------------------------
case DOWNLOAD_ATTACH:
$mime = new mime_part_data;
$mime->parse($part);

/* This should force a save file dialog... */
/* doesn’t seem to force save file dialog, using RFC822 does
* even for IE
* header("Content-type: application/octet-stream"); */
header("Content-type: application/RFC822");
break;

改成:
--------------------------------------------------------------------------
case DOWNLOAD_ATTACH:
$mime = new mime_part_data;
$mime->parse($part);

//就是下面这行啦!!将编码过的档名解码
$mime->name = chop(decode_mime_string($mime->name));

/* This should force a save file dialog... */
/* doesn’t seem to force save file dialog, using RFC822 does
* even for IE
* header("Content-type: application/octet-stream"); */
header("Content-type: application/RFC822");
break;
 简易安装
(蔡福兴):必须先把 apache php3 imap 装好!
1.把 horde-1.0.10.tar.gz & imp-2.0.11.tar.gz 抓回来
2.tar zxvf horde-1.0.10.tar
3.tar zxvf imp-2.0.11.tar.gz
4.mv horde-1.0.10 (你WEB的root)/horde
5.mv imp-2.0.11 (你WEB的root)/horde/imp
6.cd (你WEB的root)/horde
7.sh install.sh
8.在浏览器上执行 http://(your web site)/horde/setup.php3 照指示一直按 Next
9.sh secure.sh
忘了告诉大家!
imp相关档案可至以下网址抓取http://cnpa.yzu.edu.tw/~stylon/software/imp/
imp在本校的linux上有安装完成!应该没有问题!
   IMP增加同时上线人数(经测试45人以上没问题)
(颜国雄):
将 /etc/inetd.conf 中有关 imap 的那行
imap stream tcp nowait .................
改成
imap stream tcp nowait.300 .................

重新启动 inetd 

Q: 请问apache怎麽开启php3呢 谢谢
我在linux6.0下面.

(颜国雄): 先找 mod_php* 的 rpm 
可在 ftp://www.tp.edu.tw/pub/mod_php3 中找到:
mod_php3-3.0.12-1cc.i386.rpm
mod_php3-imap-3.0.12-1cc.i386.rpm
mod_php3-mysql-3.0.12-1cc.i386.rpm

如果不使用资料库,只要安装前两个
rpm -Uvh mod_php3*

然後修改 apache 的设定档(应该是在 /etc/httpd/conf/ 下吧)
找设定档中有关 php 的部份,将解的 # 字号拿掉
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 问题 相关 安装 imp this- 使用 default- 如何 修改 改成

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.