On Tue, Dec 06, 2022 at 12:58:40PM +0100, Ralf Hildebrandt wrote:

> * Wietse Venema <postfix-users@postfix.org>:
> 
> > Look in $queue_directory/etc/resolv.conf or /etc/resolv.conf.
> 
> nameserver 127.0.0.1
> search DOMAINS
> 

In addition to that error, your real mistake is enabling "native" in
smtp_host_lookup.

DO NOT DO THAT (unless running in an environment that is disconnected
from the public Internet).  Postfix does not use RES_DNSRCH or
RES_DEFNAMES, but native lookp via nsswitch.conf does.

MX hostnames that came in via DNS SHOULD NOT be subject to random
tampering via native lookup.

-- 
    Viktor.

Reply via email to