From owner-freebsd-questions Sun May 17 13:22:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12775 for freebsd-questions-outgoing; Sun, 17 May 1998 13:22:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12665 for ; Sun, 17 May 1998 13:21:38 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (tao.tera.com [207.108.223.55]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id NAA14414; Sun, 17 May 1998 13:21:04 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.8.5/8.7.3) id NAA29961; Sun, 17 May 1998 13:21:02 -0700 (PDT) From: Gary Kline Message-Id: <199805172021.NAA29961@tao.thought.org> Subject: Re: mail//sendmail question In-Reply-To: <199805171742.MAA06420@base486.home.org> from Dave Bodenstab at "May 17, 98 12:42:57 pm" To: imdave@mcs.net (Dave Bodenstab) Date: Sun, 17 May 1998 13:21:01 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG, kline@thought.org Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Dave Bodenstab: > > > From: Gary Kline > > > > Very few things left to get my private (illegal?!) network functional. > > One thing is: How can I get email working from my P90 across to my > > 8x86? > > > > If I say ``mail myfriend@10.0.0.2'' or the like, zip. Is there some > > somemail configuration to achieve this magic? Or smail3.X? > > I've got two machines set up similarly. I tinkered with sendmail and never > was able to prevent it from doing DNS lookups. I finally wound up running > a local name server. As with sendmail, I tinkered with the configuration > files until I got it to work. I read ``Unix System Administration Handbook'' > by Nemeth, etc. but I still don't fully understand everything. I'll include > all my configuration files for sendmail and named in the hope they're useful > to you (and maybe someone more knowledgeable can critique them.) Maybe, but I'm not holding my breath... A good book on system admin is on my `buy' list. Your having figured out the sendmail configs via Nemeth's book is a solid recommendation. After some poking around I found the *.mc file that created my present sendmail.cf. This gives me the ability to run UUCP over IP. If I use things this way, I'll have it builtin. Looks like we've got the same 10.X networks, :-). My `ISP' is work; for your base486 I've got this P90 (tao); for your base586 I've got a 6x86 (sage). Once I've merged a few things into your *.mc files, it looks as tho all I need do is some :s//g . The rest of it (the MX and name daemon stuff) is at the limits of my knowledge. Without lots of help from the list I'd still be lightyears from where I am. > > My two machines are a 486 (base486.home.org) that is my ``primary'' machine -- > it runs named, and also dials my ISP with "ppp -alias". The machine is known > as imdave.pr.mcs.net in the real world when connected to my ISP. The other > machine I call "base586.home.org" -- a flakey-when-using-floating-point-instructions > Cyrix 6x86 CPU. Hm. How old is your 6x86?? (Mine in from 9/97.) > I've also got a couple of old machines connected by serial > ports using uucp. > > ISP (mcs.net) > | > | > 205.164.3.77 (imdave.pr.mcs.net) > | > +--|--------+ +-------------+ > | ppp | | | > | | | | > | ne2000 --- 10.0.0.1 -------------------- 10.0.0.2 --- ne2000 | > | | (base486.home.org) (base586.home.org) | | > | cuaa4 | | | > +--|--------+ +-------------+ > | > unixpc > > The contents of all the following files will be indented with two spaces. > First, /etc/hosts. > > For base486.home.org: > 127.0.0.1 base486.home.org localhost.home.org base486 localhost Here, I see differences. In this P90's /etc/hosts I have 10.0.0.1 tao.thought.org tao and the requisite IP to work. I wonder if I can delete the 10.1 entry. > 10.0.0.2 base586.home.org base586 > > For base586.home.org: > 127.0.0.1 localhost.home.org localhost > 10.0.0.1 base486.home.org base486 > 10.0.0.2 base586.home.org base586 > > Second, the sendmail configuration files. Do I need the mailertables? Do I need > the relaytable? I don't know or remember why I thought I need them -- but it seems > to works for me mostly. Have you deleted the tables to determine if they _are_ necessary? They probably are.... > > For base486.home.org: > > base486.mc: > divert(-1) > # > # Process with: > # gm4 m4/cf.m4 base486.mc >sendmail.cf > # > divert(0) > VERSIONID(`@(#)base486.mc $Revision: 1.1 $') > OSTYPE(bsd4.4)dnl > [[ ... ]] > > > Now for named (on base486). > > /etc/namedb/named.root was originally fetched from > ftp://FTP.RS.INTERNIC.NET/domain/named.root > [[ ... ]] > > > Well, there they are. They mostly work for me. One thing I've not gotten > to work properly is doing a uucp mail from my old system V box to base586.home.org. > It may be because sendmail isn't configured properly somewhere along the line, > but I haven't spent any more time tinkering. I'm also very unclear with respect > to the MX stuff. Anyway, good luck. > Thanks. I'm going to need some luck to get the rest of this set up! Hopefully, named stuff will be a plug-in after some study and subs. (!!) gary -- Gary D. Kline kline@tao.thought.org Public service uNix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message