🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #188418

leafnode only_groups_pcre

#188418
From: Alan Greenberger
Date: Sun, 23 Jul 2006 18:01
27 lines
1920 bytes
I have been trying to customize leafnode (1.11.2.rel-1, Debian Sarge)
for multiple servers with only partial success.  I use three servers:
our ISP's, mozilla's and gmane's.  I wish to tell it to use mozilla's
and gmane's for specific groups and the ISP's for all others.  The
abbreviated config is:

#
server = news.fast.net
only_groups_pcre = ^(?!mozilla|gmane)

server = news.mozilla.org
only_groups_pcre = mozilla\.
nodesc = 1

server = news.gmane.org
only_groups_pcre = gmane\.
#

I issue fetchnews -f and then look at the files in
/var/spool/news/leaf.node.  Amazingly enough the "hard" PCRE works; the
file news.fast.net contains no groups beginning with mozilla or gmane.
However the two "easy" PCREs are ignored.  Those two files contain all
subscribed groups supported by those servers.  I have tried commenting
out the "nodesc = 1" with no effect.  I also tried some other PCREs
such as ^gmane, gmane.*, with no effect.

Does anyone know how to achieve the desired effect?
Technical Details
Message-ID: <slrnec7ec2.fe1.ajgreenberger@dumky.scores>
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!nx01.iad01.newshosting.com!newshosting.com!198.186.190.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!news.uslec.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrnec7ec2.fe1.ajgreenberger@dumky.scores>
Subject: leafnode only_groups_pcre
Date: Sun, 23 Jul 2006 14:01:38 -0400
From: Alan Greenberger <ajgreenberger@fast.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!nx01.iad01.newshosting.com!newshosting.com!198.186.190.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!news.uslec.net!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.8.1 (Debian)
Lines: 27
Organization: USLEC
NNTP-Posting-Host: 5e06e83a.news.uslec.net
X-Trace: DXC=142oHOjOC]4S`kVWI>PlR4G3V[U]m4Jk<m7e\R<U=1f=LD56T2SCHG:Yj7`mIddeo8[g7m5^2Fh6<
X-Complaints-To: abuse@uslec.net