有台拨号上网的机器如何在它上面设置postfix使之在拨号成功后可以发送队列中的信件? 在postfix站点上有个讨论主题解决方法是在maincf中做如下设置 # your ISPs SMTP server name or IP address goes here relayhost = smtpre # # this line disables spontaneous PPP connections defer_transports = smtp # # this line disables dns lookups for mail As you are using a relay you really dont need DNS If you use this you should use an ip address for $relayhost disable_dns_lookups = yes 并在拨号脚本中加入 /usr/sbin/sendmail q |