Dnia  7.10.2019 o godz. 19:40:40 Viktor Dukhovni pisze:
> 
> Unless your system sends all mail to statically configured
> relays listed in /etc/hsots, you MUST NOT set:
> 
>       smtp_host_lookup = native

But "native" doesn't mean /etc/hosts only! Native means system-configured
name resolution and this is defined by /etc/nsswitch.conf and/or
/etc/host.conf. nsswitch.conf contains the entry "hosts: files dns" and
host.conf contains "order hosts,bind". Both entries mean - try to resolve
using /etc/hosts first, and if the name is not found in /etc/hosts, resolve
using normal DNS. And this is the way it's working for me right now.
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."

Reply via email to