🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Paul Chinn Sun, 18 Dec 1994 00:49
Where do trn,Pnews,etc. get "From:" line info?
#13842
Author: Paul Chinn
Date: Sun, 18 Dec 1994 00:49
16 lines
1592 bytes
I've got trn running on a linux box and I access news via SLIP.
Everything is keen except for the info that is being put in the
From: field.  The name of my computer and its fake domain are
being put there.  I want the name of my email provide to go there
so people can email me if they want.  I have searched high and low
and read many a man page and it looks like I can configure every
single news option and variable in the universe with the exception of
From field.  The closest I've gotten is the REPLYTO variable which
is great if people use the reply command but won't work if someone
jots down my address as it appears in the From field and then mails me
later.  Help?
-- 
+----------------------------+
| Paul Chinn                 |
| loomer@svpal.org           |
+----------------------------+
Re: Where do trn,Pnews,etc. get "From:" line info?
#13850
Author: Sang-yong Suh
Date: Sun, 18 Dec 1994 05:04
26 lines
1869 bytes
In article <3d00vc$amq@akbar.1000klub.com>,
Paul Chinn <loomer@svpal.org> wrote:

>I've got trn running on a linux box and I access news via SLIP.
>Everything is keen except for the info that is being put in the
>From: field.  The name of my computer and its fake domain are
>being put there.  I want the name of my email provide to go there
>so people can email me if they want.

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
Re: Where do trn,Pnews,etc. get "From:" line info?
#13866
Author: 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           |
+----------------------------+
Re: Where do trn,Pnews,etc. get "From:" line info?
#13881
Author: Tim Pierce
Date: Tue, 20 Dec 1994 00:33
15 lines
1453 bytes
In article <3d2ppj$2o5@akbar.1000klub.com>,
Paul Chinn <loomer@svpal.org> wrote:

>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.

Get the source and compile it for your system.  The problem
is that you're using a pre-compiled binary for another
system -- of course it doesn't work on your personal one.

-- 
Green Card fodder: Canter, Siegel, green card, Joel Furr, liable,
fortune, conspiracy, CyberSell, Tennessee Bar.
Re: Where do trn,Pnews,etc. get "From:" line info?
#13896
Author: Chris Lewis
Date: Tue, 20 Dec 1994 18:14
47 lines
2954 bytes
In article <3d2ppj$2o5@akbar.1000klub.com>,
Paul Chinn <loomer@svpal.org> wrote:
>In article <3d0ft9$acu@sdp.kigam.re.kr>,
>Sang-yong Suh <sysuh@kigam.re.kr> wrote:
>>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.

>I tried your suggestion but it did not work.

That's because it was wrong.  Pnews doesn't use RNMAILER/sendmail to
send *postings*.  Rnmail uses sendmail to send *email*.

>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.

You may want to discuss this with the administrator of your news server.

Generally speaking, you don't want the newsreader (or even necessarily inews)
to generate From: lines.  Earlier versions of trn did, but the author
specifically took that out because, newsreaders are often wrong about what
they generate.  It's often best left to the server.  In your particular
case, since you don't have the same domain as your server, it would be
best for inews to do it.  Generally speaking, inews *does* have a way to
set it, the person who built your inews binary would know.  Perhaps it
needs to be reconfigured.
-- 
Chris Lewis: _Una confibula non sat est_
Phone: Canada 613 832-0541
Latest psroff: FTP://ftp.uunet.ca/distrib/chris_lewis/psroff3.0pl17/*
Latest hp2pbm: FTP://ftp.uunet.ca/distrib/chris_lewis/hp2pbm/*
Re: Where do trn,Pnews,etc. get "From:" line info?
#13946
Author: Sang-yong Suh
Date: Thu, 22 Dec 1994 03:34
18 lines
1494 bytes
In article <D14G04.865@ferret.ocunix.on.ca>,
sysuh@kigam, loomer@svpal, and clewis@ferret wrote:

sysuh> A trick on setting "From:" header is declaring the RNMAILER variable
sysuh> as ~/bin/mysendmail, which contains following lines:

sysuh>    #! /bin/sh
sysuh>    /usr/lib/sendmail -f 'loomer@svpal.org' $*

loomer> I tried your suggestion but it did not work.

clewis> That's because it was wrong.  Pnews doesn't use RNMAILER/sendmail to
clewis> send *postings*.  Rnmail uses sendmail to send *email*.

clewis is correct. I was wrong.  Sorry for my wrong information.

--
sysuh
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads