🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #182423

Re: leafnode configuration

#182423
From: Peter J Ross
Date: Fri, 24 Mar 2006 12:55
83 lines
3991 bytes
On Wed, 22 Mar 2006 15:57:39 GMT, hawat.thufir@gmail.com
<hawat.thufir@gmail.com> wrote in news.software.readers:

> As slrnpull won't allow multiple nntp servers, leafnode is the 
> replacement, yes?

It's *a* replacement, and in my opinion it's the easiest to use for
the purpose you describe.

> I won't be posting through leafnode, but will use tin, 
> pine, or similar.

That's OK, as long as your chosen news client allows you to use
different servers for reading and posting. In general, it's simpler to
use leafnode for posting but mark servers as read-only when required.

<...>

> localhost leafnode # leafnode
> 503 Leafnode must have a unique fully-qualified domain name. Have its 
> administrator fix the configuration. More detail is in the logs.
>
> Leafnode must have a fully-qualified and globally unique domain name,
> not just "localhost.localdomain".
> Edit your /etc/hosts file to add a unique, fully qualified domain name.
> "localhost.localdomain" or thereabouts will not work;
> it's qualified, but not unique.
> Please see the README-FQDN file for details.
> Aborted
> localhost leafnode # date
> Wed Mar 22 15:04:44 GMT 2006
> localhost leafnode #
>
>
>
> Now, I understand that this should be done not from the root account, but 
> from the news account.

Yes. You can invoke leafnode's commands as root and it will run as
news, but I prefer to make sure by specifying the user when invoking
fetchnews or texpire:

  sudo -u news fetchnews

(with the appropriate entry in /etc/sudoers)

> Anyhow, just to *pull* messages, why is leafnode 
> asking me for a FQDN?  I don't have one :(

Because the news daemon doesn't know what you're going to use it for.
You *can* post, and therefore you *might* post.

Adding "hostname = pjr.localhost" to /etc/leafnode/config works for me
in leafnode version 2.0.0.alpha20051115a, so it seems that leafnode is
less fussy when it reads the supposed FQDN from its own config file.
However, this may be an unintended "feature" of the current alpha
version, and may not work in version 1.x.

DON'T use a valid domain name unless it belongs to you or you have
permission to use it, unless you're absolutely sure that you'll never
post with leafnode. Otherwise you might accidentally be guilty of
domain name forgery.

> When it comes to posting, I'll be using the same technique as with this 
> message.  I only want leafnode to slurp, or whatever the terminology is, 

Possibly "suck".

> newsgroups from my ISP and gmane (and perhaps a third one if that comes 
> up).

But presumably you'll want to post to both servers, and leafnode can
simplify that. Look up "only_groups_pcre" in the documentation to find
out how to avoid sending messages to the wrong server.


PJR :-)
-- 
  _  _(o)_(o)_  _       FSM: http://www.venganza.org/
._\`:_ F S M _:' \_,    PJR: http://www.insurgent.org/~pjr/
    / (`---'\ `-.       AUK: http://www.netcabal.com/auk/
 ,-`  _)    (_,   F_P   God's Own Newsreader: http://www.slrn.org/
Technical Details
Message-ID: <slrne27r1d.eq6.pjr@nntp.alcatroll.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!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news.alt.net!nntp.alcatroll.com!news
References: <Pine.LNX.4.64.0603221523260.29900@ybpnyubfg.ybpnyqbznva>

Show Full Headers
Complete Article Headers
Message-ID: <slrne27r1d.eq6.pjr@nntp.alcatroll.com>
Subject: Re: leafnode configuration
Date: Fri, 24 Mar 2006 12:55:09 +0000
From: Peter J Ross <pjr@kookbusters.org>
References: <Pine.LNX.4.64.0603221523260.29900@ybpnyubfg.ybpnyqbznva>
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!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news.alt.net!nntp.alcatroll.com!news
Newsgroups: news.software.readers
Organization: Cabal Obsidian Order [TINCOO]
Lines: 83
X-Operating-System: Debian GNU/Linux (Sid/Unstable)
X-Kernel: Linux 2.6.15-1-686
X-Complaints-To: abuse@nntp.alcatroll.com
User-Agent: slrn/0.9.8.1pl1 (Debian)