QMAIL+MH设计方案(8)_MAIL邮件服务器_黑客防线网安服务器维护基地--Powered by WWW.RONGSEN.COM.CN

QMAIL+MH设计方案(8)

作者:黑客防线网安Mail教程网 来源:黑客防线网安Mail教程网 浏览次数:0

本篇关键词:方案设计echoisdn
黑客防线网安网讯:我用以下技巧拨号,它被称为简洁的isdn on|off #!/bin/bash # This is based on an old &#115cript from Bernhard Hailer IP_ADDRE="195.112.123.11" case "$1" in on) echo "Calling ...
我用以下技巧拨号它被称为简洁的isdn on|off #!/bin/bash
# This is based on an old script from Bernhard Hailer IP_ADDRE="195.112.123.11" case "$1" in
on) echo "Calling i0"
/in/isdnctrl dial i0
# the sleep is important as it gives the time to settle down
echo "Sleep for 8s for handshake"
sleep 8s
/in/route add default i0
echo "line open - checking...." # check whether negotiation was succeful:
set `ping -qc3 -i1 $IP_ADDRE 2>/dev/null | grep tramitted`
if [ $4 -gt 0 ];
then
echo "succeeded."
echo "Starting fetchmail daemon"
/usr/bin/fetchmail -d 600 -k -v -a -L /var/log/fetchmail
echo "Flushing mail queue...."
/usr/local/bin/serialmail/maildir2smtp
~alias/dir alias-- mail.server.ip.no `hostname`
else
echo "failed!"
/in/isdnctrl hangup i0
fi off)
echo -n "Shutting down fetchmail daemon"
/usr/bin/fetchmail --quit /in/isdnctrl hangup i0
/in/route del default # and delete route
echo "You e off line"
*)
echo -e "aUsage:"
echo "isdn on"
echo "isdn off"
esac
    黑客防线网安服务器维护方案本篇连接:http://www.rongsen.com.cn/show-19413-1.html
网站维护教程更新时间:2012-12-17 02:13:21  【打印此页】  【关闭
我要申请本站N点 | 黑客防线官网 |  
专业服务器维护及网站维护手工安全搭建环境,网站安全加固服务。黑客防线网安服务器维护基地招商进行中!QQ:29769479

footer  footer  footer  footer