Thread View: news.software.nn
4 messages
4 total messages
Started by Michael Regoli
Fri, 09 Nov 1990 13:52
"Sender:" Line in Header: Help!
Author: Michael Regoli
Date: Fri, 09 Nov 1990 13:52
Date: Fri, 09 Nov 1990 13:52
24 lines
1389 bytes
1389 bytes
][ We're running nn 6.4.11 on our SUN 4/330 (ogre) which shares a NNTP link with cica, our nnmaster. I've got mini-inews running on ogre to handle postings. 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? From nn's post? I can't seem to find where the "Sender" line is generated. The edit session for this article puts the "Newsgroups", "Distribution", and "Subject" line at the top of this posting. Where should I look for this? nn's source? nntp? cica's inews? Thanks for the pointers! -- michael regoli mr@cica.cica.indiana.edu regoli@iubacs.bitnet ..rutgers!iuvax!cica!mr
Re: "Sender:" Line in Header: Help!
Author: 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
Re: "Sender:" Line in Header: Help!
Author: Kim F. Storm
Date: Mon, 12 Nov 1990 14:52
Date: Mon, 12 Nov 1990 14:52
55 lines
2776 bytes
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!
Re: "Sender:" Line in Header: Help!
Author: Rob Lemley
Date: Mon, 12 Nov 1990 23:54
Date: Mon, 12 Nov 1990 23:54
93 lines
5008 bytes
5008 bytes
In <1990Nov11.162437.7439@daimi.aau.dk> datpete@daimi.aau.dk (Peter Andersen) writes:
>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.
The problem may be with the mailers. To which mailers do you refer?
Maybe a "Reply-To:" header should be added, especially in the NNTP
environment. This "Sender:" field IS the desired behavior, according
to the "standard.mn" document delivered with News B 2.11.
> 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@.....".
That sounds good.
>Well I'm not quite sure if this is in correct with respect to the RFC, but I'm
>satisfied with the solution.
>Anyone have comment on this solution ?
I don't know which behavior is preferred, but the following is the only
document I have which is anything like an RFC (this paper is distributed
with News B 2.11). See the discussion about "gateway programs" under
section "2.2.2. Sender". Does anyone have more up to date information
on the RFC?
The following were extracted from:
"Standard for Interchange of USENET Messages [Obsoletes RFC 850]"
by Mark R. Horton, Revised for B 2.11 news by Rick Adams
2.1. Required Headers
2.1.1. From
The "From" line contains the electronic mailing address of
the person who sent the message, in the ARPA internet syntax. It
may optionally also contain the full name of the person, in
parentheses, after the electronic address. The electronic ad-
dress is the same as the entity responsible for originating the
message, unless the "Sender" header is present, in which case the
"From" header might not be verified. Note that in all host and
domain names, upper and lower case are considered the same, thus
"mark@cbosgd.ATT.COM", "mark@cbosgd.att.com", and
"mark@CBosgD.ATt.COm" are all equivalent. User names may or may
not be case sensitive, for example, "Billy@cbosgd.ATT.COM" might
be different from "BillY@cbosgd.ATT.COM". Programs should avoid
changing the case of electronic addresses when forwarding news or
mail.
[stuff about full names in parenthesis deleted -rob]
2.2. Optional Headers
2.2.1. Reply-To
This line has the same format as "From". If present, mailed
replies to the author should be sent to the name given here.
Otherwise, replies are mailed to the name on the "From" line.
(This does not prevent additional copies from being sent to reci-
pients named by the replier, or on "To" or "Cc" lines.) The full
name may be optionally given, in parentheses, as in the "From"
line.
2.2.2. Sender
This field is present only if the submitter manually enters
a "From" line. It is intended to record the entity responsible
for submitting the message to the network. It should be veri-
fied by the software at the submitting host.
For example, if John Smith is visiting CCA and wishes to
post a message to the network, using friend Sarah Jones' account,
the message might read
From: smith@ucbvax.Berkeley.EDU (John Smith)
Sender: jones@cca.COM (Sarah Jones)
--> If a gateway program enters a mail message into the network at
--> host unix.SRI.COM, the lines might read
--> From: John.Doe@A.CS.CMU.EDU
--> Sender: network@unix.SRI.COM
--> The primary purpose of this field is to be able to track down
--> messages to determine how they were entered into the network.
The full name may be optionally given, in parentheses, as in the
"From" line.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads