On Tue, 22 May 2012, Wietse Venema wrote:
Barbara M.:
Thanks.
I put:
smtp_host_lookup = native, dns
In my idea this give higher priority to /etc/hosts
Postfix works as documented. See:
http://www.postfix.org/postconf.5.html#smtp_host_lookup
Then search for any text that promises that Postfix
gives priority. If such text does not exist, then
such behavior is not promised.
:-)
I am a good system administrator, but not a Guru (really only as good as
needed in our little internal net :-) ).
In my limited knowledge I think I can configure views in bind to solve
this problem, but if a simple parameter do this, I am obviously more happy
:-)
My English is poor, so I hope poeple understand what I write.
Re-re-reading the docs I understand that setting:
smtp_host_lookup = native
I have Postfix use the nsswitch.conf mechanism (hosts: files dns), that
seems to be what I want.
Some tests seems to confirm
I only need a confirmation from skilled people that this is the right way
to achieve my target.
Otherwise, if you say that bind (or other trick), is the way, I use it.
Obviously I like and prefer KISS philosophy ... :-)
Thanks, B.