[comp.mail.sendmail] modification of sendmail.cf?

telfeyan@zip.eecs.umich.edu (Roland Telfeyan) (04/24/91)

Gomidas (gomidas.mi.org) has a UUCP connection to sharkey.cc.umich.edu
and has internet name service through sharkey and sends a message
to zip.eecs.umich.edu in this example.

A message from roland@gomidas.mi.org (sharkey!gomidas!roland) to
telfeyan@zip.eecs.umich.edu:

    From gomidas!roland@sharkey.cc.umich.edu Tue Jan 15 01:32:37 1991
    Return-Path:  <gomidas!roland@sharkey.cc.umich.edu>
    Received: from sharkey.cc.umich.edu by zip.eecs.umich.edu
    (5.61+++/3.00-gamma)
            id AA14341; Tue, 15 Jan 91 01:32:35 -0500
    Received: by sharkey.cc.umich.edu (5.64/1123-1.0)
	    id AA27528; Tue, 15 Jan 91 01:34:56 -0500
    Received: by  gomidas.mi.org  (NeXT-1.0 (From Sendmail 5.52)/NeXT-1.0)
	    id AA01019; Tue, 15 Jan 91 01:31:34 EST
    Date: Tue, 15 Jan 91 01:31:34 EST
    From: gomidas!roland@sharkey.cc.umich.edu (Roland Telfeyan)
    Message-Id: <9101150631.AA01019@ gomidas.mi.org >
    To: sharkey!telfeyan@zip.eecs.umich.edu
    Subject: gomidas to zip
    Cc: roland@sharkey.cc.umich.edu
    
    This letter was mailed from gomidas to zip by typing
    mail telfeyan@zip.eecs.umich.edu@sharkey.uucp
    
Several things in this message did not come out right.

I'd like to know how to change sendmail.cf production rules to
effect the following changes:

    > Legend:
    > undesired result as seen above
    > -->
    > desired result

1.
    From gomidas!roland@sharkey.cc.umich.edu Tue Jan 15 01:32:37 1991
    -->
    From roland@gomidas.mi.org Tue Jan 15 01:32:37 1991
    
2.
    Return-Path:  <gomidas!roland@sharkey.cc.umich.edu>
    -->
    Return-Path:  <roland@gomidas.mi.org>
    
3.
    From: gomidas!roland@sharkey.cc.umich.edu (Roland Telfeyan)
    -->
    From: roland@gomidas.mi.org (Roland Telfeyan)
    
4.
    To: sharkey!telfeyan@zip.eecs.umich.edu
    -->
    To: telfeyan@zip.eecs.umich.edu
    
5.
    Cc: roland@sharkey.cc.umich.edu
    -->
    Cc: roland@gomidas.mi.org

Here is part of the sendmail.cf file for gomidas:

############################################################
#####
#####		UUCP Mailer specification
#####
Muucp,	P=/usr/bin/uux, F=msDFMhuU, S=13, R=23,
	A=uux - -r $h!rmail ($u)

# Convert uucp sender (From) field
S13
R$+			$:$>5$1				convert to old style
R$=w!$+			$2				strip local name
R$+			$:$w!$1				stick on real host name

# Convert uucp recipient (To, Cc) fields
S23
R$+			$:$>5$1				convert to old style

#####
############################################################

Is there anything in the UUCP Mailer specification that could be
changed to produce the desired results?

Thanks,

Roland

--
Roland Telfeyan                             roland@gomidas.mi.org
1685 Broadway #202                          roland@cpat.umich.edu
Ann Arbor, MI 48105-1861                           (313) 761-6547