Article View: news.software.readers
Article #51676Re: [trn] Changing the email address on the From line
From: Jeremy
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
30 lines
1782 bytes
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
Technical Details
Message-ID:
<rtbr4bnsht26@news.supernews.com>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-mailReferences:
<7qfftn$rok$1@news.doit.wisc.edu> <slrn7t5v9m.iqt.0x0000@feather.uswest.net>Show Full Headers
Complete Article Headers
Message-ID: <rtbr4bnsht26@news.supernews.com> Subject: Re: [trn] Changing the email address on the From line Date: Wed, 08 Sep 1999 00:00:00 +0000 From: Jeremy <jeremy@exit109.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: 522417422 Organization: There Is No Organization X-Meow: Meow Newsgroups: news.software.readers X-Complaints-To: newsabuse@supernews.com