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. 编辑/etc/postfix/main.cf
查找#relayhost=这一行,修改为
relayhost=relaymail.swemail.com.cn(注意去除前面的#号)
设置完成后重启Postfix服务
/etc/rc.d/init.d/postfix restart
页:
[1]