📄 1384.html
字号:
将原来: <br>
$default->language = ’en’; <br>
改为: <br>
$default->language = ’big5’; <br>
<br>
14.: 若资料库建立错误要重建的话, 先将原资料库 imp 丢弃,语法如下: <br>
DROP DATABASE imp; <br>
<br>
<br>
Q: imp && /var/tmp. <br>
<br>
(颜国雄): 今早两间电脑教室(近80台)同时在使用 imp <br>
本来都好好的,结果快下课时发生一件以前没遇过的状况: <br>
---------------------------- <br>
May 26 09:21:05 w3 imapd[10208]: Fatal error user=s84382 host=w3.lsps.tp.edu.tw <br>
May 26 09:21:05 w3 imapd[10208]: IMAP toolkit crash: Out of free storage <br>
May 26 09:21:06 w3 imapd[10182]: Fatal error user=s85308 host=w3.lsps.tp.edu.tw <br>
May 26 09:21:06 w3 imapd[10182]: IMAP toolkit crash: Out of free storage <br>
---------------------------- <br>
<br>
imp 在处理附件时会使用到系统的暂存目录 /var/tmp <br>
我们的状况就是隔壁在教学生使用附加档,两个班同时运作,让 /var/tmp 所在的 partition 不够用了 <br>
所以系统的暂存目录 /var/tmp /tmp 或 /usr/tmp 最好是在容量较大的 partition <br>
早上就 <br>
rm -R /var/tmp (得注意一下是否有别的程式在使用) <br>
mkdir /home/tmp <br>
cd /var <br>
ln -s /home/tmp <br>
做完就解决问题了 <br>
/tmp 也可以如法泡 <br>
<br>
一点小心得跟大家分享 <br>
<br>
<br>
Q: 想把IMP登录的"语言"选择消失要如何做??. <br>
<br>
(黄彦霖): IMP登录画面有一个语言选择, 我想大家应该都只会用到中文, 如果我想把他给取消不见, 要 <br>
如何改?? <br>
<br>
(颜国雄): 修改 imp/config/defaults.php3 <br>
$default->user_change_language= false; <br>
$default->language = ’xxxx’; <br>
<br>
<br>
Q: imp 装好了但无法执行?. <br>
<br>
(李佳茂): 我遇到了和吴中复老师在4/29编号546相同的问题,在键入 <br>
http://163.18.226.21/horde/imp/ 後出现 <br>
Fatal error: WebClient is not a class in /home/horde/imp/index.php3 on line 16 <br>
如果键入 http://163.18.226.21/horde/index.php3 则出现 <br>
Fatal error: WebClient is not a class in /home/httpd/html/horde/index.php3 on line 28 <br>
请问这是什麽原因(是php3没起来吗?还是imp的问题?),又该如何解决?(我使用 redhat 6.0+cle0.8) php3版本使用颜国雄老师所说的mod_php3-3.0.12-1cc,mod_php3-imap-3.0.12-1cc <br>
<br>
(李佳茂): 我来自问自答。 <br>
经过我一番思考及推敲之後,终於找到了解决的方法。为了怕其它先进也步我後尘,误触雷 <br>
池造成遗憾,故加以说明。 <br>
首先如我原先的问题中所述的系统及 php3 软体版本的环境 <br>
下,我发现我本身的问题为: <br>
1. /home/httpd/html/horde/imp 的拥有者及拥有群组均非 root <br>
所以我先以 chown root.root * -R 把拥有者及拥有群组改过 <br>
来。 <br>
2.後来发现错的不光如此,我所用的 IMP 版本也有问题, 我所用 imp-2.0.11-big5. <br>
tar.gz 的版本会造成原有问题的错 <br>
误,所以改用 imp-2_0_11-big5_tar.tar 这个版本的 imp 重 <br>
新 tar 开再安装就没问题了。 <br>
3.其实上述因版本不同所造成的问题我也曾遇过,不料又 被我碰上了,心中虽感受挫 <br>
,但自己解决问题的感觉真 好,我想实验室的各位先进也都有同等的经验吧!:p <br>
<br>
<br>
Q: imp如何管理多台mail server? <br>
<br>
(志峰): 有些学校的imp可以管理数台mail server,请问是如何做到 <br>
的?我的imp是装在redhat上,mail server有两部1.freebsd <br>
2.redhat ,请问要如何用redhat上的imp来收发freebsd上 <br>
的mail 邮件? <br>
<br>
(黄信丰): 到/horde/imp/config 里面,修改 defaults.php3 档案 <br>
$default->use_server_list = false; <br>
改为 $default->use_server_list = true; <br>
<br>
并修改 servers.php3 内之 <br>
<br>
$IMAPServers[’mail1’] = new IMAPServer(’老师邮件伺服器’, <br>
’mail1.xxx.xxx.edu.tw’, <br>
143 <br>
); <br>
$IMAPServers[’mail2’] = new IMAPServer(’学生邮件伺服器’, <br>
’mail2.xxx.xxxx.edu.tw’, <br>
143 <br>
); <br>
<br>
xxx.xxx.xxx.edu.tw <br>
xxx.xxx.xxx.edu.tw <br>
为学校不同的mail主机 <br>
<br>
(周凡淇): 装 imp 的时候设定为可以改变 server 的位置~ <br>
使用者要收其它 server 的信 <br>
只要在【主机】的地方输入欲收信的位置即可... <br>
http://math.tmtc.edu.tw <br>
里面有一个 webmail,可以收其它主机的信... <br>
连 hinet 都可以~~ <br>
<br>
<br>
Q: imp的bug??? <br>
<br>
(陈靖): 不知道各位老师是否有发现在使用imp寄信时,寄件人可以任意更改,这样的话............不就代表我们可以用昵名者的方式............! <br>
<br>
(颜国雄): 不用那麽麻烦啦!! <br>
这点作者早就考虑到了 <br>
修改 imp/config/defaults.php3 中 <br>
将 <br>
$default->user_change_from = true; <br>
改成 <br>
$default->user_change_from = false; <br>
<br>
<br>
Q: 附件(夹档)有问题 <br>
<br>
(郭书轩): 当我测试imp後发现在附件即夹档的档名点开发现是乱码不像在outlook express内呈现是”学生.doc "正常的中文显示,因此请 <br>
问各位imp的爱用者,此问题是否有解? <br>
<br>
(颜国雄): 将下面的内容 imp/lib/mimetypes.lib 中下面的内容 <br>
2.0.11 版大概在 170 行左右 <br>
-------------------------------------------------------- <br>
if ($this->action[’view’]) <br>
$ret .= "mailbox) . "&index=$this->index&bodypart=$this->partno&actionID=" . VIEW_ATTACH . "" target="_blank">$this->icon $this->name"; <br>
else <br>
$ret .= "$this->icon $this->name"; <br>
-------------------------------------------------------- <br>
<br>
改为 <br>
<br>
-------------------------------------------------------- <br>
if ($this->action[’view’]) <br>
$ret .= "mailbox) . "&index=$this->index&bodypart=$this->partno&actionID=" . VIEW_ATTACH . "" target="_blank">$this->icon " . decode_mime_string($this->name) . ""; <br>
else <br>
$ret .= "$this->icon " . decode_mime_string($this->name); <br>
-------------------------------------------------------- <br>
<br>
主要的原理是将以 base64 编码过的档名 用 decode_mime_string 解码 <br>
那锅 $this->name 就是附加档的档名
</FONT><br>
</TD>
</TR>
<TR>
<TD colSpan=2><FONT
class=middlefont></FONT><BR>
<FONT
class=normalfont>全文结束</FONT> </TD>
</TR>
<TR>
<TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2
height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
<TD vAlign=top width="20%"
background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2>
<DIV align=center>
<table class=tableoutline cellspacing=1 cellpadding=4
width="100%" align=center border=0>
<tr class=firstalt>
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
<font class=normalfont><b>所有分类</b></font></td>
</tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td> </tr> </table></td></tr> </table>
</DIV></TD></TR>
<TR vAlign=top>
<TD width="80%">
<DIV align=center><BR>
</DIV>
</TD></TR></TBODY></TABLE></TD></TR>
</TABLE></TD></TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee
border=0><TBODY>
<TR>
<TD width="50%">
<P><FONT class=middlefont>版权所有 © 2004 <A
href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
违者必究. </FONT></P>
</TD>
<TD width="50%">
<DIV align=right><FONT class=middlefont>Powered by: <A
href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
</TD></TR></TBODY></TABLE>
<CENTER></CENTER></TD></TR>
</TABLE></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -