负载平衡器后端后台服务器的Postfixconfiguration
我有两个web服务器( ws1.example.com , ws2.example.com ),在本地安装postfix作为邮件依赖(使用mandrillapp),用户通过www.example.com访问它们,这是一个负载平衡器 在ws1上 ,configuration是 主机名 ws1 主机名-f ws1.example.com / etc / hosts文件 127.0.0.1 localhost 127.0.1.1 ws1.example.com ws1 /etc/postfix/main.cf中 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = static:[email protected]:abc smtp_sasl_security_options = noanonymous myhostname = ws1.example.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = ws1, ws1.example.com, localhost relayhost = [smtp.mandrillapp.com]:587 mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 […]