📄 1340.html
字号:
DEFAULT=$HOME/Mailbox (Best Internet上的默认情况是2-5个shell邮箱的使用者。个人可以按自身的不同为系统选择正确的设置。)<br>
LOGFILE=$MAILDIR/procmail.log (检测信息的处理,推荐照此设定----否则出错信息会mail给你。)<br>
formAIL=/usr/bin/formail (非常有用的自动回复技巧。如果你不在Best Internet上,更改formail系统拷贝上的此项信息自动回复邮件。)<br>
SENDMAIL=/usr/sbin/sendmail (非常有用的自动回复技巧。如果你不在Best Internet上,更改sendmail系统拷贝上的此项信息自动回复邮件。)<br>
Procmail 是一个非常优秀的文档程序。请无比仔细阅读以上内容作为参考来设置你的procmailrc文件。<br>
<br>
<br>
8.ISDN<br>
尽管此项看似与与qmail或mh有关,我还是整理了。因为若你的ISP没有PPP线就根本无email可言。我在使用我的ISDN中遇到了相当大的麻烦。SusE包含一个专门为ISDN准备的部分,但我想更简单些。以下材料是由Bernhard Hailer更新的。<br>
以下的的rc.config文件装载了初始化的必要组元。<br>
<br>
#!/bin/bash<br>
# This is adapted Bernhard Hailer's old script<br>
<br>
LOCAL_NUMBER="91311234" # tel no. 091311234<br>
REMOTE_NUMBER="0911123456" # ISP tel no.<br>
LOCAL_IP="192.168.0.99" # I have dynamic IP so this will do<br>
REMOTE_IP="195.112.123.11" # your ISP's gateway<br>
DEVICE="ippp0"<br>
<br>
SYSPATH="/sbin"<br>
ISDNCTRL="$SYSPATH/isdnctrl"<br>
<br>
case "$1" in<br>
start)<br>
# turn on isdn<br>
insmod /lib/modules/2.0.33/net/slhc.o<br>
insmod /lib/modules/2.0.33../misc/isdn.o<br>
sleep 1<br>
# load the hisax module<br>
insmod /lib/modules/2.0.33../misc/hisax.o<br>
id=Tel0 type=5 protocol=2 irq=10 io=0x300<br>
echo "starting isdn4linux"<br>
# global<br>
$ISDNCTRL verbose 0<br>
<br>
$ISDNCTRL addif $DEVICE # create new interface<br>
$ISDNCTRL addphone $DEVICE in $REMOTE_NUMBER<br>
$ISDNCTRL addphone $DEVICE out $REMOTE_NUMBER<br>
$ISDNCTRL eaz $DEVICE $LOCAL_NUMBER<br>
$ISDNCTRL l2_prot $DEVICE hdlc<br>
$ISDNCTRL l3_prot $DEVICE trans<br>
$ISDNCTRL encap $DEVICE syncppp<br>
$ISDNCTRL huptimeout $DEVICE 300<br>
$ISDNCTRL chargehup $DEVICE off<br>
$ISDNCTRL secure $DEVICE on<br>
<br>
$SYSPATH/ifconfig $DEVICE $LOCAL_IP pointopoint $REMOTE_IP metric 1<br>
$SYSPATH/route add default $DEVICE<br>
$SYSPATH/ipppd /dev/ippp0 file /etc/ppp/options.ipppd &<br>
$SYSPATH/route del default<br>
<br>
;;<br>
stop)<br>
#turn off isdn<br>
rmmod hisax.o<br>
sleep 1<br>
rmmod isdn.o<br>
rmmod slhc.o<br>
echo "Shutting down isdn4linux"<br>
$ISDNCTRL delif ippp0<br>
;;<br>
*)<br>
echo "Usage: $0 (start|stop)"<br>
exit 1<br>
;;<br>
esac<br>
<br>
我用以下技巧拨号,它被称为简洁的isdn on|off<br>
<br>
#!/bin/bash<br>
# This is based on an old script from Bernhard Hailer<br>
<br>
IP_ADDRESS="195.112.123.11"<br>
<br>
case "$1" in<br>
on)<br>
<br>
echo "Calling ippp0"<br>
/sbin/isdnctrl dial ippp0<br>
# the sleep is important as it gives the PPP time to settle down<br>
echo "Sleep for 8s for PPP handshake"<br>
sleep 8s<br>
/sbin/route add default ippp0<br>
echo "line open - checking...."<br>
<br>
# check whether PPP negotiation was successful:<br>
set `ping -qc3 -i1 $IP_ADDRESS 2>/dev/null | grep transmitted`<br>
if [ $4 -gt 0 ];<br>
then<br>
echo "succeeded."<br>
echo "Starting fetchmail daemon"<br>
/usr/bin/fetchmail -d 600 -k -v -a -L /var/log/fetchmail<br>
echo "Flushing mail queue...."<br>
/usr/local/bin/serialmail/maildir2smtp<br>
~alias/pppdir alias-ppp- mail.server.ip.no `hostname`<br>
else<br>
echo "failed!"<br>
/sbin/isdnctrl hangup ippp0<br>
fi<br>
<br>
;;<br>
<br>
off)<br>
echo -n "Shutting down fetchmail daemon"<br>
/usr/bin/fetchmail --quit<br>
<br>
/sbin/isdnctrl hangup ippp0<br>
/sbin/route del default # and delete route<br>
echo "You're off line"<br>
;;<br>
<br>
*)<br>
echo -e "aUsage:"<br>
echo "isdn on"<br>
echo "isdn off"<br>
;;<br>
<br>
esac<br>
<br>
<br>
接下来的是 ipppd选项文件/etc/ppp/options.ipppd<br>
#基于:<br>
#Klaus Franken,kfr@srse.de<br>
#版本:27。08。97 (5。1)<br>
#<br>
#该文件由YaST在/etc/ppp/ioptions.YaST 拷贝至optiongs.<device><br>
<br>
user“myrserid”<br>
<br>
#我的系统名(只在CHAP上使用!)<br>
# name my_system_name<br>
#从peer处得到IP地址<br>
ipcp-accept-local<br>
ipcp-accept-remote<br>
noipdefault<br>
<br>
#试着从interface处得到IP地址<br>
#ipppd的特定选项(比如与pppd的冲突)<br>
#只能使用静态IP<br>
#useifip<br>
<br>
#把所有的header-compression都设为disable<br>
-vj<br>
-vjccomp<br>
-ac<br>
-pc<br>
-bsdcomp<br>
#有时你需要这个:<br>
#noccp<br>
<br>
#最大接受数<br>
mru 1524<br>
#最大传送数<br>
mtu 1500<br>
<br>
#如果你的机器是服务器,就要求签证以下未注释的条项。然而,如果你的机器是客户机,做了以上的事就不会成功连接!(信息将提示“peer refused to authenticate”即peer 拒绝签证)所以,只有在服务器上对于未注释的部分做以下步骤:<br>
# "+pap" / "+chap" NUR AKTIVIEREN, WENN DIES EIN SERVER IST!!!<br>
#+pap<br>
#+chap<br>
<br>
#如果你对handshaking有什么问题(比如第一次lcp-package没响应)可以试试减少重试次数,默认情况下是3 sec,试试2 sec:<br>
# lcp-restart 2<br>
<br>
<br>
9.源文件<br>
请求包裹:<br>
互联网是如此高速发展,以至于提供源文件变得毫无意义。但在某些时候它是有价值的:<br>
Qmail的相关内容 http://www.qmail.org/<br>
NH的相关内容 http://www.ics.uci.edu/~mh/<br>
glimpse的相关内容 http://glimpse.cs.arizona.edu/<br>
Fetchmail的相关内容 http://sagan.earthspace.net/~esr/fetchmail<br>
Exmh的相关内容 http://www.beedub.com/exmh<br>
Procmail的相关内容 ftp.informatik.rwth-aachen.de/pub/packages/promail<br>
<br>
</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 + -