Page 1 of 1

postfix not sending to host

Posted: Fri Aug 08, 2025 12:47 pm
by mister_v
Hello,

I used to use postfix to send mails directly to another server,
But since the last update it is not working anymore. The mails get bounced (on the sending server).

Code: Select all

relay=none, delay=4.2, delays=4.2/0.01/0.04/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=SERVER
The SERVER is in the /etc/hosts file, ping works.
Why is it looking for DNS entry ?

Re: postfix not sending to host

Posted: Fri Aug 08, 2025 12:57 pm
by chris
The default have changed,
Add these lines to your config, to tell to use /etc/hosts and not DNS

Code: Select all

lmtp_host_lookup = native
smtp_host_lookup = native