Thread View: news.software.readers
5 messages
5 total messages
Started by Ben Klausner
Mon, 31 Mar 1997 00:00
Changing "From:" field in trn
Author: Ben Klausner
Date: Mon, 31 Mar 1997 00:00
Date: Mon, 31 Mar 1997 00:00
15 lines
1077 bytes
1077 bytes
In an effort to reduce the amount of e-mail spam I get, I'd like to reset the "From:" field in my postings. The reader I'm using is trn. I've found how to change most of the other fields, but trn doesn't seem to offer a way to set "From:". Does anyone know how to accomplish this? Thanks. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ben Klausner, N5DJL | Everyone wants to go to heaven, Austin, TX | but nobody wants to die! klausner @ crl . com |
Re: Changing "From:" field in trn
Author: Mr. Shawn W. Barnhart
Date: Sun, 06 Apr 1997 00:00
Date: Sun, 06 Apr 1997 00:00
13 lines
1061 bytes
1061 bytes
According to the devil and klausner@[165.113.1.12].. ! In an effort to reduce the amount of e-mail spam I get, I'd like to reset ! the "From:" field in my postings. The reader I'm using is trn. I've found ! how to change most of the other fields, but trn doesn't seem to offer a way ! to set "From:". I don't think trn 3.6 can do this. I think you need to hack Pnews, which feeds the article to inews, which actually posts it.
Re: Changing "From:" field in trn
Author: swb
Date: Sun, 06 Apr 1997 00:00
Date: Sun, 06 Apr 1997 00:00
29 lines
1769 bytes
1769 bytes
According to the devil and swb@mercury.campbell-mithun.com.. !According to the devil and klausner@[165.113.1.12].. ! ! In an effort to reduce the amount of e-mail spam I get, I'd like to ! ! reset the "From:" field in my postings. The reader I'm using is trn. ! ! I've found how to change most of the other fields, but trn doesn't seem ! ! to offer a way to set "From:". ! !I don't think trn 3.6 can do this. I think you need to hack Pnews, which !feeds the article to inews, which actually posts it. Actually, I did this today. I took advtange of the fact that trn sets all the environment variables set with -E in TRNINIT, even if they aren't variables that trn itself uses. I then modified the bit in Pnews where it writes the header file to $tmpart, I have it check my NEWSFROM variable to see if it is non-null, and then insert a "From: $NEWSFROM" at the beginning of $tmpart. I guess it's kind of a kludge, but it was the best I could do, and it doesn't break Pnews for multiuser machines. -shawn -- Shawn Barnhart swb@mercury.campbell-mithun.com
Re: Changing "From:" field in trn
Author: Jeremy
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
20 lines
1335 bytes
1335 bytes
Mr. Shawn W. Barnhart <swb@mercury.campbell-mithun.com> wrote: >According to the devil and klausner@[165.113.1.12].. >>In an effort to reduce the amount of e-mail spam I get, I'd like to >>reset the "From:" field in my postings. The reader I'm using is trn. >>I've found how to change most of the other fields, but trn doesn't >>seem to offer a way to set "From:". > >I don't think trn 3.6 can do this. I think you need to hack Pnews, which >feeds the article to inews, which actually posts it. It can do it -- look at the NEWSHEADER variable. It can set whatever headers you want it to. -- Jeremy | jeremy@exit109.com "We are all Kosh." --Kosh
Re: Changing "From:" field in trn
Author: Ollivier Robert
Date: Fri, 11 Apr 1997 00:00
Date: Fri, 11 Apr 1997 00:00
36 lines
1676 bytes
1676 bytes
[courtesy cc of this posting sent to cited author via email]
In article <5i83nu$aqh@maxgate.campbell-mithun.com>,
Mr. Shawn W. Barnhart <swb@mercury.campbell-mithun.com> wrote:
> I don't think trn 3.6 can do this. I think you need to hack Pnews, which
> feeds the article to inews, which actually posts it.
You can change the NEWSHEADER env. variable and add a "From: whatever"
here.
NEWSHEADER="%(%[followup-to]=^$?:%(%[followup-to]=^%n$?:X-ORIGINAL-NEWSGROUPS: %n
))Newsgroups: %(%F=^$?%C:%F)
Subject: %(%S=^$?%\"
Subject: \":Re: %S)
Summary:
Cc:
%(%R=^$?:References: %R
)Sender:
Followup-To:
%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}
)Distribution: %(%i=^$?%\"Distribution: \":%D)
Organization: %o
Keywords: %[keywords]
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
"
--
Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr
Usenet Canal Historique FreeBSD: there are no limits !
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