Make Postfix use /etc/hosts
Posted: July 31, 2019 Filed under: Errors, Linux, Networking, Solutions, Tips, Ubuntu Leave a commentTo make Postfix use /etc/hosts file to find IP address of the SMTP server before it contacts any DNS servers, add two lines to the /etc/postfix/main.cf file:
- lmtp_host_lookup = native
- smtp_host_lookup = native