Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 05:10:03 -0700 (PDT)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/40221: [send-pr] send-pr does not allow specifying a return address
Message-ID:  <200207051210.g65CA3Sq006499@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/40221; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: Igor Sobrado <sobrado@acm.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/40221: [send-pr] send-pr does not allow specifying a return address
Date: Fri, 5 Jul 2002 15:08:54 +0300

 On Fri, Jul 05, 2002 at 02:01:27AM -0700, Igor Sobrado wrote:
 > 
 > >Number:         40221
 > >Category:       bin
 > >Synopsis:       [send-pr] send-pr does not allow specifying a return address
 > >Originator:     Igor Sobrado
 > >Description:
 >       sometimes the computer where send-pr is run does not allow email
 > (laptops, end-user workstations, etc...).  It should be nice to have a parameter in command-line to specify the return address.
 > >How-To-Repeat:
 >       send-pr does not have this option.
 > >Fix:
 >       add a new command-line option to specify the return address.
 
 Actually, send-pr(1) already provides this capability, though not via a
 command-line option.  You can either edit its config file, or set the
 MAIL_AGENT environment variable before invoking it.  As seen in
 /usr/bin/send-pr around line 59, the default value for MAIL_AGENT is
 "/usr/sbin/sendmail -oi -t".  I find that adding -froam@ringlet.net to
 the list of options helps sometimes :)
 
 That is, instead of just 'send-pr', run something like:
 
 $ env MAIL_AGENT='/usr/sbin/sendmail -oi -t -fsobrado@acm.org' send-pr
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 If you think this sentence is confusing, then change one pig.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207051210.g65CA3Sq006499>