🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
7 messages
7 total messages Started by Tim Skirvin Thu, 07 Feb 2002 17:30
Message-IDs with internal aux script
#9947
Author: Tim Skirvin
Date: Thu, 07 Feb 2002 17:30
20 lines
1787 bytes
	Now that nn 6.6.2 uses an internal aux script, I've got two
problems:

	1.  It doesn't save the Message-IDs in the outgoing news folder.
This used to be solvable by defining NNTP_MINI_INEWS_HEADER to make it
auto-generate message-IDs and such, but that's over now.  I miss it.

	2.  Before, the 'aux' script would open up a separate news
connection, thus getting around the issues of the news connection timing
out.  This isn't the case anymore - if the connection times out while
you're writing a message, then you're screwed.  I think this is bad.

	Mind you, I'm really happy with the reader as a whole.  Hooray for
an easily-built nn!

			    - Tim Skirvin (tskirvin@killfile.org)
-- 
<URL:http://www.killfile.org/~tskirvin/> Skirv's Homepage <FISH><
<URL:http://www.killfile.org/dungeon/>	The Killfile Dungeon  <*>
Re: Message-IDs with internal aux script
#9974
Author: Michael T Pins
Date: Thu, 07 Feb 2002 18:33
38 lines
2716 bytes
tskirvin@killfile.org (Tim Skirvin) writes:

>	Now that nn 6.6.2 uses an internal aux script, I've got two
>problems:

>	1.  It doesn't save the Message-IDs in the outgoing news folder.
>This used to be solvable by defining NNTP_MINI_INEWS_HEADER to make it
>auto-generate message-IDs and such, but that's over now.  I miss it.

I'm not sure what you mean by this.  Could you explain?

>	2.  Before, the 'aux' script would open up a separate news
>connection, thus getting around the issues of the news connection timing
>out.  This isn't the case anymore - if the connection times out while
>you're writing a message, then you're screwed.  I think this is bad.

Using the external aux script had a couple of problems.  First (and the
reason it went away) is that there was no way to post to newsservers that
required authentication.  It turns out that the external inews was also
what was cutting off References: lines at 512 bytes.

Properly written newsservers send a 503 if a newsreader tries to talk to it
after it's timed out.  nn-6.6.2 will then reconnect, send the message, and
everything is happy.  Unfortunately, most newsservers are broken and don't
send the 503.  You're still not completely lost, nn does save the article
in ~/dead.letter but it's annoying.

nn-6.6.3, which should be out early next week, finally reconnects to even
broken newsservers.  It also supports MacOS X, and no longer requires
people to define DOMAIN in config.h if gethostname() returns a fully
qualified domainname.

-- 
Michael T Pins                  |    "They that can give up essential liberty
mtpins@nndev.org                |    to obtain a little temporary safety
keeper of the nn sources        |    deserve neither liberty nor safety."
ftp://ftp.nndev.org/pub         |       -- Benjamin Franklin, 1759
Re: Message-IDs with internal aux script
#9970
Author: Tim Skirvin
Date: Thu, 07 Feb 2002 22:52
35 lines
2600 bytes
Michael T Pins <mtpins@nndev.org> writes:

>>	1.  It doesn't save the Message-IDs in the outgoing news folder.
>>This used to be solvable by defining NNTP_MINI_INEWS_HEADER to make it
>>auto-generate message-IDs and such, but that's over now.  I miss it.
>I'm not sure what you mean by this.  Could you explain?

	The mini-inews included with nn for a long time doesn't generate
some headers that are important but are often server-generated - Message-ID, 
Date, etc.  Therefore, there was a DEFINE in config.h that would tell nn
to add these headers on its own before offering the new post to the editor.
This went away when the mini-inews went away, and while I think it should
have been renamed, I think taking it out was a mistake.

	Example: the headers that were just offered here were:

Newsgroups: news.software.nn
Subject: Re: Message-IDs with internal aux script
References: <20020207173019$3f26@babylon.ks.uiuc.edu> <ELz88.25519$Wf1.5573754@ruti.visi.com>
Reply-to: tskirvin@killfile.org
X-Note: If you got this through mail, it was probably posted and mailed.
From: tskirvin@killfile.org (Tim Skirvin)

	What I want is an additional Date: and Message-ID: added on here.

>nn-6.6.3, which should be out early next week, finally reconnects to even
>broken newsservers.

	So it tries to post again if it fails?  What's the logic.

			    - Tim Skirvin (tskirvin@killfile.org)
-- 
<URL:http://www.killfile.org/~tskirvin/> Skirv's Homepage <FISH><
<URL:http://www.killfile.org/dungeon/>	The Killfile Dungeon  <*>
Re: Message-IDs with internal aux script
#9971
Author: Michael T Pins
Date: Fri, 08 Feb 2002 01:51
47 lines
3111 bytes
tskirvin@killfile.org (Tim Skirvin) writes:

>Michael T Pins <mtpins@nndev.org> writes:

>>>	1.  It doesn't save the Message-IDs in the outgoing news folder.
>>>This used to be solvable by defining NNTP_MINI_INEWS_HEADER to make it
>>>auto-generate message-IDs and such, but that's over now.  I miss it.

>>I'm not sure what you mean by this.  Could you explain?

>	The mini-inews included with nn for a long time doesn't generate
>some headers that are important but are often server-generated - Message-ID, 
>Date, etc.  Therefore, there was a DEFINE in config.h that would tell nn
>to add these headers on its own before offering the new post to the editor.
>This went away when the mini-inews went away, and while I think it should
>have been renamed, I think taking it out was a mistake.

>	What I want is an additional Date: and Message-ID: added on here.

Ah, so you want to be able to generate the Date: and Message-ID: locally,
instead of having the newsserver do it for you.  Got it.  I'll look into
it, but it's unlikely to return before nn7.

>>nn-6.6.3, which should be out early next week, finally reconnects to even
>>broken newsservers.

>	So it tries to post again if it fails?  What's the logic.

No.
What happens is that the newsserver times out (some are set to absurd
things like 5 minutes), nn reconnects, then posts the message.  As far as
the user is concerned, it never disconnected.

The problem was that nn was depending upon the newsserver sending a 503
response the first time nn tries to talk to it after it times out.
Unfortunately, many newsservers don't, so nn got confused, saved the
message to ~/dead.letter, and exited.

nn-6.5 (nearly) always posted, because it would open a new connection to
the newsserver, so it didn't matter if it had timed out.

-- 
Michael T Pins                  |    "They that can give up essential liberty
mtpins@nndev.org                |    to obtain a little temporary safety
keeper of the nn sources        |    deserve neither liberty nor safety."
ftp://ftp.nndev.org/pub         |       -- Benjamin Franklin, 1759
Re: Message-IDs with internal aux script
#9964
Author: Neil W Rickert
Date: Fri, 08 Feb 2002 04:26
14 lines
1381 bytes
Michael T Pins <mtpins@nndev.org> writes:
>tskirvin@killfile.org (Tim Skirvin) writes:

>>	What I want is an additional Date: and Message-ID: added on here.

>Ah, so you want to be able to generate the Date: and Message-ID: locally,
>instead of having the newsserver do it for you.  Got it.  I'll look into
>it, but it's unlikely to return before nn7.

I'll add my vote for that.  It has always been an annoyance that my
saved copy of my post does not have the Message-ID, which is often
useful for reference purposes.

Re: Message-IDs with internal aux script
#9965
Author: Sven Guckes
Date: Sat, 09 Feb 2002 02:44
12 lines
1448 bytes
* Neil W Rickert <rickert+nn@cs.niu.edu>:
> It has always been an annoyance that my saved
> copy of my post does not have the Message-ID,
> which is often useful for reference purposes.

indeed!  btw - slrn does not have this problem.  *ehem*

Sven  [still hoping that nn will catch up..]

-- 
www.slrn.org
Re: Message-IDs with internal aux script
#9966
Author: J.B. Moreno
Date: Mon, 11 Feb 2002 00:31
23 lines
2261 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> wrote:

> Michael T Pins <mtpins@nndev.org> writes:
> >tskirvin@killfile.org (Tim Skirvin) writes:
> 
> >>    What I want is an additional Date: and Message-ID: added on here.
> 
> >Ah, so you want to be able to generate the Date: and Message-ID: locally,
> >instead of having the newsserver do it for you.  Got it.  I'll look into
> >it, but it's unlikely to return before nn7.
> 
> I'll add my vote for that.  It has always been an annoyance that my
> saved copy of my post does not have the Message-ID, which is often
> useful for reference purposes.

Lots of servers return the message-id as part of the response code.  So
it's sometimes possible to both let the server generate the id and know
what it was.

-- 
JBM
"Your depression will be added to my own" --  Marvin of Borg
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