Re: spoolnews updateFrom: firstname.lastname@example.org
Tue, 15 Oct 2019 05:54 UTC
Neodome Admin <email@example.com> wrote:
Retro Guy <firstname.lastname@example.org> wrote:
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).