🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Mark Bixby Sat, 02 Jan 1993 18:29
$NAME and trn, inn inews, NNTP inews, Cnews inews
#2802
Author: Mark Bixby
Date: Sat, 02 Jan 1993 18:29
28 lines
2151 bytes
Trn defines the env var NAME as overriding the full user name contained in
/etc/passwd.  We use this to allow multiple posters to share the same login
ID.  This worked fine when using trn with the Cnews inews and the NNTP 1.5.11
inews.  However, I just recently converted to INN and its inews, and the
NAME feature stopped working.

Investigation into the trn side of things shows that no From: header gets passed
to the desired inews.  Instead, trn apparently relies on inews (or its
descendants) to generate a default From: header.

The Cnews inews (well, actually a script several layers deep), generates a 
default From: that utilizes the NAME variable.  The NNTP 1.5.11 inews also
recognizes the NAME variable in the same manner.  But INN's inews does not,
and strictly uses the "official" name.

I suspect that the purists will say that INN's way is the cleanest, and that
transports should just be passive movers of articles.  If so, then trn
documenting NAME and then not generating a From: header which utilizes it
can be considered a bug, IMHO.

I'd like to hear from other trn/inn users as to how they implemented NAME
support.  Thanks.
-- 
Mark Bixby                         Internet: markb@spock.dis.cccd.edu
Coast Community College District   1370 Adams Avenue
District Information Services      Costa Mesa, CA, USA  92626
Technical Support                  (714) 432-5064
"You can tune a file system, but you can't tune a fish." - tunefs(1M)
Re: $NAME and trn, inn inews, NNTP inews, Cnews inews
#2801
Author: Sridhar Venkataraman
Date: Sun, 03 Jan 1993 00:41
47 lines
2162 bytes
[Followups directed to news.software.readers]

markb@spock.dis.cccd.edu (Mark Bixby) writes:

)Trn defines the env var NAME as overriding the full user name contained in
)/etc/passwd.  We use this to allow multiple posters to share the same login
)ID.  This worked fine when using trn with the Cnews inews and the NNTP 1.5.11
)inews. However, I just recently converted to INN and its inews, and the
)NAME feature stopped working.
)
)Investigation into the trn side of things shows that no From: header gets 
)passed to the desired inews.  Instead, trn apparently relies on inews (or its
)descendants) to generate a default From: header.

This may be of help. Try setting the variable RNINIT along with the
NAME setting (setenv RNINIT <file>) and in <file> do all the env
settings for the following variables (refer manual for details).
Change user@machine to the proper email address. Make sure that the
user can cancel his/her posting once they use this. These settings
assume that inews doesn't change the From line. Recent versions of
inews seem to add the Originator header when there is a From line.

---CUT HERE----
-ENEWSHEADER="\
From: user@machine (%N)
Subject: Re: %S
References: %R
Distribution: %D
Organization: %o
Newsgroups: %F

"

-EMAILHEADER="\
From: user@machine (%N)
To: %t
Subject: Re: %S
References: %i
Cc: 
Bcc:

"
---END HERE---

Sridhar.
--
Sridhar Venkataraman			sridhar@asuvax.eas.asu.edu
Re: $NAME and trn, inn inews, NNTP inews, Cnews inews
#2816
Author: Rich Salz
Date: Mon, 04 Jan 1993 15:25
11 lines
1017 bytes
In <1i4mv4INNdpc@spock.dis.cccd.edu> markb@spock.dis.cccd.edu (Mark Bixby) writes:
>  If so, then trn
>documenting NAME and then not generating a From: header which utilizes it
>can be considered a bug, IMHO.
I agree.

This is the first time anyone has asked for INN to support $NAME.
Indeed, it is the first time I have heard of it.

I have no plans to add it in INN1.3
	/r$
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