🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Stephen Lee - Post replies pleas... Mon, 13 Dec 1999 00:00
Changing From: line in trn
#55185
Author: Stephen Lee - Post replies pleas...
Date: Mon, 13 Dec 1999 00:00
7 lines
705 bytes
Has anyone patch trn to supply a different From: line depending on
which newsgroup one is posting?

Stephen


Re: Changing From: line in trn
#55265
Author: Jeremy
Date: Tue, 14 Dec 1999 00:00
30 lines
1716 bytes
Stephen Lee - Post replies please  <nobody@nowhere.net> wrote:

> Has anyone patch trn to supply a different From: line depending on
> which newsgroup one is posting?

Yes, but if all you want to change is the From line, patching is
probably overkill.  If you're using the default NEWSHEADER, then
you can change the FROM variable to what you want your From line
to be.  If you've made your own NEWSHEADER, just make sure it sets
the From line based on FROM.  Then you use the per-group killfiles
to change the variable.

In the killfile for a group where you want a different From line:

&-EFROM="Foo <foo@bar>"
X&-EFROM="Normal <normal@address>"

That'll change your From to foo@bar when you enter the group, and
change it back to normal@address when you exit the group.

Note that trn will not allow you to cancel or supersede your own
articles if you do this, since it will still try to match the target
article's From line against your login@hostname.  I've patched trn to
fix that too, and I really should get around to sending my patches off
to Wayne one of these days.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: Changing From: line in trn
#55549
Author: Stephen Lee - Post replies pleas...
Date: Sun, 19 Dec 1999 00:00
19 lines
1379 bytes
In article <8364tn$86s$1@s00perNooZ.com>, Jeremy  <bofh@netscum.dk> wrote:
>Stephen Lee - Post replies please  <nobody@nowhere.net> wrote:
>
>> Has anyone patch trn to supply a different From: line depending on
>> which newsgroup one is posting?
>
>Yes, but if all you want to change is the From line, patching is
>probably overkill.  If you're using the default NEWSHEADER, then
>you can change the FROM variable to what you want your From line
>to be.  If you've made your own NEWSHEADER, just make sure it sets
>the From line based on FROM.  Then you use the per-group killfiles
>to change the variable.

Thanks for the tip!  That is very useful and will save me much hassle.

Rgds
Stephen

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