Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site hou3c.UUCP
Path: utzoo!watmath!clyde!burl!hou3c!dglasser%YALE-BULLDOG@YALE.ARPA
From: dglasser%YALE-BULLDOG@YALE.ARPA (Dan Glasser)
Newsgroups: net.mail.headers
Subject: Sendmail problem: UUCP headers
Message-ID: <745@hou3c.UUCP>
Date: Wed, 8-Aug-84 22:40:13 EDT
Article-I.D.: hou3c.745
Posted: Wed Aug  8 22:40:13 1984
Date-Received: Fri, 10-Aug-84 02:46:24 EDT
Sender: ka@hou3c.UUCP (Kenneth Almquist)
Lines: 46
To: Header-People@MIT-MC.ARPA


    I'm having a problem getting sendmail to properly rewrite headers
on messages going out to UUCP.  Let's say that I compose a message
with the following header fields:

	From: dglasser
	To: decvax!foo, apollo!bar
	Cc: decvax!harpo!blah

    The copy of the message spooled for decvax!foo and decvax!harpo!blah
should have the headers rewritten as follows:

	From: yale!dglasser
	To: foo, yale!apollo!bar
	Cc: harpo!blah

    The copy of the message spooled for apollo!bar should have the
headers rewritten as follows:

	From: yale!dglasser
	To: yale!decvax!foo, bar
	Cc: yale!decvax!harpo!blah

    In other words, what we want to do is the following:

	1) Prepend "yale!" to the sender address.
	2) For recipient address a!b!c:
	   a) For copies of the message going to a, strip "a!"
	   b) For copies of the message NOT going to a, prepend "yale!".


    Now, I have two important questions:

    1) Is my description of how the headers should be rewritten correct?
       (I think it is, but I'd be interested to hear disagreements)
    2) Has anyone successfully implemented this sort of rewriting in
       sendmail?  (I tried doing it by using the $h macro in the UUCP
       recipient rewriting ruleset, but it didn't work)


					Danny Glasser

					decvax!yale!dglasser
					(formerly yale-comix!dglasser)

					Glasser-Daniel@YALE.ARPA