🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dan Glasser Thu, 09 Aug 1984 02:35
Sendmail problem: UUCP headers
#257
Author: Dan Glasser
Date: Thu, 09 Aug 1984 02:35
46 lines
2006 bytes
    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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads