🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by hawat.thufir Wed, 22 Mar 2006 15:57
leafnode configuration
#182229
Author: hawat.thufir
Date: Wed, 22 Mar 2006 15:57
83 lines
4210 bytes
As slrnpull won't allow multiple nntp servers, leafnode is the 
replacement, yes?  I won't be posting through leafnode, but will use tin, 
pine, or similar.  Right now I'm posting through pine, but plan on setting 
up pine to work with leafnode.  My only frustration with slrnpull is that 
I can only connect to one nntp server :(

So:

localhost leafnode #
localhost leafnode # whoami
root
localhost leafnode # pwd
/etc/leafnode
localhost leafnode # ls -hal
total 48K
drwxr-xr-x   2 root root 4.0K Mar 22 15:01 .
drwxr-xr-x  52 root root 4.0K Mar 22 13:51 ..
-rw-r--r--   1 root root  164 Mar 22 13:34 Makefile.dist
-rw-r--r--   1 root root  174 Mar 22 13:34 UNINSTALL-daemontools
-rw-r--r--   1 root root  271 Mar 22 15:03 config
-rw-r--r--   1 root root  12K Mar 22 13:34 config.example
-rw-r--r--   1 root root  473 Mar 22 13:34 filters.example
-rw-r--r--   1 root root   22 Mar 22 13:34 nntp.rules.dist
-rw-r--r--   1 root root  704 Mar 22 13:34 run.tcpd.dist
-rw-r--r--   1 root root  838 Mar 22 13:34 run.tcpserver.dist
localhost leafnode # cat config -n
      1  ## Unread articles will be deleted after this many days if
      2  ## you don't define special expire times. Mandatory.
      3  expire = 20
      4
      5  ## This is the NNTP server leafnode fetches its news from.
      6  ## You need read and post access to it. Mandatory.
      7  server = shawnews.vc.shawcable.net
      8
localhost leafnode # cat /etc/hosts -n
      1  # /etc/hosts:  This file describes a number of 
hostname-to-address
      2  #              mappings for the TCP/IP subsystem.  It is mostly
      3  #              used at boot time, when no name servers are 
running.
      4  #              On small systems, this file can be used instead 
of a
      5  #              "named" name server.  Just add the names, 
addresses
      6  #              and any aliases to this file...
      7  # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 
2003/08/04 20:12:25 azarah Exp $
      8  #
      9
     10  #127.0.0.1      localhost
     11  127.0.0.1       localhost.localdomain   localhost
     12  192.168.0.2     gravity.twi-31o2.org gravity
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.  Anyhow, just to *pull* messages, why is leafnode 
asking me for a FQDN?  I don't have one :(

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, 
newsgroups from my ISP and gmane (and perhaps a third one if that comes 
up).



thanks,

Thufir
Re: leafnode configuration
#182247
Author: Seatoller
Date: Wed, 22 Mar 2006 19:52
102 lines
5719 bytes
On Wed, 22 Mar 2006 15:57:39 +0000, hawat.thufir wrote:

> As slrnpull won't allow multiple nntp servers, leafnode is the
> replacement, yes?  I won't be posting through leafnode, but will use tin,
> pine, or similar.  Right now I'm posting through pine, but plan on setting
> up pine to work with leafnode.  My only frustration with slrnpull is that
> I can only connect to one nntp server :(
> 
> So:
> 
> localhost leafnode #
> localhost leafnode # whoami
> root
> localhost leafnode # pwd
> /etc/leafnode
> localhost leafnode # ls -hal
> total 48K
> drwxr-xr-x   2 root root 4.0K Mar 22 15:01 . drwxr-xr-x  52 root root 4.0K
> Mar 22 13:51 .. -rw-r--r--   1 root root  164 Mar 22 13:34 Makefile.dist
> -rw-r--r--   1 root root  174 Mar 22 13:34 UNINSTALL-daemontools
> -rw-r--r--   1 root root  271 Mar 22 15:03 config -rw-r--r--   1 root root
>  12K Mar 22 13:34 config.example -rw-r--r--   1 root root  473 Mar 22
> 13:34 filters.example -rw-r--r--   1 root root   22 Mar 22 13:34
> nntp.rules.dist -rw-r--r--   1 root root  704 Mar 22 13:34 run.tcpd.dist
> -rw-r--r--   1 root root  838 Mar 22 13:34 run.tcpserver.dist localhost
> leafnode # cat config -n
>       1  ## Unread articles will be deleted after this many days if 2  ##
>       you don't define special expire times. Mandatory. 3  expire = 20
>       4
>       5  ## This is the NNTP server leafnode fetches its news from. 6  ##
>       You need read and post access to it. Mandatory. 7  server =
>       shawnews.vc.shawcable.net 8
> localhost leafnode # cat /etc/hosts -n
>       1  # /etc/hosts:  This file describes a number of
> hostname-to-address
>       2  #              mappings for the TCP/IP subsystem.  It is mostly 3
>        #              used at boot time, when no name servers are
> running.
>       4  #              On small systems, this file can be used instead
> of a
>       5  #              "named" name server.  Just add the names,
> addresses
>       6  #              and any aliases to this file... 7  # $Header:
>       /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8
> 2003/08/04 20:12:25 azarah Exp $
>       8  #
>       9
>      10  #127.0.0.1      localhost
>      11  127.0.0.1       localhost.localdomain   localhost 12  192.168.0.2
>          gravity.twi-31o2.org gravity
> 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.  Anyhow, just to *pull* messages, why is leafnode
> asking me for a FQDN?  I don't have one :(

Ok, well I've tried this with some distros that asked for an FQDN, &
Leafnode seemed to accept it, though I may be a little rusty here:

      In the Leafnode config file, you can make one up. Towards the
bottom of the page, you will find:     hostname = myhost.example.org
So, you could change it to something like:   
hostname = hawat.thufi.mydomain.org 

or perhaps even: 
hostname = hawat.thufi.hawatthufi.org 

Anything along those lines should do :-)


> 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,
> newsgroups from my ISP and gmane (and perhaps a third one if that comes
> up).

You can set leafnode (again in the 'config' file) to use as many
newservers you want. It will merge them into one page of your newsreader
if you wish, such as (for example):-

news.software.readers  (from giganews perhaps)
uk.comp.os.linux (again from giganews)
gmane.comp.openoffice.general
gmane.linux.suse.kde
novell.community.chat.linux.other (from novell servers)

HTH :-)

-- 
SuSE 10.1 (Agama Lizard) Development distro
Re: leafnode configuration
#182255
Author: Whiskers
Date: Wed, 22 Mar 2006 21:01
22 lines
1919 bytes
On 2006-03-22, hawat.thufir@gmail.com <hawat.thufir@gmail.com> wrote:

snip

> Now, I understand that this should be done not from the root account, but 
> from the news account.  Anyhow, just to *pull* messages, why is leafnode 
> asking me for a FQDN?  I don't have one :(
>
> 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, 
> newsgroups from my ISP and gmane (and perhaps a third one if that comes 
> up).

Adjust your understanding  ;))

Look at /etc/leafnode/config.example and man leafnode (or info leafnode) 
and try a web search for guides to setting up leafnode.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: leafnode configuration
#182423
Author: 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/
Re: leafnode configuration
#182501
Author: hawat.thufir
Date: Sat, 25 Mar 2006 06:15
97 lines
4828 bytes
Peter J Ross wrote:
> 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/


Argh.  I posted this from google groups, then rethought my question,
canceled the post, and, while googling for a solution to this came
across responses to my (canceled) question!

Ahem.

I now have two active threads in this group on this topic--sorry.
Anyhow, will read all and hopefully get it running :)


-Thufir
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads