🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Mike Kozlowski Tue, 31 Aug 1999 00:00
[trn] Changing the email address on the From line
#51277
Author: Mike Kozlowski
Date: Tue, 31 Aug 1999 00:00
15 lines
1045 bytes
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/

Re: [trn] Changing the email address on the From line
#51606
Author: 0x0000
Date: Sun, 05 Sep 1999 00:00
36 lines
2015 bytes
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.

Check the trn man pages for more on the environment trn uses.

I am currently using slrn, for other reasons, but would like 
to find a better solution for email address munging in trn,
rn, etc.  This is all I could come up with.


-- 
0x0000

Re: [trn] Changing the email address on the From line
#51647
Author: 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 

Re: [trn] Changing the email address on the From line
#51676
Author: Jeremy
Date: Wed, 08 Sep 1999 00:00
30 lines
1782 bytes
0x0000 <0x0000@internet.gov> wrote:

> 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.
> 
> Check the trn man pages for more on the environment trn uses.
> 
> I am currently using slrn, for other reasons, but would like 
> to find a better solution for email address munging in trn,
> rn, etc.  This is all I could come up with.

It depends on the trn version.  Recent 4.0 releases have a FROM
environment variable.  Prior to that, you have to use NEWSHEADER,
which is documented in the man page (but will require you to set
all of the headers, not just From).

Of course, it should be used to set a different valid email address.
Munging is bad.

-- 
Jeremy  |  jeremy@exit109.com
"Who's scruffy-looking?"  --Han Solo

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