🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #37504

Re: Knews on Linux and default FROM: address

#37504
From: J$
Date: Tue, 09 Dec 1997 00:00
38 lines
2180 bytes
Michael Perry <mperry@mperry.basin.com>:

> [..] loaded knews in rpm format for some experimentation on my linux
> system.  Where does knews get its default FROM: address?

It determines the username (by the usual getpw* functions), and the
domainname is either compiled in, obtained using a gethostname-type
function and some extra magic, or read from a file, depending on how
Knews was configured for compilation.

> I tried including a NAME environmental variable 
> in several ways [..]

The realname part of the address can be set in the config file that
Knews has for each news server you use -- typically
~/.knews/config-your.news.ser.ver.

> Are there other ways to tailor the FROM: address?

In principle, there are ways of patching Knews and there are
workarounds.  However, having a proper and valid sender address in
Usenet messages is an essential Usenet message format requirement, so
you probably shouldn't change it.  Not if the From Knews generates is
valid, and if it isn't, then Knews simply needs to be recompiled with a
different configuration, probably.

If there were an option to mess up the From header arbitrarily, then
that would not be a feature, but a bug, a design mistake.  There isn't,
and it's not.


-- J$
-- 
dash dash space
this is my .sig                                         it's not so .big

Technical Details
Message-ID: <1d0zqrm.1tsirzh1crlznsN@cats.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn68ps69.9m.mperry@mperry.basin.com>

Show Full Headers
Complete Article Headers
Message-ID: <1d0zqrm.1tsirzh1crlznsN@cats.xs4all.nl>
Subject: Re: Knews on Linux and default FROM: address
Date: Tue, 09 Dec 1997 00:00:00 +0000
From: js@xs4all.nl (J$)
References: <slrn68ps69.9m.mperry@mperry.basin.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 296557395
Sender: @cats.xs4all.nl
Mail-Copies-To: never
X-XS4ALL-Date: Tue, 09 Dec 1997 11:17:21 CET
X-XS4ALL-User: js@xs4all.nl on cats.xs4all.nl
X-Face: (u%,<Ek_K4]BW;*pmlV&,Ev+p0W0hHt,PZs7\2OV%HhTE5\$\MU79J|bQB_m3G"n ,Mz'Pb6*(Z~Wr\GkY`X<!RfA0%7R
Organization: Al-Munqidh min-al-Dalaal
Newsgroups: news.software.readers