OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: /etc/hosts confusion......

From: Wietse Venema (wietseporcupine.org)
Date: Thu May 01 2003 - 18:22:11 CDT


Steve Crawford:
> > In DNS:
> > fudge.domain.tld = 10.0.0.2
> > MX 10 = fudge.domain.tld
> > MX 20 = jam.domain.tld
> >
> > In hosts:
> > fudge.domain.tld = 10.0.0.3

Postfix 20030424 has a solution for this.

/etc/postfix/main.cf:
    smtp_host_lookup = native

This causes lookups from /etc/hosts in order to resolve the MX record.

        Wietse