*BSD News Article 69930


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!ames!agate!howland.reston.ans.net!news.cac.psu.edu!news.math.psu.edu!chi-news.cic.net!nntp.coast.net!oleane!francenet.fr!itesec!keltia.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: 1 Jun 1996 09:16:46 GMT
Organization: Usenet Canal Historique
Lines: 23
Message-ID: <4op1pu$vi@keltia.freenix.fr>
References: <4nuen6$83d@Dortmund.Germany.EU.net> <4nulm3$ja5@sidhe.hsc.fr> <DrwrKM.A7F.0.macbeth@cogsci.ed.ac.uk>
NNTP-Posting-Host: keltia.freenix.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:28246 comp.unix.bsd.freebsd.misc:20482

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

In article <DrwrKM.A7F.0.macbeth@cogsci.ed.ac.uk>,
Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
> I assume this disables the use of DNS completely.  Is there an easy
> way to make sendmail obey the host.conf file?

For  some requests that can't  be handled by gethostbyname/byaddr, it calls
the resolver directly  (see domain.c).  To  inhibit all DNS  use, you could
also set NAMED_BIND to 0 in conf.h.
 
> I have three machines on a network that is sometimes connected to the
> outside world, and I'd like it to be able to deliver mail on the local
> network when it's not connected.

Use  what   I told before.     There is simple  solution   for  dialup type
users. With this configuration  (and better: use a  SMART_HOST), mail is in
the queue till  you're connected and either  wait to  the reprocess of  the
queue or do a "sendmail -q". 

-- 
Ollivier ROBERT  -=- FreeBSD: The daemon is FREE! -=-  roberto@freebsd.org
-=-=-=-=-=-=-=-=-=-=- FreeBSD 2.x FAQ maintainer -=-=-=-=-=-=-=-=-=-=-=-=-