Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->网络应用 ->邮件服务器 ->Qmail ->正文

如何在拨号环境下使用postfix

来源:Linuxdby.com 作者:Webmaster 时间:2007-05-28 点击: [收藏] [投稿]
有台拨号上网的机器,如何在它上面设置postfix使之在拨号成功后可以发送队列中的信件?

在postfix站点上有个讨论主题,解决方法是在main.cf中做如下设置:

# your ISP's SMTP server name or IP address goes here
relayhost = smtprelay.someprovider.com
#
# this line disables spontaneous PPP connections
defer_transports = smtp
#
# this line disables dns lookups for mail. As you are using a relay you really don't need DNS. If you use this you should use an ip address for $relayhost.
disable_dns_lookups = yes
并在拨号脚本中加入:
/usr/sbin/sendmail -q,


 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇:中小规模POSTFIX邮件系统   下一篇:安全地停止qmail-send进程

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号