[comp.unix.questions] How to make sendmail work with uucp

kevin@kosman.UUCP (Kevin O'Gorman) (05/30/87)

I'm trying to use mail on an Ultrix system.  These things come set up for
ARPA, but all I have is UUCP.  I have changed the configuration to the
sample uucp configuration.

In test mode, both kevin@kosman and kosman\!kevin.uucp translate to
^U uucp ^V kosman ^W kevin
so I think I'm on the right track.  However, actually routing mail to
kosman\!kevin gives me bounced mail like this:

> From kevin Sat May 30 11:39:18 1987
> Date: Sat, 30 May 87 11:39:10 edt
> From: MAILER-DAEMON (Mail Delivery Subsystem)
> Subject: Returned mail: unknown mailer error 255
> To: kevin
> Status: R
> 
>    ----- Transcript of session follows -----
> uux failed. code -1
> 554 kosman!kevin... unknown mailer error 255
> 
>    ----- Unsent message follows -----
> Received: by rls.UUCP (4.12/4.7)
> 	id AA03676; Sat, 30 May 87 11:39:10 edt
> Date: Sat, 30 May 87 11:39:10 edt
> From: kevin (Kevin O'Gorman)
> To: kosman!kevin
> Subject: subject
> 
> foo

<  let's fool inews
<
<
<
<
<
<
<
and trying to send to kevin@kosman is even worse -- it rejects it out of
hand, and I don't think sendmail ever sees it.

BTW, this is running on system rls, sending to system kosman.

Anyway, what am I doing wrong?


-- 
Kevin O'Gorman
...{decvax,allegra}!philabs!hhb!kosman!kevin

avolio@decuac.UUCP (06/02/87)

In article <246@kosman.UUCP>, kevin@kosman.UUCP (Kevin O'Gorman) writes:
> I'm trying to use mail on an Ultrix system.  These things come set up for
> ARPA, but all I have is UUCP.  I have changed the configuration to the
> sample uucp configuration.

> In test mode, both kevin@kosman and kosman\!kevin.uucp translate to
> ^U uucp ^V kosman ^W kevin....  However, actually routing mail to
> kosman\!kevin gives me bounced mail like this:
...

Perhaps you do not have uucp correctly installed.  Have you run the
uucpsetup script?  The problem sounds like it is in the uucp setup and
not in sendmail.

Fred

steve@et.UUCP (Steve Hole) (06/03/87)

> In article <246@kosman.UUCP>, kevin@kosman.UUCP (Kevin O'Gorman) writes:
> > I'm trying to use mail on an Ultrix system.  These things come set up for
> > ARPA, but all I have is UUCP.  I have changed the configuration to the
> > sample uucp configuration.
> 
> > In test mode, both kevin@kosman and kosman\!kevin.uucp translate to
> > ^U uucp ^V kosman ^W kevin....  However, actually routing mail to
> > kosman\!kevin gives me bounced mail like this:
> ...
> 
> Perhaps you do not have uucp correctly installed.  Have you run the
> uucpsetup script?  The problem sounds like it is in the uucp setup and
> not in sendmail.
> 
> Fred

You were correct the first time when you figured it was a problem with
your mailer.  I had the same problem here and it took me awhile to
figure it all out.  That was some time ago now, and I can't remember
the exact steps to take but they are outlined in some detail in the
"SENDMAIL Installation and Operation Guide" in the supplimentary
documents volume III.  The basic jist of it is that you must a) copy
the default uucp configuration file to "sysname.cf" in the cf
directory, where sysname is the hostname of your system (it seems that
you have already done this), b) run the makefile in the root of the
sendmail directory.  This should set it all up for you (I don't recall
having any problems with it).  The makefile will move the new
configuration into the right place (/usr/lib/sendmail.cf) and make
sure that all binaries are up to date.  It will then create a frozen
configuration for you and restart your mail daemon.  It also does some
other things like change /etc/rc to reflect the new configuration.
The actual steps that you would have to take in doing it by hand are
also given in the installation guide.  If you have any more trouble
with it, send me some mail and I'll dig up my logs and tell you
exactly what I did.

	       				Steve.

P.S.   Avoid the uucpsetup script given with the Ultrix distribution
       after using it for the first time.  It does some nasty things 
       like place unwanted (and non working) entries in the crontab.
       You still should to run it though if you change your hostname.

---------------------------------------------------------------------
The opinions expressed here are not necessarily those of my
employer.
---------------------------------------------------------------------
Steve Hole (steve@et.UUCP or alberta!ncc!et!steve)
Etcom International (edmonton telephones) Edmonton, Alberta CANADA
(403) 441-7673
---------------------------------------------------------------------