🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54495

Re: tin-1.4.0 "Invalid Sender" bugs

#54495
From: Alan Mackenzie
Date: Tue, 23 Nov 1999 00:00
144 lines
6533 bytes
jason@radar.tele3.co.uk wrote:
> Alan Mackenzie <none@all.de.invalid> wrote:
>> Questions: what is meant by "sender generation"? Does this refer to a
>> "Sender:" header

> Yes

OK, how about amending the error message to:
'Invalid Header: "Sender: <root@acm.acm>"' to make this clear.

> tin.defaults is there to be hand edited, the idea being that
> recompilation is then not needed to change the parameters therein.

OK, I've got you! tin reads these config parameters at run-time from
/etc/tin/tin.defaults.

> It puts a default tin.defaults in the right place. It serves as an
> example so you know what parameters are available.

Right. I've just noticed that putting tin.defaults into the manpage and
doc/INSTALL is in the TODO list. A very good idea!

>> Tin responds with the error message:
>> "Invalid  Sender: root <root@acm.acm>"

> ..acm is not a valid top-level domain

It is syntactically valid, according to GNKSA. GNKSA does not require
_semantic_ validity. However, since I am not using tin on the Internet
(it is connected solely to a local server), the validity of the top-level
domain is surely irrelevant.

>> 2/- Between leaving vim and getting to the posting routine, tin has
>> added the header "Sender: root <root@acm.acm>" and later regards this
>> header as invalid.

> If the From: line does not concur with your user/domain then a Sender:
> header is added.

My user/domain on my own PC are utterly without significance here. Only
my user/domain on my ISP's server are relevant for Internet purposes.
Surely??

> A cursory scan of the source suggests that such addresses should comply
> with:
> RFC 1036
> son-of-rfc1036
> draft-usefor-article-xx.txt

My From: line complies with draft-ietf-usefor-article-x.txt. One of that
document's examples (section 4.7) contains the following header:
> From: Ann Example <a.example@site1.invalid>
That same example contains no Sender: header.

I am very unhappy about this addition of a Sender: header for several
reasons:

1/- USEFOR states:
>This header [Sender:] SHOULD NOT appear in an article unless the sender
>is different from the author. This header is appropriate for use by
>automatic article posters.
I am both the sender _and_ the author when I post articles with tin,
therefore this header should not appear. It seems to me that it is
_never_ appropriate for a newsreader to add this header, since it can
never know that the sender and poster are different.

2/- I was not made aware of the addition of this header, and tin is thus
hijacking my control over my postings. Why is there no warning that such
a header is being added? Why is there no item in the configuration menu
by which this addition has to be enabled? Why is there nothing in the
manpage? When I created the article, it didn't present this Sender:
header to the editor. Even when the article was presented to the editor
for a second time, the Sender: header was absent. It would appear that
tin is deliberately concealing its vice. WHY? Why should this header be
handled differently from the others?

3/- Most seriously, the user of a munged address is in danger of having
her real address broadcast on the Internet without her knowledge or
consent. This could cause serious pain to the victim, depending on her
reasons for munging in the first place. Because of this, I am now asking
the tin maintainers to amend tin _urgently_ to ensure respect for the
wishes of users of munged addresses.

Note that USEFOR explicitly recognises the legitimacy of munged
addresses.

>> 4/- The message somehow results from a misguided attempt "to guarantee
>> that this address actually belongs to the person using the software,
>> and actually accepts e-mail"  (GNKSA section 12)

> Yes, tin performs all the GNKSA checking.

Why? These checks are meaningless for a machine such as mine connected by
modem to an ISP. Were I put <root@acm.acm> in my From: header, it would
pass the GNKSA checks, since 1/- it is my log on address; 2/- it is
syntactically valid; 3/- tin can send email to it. However, when I use a
valid From: header (whether my munged address or my real email address),
tin's GNKSA checking prevents me posting, since it cannot check that I
own the address. Something somewhere hasn't been properly thought out.

************************************************************************

>> BUG 2: The message remains on the screen only for a very short time
>> (about 1 second), which isn't long enough for such a difficult message.

> 2 seconds. This can be easily tweaked.

>> Why doesn't the program prompt for a <CR> and then wait?

> Nobody ever complained about this before.

OK, may I request that this goes onto the TODO list. 


>> BUG 3: On replying q)uit, tin carries on, but hangs on later attempts to
>> quit the program. On replying e)dit, changing the text, and hitting
>> p)ost, tin displays "Posting article..." at the bottom of the screen and
>> hangs. In either case tin needs "kill -9" to abort it.

> I shall investigate this one.

OK, thanks! Just in case it helps, here are the final few lines of my
conf-tin containing my building options:
/configure --verbose \
        --enable-nntp \
        --enable-prototypes \
        --disable-echo \
        --disable-mime-strict-charset \
        --with-domain-name=/etc/NNTP_INEWS_DOMAIN \
        --with-coffee \
        --enable-debug \
        --with-ncurses \
        --enable-ncurses \
        $OPTS $* 2>&1 |tee -a $OUT

> Jason.

-- 
Alan Mackenzie (Munich, Germany)
Email: ayeseeemm@emmyousee.deeeee; to decode, replace "aye" by 'a', "see"
by 'c', etc.


Technical Details
Message-ID: <ddre18.ue.ln@acm.acm>
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: <dtm918.ea8.ln@acm.acm> <81cgf1$f5q$1@supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <ddre18.ue.ln@acm.acm>
Subject: Re: tin-1.4.0 "Invalid Sender" bugs
Date: Tue, 23 Nov 1999 00:00:00 +0000
From: Alan Mackenzie<none@all.de.invalid>
References: <dtm918.ea8.ln@acm.acm> <81cgf1$f5q$1@supernews.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: 552259486
X-Complaints-To: news-admin@muc.de
X-Trace: marvin.muc.de 943397926 71323 193.149.49.134 (23 Nov 1999 22:58:46 GMT)
Organization: muc.de e.V. -- private internet access
User-Agent: tin/pre-1.4-980618 (UNIX) (Linux/2.0.35 (i686))
NNTP-Posting-Date: 23 Nov 1999 22:58:46 GMT
Newsgroups: news.software.readers