How does sendmail get UUCP host names?

Neil Rickert rickert at mp.cs.niu.edu
Tue Mar 12 13:54:57 AEST 1991


In article <1991Mar12.011642.17723 at pslu1.psl.wisc.edu> bill at pslu1.psl.wisc.edu (Bill Roth) writes:
>I'm having trouble installing UUCP on a decstation 3100. If I install
>a new host in L.sys, and create the appropriate directories, kill sendmail
>freeze the configuration file, and restart sendmail, when I mail
>to the new host, it does not find it. The mailer returns a message that
>says: host "newhost" not connected to pslu1 by uucp.
>
>Where does sendmail pick up the UUCP hosts, and how?

 This depends on the design of 'sendmail.cf'.  A popular method is to define
a class, say $=U, which matches all connected UUCP hosts.

 Look for a line:

CUuuhost1 uuhost2 ...

 or perhaps

CU uuhost1
CU uuhost2
 ...

 or perhaps

FU/pathname/of/file_containing UUCP hosts

 In the above, 'U' could be just about any letter of the alphabet.

grep '^[FC]' sendmail.cf

 can be very helpful in guessing which letter is used.

 (A particulary undesirable approach uses
FU/usr/lib/uucp/L.sys
 which has the wonderful effect of putting all passwords in L.sys into
the freeze file, and into an core dumps from sendmail).

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert at cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940



More information about the Comp.unix.questions mailing list