*BSD News Article 62658


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in2.uu.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!newsserv.uni-bayreuth.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mail and uucp help - desperate
Date: 2 Mar 1996 20:31:43 GMT
Organization: Private BSD site, Dresden
Lines: 78
Message-ID: <4hab7f$af@uriah.heep.sax.de>
References: <4h1vmg$1o0@comet2.magicnet.net>
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.3

dpb@magicnet.net (Dan Benjamin) writes:

> Sendmail complains that it can't find deliver, and I have no idea why
> it's not on my system!

Since you've got a stale sendmail.cf file.  Not the one that ships
with the system.  There's no utility called ``deliver'' on the system,
and there's no need for it.

The default sendmail configuration is not really suitable for a UUCP
setup.  I'm using the following file (call it
/usr/src/usr.sbin/sendmail/cf/cf/uriah.mc if you want):

====================================================================
include(`../m4/cf.m4')
VERSIONID(`$Id: uriah.mc,v 1.8 1995/09/24 07:53:20 j Exp $')
OSTYPE(bsd4.4)dnl

FEATURE(nodns)dnl
FEATURE(nocanonify)dnl
FEATURE(mailertable)dnl

define(`confMIME_FORMAT_ERRORS', `False')
define(`confMESSAGE_TIMEOUT', `7d/3d')
define(`UUCP_RELAY', sax.sax.de)

MAILER(local)dnl
MAILER(smtp)dnl
MAILER(uucp)dnl

Op	noreceipts

Cw	uriah uriah.sax.de
Cw	heep.sax.de
Cw	jette jette.sax.de
Cw	uriah.UUCP
====================================================================

This file can be compiled into `uriah.cf' which is then to be
installed as /etc/sendmail.cf by simply typing ``make uriah.cf'' in
the source directory.

You notice the FEATURE(mailertable) above, this is how my
/etc/mailertable looks like (stripped down for brevity):

====================================================================
heep.sax.de		esmtp:%1
interface-business.de	uucp-dom:if-bus
interface-business.de	uucp-dom:if-bus
sax.UUCP		uucp-dom:sax
if-bus.UUCP		uucp-dom:if-bus
			uucp-dom:sax
====================================================================

The last entry is the default UUCP gateway for all outgoing mail, the
remainder are special cases that handle known UUCP neighbours and the
local ethernet.

This file needs to be compiled into a DBM file using the command:

	makemap hash /etc/mailertable.db < /etc/mailertable

If you don't have a full source installation, you can find the
sendmail config sources in the file /cdrom/dists/src/ssmail.aa.  This
is a plain gzip'ed tar file containing just the sendmail config stuff.

> I can't seem to get uucp to dial out at all.  I'm lost, confused, and
> in need of any help at all.

Well, you need to tell us what you've already setup regarding your
UUCP.  Does uuname(1) list your neighbours?

-- 
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. ;-)