我,比方说,有5台服务器。它们要么是公共的和私有的,要么是私有的(网络),要么是发送电子邮件,要么是系统电子邮件(本地邮箱),要么是已安装的应用程序(wiki、问题跟踪器等)。
我有一个第6台,我想用它作为“中央”服务器。
其想法是将所有服务器配置为将其电子邮件发送到第6号,这将要么直接发送电子邮件,要么将其传输给第三方(比如mandrill,我的isp,或者负责配置所有传递设备的人(spf、domainkeys等))。
谢谢你的指导。
发布于 2013-12-06 11:47:23
这五个服务器被配置为使用中央服务器作为中继。实现这一目标的主要更改是对中继主机的定义:
# /etc/postfix/main.cf:
# <snip>
# (deliver via mailhub)
relayhost = [central.server.example.com] 需要将中央服务器配置为接受用于域本地传递的邮件,并允许为这5台服务器中继smtp邮件。
同样,对默认值的主要更改是:
# /etc/postfix/main.cf:
# <snip>
# The inet_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on.
inet_interfaces = all
myhostname = central.server.example.com
mydomain = example.com
# The ip-addresses we relay for:
mynetworks = 168.100.189.0/28, 127.0.0.0/8, 10.10.10.1, 10.10.10.3https://serverfault.com/questions/559655
复制相似问题