*BSD News Article 69104


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!disco.iinet.net.au!news.uoregon.edu!hunter.premier.net!bofh.dot!news.mathworks.com!news.kei.com!nntp.coast.net!oleane!francenet.fr!itesec!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.mail.sendmail,comp.unix.bsd.freebsd.misc
Subject: Re: Q: how to use sendmail with /etc/hosts
Date: 22 May 1996 09:10:27 GMT
Organization: Herve Schauer Consultants
Lines: 18
Message-ID: <4nulm3$ja5@sidhe.hsc.fr>
References: <4nuen6$83d@Dortmund.Germany.EU.net>
NNTP-Posting-Host: sidhe.hsc.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.mail.sendmail:27966 comp.unix.bsd.freebsd.misc:19837

 [courtesy cc of this posting sent to cited author via email]

In article <4nuen6$83d@Dortmund.Germany.EU.net>,
Dirk Nerling <nerle@pdv.de> wrote:
> I try to run sendmail at a very small equipment, "only" two 
> FreeBSD boxes (2.1R and 960501 SNAP). So don't want to run DNS.
> Unfortunately they can't deliver mail, if I try "sendmail -v
> user@foo.com </etc/hosts" 

Use the following lines in your .mc file:

FEATURE(nodns)
FEATURE(nocanonify)

That will prevent DNS lookups. 
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-