guofs 发表于 2007-11-14 16:39

富贵猫 发表于 2007-11-14 18:30

smtp_fallback_relay

By default, mail is returned to the sender when a destination is not found, and delivery is deferred when a destination is unreachable.

The fallback relays must be SMTP destinations. Specify a domain, host, host:port, :port, or :port; the form turns off MX lookups. If you specify multiple SMTP destinations, Postfix will try them in the specified order.

guofs 发表于 2007-12-07 14:28

swemail 发表于 2014-01-15 10:39

编辑/etc/postfix/main.cf
查找#relayhost=这一行,修改为
relayhost=relaymail.swemail.com.cn(注意去除前面的#号)

设置完成后重启Postfix服务
/etc/rc.d/init.d/postfix restart
页: [1]
查看完整版本: 如何设置postfix在下面的情况下使用转发中继