🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #233839

Re: leafnode and only_groups_pcre

#233839
From: vince
Date: Thu, 18 Jun 2009 09:39
49 lines
3373 bytes
On Wed, 17 Jun 2009 22:42:44 +0100, Whiskers <catwheezel@operamail.com>
wrote:

>On 2009-06-17, vince <nobody@home.invalid> wrote:
>> I use leafnode as my local news server and have several news server
>> configured.  Am trying to use the only_groups_pcre parameter to limit
>> which news groups come from which servers.
>>
>> For the micorsoft server, I can use 
>> only_groups_pcre = microsoft\..*
>> and only the news groups beginning with microsoft will be used on that
>> server.
>>
>> Since I'm getting the microsoft news groups from their server, I don't
>> want to get any of those same groups from any other servers, eg.
>> news.motzarella.org.  And I don't want to get any of the adobe
>> newsgroups from motzarella, either.  I can't figure out how to write a
>> regular expression that will include all news groups except microsoft.*
>> and adobe.*
>> How do I use only_groups_pcre parameter of leafnode to exclude both
>> microsoft and adobe newsgroups when pulling/posting to
>> news.motzarella.org?
>
>Interpreting the man file that came with the release of Leafnode 2 I'm 
>using, I suggest you try 
>
>    only_groups_pcre=!microsoft\.
>
>If that works, try
>
>    only_groups_pcre=!microsoft|!adobe
>
>(I haven't tested those myself and my understanding of pcre is very 
>limited).

Thanks for the clue.  I didn't know "!" was "not".  Have been trying
only_groups_pcre=!microsoft\..* and have been getting strange results.
I don't think I've totally blown up leafnode yet, but am prolly well on
my way to complete destruction.

>If fetchnews collects all the articles in a group from the first server on 
>its list, it won't collect them again from any others - but it will 
>collect articles in that group that it hasn't already collected from an 
>earlier server.  Likewise, I don't think it will post an outgoing article 
>to more than one server (but I confess I haven't checked that recently).  
>So I suspect you don't really need to use the restriction you propose.

That makes sense.  Just need to pay a bit more attention to the order of
the server in the config file.
Technical Details
Message-ID: <ijepg6-36c.ln1@home.invalid>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!feeder.motzarella.org!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
References: <votng6-3rt.ln1@home.invalid> <slrnh3ioqk.bpt.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <ijepg6-36c.ln1@home.invalid>
Subject: Re: leafnode and only_groups_pcre
Date: Thu, 18 Jun 2009 04:39:30 -0500
From: vince <nobody@home.invalid>
References: <votng6-3rt.ln1@home.invalid> <slrnh3ioqk.bpt.catwheezel@ID-107770.user.individual.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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!feeder.motzarella.org!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Lines: 49
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX1/FoaUDTSCxuUwwqzILtzVGij7O7ZIDJGaf/mwEm7bGzOTUjDPLf3H1Y6v+RTNrdLNJW5XJPE4SZmyOghd8AP58ZB442lRVWlw84/0JY1EEwoaTMPcuUWCDqAUYAu7QK9zkhFZmn4H8Jw==
X-Complaints-To: abuse@motzarella.org
NNTP-Posting-Date: Thu, 18 Jun 2009 09:39:46 +0000 (UTC)
X-Newsreader: Forte Agent 2.0/32.652
X-Auth-Sender: U2FsdGVkX19SvGyeK9Wu0w96GkElPHegveQOUnvRiMk=
Cancel-Lock: sha1:DnR10T27QLQ+4uO45fA+ja8zQv8=