Date: Sat, 26 Feb 2000 23:37:16 +0200 (EET) From: keramida@ceid.upatras.gr To: FreeBSD-gnats-submit@freebsd.org Subject: docs/17014: send-pr MAIL_AGENT is unconditionally set Message-ID: <20000226213716.236EEDD287@hades.hell.gr>
next in thread | raw e-mail | index | archive | help
>Number: 17014 >Category: docs >Synopsis: send-pr sets MAIL_AGENT unconditionally >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 26 14:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Giorgos Keramidas <keramida@ceid.upatras.gr> >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: The send-pr.sh script of Feb 23, 2000. >Description: The send-pr shell script sets MAIL_AGENT unconditionally. On systems with dialup access, where sendmail might require some custom invocation command line, this fails to use the default value of MAIL_AGENT for the user who runs it. >How-To-Repeat: You can see the relevant command in the installed version of send-pr.sh script, by running: grep MAIL_AGENT `which send-pr` By changing MAIL_AGENT=".." to MAIL_AGENT="${MAIL_AGENT:-..}" any existing value of MAIL_AGENT is preserved. >Fix: --- send-pr.sh.orig Thu Sep 2 15:00:49 1999 +++ send-pr.sh Sat Feb 26 05:20:33 2000 @@ -56,7 +56,7 @@ # What mailer to use. This must come after the config file, since it is # host-dependent. -MAIL_AGENT="/usr/sbin/sendmail -oi -t" +MAIL_AGENT="${MAIL_AGENT:-/usr/sbin/sendmail -oi -t}" ECHON=bsd >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000226213716.236EEDD287>