Article View: news.software.nn
Article #1075Re: "Sender:" Line in Header: Help!
From: Peter Andersen
Date: Sun, 11 Nov 1990 16:24
Date: Sun, 11 Nov 1990 16:24
31 lines
1955 bytes
1955 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. >Where is this headline being generated? I was very annoyed by this too. 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). This real inews generates the Sender: header. But nntpd runs setuid "news", so the real inews will generate a Sender: header looking like "news@.....". I "solved" the problem by hacking the mini-inews a little: Just like it calls "gen_frompath" if necassary (inews.c) I made a "gen_sender" that is called if necassary. Well I'm not quite sure if this is in correct with respect to the RFC, but I'm satisfied with the solution. My "gen_sender" is identical to "gen_frompath" except for the keyword "Sender". Anyone have comment on this solution ? I really think the "Sender: news@...." is annoying ! Peter Andersen
Technical Details
Message-ID:
<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!daimi!datpeteReferences:
<7586@cica.cica.indiana.edu>Show Full Headers
Complete Article Headers
Message-ID: <1990Nov11.162437.7439@daimi.aau.dk> Subject: Re: "Sender:" Line in Header: Help! Date: Sun, 11 Nov 1990 16:24:37 +0000 From: datpete@daimi.aau.dk (Peter Andersen) References: <7586@cica.cica.indiana.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.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!daimi!datpete Newsgroups: news.software.nn Sender: datpete@daimi.aau.dk (Peter Andersen) Reply-To: datpete@daimi.aau.dk (Peter Andersen) Organization: DAIMI: Computer Science Department, Aarhus University, Denmark Lines: 31 Posted: Sun Nov 11 17:24:37 1990