*BSD News Article 30145


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!umd5.umd.edu!mark
From: mark@elea.umd.edu (Mark Sienkiewicz)
Newsgroups: comp.os.386bsd.questions
Subject: Re: UUCP instructions?
Date: 4 May 1994 18:54:25 GMT
Organization: Zeno, IPST, University of Maryland
Lines: 73
Message-ID: <2q8r11$dg5@umd5.umd.edu>
References: <2prpnu$bhi@hermes.unt.edu> <Cp763y.EL0@mcs.anl.gov> <2q63hv$k8i@hecate.umd.edu>
NNTP-Posting-Host: elea.umd.edu

In article <2q63hv$k8i@hecate.umd.edu>,
Mark Sienkiewicz <mark@elea.umd.edu> wrote:
>In article <Cp763y.EL0@mcs.anl.gov>,
>John R. Winans <winans@xray.aps.anl.gov> wrote:
>>Hmmm... after a little pokeing around, I can see that I aint got it either 
>>and I installed everything from the 0.9 release.  I can only assume that 
>
>I am running UUCP on 0.9-- it came with UUCP, but only as sources.  Go
>poke around /usr/src.  (/usr/src/libexce/uucp ?)

It is actually in /usr/src/gnu/libexec/uucp.

>>If you get it working, I am sure that the net would appreciate any comments you
>>have on the configuration and policy.h settings.
>
>I'll dig these up and send them along shortly.


These are values that I have in my policy.h:

(note that some parameters come as N parts where you set all but one of
them to 0 -- I only listed the macro that gets set to 1.)

#define USE_STDIO 1
#define HAVE_POSIX_TERMIOS 1
#define HAVE_UNBLOCKED_WRITES 1
#define SINGLE_WRITE 100
#define TIMES_TICK 100
#define LOCKDIR "/var/spool/lock"
#define HAVE_BNU_LOCKFILES 1

#define HAVE_INTERNET_MAIL 1
	Note:  I *do* have domain based mail addressing.  You might not.

#define DEBUG 2
#define HAVE_TAYLOR_CONFIG 1
#define SPOOLDIR_TAYLOR 1
#define HAVE_TAYLOR_LOGGING 1
#define CLOSE_LOGFILES 0
#define ALLOW_SH_EXECUTION 0
#define ALLOW_FILENAME_ARGUMENTS 0

This is not everything in the whole file, but it lists all the ones
I thought important enough to have to tell you, and then some. :)

>>I expect that sendmail will be a larger problem then UUCP.
>
>Go into the sendmail sources and make the config files.  The UUCP-style
>addressing works just fine if you expect to say "a!b!c!d".  

I found that this doesn't look like I remembered it.  Then I remembered 
that I never configured my 0.9 machine for mail -- I configured my 
** 0.8 ** machine for mail and then kept the config file when I upgraded.

I'm not sure which config file to recommend, but you can probably
make either "uucpproto" or "tcpproto" work for you.  I configured a 
machine with direct internet connections recently.  I used tcpproto,
but need to change the "M" line for local delivery to look like
this:

Mlocal, P=/usr/libexec/mail.local, F=lsDFMmn, S=10, R=20, A=mail -r $g -d $u

It came with "P=/bin/mail" which is wrong for Netbsd.

Anyway, to get a config file, go to /usr/src/usr.sbin/sendmail/cf/cf
and do "make".  Copy one of the config files to /etc/sendmail.cf,
tweaking the "Mlocal".  Kill and restart sendmail before you expect
it to work. :)

Have fun.

Mark S.