🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60320

Re: Delivery of wrong articles by some news-hosts

#60320
From: Martin Kotulla
Date: Tue, 10 Sep 2002 16:25
32 lines
2711 bytes
BOUWSMA Beery wrote:
> 
> This happens probably due to software that fails to re-insert
> the terminator (CRLF.CRLF) in stored articles, or which have
> their articles with embedded binary NULs truncated before being
> written to storage, or something.  It can also happen if a site
> trying to feed is sending out an article in cyclical storage
> which gets overwritten as it's being sent (though in this case
> I don't think you'd see the `TAKETHIS').

Ah, thanks. That clears up things quite a bit for me.

> You don't get two message-IDs -- you get a message body that is
> longer than it should be.  If you're parsing the whole body --
> the only way to get the second as a candidate for a message ID --
> for any occurrence of ``^Message-ID: <...'' then you are bound
> to be fooled by body text.  Don't do that.
> Message-ID: <this.is.not.a.REAL.Mess@ge-ID.dammit>

If it were only that easy ... I have seen too many messages with empty 
lines in the header, so my algorithm takes an empty line only as a 
message separator if it has already passed over Xref:, Path:, and 
Message-ID:. It is also prepared for the fact that Xref: and Path: might 
not appear at all in the message. Also, it always takes the first 
occurance of said tokens as the valid instances.

This means that theoretically my method parses *a bit* into body text in 
extremely rare cases, but only for messages that are malformed anyway.

-Martin

Technical Details
Message-ID: <3D7E1CDE.1000303@gmx.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <3100n.892203@archiver.winews.net> <20020908200631.096$KG@newsreader.com> <3D7C6828.2090308@gmx.de> <O000OOOOO0@news.radio.cz>

Show Full Headers
Complete Article Headers
Message-ID: <3D7E1CDE.1000303@gmx.de>
Subject: Re: Delivery of wrong articles by some news-hosts
Date: Tue, 10 Sep 2002 18:25:02 +0200
From: Martin Kotulla <mk999@gmx.de>
References: <3100n.892203@archiver.winews.net> <20020908200631.096$KG@newsreader.com> <3D7C6828.2090308@gmx.de> <O000OOOOO0@news.radio.cz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: T-Online
Lines: 31
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1031674809 07 3733 tT1tbFMSVAALk 020910 16:20:09
X-Complaints-To: abuse@t-online.com
X-Sender: 510006582736-0001@t-dialin.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
X-Accept-Language: en-us, en