πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92379

Re: INN laxmid clarification

#92379
From: Russ Allbery
Date: Sun, 31 Aug 2025 18:21
35 lines
2879 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> As your use is very specific, and writing a proper parsing of that kind of
> dates is time-consuming and complicated (as Russ told us), I wonder
> whether the faster approach wouldn't be to add a new level of control in
> syntaxchecks:

>     syntaxchecks: [ laxmid laxdate ]

> which would just take the current time (= arrival time) as the posting
> date when the Date header field exists and is not parseable.  The
> information is recorded in the history file and overview for expiry
> purpose, so it shouldn't break anything as far as I see.

Maybe "ignoredate" in this case instead of "laxdate"? This is a bit
different than what "laxmid" means (ignore invalid message IDs and use the
message ID anyway), since it's ignoring the date entirely for the purposes
of all the other things INN does with dates. That way we would keep
laxdate in case we ever want to enable strict standards-enforcing date
parsing or provide a different laxer date parser that understands ctime(3)
and dashes, etc.

The actual field stored in overview for clients will still be the value of
the Date header so far as I can see, so that will be invalid (not parsable
by clients) unless you put something different into the overview. That's
already the case with the existing lax date parsing, so might not matter
and will be true for any of the proposals for handling old dates. I'm not
sure how many clients try to parse the date information in overview and do
something with it.

-- 
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: <87bjnv4ait.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <87ms7g7jvb.fsf@hope.eyrie.org> <108vhqb$1nrv$1@nnrp.usenet.blueworldhosting.com> <108vuvv$11j2t$1@news.trigofacile.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <87bjnv4ait.fsf@hope.eyrie.org>
Subject: Re: INN laxmid clarification
Date: Sun, 31 Aug 2025 11:21:46 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <87ms7g7jvb.fsf@hope.eyrie.org> <108vhqb$1nrv$1@nnrp.usenet.blueworldhosting.com> <108vuvv$11j2t$1@news.trigofacile.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org;
 logging-data="2832"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:lAumheSsdW61smLO7EIZIih4rPE=