From d@scry.dstc.edu.au  Wed Aug  7 00:22:27 1996
Received: from trapdoor.dstc.edu.au (root@trapdoor.dstc.edu.au [130.102.176.12])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA21454
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 7 Aug 1996 00:22:24 -0700 (PDT)
Received: from scry.dstc.edu.au (scry.dstc.edu.au [130.102.176.222]) by trapdoor.dstc.edu.au (8.6.9/8.6.12) with ESMTP id RAA02602 for <FreeBSD-gnats-submit@freebsd.org>; Wed, 7 Aug 1996 17:22:22 +1000
Received: (from d@localhost) by scry.dstc.edu.au (8.6.12/8.6.12) id RAA11964; Wed, 7 Aug 1996 17:23:46 +1000
Message-Id: <199608070723.RAA11964@scry.dstc.edu.au>
Date: Wed, 7 Aug 1996 17:23:46 +1000
From: David Leonard <d@scry.dstc.edu.au>
Reply-To: leonard@dstc.edu.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: send-pr needs configurable Reply-To field
X-Send-Pr-Version: 3.2

>Number:         1471
>Category:       gnu
>Synopsis:       send-pr needs configurable Reply-To field
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug  7 00:30:00 PDT 1996
>Closed-Date:    Sat Oct 19 23:48:30 MET DST 1996
>Last-Modified:  Sat Oct 19 23:50:03 MET DST 1996
>Originator:     David Leonard
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
DSTC, Brisbane, Australia  +61 7 3365 4310
>Environment:

FreeBSD scry.dstc.edu.au 2.2-CURRENT FreeBSD 2.2-CURRENT #2: Fri Jul 26 17:14:34 EST 1996     d@scry.dstc.edu.au:/u2/src/freebsd/sys/sys/compile/SCRY  i386

>Description:

	send-pr would be nicer with a configurable Reply-To field

>How-To-Repeat:

	Because I have different username on the mailhost for this site,
	i have to put a reply-to on all my mail. thats fine. send-pr
	assumes that your LOGNAME is your reply-to address.

>Fix:

patch below
or you way want to have the REPLY_TO envvar take precedence over
the dotfile
	
*** gnu/usr.bin/send-pr/send-pr.sh.orig	Wed Aug  7 17:15:25 1996
--- gnu/usr.bin/send-pr/send-pr.sh	Wed Aug  7 17:17:58 1996
***************
*** 81,87 ****
  fi
  
  FROM="$LOGNAME"
! REPLY_TO="$LOGNAME"
  
  # Find out the name of the originator of this PR.
  if [ -n "$NAME" ]; then
--- 81,91 ----
  fi
  
  FROM="$LOGNAME"
! if [ -f $HOME/.reply-to ]; then
!   REPLY_TO="`sed -e '1q' $HOME/.reply-to`"
! elif [ -z "$REPLY_TO" ]; then
!   REPLY_TO="$LOGNAME"
! fi
  
  # Find out the name of the originator of this PR.
  if [ -n "$NAME" ]; then

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: gpalmer 
Responsible-Changed-When: Fri Aug 23 02:10:07 PDT 1996 
Responsible-Changed-Why:  
Misfiled for some reason 
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:
 
