🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205221

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

#205221
From: Blinky the Shark
Date: Wed, 05 Sep 2007 02:01
58 lines
3013 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>> [---=| Quote block shrinked by t-prot: 23 lines snipped |=---]
>>> #v+
>>> define whois_postinghost () {
>>>
>>>   variable postinghost=extract_displayed_article_header("NNTP-Posting-Host");
>>>   () = system ( "whois "+postinghost+" | less");
>>>
>>>  }
>>>
>>> definekey ( "whois_postinghost", "\eH", "article");
>>> #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>
>
> So upgrade the program already ;)
>
> I'm not sure about that message.  It comes from the whois
> program, so the macro is indeed working, but maybe the IP

I never claimed to be much of a beta tester.  :)

> database your whois is reading from isn't up to date.  I don't
> know if the program itself needs updating.
>
> I have had that message before, but it works when I try it on
> same message.
>
> Try it on some other messages, like you own, and see if it works.

See my other reply.

> Someone once recommended me to try 'whois -a' - the '-a' argument
> supposedly searches all databases.  From memory it didn't help
> much, but you may have better results.  Just add the '-a' in the
> "system" line of macro and source the macro again or just restart
> slrn.
>
> If that works let me know, it may pay to add that to the macro as
> a default.

Okay.


-- 
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: <slrnfds3he.vnd.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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net> <20070905114715@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfds3he.vnd.no.spam@thurston.blinkynet.net>
Subject: Re: [slrn] NNTP-Posting-Host whois lookup macro
Date: Wed, 05 Sep 2007 02:01:34 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net> <20070905114715@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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 58
X-Trace: individual.net Nr/Xx39bsAGk7MDH6tO/YQZo/Brp56HA8Gj9HqeKuLjnDijY3+
Cancel-Lock: sha1:7pIkMILYbED4hXV89zu9FNVFNvo=
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)