On Tue, Feb 07, 2012 at 04:32:14PM +1100, Greg Wilson wrote:
> I've been testing Postifx for some solutions.......
> 
> One attempt was to make 2 entries with the same host name
> in /etc/hosts
> 
> e.g
> 10.222.100.1 exchange.mydomain.local exchange
> 10.333.200.2 exchange.mydomain.local exchange

IPv5? I haven't seen many of those quads>255. :)

> Then changed the transport map to
> 
> mydomain.local smtp:[exchange.mydomain.local]
> 
> My info is that the square brackets stop Postifix doing mx
> record lookups.

And instead, do a DNS "A" lookup. To use hosts(5) resolution
specify smtp_host_lookup to include "native":
        http://www.postfix.org/postconf.5.html#smtp_host_lookup

> This didn't work and I don't know why. It works fine with
> an IP address in the square brackets and the Linux box can
> resolve exchange.mydoamin.local to an IP.

By default smtp_host_lookup is "dns" only.

> Any suggestions?

Also, please don't top-post your replies. Your MUA badly mangled
quoting in the rest of the thread so I didn't bother to try to fix 
that. Thanks.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to