🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167709

Re: PAN changed: Message-ID to Message-Id

#167709
From: Neil Woods
Date: Sat, 11 Jun 2005 01:04
28 lines
2679 bytes
>>>>> Blinky the Shark writes:

> Whiskers wrote:
>> I've poked around but I can't see where Pan generates the headers so I 
>> can't tell you how to change it.
 
> Looking at /usr/bin/pan with a hex editor, there are only two instances of
> the string "Message-Id".  All of the other references to that header are
> to "Message-ID".  This might be for good reason, or it might be sloppy
> coding.  I'd say save a backup of that file to a different name, change
> those two strings to "Message-ID", post to alt.test, and see what happens.
> If that breaks something, kill the file and rename the backup back to pan,
> and nothing's lost.

That was my instinct as well. However, doing a non case-sensitive search
for message-id in /usr/bin/pan reveals a few more matches, including the
string "message-identifier.c".  It's probably reasonable to assume this
is where the string "Message-Id" gets defined.

Call me old-fashioned, but what's wrong with grabbing a copy of the
source code, patching and recompiling?  More time consuming for sure,
but much safer[1] :-)

[1] Especially if you "accidentally" overwrite the ending of a
null-terminated string, and all kinds of nasty, unexpected behaviour
results. Yes, I have done this :-)
-- 
Neil
Technical Details
Message-ID: <87ll5h66vs.fsf@phun.phasmic.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <N%1qe.3191$jS1.1503@newssvr17.news.prodigy.com> <slrndahm2q.p4o.no.spam@thurston.blinkynet.net> <KN5qe.3248$jS1.3000@newssvr17.news.prodigy.com> <do1on2-qre.ln1@ID-107770.user.individual.net> <pan.2005.06.10.12.24.06.482000@DELETEprodigy.net> <Xns9671601187D378jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de> <pan.2005.06.10.13.51.12.547000@DELETEprodigy.net> <adepn2-b0b.ln1@ID-107770.user.individual.net> <pan.2005.06.10.22.25.04.461664@blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <87ll5h66vs.fsf@phun.phasmic.org>
Subject: Re: PAN changed: Message-ID to Message-Id
Date: Sat, 11 Jun 2005 02:04:39 +0100
From: Neil Woods <cnw+usenet@pobox.com>
References: <N%1qe.3191$jS1.1503@newssvr17.news.prodigy.com> <slrndahm2q.p4o.no.spam@thurston.blinkynet.net> <KN5qe.3248$jS1.3000@newssvr17.news.prodigy.com> <do1on2-qre.ln1@ID-107770.user.individual.net> <pan.2005.06.10.12.24.06.482000@DELETEprodigy.net> <Xns9671601187D378jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de> <pan.2005.06.10.13.51.12.547000@DELETEprodigy.net> <adepn2-b0b.ln1@ID-107770.user.individual.net> <pan.2005.06.10.22.25.04.461664@blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 28
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net 96TCGkD6AGynIynAs27hFQAhdnfB7UxQgYtUymkfvVCbX3zaGJ
X-Orig-Path: news!not-for-mail
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
Cancel-Lock: sha1:0R00e3dNr66B3BTAulhYP+P84cY=