Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A pipe gives a wise man time to think and a fool something to stick in his mouth.


rocksolid / Rocksolid Nodes / spoolnews update

SubjectAuthor
* spoolnews updateRetro Guy
+* spoolnews updatetrw
|`* spoolnews updateRetro Guy
| `* spoolnews updateRetro Guy
|  `- spoolnews updateRetro Guy
`* spoolnews updateNeodome Admin
 `* spoolnews updateNeodome Admin
  `- spoolnews updateRetro Guy

1
spoolnews update

<0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!.POSTED.rocksolid3!not-for-mail
From: retro.guy@retrobbs.rocksolidbbs.com.remove-sc8-this (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: spoolnews update
Date: Thu, 10 Oct 2019 09:40:41 +0000
Organization: RetroBBS
Message-ID: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: novabbs.com; posting-account="rslight.i2p"; posting-host="rocksolid3:192.241.178.238";
logging-data="26828"; mail-complaints-to="usenet@novabbs.com"
User-Agent: rslight (http://news.novabbs.com)
To: rocksolid.nodes
X-Comment-To: rocksolid.nodes
X-FTN-PID: Synchronet 3.17a-Linux Dec 29 2018 GCC 6.3.0
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on rocksolidbbs.com
X-Rslight-Site: $2y$10$XjA1zQyRlToSptwY4pFg7uYmrdFAjYFwK6ZsTNZNj86ceWre6xRim
X-Gateway: retrobbs.rocksolidbbs.com [Synchronet 3.17a-Linux NewsLink 1.110]
 by: Retro Guy - Thu, 10 Oct 2019 09:40 UTC

To: rocksolid.nodes
I've made a change to spoolnews that will help with an issue I've been
aware of when first running it.

It has been saving articles with a timestamp of when they're saved (of
course), but this is an issue for overboard and possibly other things.
Overboard would read this as they are all new articles initially, and
display them. I've been aware of this, but only addressed it now.

Now, spoolnews reads the Date line in the article, and sets the file
timestamp to match. So now when running the first time, your spool will
have correct dates right from the start.

I still need to handle timezones, but just testing a bit before that next
step (which should be pretty simple).

Retro Guy
--
Posted on RetroBBS

Re: spoolnews update

<qnqr2b$r9$1@i2pn2.org>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: trw@i2pmail.org (trw)
Newsgroups: rocksolid.nodes
Subject: Re: spoolnews update
Date: Fri, 11 Oct 2019 17:09:48 -0400
Organization: Dancing elephants
Lines: 2
Message-ID: <qnqr2b$r9$1@i2pn2.org>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com>
Reply-To: trw <trw@i2pmail.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 11 Oct 2019 21:09:32 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="def.i2p";
logging-data="873"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: FUDforum 3.0.7
X-FUDforum: 6666cd76f96956469e7be39d750cc7d9 <65034>
 by: trw - Fri, 11 Oct 2019 21:09 UTC

>I still need to handle timezones, but just testing a bit before that next step (which should be pretty simple).

My solution to this problem was to convert everything to unixtime, then you can do just a bigger/smaller comparison.
Posted on def3

Re: spoolnews update

<e39671af6f9cf7645b4042cf0709994a$1@news.novabbs.com>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: spoolnews update
Date: Fri, 11 Oct 2019 22:43:27 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <e39671af6f9cf7645b4042cf0709994a$1@news.novabbs.com>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com> <qnqr2b$r9$1@i2pn2.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 11 Oct 2019 22:43:27 -0000 (UTC)
Injection-Info: novabbs.com; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1";
logging-data="22213"; mail-complaints-to="usenet@novabbs.com"
User-Agent: rslight (http://news.novabbs.com)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$8PfmuAtJNjwNqUNNlLj6i.jQ5oz8nE1n03uTvgHzcqIv4bk4rjV.6
 by: Retro Guy - Fri, 11 Oct 2019 22:43 UTC

trw wrote:

>>I still need to handle timezones, but just testing a bit before that next
step (which should be pretty simple).

> My solution to this problem was to convert everything to unixtime, then you
can do just a bigger/smaller comparison.

That's exactly what I'm doing. Just need to add the comparison, probably
at the weekend.

--
Posted on Rocksolid Light

Re: spoolnews update

<9cff8d9a3e54b5cf0d535f7d4f22702b$1@news.novabbs.com>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: spoolnews update
Date: Sat, 12 Oct 2019 10:39:27 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <9cff8d9a3e54b5cf0d535f7d4f22702b$1@news.novabbs.com>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com> <qnqr2b$r9$1@i2pn2.org> <e39671af6f9cf7645b4042cf0709994a$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 12 Oct 2019 10:39:27 -0000 (UTC)
Injection-Info: novabbs.com; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1";
logging-data="3032"; mail-complaints-to="usenet@novabbs.com"
User-Agent: rslight (http://news.novabbs.com)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$6.xukbeSuBpahXq59pIo3.gaFZH8cQH6nQsHHHkBgu.3GFCJBVH1W
 by: Retro Guy - Sat, 12 Oct 2019 10:39 UTC

Retro Guy wrote:

> trw wrote:

>>>I still need to handle timezones, but just testing a bit before that next
> step (which should be pretty simple).

>> My solution to this problem was to convert everything to unixtime, then you
> can do just a bigger/smaller comparison.

> That's exactly what I'm doing. Just need to add the comparison, probably
> at the weekend.

And done.

--
Posted on Rocksolid Light

Re: spoolnews update

<69971c3e826dddd486f4b1217c34c605$1@news.novabbs.com>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: spoolnews update
Date: Mon, 14 Oct 2019 01:46:55 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <69971c3e826dddd486f4b1217c34c605$1@news.novabbs.com>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com> <qnqr2b$r9$1@i2pn2.org> <e39671af6f9cf7645b4042cf0709994a$1@news.novabbs.com> <9cff8d9a3e54b5cf0d535f7d4f22702b$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 14 Oct 2019 01:46:55 -0000 (UTC)
Injection-Info: novabbs.com; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1";
logging-data="2769"; mail-complaints-to="usenet@novabbs.com"
User-Agent: rslight (http://news.novabbs.com)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$.wriHhKGnl5X5IgOy.LeceDdjthbD6NHdb.a85d/e90QPbM3mnQ8m
 by: Retro Guy - Mon, 14 Oct 2019 01:46 UTC

I noticed a difference in the listing of articles between a spoolnews site
and an inn site. My first thought of course is "what did I screw up?",
then realized that spoolnews was putting them in the correct (by date)
order while inn was listing by received time.

Both ways is fine as received time is pretty close to posted time, but it
does cause the order to possibly be a little different between two sites
(not a big deal).

So now just adding expiry features to spoolnews, then should be ready for
release.

Retro Guy
--
Posted on Rocksolid Light

Re: spoolnews update

<qo3mmn$rut$1@neodome.net>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!i2pn.org!news.neodome.net!.POSTED!not-for-mail
From: admin@neodome.net (Neodome Admin)
Newsgroups: rocksolid.nodes
Subject: Re: spoolnews update
Date: Tue, 15 Oct 2019 05:50:15 -0000 (UTC)
Organization: Neodome
Message-ID: <qo3mmn$rut$1@neodome.net>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 15 Oct 2019 05:50:15 -0000 (UTC)
Injection-Info: neodome.net; mail-complaints-to="abuse@neodome.net"
User-Agent: NewsTap/5.3.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:uwoV/71hroRYANAJ1lJJ3aWkqao=
 by: Neodome Admin - Tue, 15 Oct 2019 05:50 UTC

Retro Guy <retro.guy@retrobbs.rocksolidbbs.com.remove-sc8-this> wrote:
> To: rocksolid.nodes
> I've made a change to spoolnews that will help with an issue I've been
> aware of when first running it.
>
> It has been saving articles with a timestamp of when they're saved (of
> course), but this is an issue for overboard and possibly other things.
> Overboard would read this as they are all new articles initially, and
> display them. I've been aware of this, but only addressed it now.
>
> Now, spoolnews reads the Date line in the article, and sets the file
> timestamp to match. So now when running the first time, your spool will
> have correct dates right from the start.

Date header is not always valid. NNTP-Posting-Date should be valid, because
it’s created by server, but Date can be created by client, and not all
servers validate it. In my logs I see few articles being rejected by my
server because of invalid Date. I guess it’s up to you if you want to
support articles with invalid Date headers.

> I still need to handle timezones, but just testing a bit before that next
> step (which should be pretty simple).
>
> Retro Guy

--
Neodome

Re: spoolnews update

<qo3muc$arf$1@neodome.net>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!i2pn.org!news.neodome.net!.POSTED!not-for-mail
From: admin@neodome.net (Neodome Admin)
Newsgroups: rocksolid.nodes
Subject: Re: spoolnews update
Date: Tue, 15 Oct 2019 05:54:20 -0000 (UTC)
Organization: Neodome
Message-ID: <qo3muc$arf$1@neodome.net>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com>
<qo3mmn$rut$1@neodome.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 15 Oct 2019 05:54:20 -0000 (UTC)
Injection-Info: neodome.net; mail-complaints-to="abuse@neodome.net"
User-Agent: NewsTap/5.3.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:MeiuaUt6w2TcxZklC75RjCCsxnE=
 by: Neodome Admin - Tue, 15 Oct 2019 05:54 UTC

Neodome Admin <admin@neodome.net> wrote:
> Retro Guy <retro.guy@retrobbs.rocksolidbbs.com.remove-sc8-this> wrote:
>> To: rocksolid.nodes
>> I've made a change to spoolnews that will help with an issue I've been
>> aware of when first running it.
>>
>> It has been saving articles with a timestamp of when they're saved (of
>> course), but this is an issue for overboard and possibly other things.
>> Overboard would read this as they are all new articles initially, and
>> display them. I've been aware of this, but only addressed it now.
>>
>> Now, spoolnews reads the Date line in the article, and sets the file
>> timestamp to match. So now when running the first time, your spool will
>> have correct dates right from the start.
>
> Date header is not always valid. NNTP-Posting-Date should be valid, because
> it’s created by server,

Correction: Injection-Date, not NNTP-Posting-Date. NNTP-Posting-Date is the
same thing, but Injection-Date is what documented in last RFC.

> but Date can be created by client, and not all
> servers validate it. In my logs I see few articles being rejected by my
> server because of invalid Date. I guess it’s up to you if you want to
> support articles with invalid Date headers.
>
>> I still need to handle timezones, but just testing a bit before that next
>> step (which should be pretty simple).
>>
>> Retro Guy
>
>
>

--
Neodome

Re: spoolnews update

<ecc9dcc4136420dfcf0844aea5ae053c$1@news.novabbs.com>

 copy mid   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: spoolnews update
Date: Tue, 15 Oct 2019 08:43:09 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <ecc9dcc4136420dfcf0844aea5ae053c$1@news.novabbs.com>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com> <qo3mmn$rut$1@neodome.net> <qo3muc$arf$1@neodome.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 15 Oct 2019 08:43:09 -0000 (UTC)
Injection-Info: novabbs.com; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1";
logging-data="18774"; mail-complaints-to="usenet@novabbs.com"
User-Agent: rslight (http://news.novabbs.com)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$Y6weS9gepRxRwywFu4045efw2wAO6S3/olrXCb1g0zXk6vZ/pRJUm
 by: Retro Guy - Tue, 15 Oct 2019 08:43 UTC

Neodome Admin wrote:

> Neodome Admin <admin@neodome.net> wrote:
>> Retro Guy <retro.guy@retrobbs.rocksolidbbs.com.remove-sc8-this> wrote:
>>> Now, spoolnews reads the Date line in the article, and sets the file
>>> timestamp to match. So now when running the first time, your spool will
>>> have correct dates right from the start.
>>
>> Date header is not always valid. NNTP-Posting-Date should be valid, because
>> it’s created by server,

> Correction: Injection-Date, not NNTP-Posting-Date. NNTP-Posting-Date is the
> same thing, but Injection-Date is what documented in last RFC.

Very true. What the script does is reads the date line, then continues
through the headers and when/if it finds Injection-Date, that is what is
used. Any date in the future is saved as the current time, not the date in
the header.

This can be improved, but for now it should be ok. It's simply for sorting
of messages in the overboard.

Retro Guy

--
Posted on Rocksolid Light

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor