批量删除邮件脚本
时间:2006-08-22 来源:cuteorange
echo "usage:tnet.sh num"
(sleep 1;echo "user [email protected]";sleep 4;echo "pass upassword";sleep 4;echo list;sleep 1;i=1;while [ $i -le $1 ]
do
echo "dele $i"
let i=($i+1);sleep 1
done
sleep 1;echo quit;sleep 1)|telnet hostname port[default 110]
(sleep 1;echo "user [email protected]";sleep 4;echo "pass upassword";sleep 4;echo list;sleep 1;i=1;while [ $i -le $1 ]
do
echo "dele $i"
let i=($i+1);sleep 1
done
sleep 1;echo quit;sleep 1)|telnet hostname port[default 110]
相关阅读 更多 +