On 26/04/2020 14:24, Per Jessen wrote:
Admin Beckspaced wrote:
my problem was that on my dev box postfix, asd it usually does, is using DNS to lookup IP address of a domain So I needed a quick fix to point a domain to another IP on the dev box. Then I thought ... hey, let's use /etc/hosts and define an IP adress there.
I was not aware that postfix is doing a direct DNS query.
Maybe see the postfix "smtp_host_lookup" directive.
http://www.postfix.org/postconf.5.html#smtp_host_lookup
Setting up dnsmasq for this is overkill, imho.
The easy solution is:
smtp_host_lookup = dns,native.
In effect, Postfix is implementing its own /etc/nsswitch.conf -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org