What:
Linux server with Postfix mail transfer agent (MTA)
Problem:
We need Postfix to use /etc/hosts file first when performing a DNS lookups.
Solution:
Edit /etc/postfix/main.cf and use following configuration for lookups:
lmtp_host_lookup = nativeReload postfix and test.
smtp_host_lookup=native
#disable_dns_lookups = yes
ignore_mx_lookup_error = yes
No comments:
Post a Comment