🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #13866

Re: Where do trn,Pnews,etc. get "From:" line info?

#13866
From: Paul Chinn
Date: Mon, 19 Dec 1994 02:05
36 lines
2202 bytes
In article <3d0ft9$acu@sdp.kigam.re.kr>,
Sang-yong Suh <sysuh@kigam.re.kr> wrote:

[my question about From: field]
>
>Trn uses Pnews.  Pnews uses the environment variable RNMAILER or
>sendmail to get the From: header.  If you don't have RNMAILER
>environmet varible set, Pnews uses standard sendmail which again
>may be your smail.
>
>A trick on setting "From:" header is declaring the RNMAILER variable
>as ~/bin/mysendmail, which contains following lines:
>
>    #! /bin/sh
>    /usr/lib/sendmail -f 'loomer@svpal.org' $*
>
>But be careful! Once you set the From: field like that, you'll
>expirience another problem. Trn will deny canceling of your own article.
>Trn does not know that the article is your own.
>
>--
>sysuh

I tried your suggestion but it did not work.  However in doing so I noticed
that Pnews was a shell script and not a binary so I was able to trace thru
it and find that the culprit is inews. The inews man page says I should
be able to use a -f option but it does not seem to work.  Looks like I'll
have to modify Pnews or Pnews.header to add the From: field for me.  This
causes inews to insert an Originally-From field with my bogus computer 
info but I guess I can live with that.
Thanks for your help. 
-- 
+----------------------------+
| Paul Chinn                 |
| loomer@svpal.org           |
+----------------------------+
Technical Details
Message-ID: <3d2ppj$2o5@akbar.1000klub.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!uwm.edu!spool.mu.edu!agate!news.Stanford.EDU!usenet
References: <3d00vc$amq@akbar.1000klub.com> <3d0ft9$acu@sdp.kigam.re.kr>

Show Full Headers
Complete Article Headers
Message-ID: <3d2ppj$2o5@akbar.1000klub.com>
Subject: Re: Where do trn,Pnews,etc. get "From:" line info?
Date: Mon, 19 Dec 1994 02:05:39 +0000
From: loomer@akbar.1000klub.com (Paul Chinn)
References: <3d00vc$amq@akbar.1000klub.com> <3d0ft9$acu@sdp.kigam.re.kr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!uwm.edu!spool.mu.edu!agate!news.Stanford.EDU!usenet
Newsgroups: news.software.readers
Organization: none
Lines: 36
Reply-To: loomer@svpal.org
NNTP-Posting-Host: tip-mp13-ncs-13.stanford.edu
Keywords: trn, Pnews, sendmail, From