Postfix,MSA,Smarthost和LAN

我说,5台服务器。 他们是公共和私人的,或者只是私人的(networking),他们都发送电子邮件,系统电子邮件(本地邮箱)或已安装的应用程序(维基,问题跟踪等)。

而且我想用第六个“中央”服务器。

这个想法是configuration所有的服务器发送他们的电子邮件到第六届,这将直接发送电子邮件,或转让给第三方(如mandrill,我的isp,或将负责configuration所有交付的东西(spf,域名等)

  1. 我如何需要configuration5台服务器?
  2. 我如何configuration“中央服务器”?

感谢您的指导。

五台服务器被configuration为使用中央服务器作为中继。 从默认实现的主要变化是一个relayhost的定义:

# /etc/postfix/main.cf: # <snip> # (deliver via mailhub) relayhost = [central.server.example.com] 

中央服务器需要configuration为接受本地邮件的邮件,以及为这5台服务器转发邮件。

再次从默认的主要变化:

 # /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.3