I've two web servers (ws1.example.com, ws2.example.com) with postfix installed locally as a mail rely (using mandrillapp), user access them via www.example.com, which is a load balancer
On ws1, the configs are
hostname
ws1
hostname -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
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
Apparently it work, but I want to know if the above configs are set with any potential issues?
Update: My concern is ws1.example.com
and ws2.example.com
are not resolvable in my DNS.