*BSD News Article 31445


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!ihnp4.ucsd.edu!swrinde!pipex!sunic!EU.net!Germany.EU.net!gomel.knirsch.de!knobel.knirsch.de!knobel.knirsch.de!andreas
From: andreas@knobel.knirsch.de (Andreas Klemm)
Newsgroups: comp.os.386bsd.questions
Subject: Re: sendmail.cf for UUCP??
Date: 5 Jun 1994 22:02:36 GMT
Organization: Andreas Klemm, 41469 Neuss, Germany
Lines: 80
Message-ID: <2sti2e$8r8@knobel.knirsch.de>
References: <2sifbq$46@blkbox.blkbox.COM>
NNTP-Posting-Host: knobel.knirsch.de
X-Newsreader: TIN [version 1.2 PL2]

John A. Perry (perry@blkbox) wrote:
: Hello Everyone,

: 	I just got through installing FreeBSD 1.1 on my machine. I was
: looking at sendmail.cf to see what needed to be done to get it to work
: exclusively with UUCP since I am not currently connected to the
: Internet. Is there someone out there that has a pre-configured
: sendmail.cf that is configured for UUCP they could send me? Is there one
: I can FTP from somewhere? Please advise. I would like to get sendmail 
: working ASAP.

You need the usr.sbin source tree.
Then you go into the sendmail/cf/ tree ...

Make a directory obj.		mkdir obj

Take this as an example ``yourname.mc'' file

#-----------------------------------------------------------------------
divert(-1)
#
#  This is the prototype for a configuration that only supports UUCP.
#
include(`../m4/cf.m4')
VERSIONID(`yourname.mc 1.1')

OSTYPE(bsd4.4)

FEATURE(mailertable)
FEATURE(use_cw_file)
FEATURE(nodns)
FEATURE(notsticky)

define(`confUSERDB_SPEC', /etc/userdb.db)dnl
define(`confME_TOO', True)dnl
define(`confMIME_FORMAT_ERRORS', False)dnl

MAILER(local)dnl
MAILER(smtp)dnl
define(`UUCP_MAX_SIZE', 1000000)dnl # Maximale Nachrichtengroesse 1MB
MAILER(uucp)dnl

define(`SMART_HOST', uucp-uudom:gomel)dnl
				^^^^^------- This is the name of your
					     UUCP smart host to which
					     you are connected.
SITECONFIG(uucp.yourname, yourname, U)dnl   <--- yourname is your 
						machines nodename
#----------------------------------------------------------------------

In the siteconfig directory create a file uucp.yourname

In this file you list the machines to which you have active uucp/mail
connection. Unknown addresses are routet to your smarthost ....


siteconfig/uucp.yourname:
#----------------------------------------------------------------------
SITE(nodename_of_your_smarthost)
#----------------------------------------------------------------------

Then go again into the cf directory with the mc (master config) files
and do a 
	make yourname.cf
After that you find in obj/yourname.cf a very fine uucp sendmail.cf file.

Copy this to /etc/sendmail.cf

You do not need to create a frozen config file since sendmail on
FreeBSd 1.1 isn't compiled with that option turned on.

That should do the trick !

Best regards

	Andreas ///

--
Andreas Klemm                 /\/\____ Wiechers & Partner Datentechnik GmbH 
andreas@knobel.knirsch.de ___/\/\/     andreas@wupmon.wup.de (Unix Support)