Article View: news.software.nntp
Article #88122Re: Moving to INN, large spools
From: Russ Allbery
Date: Sun, 12 Jan 2020 18:41
Date: Sun, 12 Jan 2020 18:41
37 lines
2704 bytes
2704 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Hi Neodome,
>> What I would be watching is Date header. Innd currently is rejecting
>> articles with invalid Date header regardless of what date they actually
>> represent. I was looking at some old Usenet archives and noticed that
>> back in the days it was quite normal to see in headers something like
>> βDate: 12-10-1999β
> It may be a check to lighten (we now have a syntaxchecks inn.conf
> parameter, currently only used for message-IDs).
> Yet, are we sure current newsreaders properly parse such Date header
> fields to display them?
A lot of older newsreaders don't parse the Date header at all, just
display it verbatim.
parsedate_rfc5322_lax supports every Date format that I could find in a
fairly old news spool at Stanford and that I thought the old parsedate
code could handle. It won't deal with Date: 12-10-1999, though.
INN is fairly resistant to accepting articles with dates that it can't
parse because it wants to know the posted date to compare to the cutoff
date to know whether the article is a possible duplicate. It might make
sense to disable that code if artcutoff is set to 0, though. You would
lose the check for articles posted in the future, but that may be
acceptable.
I'm not sure if the rest of the storage system deals with an unknown
posting date. It's also stored in history, which may assume that it's
valid.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87sgkk5xgk.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<alpine.LNX.2.02.2001092335100.24908@ebfjryy.nhfvpf.arg> <d93d0$5e17a68e$3fe7165e$12413@news.sonic-news.com> <qvahij$viv$1@news.trigofacile.com> <qve3it$2e7q$1@neodome.net> <h80di0F1ke2U1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <87sgkk5xgk.fsf@hope.eyrie.org> Subject: Re: Moving to INN, large spools Date: Sun, 12 Jan 2020 10:41:31 -0800 From: Russ Allbery <eagle@eyrie.org> References: <alpine.LNX.2.02.2001092335100.24908@ebfjryy.nhfvpf.arg> <d93d0$5e17a68e$3fe7165e$12413@news.sonic-news.com> <qvahij$viv$1@news.trigofacile.com> <qve3it$2e7q$1@neodome.net> <h80di0F1ke2U1@mid.individual.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 37 Nntp-Posting-Host: hope.eyrie.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1578854491 14323 166.84.7.155 (12 Jan 2020 18:41:31 GMT) X-Complaints-To: action@cs.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:Og4WsAEBWmlBkIMwR+1biHYfFPg=