🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92376

Re: INN laxmid clarification

#92376
From: Julien ÉLIE
Date: Sat, 30 Aug 2025 22:46
36 lines
2734 bytes
Hi Jesse,

>     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.

Wouldn't it be possible to somehow rewrite the Date header field before 
injecting the article?  (The old one could be kept in an X-Date header 
field.)  There may be news readers that are unable to parse them too.

In Python:

 >>> from email.utils import format_datetime,parsedate_to_datetime
 >>> format_datetime(parsedate_to_datetime("Wed, 31-Dec-69 18:59:59 EDT"))
'Wed, 31 Dec 1969 18:59:59 -0400'


> 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

These are indeed invalid domain names.  I am under the impression that 
the laxsyntax check should just ensure there are 1 to 248 (authorized) 
chars surrounded by brackets, without verifying the number, order and 
place of '.', '[', ']', etc.

-- 
Julien ÉLIE

« Les Romains mesurent les distances en pas, nous en pieds… Il faut six
   pieds pour faire un pas. » (Astérix)
Technical Details
Message-ID: <108vuvv$11j2t$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!news.trigofacile.com!.POSTED.2001:861:3f81:7990:58ee:5ae2:6030:15fd!not-for-mail
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> <108vhqb$1nrv$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <108vuvv$11j2t$1@news.trigofacile.com>
Subject: Re: INN laxmid clarification
Date: Sun, 31 Aug 2025 00:46:23 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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> <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!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:58ee:5ae2:6030:15fd!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 30 Aug 2025 22:46:23 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:58ee:5ae2:6030:15fd";
 logging-data="1100893"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:MAU7tsVwb0+AzKVmHOB/QD4uNT4= sha256:Kg71EJz4pQUbHXhwriJ21gE47Wwq5pKQEcOX/7fNL4A=
In-Reply-To: <108vhqb$1nrv$1@nnrp.usenet.blueworldhosting.com>