如何在拨号环境下使用postfix

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

有台拨号上网的机器,如何在它上面设置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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航