*BSD News Article 85438


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!www.nntp.primenet.com!nntp.primenet.com!nntp.uio.no!news.apfel.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Moving from Linux to FreeBSD - any advice?
Date: 23 Dec 1996 22:13:41 GMT
Organization: Private BSD site, Dresden
Lines: 35
Message-ID: <59n06l$790@uriah.heep.sax.de>
References: <matt.850577353@praetor>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32960

matt@praetor.hna.com.au (Matt McLeod) wrote:

> Sendmail for mail-routing, but I'm considering a switch to Smail (only older
> Linux sendmail binaries seem to handle UUCP correctly - newer binaries
> [including those in the last FreeBSD snapshot I looked at] don't handle
> routing via smarthost correctly [they insist on checking with a nameserver,
> even when told not to], so I'll have to compile it anyway, so I may as well
> evaluate other options while I'm at it).

You need (as it's described in the FreeBSD FAQ -- but that's why we
call it a FAQ, since the question is frequently answered :) both:

FEATURE(nodns)dnl
FEATURE(nocanonify)dnl

in your .mc file.  Of course, if you don't have a nameserver at all,
you also need to comment out `bind' from /etc/host.conf, otherwise
your sendmail will try to lookup the local hostname via the resolver,
and thus DNS.

Sendmail doesn't use (external) DNS for me, and i'm running it this
way for quite some years now.  The only difference is that i'm
preferring a local nameserver, and thus have `bind' first in
host.conf.

People telling you that you gotta recompile sendmail to work without a
nameserver are only clueless (but it's not very hard to become
clueless with sendmail, admittedly :).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)