🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205225

Re: [slrn] NNTP-Posting-Host whois lookup macro

#205225
From: Blinky the Shark
Date: Wed, 05 Sep 2007 03:03
47 lines
2745 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Blinky the Shark wrote:
>> [---=| Quote block shrinked by t-prot: 33 lines snipped |=---]
>>>> #v-
>>>
>>> I ran it on your post and got:
>>>
>>><q>
>>>
>>> Unknown AS number or IP network. Please upgrade this program.
>>> lines 1-1/1 (END) 
>>>
>>></q>
>>
>> Then I ran it on some of my own posts and got the slrn help page(s).
>
> You sure it's /slrn/ help pages?  I got the 'whois --help'
> output.

DUH!  Yeah, it's from whois.  Don't look a damn bit like slrn help.

[embarrassed]

> That would be because your posts don't seem to contain the
> NNTP-Posting-Host header.  I should add a check for that.  I
> should have done that first time round.

Ah!  I think we just had a discussion on that, and some of the regs here
have them and some don't.  I didn't think of that either.

>> Then I ran it on some other people's posts and got the whois.
>
> Ok - so it works when the header exists in most cases.
>
> Thanks for the feedback.  Do you think it's worthwhile?

Not every day, probably, but it's small and fast and it provides
information.  That can't be bad.

Annc when you add the header check...

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project:
http://improve-usenet.org  <----------- New Site Aug 28
Technical Details
Message-ID: <slrnfds750.178.no.spam@thurston.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.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net> <slrnfds2sp.vb2.no.spam@thurston.blinkynet.net> <20070905120737@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfds750.178.no.spam@thurston.blinkynet.net>
Subject: Re: [slrn] NNTP-Posting-Host whois lookup macro
Date: Wed, 05 Sep 2007 03:03:11 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net> <slrnfds2sp.vb2.no.spam@thurston.blinkynet.net> <20070905120737@usenet.piggo.com>
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.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 47
X-Trace: individual.net hufBcvktBMyc1pAg3qgw0AJbki27nvwUoAhoyI2OIH+1EL/f4g
Cancel-Lock: sha1:teM9VhpGr951zdR/NLg4o6F1hg0=
X-The-Usenet-Improvement-Project: http://blinkynet.net/comp/uip5.html
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
X-OS: Mandriva 2006 Linux; kernel 2.6.12
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
User-Agent: slrn/0.9.8.1 (Linux)