Article View: news.software.nntp
Article #43529Re: Net::NNTP - problem posting to newsgroups
From: Andrew Gierth
Date: Wed, 19 Jan 2000 00:00
Date: Wed, 19 Jan 2000 00:00
34 lines
2430 bytes
2430 bytes
>>>>> "Bilbo" == Bilbo <bilbo_baggins50@hotmail.NOSPAM.com> writes: Bilbo> I'm trying to post to a newsgroup via a perl script. I have Bilbo> found an open news server that will allow postings and I have Bilbo> succesfully posted to some newsgroups via the script below. Bilbo> The problem is finding a news server that carries the Bilbo> newsgroup uk.aderts.telecom.mobile, allows open connection and Bilbo> will allow posts to be made. Why? Why not use the server provided by your ISP? Or failing that, subscribe to any of the subscription Usenet providers. The number of servers that intentionally allow public posting (other than for specific private hierarchies) is essentially zero, due to the level of abuse which is invariably perpetrated once such servers are found. If you find a server open for posting, it's almost certainly due to an administrative error - so you can hardly expect it to provide reliable service. Furthermore, most so-called lists of "public" servers are in fact nothing of the kind - they merely list the set of servers which are, intentionally or otherwise, open to the compiler of the list. The appearance of a server on such a list does not constitute permission to access the server. As for your code, use Net::NNTP's Debug option (see the docs), or display the value of $nntp->message() after a failed post (see the docs for Net::Cmd). -- Andrew.
Technical Details
Message-ID:
<87aem27x8h.fsf@erlenstar.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.modules.mbox.zip!not-for-mailReferences:
<864nv7$psr$1@nclient15-gui.server.virgin.net>Show Full Headers
Complete Article Headers
Message-ID: <87aem27x8h.fsf@erlenstar.demon.co.uk> Subject: Re: Net::NNTP - problem posting to newsgroups Date: Wed, 19 Jan 2000 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <864nv7$psr$1@nclient15-gui.server.virgin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.modules.mbox.zip!not-for-mail X-Deja-AN: 574781121 X-Mayan-Date: Long count = 12.19.6.15.18; tzolkin = 1 Etznab; haab = 6 Muan Followup-To: news.software.nntp X-Complaints-To: andrew@erlenstar.demon.co.uk Organization: disorganised X-Attribution: AG X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-P-Persistent-Headers: are a bad idea. Newsgroups: comp.lang.perl.misc,comp.lang.perl.modules,news.software.nntp X-Post-Filter: postfilter v0.6 alpha