- 论坛徽章:
- 0
|
::纯Unix 架构的webmail 系统::(有图) 下载
哦,知道了
我用的是LINUX客户端,名字叫ez-ipupdate
/etc/crontab配置如下
0-59/5 * * * * root /usr/local/sbin/ez-ipupdate -c /usr/local/etc/platinum.conf
/usr/local/etc/platium.conf配置如下
#!/usr/local/bin/ez-ipupdate -c
#
# example config file for ez-ipupdate
#
# this file is actually executable!
#
#下面动态域名和静态域名选一个
#动态域名
service-type=qdns
#静态域名
#service-type=
#设置用户名和密码
user=platinum:******** (我的用户名和密码)
#你需要更新的域名
host=platinum.3322.org
#你的网络端口
interface=ppp0
#如果使用通配符,请将下面的注释去掉
wildcard
#如果使用邮件服务器(mx)
#mx=mx.abc.com
max-interval=2073600
# please create this file and ensure that the user that ez-ipupdate is running
# as has write permissions to it then uncomment this line, if you don't your
# dyndns account will probably get banned. if you run ez-ipupdate as root (bad
# idea, use "run-as-user" then you can just uncomment this line.
#cache-file=/etc/ez-ipupdate.cache.eth1
# for the mean time we'll just use a cache file in the temp directory
cache-file=/tmp/ez-ipupdate.cache
# uncomment this once you have everything working how you want and you are
# ready to have ez-ipupdate running in the background all the time. to stop it
# you can use "killall -QUIT ez-ipupdate" under linux.
#daemon
这样,5分钟自动更新一次,如果设置为1分钟,会产生相当于现在5倍的MAIL信息,所以……
你试试看? |
|