[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-doc
Subject: docs/17014: send-pr MAIL_AGENT is unconditionally set
From: keramida () ceid ! upatras ! gr
Date: 2000-02-26 21:37:16
[Download RAW message or body]
>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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic