On Saturday 29 August 2009 15:32:44 Thanachit Vichianchay wrote: > sorry, > I mean > > mydomain.ac.xx smtp:[10.100.100.101]:25 > mydomain.ac.xx smtp:[10.100.100.102]:25
Try it, you will see that it does not work. I would suggest setting a MX record and using that: mymx.mydomain.ac.xx. MX 10 host1.mydomain.ac.xx. mymx.mydomain.ac.xx. MX 20 host2.mydomain.ac.xx. host1.mydomain.ac.xx. A 10.100.100.101 host2.mydomain.ac.xx. A 10.100.100.102 then in transport_maps : mydomain.ac.xx smtp:mymx.mydomain.ac.xx Set equal priorities if you want both hosts to be used more or less equally. The same DNS-based solution could be extended to avoid the use of transport_maps altogether. Simply set the MX for mydomain.ac.xx. in a private view for the mail server. BIND named(8) has "view" features which do this. A simpler means of overriding global DNS for a host can be had using dnsmasq(8). -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header