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: Noel Jones (njonesmegan.vbhcs.org)
Date: Thu May 01 2003 - 19:06:36 CDT


On Thu, May 01, 2003 at 08:01:21PM -0400, Nick Fisher wrote:
> > Wietse Venema:
> >> 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.
> Err... is there a workaround for the earlyer versions? What's the problem
> anyhow? I suspect that the problem is that there is no facility for MX
> records in the hosts file and DNS when queryed returns the MX records
> already complete with IP addresses....?
>

use a transport table entry:
fudge.domain.tld smtp:[10.0.0.3]

> >> /etc/postfix/main.cf:
> >> smtp_host_lookup = native
> Sorry... I'm asking alot of questions here but what does that really do? I
> can't find any reference to it.... if that option were used would there be
> a prefomance hit?

the docs for this new option are included with the current
experimental snapshot.

--
Noel Jones