🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #51647

Re: [trn] Changing the email address on the From line

#51647
From: Dave Thayer
Date: Tue, 07 Sep 1999 00:00
46 lines
2260 bytes
In article <slrn7t5v9m.iqt.0x0000@feather.uswest.net>,
0x0000 <0x0000@internet.gov> wrote:
>On 31 Aug 1999 02:50:31 GMT, Mike Kozlowski <mkozlows@guy.ssc.wisc.edu> wrote:
>>When I post to Usenet, my "From" header looks as it does above.  How can I
>>make that email address look different?  
>>
>>This should be easy, I'd think, but the man page and the FAQ failed to
>>help; a Deja search turned up only advice about setting the REPLYTO
>>variable (which isn't the behavior I want) and interminable flamewars
>>about address munging (which I'm not going to be doing).
>>
>>Any ideas?
>>
>>-- 
>>Michael Kozlowski                                        
>>http://www.ssc.wisc.edu/~mkozlows/
>
>
>I've been wondering about this too. I've been surprised not 
>to find it in a FAQ somewhere.
>
>I believe that if you set the USER and/or HOSTNAME environment
>variables before you run trn, it will take their values when
>it starts. You probably need to put them back when you are 
>done, since they are standard, and used by other programs,
>so you might want to create a shell script or macro to do it.
>

This is admittedly a kludge, but it works for me. In my .bashrc, I set my up
my NEWSORG variable thusly:

export NEWSORG="$ORGANIZATION
From: Dave Thayer <dthayer@netcom.com>"

NB: Note the use of quotation marks which imbed a newline before the From:
header line.

HTH

Your Pal Dave
-- 
Dave Thayer
Denver, Colorado USA
dthayer+sig@netcom.com 

Technical Details
Message-ID: <7r3oft$j5c$1@gamera.bogus.domain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <7qfftn$rok$1@news.doit.wisc.edu> <slrn7t5v9m.iqt.0x0000@feather.uswest.net>

Show Full Headers
Complete Article Headers
Message-ID: <7r3oft$j5c$1@gamera.bogus.domain>
Subject: Re: [trn] Changing the email address on the From line
Date: Tue, 07 Sep 1999 00:00:00 +0000
From: Dave Thayer <dthayer@netcom.com>
References: <7qfftn$rok$1@news.doit.wisc.edu> <slrn7t5v9m.iqt.0x0000@feather.uswest.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 522226301
Sender: dave@netcom.com
Organization: Bearded Labrador Picobrewery, Denver CO
X-NETCOM-Date: Tue Sep 07 2:24:45 PM CDT 1999
Reply-To: dthayer@netcom.com
NNTP-Posting-User: dthayer
Newsgroups: news.software.readers