Article View: news.software.readers
Article #182247Re: leafnode configuration
From: Seatoller
Date: Wed, 22 Mar 2006 19:52
Date: Wed, 22 Mar 2006 19:52
102 lines
5719 bytes
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
Technical Details
Message-ID:
<pan.2006.03.22.19.52.56.712032@privacy.me>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!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<Pine.LNX.4.64.0603221523260.29900@ybpnyubfg.ybpnyqbznva>Show Full Headers
Complete Article Headers
Message-ID: <pan.2006.03.22.19.52.56.712032@privacy.me> Subject: Re: leafnode configuration Date: Wed, 22 Mar 2006 19:52:57 +0000 From: Seatoller <St@privacy.me> 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!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 22 Mar 2006 13:52:57 -0600 Organization: Quid, me wexare? User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Newsgroups: news.software.readers Desktop: KDE 3.5.1 OS: SuSE Linux 10.0 OSS MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 102 X-Trace: sv3-MkQZUq2R1A+d2S0Vr8uGHNuuKrRgvwWw+hQojM0q4LUEGVr86nDXm5W+NLhqGRzKkL+fZW9MOcSWsGH!uZ+W5XNQJ7+CIiIkhTcwqgx8TdiMFzA+1lGxKzadOWUinEpzknsNWdL+n4BWuKjg X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32