[comp.unix.ultrix] UUCP mail sites and sendmai.cf

envbvs@epb7.lbl.gov (Brian V. Smith) (03/07/91)

I would like to be able to ship mail destined for UUCP sites directly
to a host that I know can handle those addresses by using the Z
macro in /etc/sendmail.cf.  

However, it appears that I must still install /usr/bin/uux (and possibly
others) even if I know that my host cannot connect to any uucp sites
directly.

Does anyone know if there is any way around installing the uucp software
to do what I want to do?

This Ultrix 4.0 (VAX)
Thanks.

-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.

avolio@decuac.DEC.COM (Frederick M. Avolio) (03/07/91)

You certainly do not need the uucp software subset to do this.  
You just (just!?!) need to modify your sendmail.cf file.

In the ULTRIX sendmail.cf (ULTRIX 4.0 at least) there is only one
line that sends mail to the uucp mailer.  Change that to send it
to your forwarder (that will in turn send it out whereever it is
supposed to go).  You also should comment out all lines that
check  $~Z  -- there are only two and are in ruleset 0 (S0).
(Do *not*define FZ -- leave it commented out.)

Add a line at the beginning to define your uucp relay host
for example:

DZuucprelay.lbl.gov

Then in ruleset 0,  change

R$-!$+                  $#uucp$@$1$:$2                  host!...

To be

R$-!$+			$#tcp$@$Z$:$2!$1

Refreeze yor config file and restart sendmail.

Fred