Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site luke.UUCP
Path: utzoo!linus!decvax!tektronix!hplabs!oliveb!bene!luke!itkin
From: itkin@luke.UUCP (Steven List)
Newsgroups: net.news.b
Subject: Adding From: to Rnmail
Message-ID: <309@luke.UUCP>
Date: Wed, 7-Aug-85 11:59:38 EDT
Article-I.D.: luke.309
Posted: Wed Aug  7 11:59:38 1985
Date-Received: Mon, 12-Aug-85 21:02:33 EDT
Reply-To: itkin@luke.UUCP (Steven List)
Organization: Benetics Corp, Mt.View, CA
Lines: 119
Keywords: rn Rnmail mail

Description:
	This patch adds a From: line to the Rnmail header.  It is intended
	for those systems using not-so-smart mailers that don't prepend
	anything other than the basic From line at the top.  This will
	add a line of the form
		
		From: logname@sitename.DOMAIN (fullname)
	
	after the To: line in the mail header.  This is based against the
	latest patches received from lwall (25?).

*** Rnmail.orig	Thu Jun  6 12:44:39 1985
--- /usr/bin/Rnmail	Tue Aug  6 15:57:31 1985
***************
*** 27,32
  # if you change this to something that does signatures, take out signature code
  
  # your site name
  case undef in
  define) sitename=`uuname -l` ;;
  undef) sitename="luke" ;;

--- 27,33 -----
  # if you change this to something that does signatures, take out signature code
  
  # your site name
+ undef=define
  case undef in
  define) sitename=`uuname -l` ;;
  undef) sitename="luke" ;;
***************
*** 114,123
  
  # now build a file with a header for them to edit
      
!     orgname=${ORGANIZATION-$orgname}
!     case $orgname in
!     /*) orgname=`$cat $orgname` ;;
!     esac
  
      $cat > $tmpart < $tmpart < $tmpart < $tmpart < $tmpart <