πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #120

Re: spoolnews update

#120
From: Neodome Admin
Date: Tue, 15 Oct 2019 05:54
38 lines
2305 bytes
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
Technical Details
Message-ID: <qo3muc$arf$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!i2pn.org!news.neodome.net!.POSTED!not-for-mail
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com> <qo3mmn$rut$1@neodome.net>

Show Full Headers
Complete Article Headers
Message-ID: <qo3muc$arf$1@neodome.net>
Subject: Re: spoolnews update
Date: Tue, 15 Oct 2019 05:54:20 +0000
From: Neodome Admin <admin@neodome.net>
References: <0465dacfd0c38cd57171565940c24bf8$1@www.rocksolidbbs.com> <qo3mmn$rut$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!i2pn.org!news.neodome.net!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes
Organization: Neodome
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=