Article View: news.software.nntp
Article #92375Re: INN laxmid clarification
From: Jesse Rehmer
Date: Sat, 30 Aug 2025 19:01
Date: Sat, 30 Aug 2025 19:01
54 lines
3959 bytes
3959 bytes
On Aug 30, 2025 at 1:19:20 PM CDT, "Russ Allbery" <eagle@eyrie.org> wrote: > innd always uses lax mode for date parsing. > > That date is in ctime(3) format, which isn't supported by INN even in lax > mode. That format was already forbidden in the first article format > standard (RFC 850) from June 1983, and a lot of articles before that are > in the completely incompatible A News format that INN has never attempted > to parse. It looks like you have a transitional article that is in B News > format but is still using the ctime(3) format for Date. > > RFC 850 says: > > Note in particular that ctime format: > > Wdy Mon DD HH:MM:SS YYYY > > is not acceptable because it is not a valid ARPANET date. > However, since older software still generates this format, > news implementations are encouraged to accept this format > and translate it into an acceptable format. > > I wouldn't object to supporting this in INN in lax mode, but it's not > entirely trivial to add without accidentally breaking something else > because the order of the date elements is significantly different than a > standardized date. It would take someone a bit of time to figure out how > to safely incorporate it into parsedate_rfc5322_lax. (For example, the > code that skips over a leading day of the week would also currently skip > over the month.) It might be easiest to add a separate ctime parser and to > just attempt a ctime parse whenever the date is otherwise invalid. I'm not > sure how wide of a range of formats the old ctime dates came in. Appreciate the history. I know there are others trying to put together archives, but most are doing so with other software or for web browsing purposes. I may be the only one trying to get these articles in INN. :-) Mostly they've all been in the same format, except a few outliers that have invalid Date and Posted headers, but do have a Date-Received header that's more appropriate. The outliers seem to follow this pattern: Date: Wed, 31-Dec-69 18:59:59 EDT Posted: Wed Dec 31 18:59:59 1969 Date-Received: Sun, 28-Jul-85 00:57:37 EDT Those I assume will require changing the Date header, at minimum before they'd be accepted. I did find a few more Message-ID variations that are rejected: <[OFFICE-3]GVT-RICH-490UQ> - 435 Syntax error in message-ID <366@mimir..dmt.oz> - 435 Syntax error in message-ID <[MC.LCS.MIT.EDU].851959.860315.KFL> - 435 Syntax error in message-ID
Technical Details
Message-ID:
<108vhqb$1nrv$1@nnrp.usenet.blueworldhosting.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!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mailReferences:
<u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <108v6jk$vqr6$1@news.trigofacile.com> <108vc8u$nji$1@nnrp.usenet.blueworldhosting.com> <87ms7g7jvb.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <108vhqb$1nrv$1@nnrp.usenet.blueworldhosting.com> Subject: Re: INN laxmid clarification Date: Sat, 30 Aug 2025 19:01:31 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <108v6jk$vqr6$1@news.trigofacile.com> <108vc8u$nji$1@nnrp.usenet.blueworldhosting.com> <87ms7g7jvb.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!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 30 Aug 2025 19:01:31 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="57215"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:4U3iA+XUZcUn2/aNzccXrCod2HA= sha256:t3xqBhzexiJaDn5NGV9S6OGunXghQGXaYMcwtogZHAY= sha1:iwjwqgTj5DVJ1xeEOvhTxmolMBI= sha256:+gm7hlqSQtUaNSV7AoBnxk3IGhHYAsEQDCYvvPKuH1I= X-Usenapp: v1.27.4/d - Full License