Article View: news.software.nntp
Article #1663$NAME and trn, inn inews, NNTP inews, Cnews inews
From: Mark Bixby
Date: Sat, 02 Jan 1993 18:29
Date: Sat, 02 Jan 1993 18:29
28 lines
2245 bytes
2245 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)
Technical Details
Message-ID:
<1i4mv4INNdpc@spock.dis.cccd.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!wupost!usc!news.service.uci.edu!news.cccd.edu!news.cccd.edu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1i4mv4INNdpc@spock.dis.cccd.edu> Subject: $NAME and trn, inn inews, NNTP inews, Cnews inews Date: Sat, 02 Jan 1993 18:29:56 +0000 From: markb@spock.dis.cccd.edu (Mark Bixby) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!wupost!usc!news.service.uci.edu!news.cccd.edu!news.cccd.edu!not-for-mail Newsgroups: news.software.readers,news.software.b,news.software.nntp Organization: Coast Community College District, Costa Mesa, CA Lines: 28 Distribution: world NNTP-Posting-Host: spock.dis.cccd.edu