🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2387

Re: Problems with INN 1.4/trn 3.3

#2387
From: Rich Salz
Date: Tue, 25 Jan 1994 16:48
26 lines
2012 bytes
In <2i34hj$e43@rowan.coventry.ac.uk> ccx009@rowan.coventry.ac.uk (Adam Bentley) writes:

>	I can't seem to make any postings take account of a users 
>	preferences for Name & Organisation. Even if the user sets 
>	NAME="whatever" or creates a .fullname file, these seem to be
>	ignored in favour of the users /etc/passwd name entry.

I can't answer for trn (look at the Pnews.header script) but I can tell
you what INN's inews does.

If there is no organization, it does getenv("ORGANIZATION"); edit
include/paths.h and change _ENV_ORGANIZATION if you prefer others pelling.
If there is nothing in the environment it reads inn.conf.  If there
is nothing there, it drops the header.  nnrpd repreats the process when
it gets an article without an Organization header.

inews gets the user's name from getpwuid(), nowhere else.  If the user
puts their own From line, and the email address is *not* what inews
would put out, inews adds a Sender line.

You can find out what inn does by reading doc/inn.conf.5, looking up
HeaderCleanFrom in doc/libinn.3, and reading doc/inews.1

The short answer:  get Pnews to do what you want and INN will probably
like it.
	/r$
Technical Details
Message-ID: <2i3igvINNnda@rodan.UU.NET>
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!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!cs.utexas.edu!uunet!not-for-mail
References: <2i34hj$e43@rowan.coventry.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <2i3igvINNnda@rodan.UU.NET>
Subject: Re: Problems with INN 1.4/trn 3.3
Date: Tue, 25 Jan 1994 16:48:31 +0000
From: rsalz@uunet.uu.net (Rich Salz)
References: <2i34hj$e43@rowan.coventry.ac.uk>
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!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!cs.utexas.edu!uunet!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.software.readers
Organization: UUNET Technologies Inc, Falls Church, VA, USA
Lines: 26
Distribution: inet
NNTP-Posting-Host: rodan.uu.net