From nobody@FreeBSD.org Fri Jul 5 02:01:28 2002 Return-Path: Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B25737B400 for ; Fri, 5 Jul 2002 02:01:28 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id F34C443E09 for ; Fri, 5 Jul 2002 02:01:27 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6591ROT097018 for ; Fri, 5 Jul 2002 02:01:27 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g6591R8b097017; Fri, 5 Jul 2002 02:01:27 -0700 (PDT) Message-Id: <200207050901.g6591R8b097017@www.freebsd.org> Date: Fri, 5 Jul 2002 02:01:27 -0700 (PDT) From: Igor Sobrado To: freebsd-gnats-submit@FreeBSD.org Subject: [send-pr] send-pr does not allow specifying a return address X-Send-Pr-Version: www-1.0 >Number: 40221 >Category: bin >Synopsis: [send-pr] send-pr does not allow specifying a return address >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 05 02:10:01 PDT 2002 >Closed-Date: Fri Jul 05 11:54:25 PDT 2002 >Last-Modified: Mon Jul 8 00:50:02 PDT 2002 >Originator: Igor Sobrado >Release: 4.6-RELEASE >Organization: University of Oviedo >Environment: FreeBSD localhost 4.6-RELEASE FreeBSD 4.6-RELEASE #2: Thu Jul 4 09:59:34 CEST 2002 sobrado@localhost:/usr/src/sys/compile/HP-OB4100 i386 >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. >Release-Note: >Audit-Trail: From: "Simon 'corecode' Schubert" 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 12:25:34 +0200 --=.KJ.8J2w_dyq6fX Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 5 Jul 2002 02:01:27 -0700 (PDT) Igor Sobrado wrote: > 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 about filling the From: or Reply-To: headers correctly? cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.KJ.8J2w_dyq6fX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9JXQhr5S+dk6z85oRAvZtAKC+hODZpaI63SkxVL/OnuImIavXEgCeMcO9 7GI+JVZgY6vLLEpgu6E/Oi8= =fiv0 -----END PGP SIGNATURE----- --=.KJ.8J2w_dyq6fX-- 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. From: Peter Pentchev To: Simon 'corecode' Schubert Cc: bug-followup@FreeBSD.org Subject: Re: bin/40221: [send-pr] send-pr does not allow specifying a return address Date: Fri, 5 Jul 2002 15:15:41 +0300 On Fri, Jul 05, 2002 at 03:30:13AM -0700, Simon 'corecode' Schubert wrote: > On Fri, 5 Jul 2002 02:01:27 -0700 (PDT) Igor Sobrado wrote: > > > 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 about filling the From: or Reply-To: headers correctly? This will not help software which examines the Return-Path header, e.g. for bounces.. 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 I were you, who would be reading this sentence? From: Igor Sobrado To: Peter Pentchev Cc: Igor Sobrado , freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/40221: [send-pr] send-pr does not allow specifying a return address Date: Fri, 05 Jul 2002 15:12:43 +0200 > 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 It is a good alternative to new command-line options. It was all I was looking for. Now I see that this improvement is not really important. Can you, please, provide me some feedback about how closing this problem report? Thanks again!!! Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org From: "Simon 'corecode' Schubert" To: Peter Pentchev Cc: bug-followup@FreeBSD.org Subject: Re: bin/40221: [send-pr] send-pr does not allow specifying a return address Date: Fri, 5 Jul 2002 17:21:00 +0200 --=..ktekWUI4tRHd+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 5 Jul 2002 15:15:41 +0300 Peter Pentchev wrote: > > > 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 about filling the From: or Reply-To: headers correctly? > > This will not help software which examines the Return-Path header, e.g. > for bounces.. that's perfectly true, but you can't change that anyways. for this to be changed you must use another MTA if i'm not mistaken (or at least another config for your MTA) cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=..ktekWUI4tRHd+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9Jblir5S+dk6z85oRAhI7AKDQKyJAK9eQEUB60np3KenGlu16xwCbB+ma jVyZxGSQdHVjGEcaaYpXn9g= =1yhf -----END PGP SIGNATURE----- --=..ktekWUI4tRHd+-- State-Changed-From-To: open->closed State-Changed-By: billf State-Changed-When: Fri Jul 5 11:54:07 PDT 2002 State-Changed-Why: suggestions contained in followups. http://www.freebsd.org/cgi/query-pr.cgi?pr=40221 From: Peter Pentchev To: Simon 'corecode' Schubert Cc: bug-followup@FreeBSD.org Subject: Re: bin/40221: [send-pr] send-pr does not allow specifying a return address Date: Mon, 8 Jul 2002 10:46:30 +0300 On Fri, Jul 05, 2002 at 08:30:03AM -0700, Simon 'corecode' Schubert wrote: > On Fri, 5 Jul 2002 15:15:41 +0300 Peter Pentchev wrote: > > > > > 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 about filling the From: or Reply-To: headers correctly? > > > > This will not help software which examines the Return-Path header, e.g. > > for bounces.. > > that's perfectly true, but you can't change that anyways. for this to be > changed you must use another MTA if i'm not mistaken (or at least > another config for your MTA) As I wrote in another follow-up message, send-pr(1) already allows you to change the Return-Path (or rather, tell your MTA to change the Return-Path) via the MAIL_AGENT variable. 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 What would this sentence be like if it weren't self-referential? >Unformatted: