Date: 10-05-10 21:43
I'm using postfix 2.7, and I would like to use 2 external smtp servers on port 587. The second is the 'backup'.
I set the transport map to
then postmap transport;
transport map in main.cf is OK.
in the /etc/hosts file:
126.96.36.199 smtphost mail.mydomain.tld
188.8.131.52 smtphost mail.anotherdomain.tld
postfix restarts without errors.
If I send a mail, the smtphost points to my external IP.
Why? How can I set up this config without a DNS server? It is possible?