🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1082

Re: "Sender:" Line in Header: Help!

#1082
From: Kim F. Storm
Date: Mon, 12 Nov 1990 14:52
55 lines
2776 bytes
In <7586@cica.cica.indiana.edu> mr@ogre (Michael Regoli) writes:

> However, as you can see from this posting, the
>"Sender" line is "news@cica.cica.indiana.edu"  This isn't really the
>desired behavior since many mailers use the "Sender" line to reply to
>messages.  

As far as I understand the RFCs (don't quote me :-) the Sender: line
is there to prevent forgery in case there is already a From: line in
a message.  Usually, inews (and sendmail) will generate a From: line
if it is missing, and this From: line is supposed to reflect who sent
the message.

Since mini-inews *does* produce the From: line, the real inews (on another
host) will include a Sender: line to reflect who *really* posted this.

datpete@daimi.aau.dk (Peter Andersen) writes:

>I think the problem is that neither nn or the mini-inews generates the Sender:
>header. Then when you post an article, nntpd calls the "real" inews on the
>machine containing the news database (see post.c in nntp-source).

Which is the proper way to do things!

>This real inews generates the Sender: header. But nntpd runs setuid "news",
>so the real inews will generate a Sender: header looking like "news@.....".

Which is - in my opinion - correct!

>I "solved" the problem by hacking the mini-inews a little:
[ mini-inews generates Sender: line ]
>Anyone have comment on this solution ?

I don't like it!  And I am really surprised that it is possible to
overrule the Sender: line generated by inews!  No wonder it is so
easy to forge news!

>I really think the "Sender: news@...." is annoying !

I really don't understand why.  The only problem with it is if
some software actually uses this information - and no software should
do that if there is a From: or Reply-To: line present.  And I would
recommend having a Reply-To: in all cases when nntp is involved -
just see what Michael Regoli's From: line says: mr@ogre

So the proper solution is to have

	set news-header Reply-To: mr@cica.cica.indiana.edu

or similar in the init file.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <723@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <7586@cica.cica.indiana.edu> <1990Nov11.162437.7439@daimi.aau.dk>

Show Full Headers
Complete Article Headers
Message-ID: <723@texas.dk>
Subject: Re: "Sender:" Line in Header: Help!
Date: Mon, 12 Nov 1990 14:52:07 +0000
From: storm@texas.dk (Kim F. Storm)
References: <7586@cica.cica.indiana.edu> <1990Nov11.162437.7439@daimi.aau.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 55
Posted: Mon Nov 12 15:52:07 1990