Article View: news.software.nntp
Article #92391Re: INN laxmid clarification
From: Jesse Rehmer
Date: Tue, 02 Sep 2025 15:02
Date: Tue, 02 Sep 2025 15:02
68 lines
4495 bytes
4495 bytes
On Tue, 2 Sep 2025 12:41:21 +0100, Billy G. wrote: >> a lot of articles having duplicated headers that INN won't accept > > (not sure if this is caused by his import process or if the source > > material has duplicate headers) > > Do you have some examples of articles with duplicate headers? > Path should show where article came from (eg: !any-name.mbox.zip/gz) Here are two with duplicated headers: Aug 30 22:49:59.188 - localhost <27375@philabs.UUCP> 437 Duplicate "Path" header field Aug 30 23:58:57.078 - localhost <426@novavax.UUCP> 437 Duplicate "Date" header field > > I have date parsing in Go and it's a mess. > Many old articles are using any format you can think of... > and INN does not like many of the older ones. > That's why I wrote my own less strict server to get it all in. > > I scanned the archive vs blueworld (last year) and sucked everything > from your server to the archive . Wasn't that much. > > Another feature my server can do is re-ordering the overview which I > already did because I believe there is not much more to find. > > It's all in go-pugleaf databases (sqlite3) per newsgroup too. > Headers and Body, easy parseable into any format we need. > Proper date parsing exists and manipulating the Date: Header to be > X-Date and injecting a valid RFC date while sending, everywhere the > header is wrong formated, should be easy - but some wrong date headers > are spam from badly written tools and could be discarded. There are two date formats I'm seeing an issue with: Aug 30 19:10:02.809 - localhost <bnews.ihuxr.198> 437 Bad "Date" header field -- "Tue Nov 9 07:29:44 1982" Aug 30 19:10:02.849 - localhost <bnews.unc.4239> 437 Bad "Date" header field -- "Tue Nov 9 07:45:23 1982" Aug 30 19:10:03.579 - localhost <bnews.ihuxr.274> 437 Bad "Date" header field -- "Tue Jan 4 03:25:40 1983" Aug 30 22:12:48.929 - localhost <bnews.sri-arpa.836> 437 Bad "Date" header field -- "Fri Apr 8 00:56:18 1983" The format above is the most common. Then there's a handful of articles whose real date is impossible to determine: Aug 30 13:38:03.129 - localhost <369@psivax.UUCP> 437 Bad "Date" header field -- "Wed, 31-Dec-69 18:59:59 EST" Aug 30 13:41:24.347 - localhost <702@mmintl.UUCP> 437 Bad "Date" header field -- "Wed, 31-Dec-69 18:59:59 EDT" Aug 30 13:42:35.106 - localhost <1305@mtgzz.UUCP> 437 Bad "Date" header field -- "Wed, 31-Dec-69 18:59:59 EDT" Aug 30 13:47:25.759 - localhost <1639@qubix.UUCP> 437 Bad "Date" header field -- "Wed, 31-Dec-69 18:59:59 EDT" I'm not sure what to make of the last example, there are much less articles that have this format with an invalid date/year. Most of those articles do have a valid Date-Received header like <369@psivax.UUCP>: Date-Received: Thu, 21-Mar-85 02:16:31 EST Without checking all of them, there is a X-Google-ArrivalTime header in a format that I believe INN would accept if it were also used on the Date header.
Technical Details
Message-ID:
<10970tl$2n1v$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-srv.newsdeef.eu!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mailReferences:
<u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com> <87bjnv4ait.fsf@hope.eyrie.org> <10928if$3djku$1@dont-email.me> <1092n83$2c6e$1@nnrp.usenet.blueworldhosting.com> <1094pjt$15nu2$1@news.trigofacile.com> <1095tr8$2mb9$1@nnrp.usenet.blueworldhosting.com> <b5404f5857cfceb80c64696749657dd4e7d7cf9b@usenet.pugleaf.net>Show Full Headers
Complete Article Headers
Message-ID: <10970tl$2n1v$1@nnrp.usenet.blueworldhosting.com> Subject: Re: INN laxmid clarification Date: Tue, 02 Sep 2025 15:02:13 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com> <87bjnv4ait.fsf@hope.eyrie.org> <10928if$3djku$1@dont-email.me> <1092n83$2c6e$1@nnrp.usenet.blueworldhosting.com> <1094pjt$15nu2$1@news.trigofacile.com> <1095tr8$2mb9$1@nnrp.usenet.blueworldhosting.com> <b5404f5857cfceb80c64696749657dd4e7d7cf9b@usenet.pugleaf.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srv.newsdeef.eu!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!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 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 2 Sep 2025 15:02:13 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="89151"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Pan/0.164 (Kupiansk) Cancel-Lock: sha1:dx5AsdzNWY5HXNUc1C9+lTAd+f8= sha256:EVsleg+/GaG8liNKrYSAKYrsGKfjbMaCQvw+FAxcZ38=