From jmg@nike.efn.org  Wed Oct 16 03:04:49 1996
Received: from nike.efn.org (resnet.uoregon.edu [128.223.170.28])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA04544
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Oct 1996 03:04:47 -0700 (PDT)
Received: (from root@localhost) by nike.efn.org (8.7.5/8.7.3) id DAA21301; Wed, 16 Oct 1996 03:04:45 -0700 (PDT)
Message-Id: <199610161004.DAA21301@nike.efn.org>
Date: Wed, 16 Oct 1996 03:04:45 -0700 (PDT)
From: John-Mark Gurney <jmg@nike.efn.org>
Reply-To: gurney_j@efn.org
To: FreeBSD-gnats-submit@freebsd.org
Subject:
X-Send-Pr-Version: 3.2

>Number:         1823
>Category:       bin
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 03:10:01 PDT 1996
>Closed-Date:    Sat Oct 19 23:48:30 MET DST 1996
>Last-Modified:  Sat Oct 19 23:50:56 MET DST 1996
>Originator:     John-Mark Gurney
>Release:        FreeBSD 2.2-960801-SNAP i386
>Organization:
Cu Networking
>Environment:

just a good old 2.2-0801-SNAP system
	

>Description:

if you have an environment variable $REPLY_TO set send-pr doesn't use it... 
caused my last send-pr not to have to proper reply-to address...  also..  is 
it good not to include domain in from?

of course is this the really intended behavior?
	

>How-To-Repeat:

in sh:
export REPLY_TO=somethingelse
send-pr
/Reply-To:
notice that it reads exactly the same as from: and not somethingelse
	

>Fix:
	
possibly apply this patch or someother patch:

Index: send-pr.sh
===================================================================
RCS file: /usr/cvs/src/gnu/usr.bin/send-pr/send-pr.sh,v
retrieving revision 1.5
diff -c -r1.5 send-pr.sh
*** send-pr.sh	1994/11/10 02:34:54	1.5
--- send-pr.sh	1996/10/16 09:58:51
***************
*** 81,87 ****
  fi
  
  FROM="$LOGNAME"
! REPLY_TO="$LOGNAME"
  
  # Find out the name of the originator of this PR.
  if [ -n "$NAME" ]; then
--- 81,89 ----
  fi
  
  FROM="$LOGNAME"
! if [ x"${REPLY_TO}" = x"" ]; then
!   REPLY_TO="$LOGNAME"
! fi
  
  # Find out the name of the originator of this PR.
  if [ -n "$NAME" ]; then
	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Oct 19 23:48:30 MET DST 1996 
State-Changed-Why:  
Fixed in rev 1.6 of send-pr.sh.  REPLY_TO or REPLYTO from the 
environment now get precedence over LOGNAME for the Reply-To 
address. 

The domainname will be added by the mail transport if necessary, btw. 

PRs 1472 and 1823 were basically dup's for 1471. 

>Unformatted:
 
send-pr doesn't suck in $REPLY_TO if set
