Questions tagged [nntp]

NNTP is the Network News Transport Protocol used to transfer Usenet news around. Notice that questions about the usage of news clients are considered off-topic.

The Network News Transfer Protocol (NNTP) is an application protocol used for transporting Usenet news articles (netnews) between news servers and for reading and posting articles by end user client applications.

The messages and protocol are defined in RFCs from The Internet Engineering Task Force (IETF). The messages are defined in RFC 5536 and the way these are transferred is defined in RFC 5537.

Users read messages using a client which connects to a server. Servers pass messages between each other so that all messages in the group that the server manages are available to the client. Or, as the netnews RFC 5537 say in 1.1, "Basic Concepts":

"Netnews" is a set of protocols for generating, storing, and retrieving news "articles" whose format is defined in [RFC5536], and for exchanging them amongst a readership that is potentially widely distributed. It is organized around "newsgroups", with the expectation that each reader will be able to see all articles posted to each newsgroup in which he participates. These protocols most commonly use a flooding algorithm that propagates copies throughout a network of participating servers. Typically, only one copy is stored per server, and each server makes it available on demand to readers able to access that server.

"Usenet" is a particular worldwide, publicly accessible network based on the Netnews protocols. It is only one such possible network; there are deployments of the Netnews protocols other than Usenet (such as ones internal to particular organizations). This document discusses the more general Netnews architecture and protocols.

Clients tend to be applications that run on users' machines although there are some gateways to Usenet including Google Groups.

56 questions
1
vote
1 answer

mail reader that uses gzipped archives from http instead of an nntp server

Is there a mail client that can be configured to use gzipped archives of mailing lists directly from where the mailing list is hosted rather than a central nntp server ? nntp is either not free, or slow in my experience.
Naveen
  • 5,910
  • 5
  • 30
  • 38
1
vote
0 answers

node-nntp get article fails

I've been trying the node-nntp examples. Although the following example works for misc.test, when trying other groups the article function fails to fetch the first article when no message id or article number is passed in. I discovered that it does…
zobbo
  • 117
  • 2
  • 13
1
vote
1 answer

How to use nntplib module?

When I use first example in Python's nntplib module documentation, there are some errors. >>> from nntplib import NNTP >>> s = NNTP('news.gmane.org') >>> resp, count, first, last, name = s.group('gmane.comp.python.committers') Traceback (most recent…
lens
  • 133
  • 1
  • 11
1
vote
0 answers

Python 3.4 - NNTPLIB - Port Not Bound - Is there a Firewall Enabled? - Aptana 3.6.1

I have tried reinstalling aptana studio as well as java. I have java 8, update 45 installed. Aptana studio 3.6.1. Whenever I try to import nntplib this is the error I get. I'm not sure what else to try. My ultimate goal is to stream news from a…
1
vote
1 answer

Is it possible to post binaries to usenet with Python?

I'm trying to use the nntplib that comes with python to make some posts to usenet. However I can't figure out how to post binary files using the .post method. I can post plain text files just fine, but not binary files. any ideas? -- EDIT-- So…
rnavarro
  • 173
  • 1
  • 4
  • 12
1
vote
0 answers

how to Flag.DELETED a message with GNU NNTP

I'm using GNU javamail to read NNTP messages: public List getMessages(Newsgroup newsgroup) throws MessagingException { LOG.fine("fetching.." + newsgroup); folder = root.getFolder(newsgroup.getNewsgroup()); …
Thufir
  • 8,216
  • 28
  • 125
  • 273
1
vote
1 answer

gnu.mail.providers.nntp newsrc

Referencing the API docs for gnu.mail.providers.nntp, I'm trying to generate a list of folders on localhost nntp where I run leafnode. However, it seems that ${user.home}/.newsrc isn't loading correctly because I'm getting a zero length array…
Thufir
  • 8,216
  • 28
  • 125
  • 273
1
vote
0 answers

How does the NNTP peering protocol works?

I can't find any doc online and i got lost on the RFC. Could someone please explain me how does a NNTP server peering with another accept news? I can only use my imagination: telnet nntp-server 119 Trying nntp-server... Connected to nntp-server. …
cedivad
  • 2,544
  • 6
  • 32
  • 41
0
votes
1 answer

newsgroup nntp protocol talk with fsockopen - how to get size

In the code below I can get a list of "message-id"s in a group I selected earlier. Now with that info I can retreive the header with head "message-ID" how do I find out what the size of the article is? Like what php imap does with…
renevdkooi
  • 1,515
  • 1
  • 17
  • 42
0
votes
0 answers

Download nzb content python3

I have uploaded some files to usenet using ngpost. Now, Im having troubles to download that files, I know that sabnzb or nzbget could do the job, but I want to make a downloader "from scratch" just to learn. from pynzb import nzb_parser file_nzb =…
uchi
  • 99
  • 9
0
votes
1 answer

Threading NNTP, how? (Newbie here)

I can't wrap my head around how I could possibly rewrite my code to be multi-threaded. The code I'm writing is made to automatically archive every single article in a list of newsgroups that exist, but I wanna be able to utilize my newsgroup plan…
ANK
  • 15
  • 3
0
votes
1 answer

PHP and NNTP problems using imap_open

I am having a bit of trouble with NNTP and PHP (following the directions in the PHP manual, I threw in this quick test:
Aaron Murray
  • 1,920
  • 3
  • 22
  • 38
0
votes
1 answer

Trying to install NNTP reader tin and parsdate.y error

I am trying to install tin on a CentOS 7 VM. ./configure runs fine, and then when I run make build, I get... [user@db3 tin-2.4.5]$ make build make[1]: Entering directory `/home/user/tin-2.4.5/src' expect 6 shift/reduce conflicts…
0
votes
1 answer

Building a tree array from flat array with parent and children nodes sorted by date (aka how to sort a discussion)

There are many solutions for building a tree array from a flat array based on numeric reference IDs using JavaScript. But I couldn't find any solution for creating a tree array where sorting is based on alphanumeric IDs and date. I have a number of…
jjj
  • 2,594
  • 7
  • 36
  • 57
0
votes
1 answer

Which headers do I have to supply to NNTP?

This is related to a previous query. Section 1.5 of RFC 5536 mentions that submitted proto-articles may lack some of the mandatory headers that full articles have. Servers will always pass full articles to clients or peers, so they’ll fill in…
CTMacUser
  • 1,996
  • 1
  • 16
  • 27