postfix not sending to host

Questions related to the Postfix mail server
Post Reply
mister_v
Posts: 201
Joined: Thu Mar 04, 2010 9:19 pm

postfix not sending to host

Post 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 ?
chris
Site Admin
Posts: 212
Joined: Mon Jul 21, 2008 9:52 am

Re: postfix not sending to host

Post 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
Post Reply