From owner-freebsd-bugs Fri Jul 5 5:10:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B005F37B400 for ; Fri, 5 Jul 2002 05:10:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6091743E31 for ; Fri, 5 Jul 2002 05:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g65CA3JU006500 for ; Fri, 5 Jul 2002 05:10:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g65CA3Sq006499; Fri, 5 Jul 2002 05:10:03 -0700 (PDT) Date: Fri, 5 Jul 2002 05:10:03 -0700 (PDT) Message-Id: <200207051210.g65CA3Sq006499@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/40221: [send-pr] send-pr does not allow specifying a return address Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/40221; it has been noted by GNATS. From: Peter Pentchev To: Igor Sobrado 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