🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #13850

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

#13850
From: 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
Technical Details
Message-ID: <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!lll-winken.llnl.gov!overload.lbl.gov!xpat.postech.ac.kr!news.kreonet.re.kr!news.kigam.re.kr!sdp.kigam.re.kr!sdp
References: <3d00vc$amq@akbar.1000klub.com>

Show Full Headers
Complete Article Headers
Message-ID: <3d0ft9$acu@sdp.kigam.re.kr>
Subject: Re: Where do trn,Pnews,etc. get "From:" line info?
Date: Sun, 18 Dec 1994 05:04:41 +0000
From: sysuh@kigam.re.kr (Sang-yong Suh)
References: <3d00vc$amq@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!lll-winken.llnl.gov!overload.lbl.gov!xpat.postech.ac.kr!news.kreonet.re.kr!news.kigam.re.kr!sdp.kigam.re.kr!sdp
Newsgroups: news.software.readers
Organization: Korea Inst Geology Mining & Materials
Lines: 26
NNTP-Posting-Host: sdp.kigam.re.kr
Summary: Sendmail composes "From:" line
Keywords: trn, Pnews, sendmail, From