🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
15 messages
15 total messages Started by hawat.thufir Tue, 28 Mar 2006 00:39
I broke slrn
#182728
Author: hawat.thufir
Date: Tue, 28 Mar 2006 00:39
228 lines
8343 bytes
I want to use slrn as a client with leafnode.

So, I have pine, slrn and pan.  Since starting this message, pan is now

working 100% with leafnode.  However, I'm not a big fan.  At least slrn

has pretty colors, and I'm often in pine, so would like to use one of
those.

Prior to getting leafnode configured, slrn was working fine off of my
ISP's server but now I'm getting an error.

I'm not finding .slrnrc nor does creating one with
hostname=hawat.thufir.gmail.com in it seem to help.


now, when I start up pine, I get:

>{localhost:119}#news.x : Unexpected tagged response: 200 LEAFNODE NNTP
Daemon, version 1.11.3.rel rnning at localh<

along the bottom of the screen, too fast to capture (except with print
screen).


from /home/thufir/.pinerc:


# List, only needed if nntp-server not set, or news is on a different
host
# than used for NNTP posting. Examples: News *[] or News
*{host3/nntp}[]
# Syntax: optnl-label *{news-host/protocol}[]
news-collections=leafnode {localhost:119}#news.[],
	Mail []


When the port is removed from the above snippet from .pinerc, it's a
different error: unable to connect to host, I believe.



Leafnode is up and running.  What did I do to cause slrn to die with a
fatal error, please?




thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $ cd .pan
thufir@localhost ~/.pan $ ls
New Server_unsub.dat.bak  local_unsub.idx   shaw_sub.dat.bak
New Server_unsub.idx.bak  localhost         shaw_sub.idx
accels.txt                messages          shaw_sub.idx.bak
config.xml                profiles.xml      shaw_unsub.dat
gmail                     profiles.xml.bak  shaw_unsub.dat.bak
local                     shaw              shaw_unsub.idx
local_unsub.dat           shaw_sub.dat      shaw_unsub.idx.bak
thufir@localhost ~/.pan $ cd gmail/
thufir@localhost ~/.pan/gmail $ ls
thufir@localhost ~/.pan/gmail $ cd ..
thufir@localhost ~/.pan $ ls
New Server_unsub.dat.bak  local_unsub.idx   shaw_sub.dat.bak
New Server_unsub.idx.bak  localhost         shaw_sub.idx
accels.txt                messages          shaw_sub.idx.bak
config.xml                profiles.xml      shaw_unsub.dat
gmail                     profiles.xml.bak  shaw_unsub.dat.bak
local                     shaw              shaw_unsub.idx
local_unsub.dat           shaw_sub.dat      shaw_unsub.idx.bak
thufir@localhost ~/.pan $ cd localhost/
thufir@localhost ~/.pan/localhost $ ls
thufir@localhost ~/.pan/localhost $ cd ..
thufir@localhost ~/.pan $ cd local
thufir@localhost ~/.pan/local $ ls
comp.mail.pine
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $
thufir@localhost ~/.pan/local $ pwd
/home/thufir/.pan/local
thufir@localhost ~/.pan/local $ cat -n
/home/thufir/.pan/local/comp.mail.pine
     1  11
     2  1
     3  <leafnode:placeholder:comp.mail.pine@hawat.thufir.gmail.com>
     4  news@hawat.thufir.gmail.com
     5  Leafnode
     6  Leafnode placeholder for group comp.mail.pine
     7
     8
     9  0
    10  0
    11  40
    12  1000
    13  1143502727
    14  1
    15  1
thufir@localhost ~/.pan/local $ cd ..
thufir@localhost ~/.pan $ ls
New Server_unsub.dat.bak  local_unsub.idx   shaw_sub.dat.bak
New Server_unsub.idx.bak  localhost         shaw_sub.idx
accels.txt                messages          shaw_sub.idx.bak
config.xml                profiles.xml      shaw_unsub.dat
gmail                     profiles.xml.bak  shaw_unsub.dat.bak
local                     shaw              shaw_unsub.idx
local_unsub.dat           shaw_sub.dat      shaw_unsub.idx.bak
thufir@localhost ~/.pan $ cd
thufir@localhost ~ $ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: hawat.thufir.gmail.com)
^]

telnet> quit
Connection closed.
thufir@localhost ~ $ cat -n /etc/hosts
     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
    11  127.0.0.1          localhost
    12  127.0.0.1          hawat.thufir.gmail.com arrakis
thufir@localhost ~ $ cat -n /etc/leafnode/config
     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
     9
    10  hostname = hawat.thufir.gmail.com
    11
    12  initialfetch = 5
thufir@localhost ~ $ cat -n /etc/xinetd.conf
     1  # /etc/xinetd.conf: sample configuration file for xinetd
     2
     3  defaults
     4  {
     5          only_from      = localhost
     6          instances      = 60
     7          log_type       = SYSLOG authpriv info
     8          log_on_success = HOST PID
     9          log_on_failure = HOST
    10          cps            = 25 30
    11  }
    12
    13  includedir /etc/xinetd.d
thufir@localhost ~ $ cat -n /etc/xinetd.d/leafnode-nntp
     1  # default: off
     2  # description: Leafnode - accepts connections on port 119
(NNTP)
     3
     4  service nntp
     5  {
     6          socket_type = stream
     7          protocol    = tcp
     8          wait        = no
     9          user        = news
    10          server      = /usr/sbin/leafnode
    11          disable     = no
    12  }
thufir@localhost ~ $ slrn
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ date
Tue Mar 28 01:09:23 IST 2006
thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $


also:


thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $ slrn -h localhost -p 119
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ slrn -h shawnews.vc.shawcable.net -p 119
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ date
Tue Mar 28 01:36:59 IST 2006
thufir@localhost ~ $







thanks,

Thufir
posting with leafnode, was Re: I broke slrn
#182734
Author: hawat.thufir
Date: Tue, 28 Mar 2006 06:24
86 lines
3629 bytes
When trying to post to alt.test, I get:

[Error posting message: 441 Post rejected, formatting error:
Message-ID: header does]


Leafnode is working properly, I believe:


thufir@localhost ~ $
thufir@localhost ~ $ whoami
thufir
thufir@localhost ~ $ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: hawat.thufir.gmail.com)
^]

telnet> quit
Connection closed.
thufir@localhost ~ $ su -
Password:
localhost ~ # whoami
root
localhost ~ # fetchnews -vvv
leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0
try_lock(timeout=5), fqdn="hawat.thufir.gmail.com"
shawnews.vc.shawcable.net: connecting to port nntp...
shawnews.vc.shawcable.net: connected.
shawnews.vc.shawcable.net: using STAT <message-ID> command.
shawnews.vc.shawcable.net: 0 articles posted.
shawnews.vc.shawcable.net: getting new newsgroups
shawnews.vc.shawcable.net: got 0 new newsgroups.
shawnews.vc.shawcable.net: reading server info from
/var/spool/news/leaf.node/shawnews.vc.shawcable.net
comp.mail.pine: no new articles
5col.politics: no new articles
news.software.readers: no new articles
alt.test: considering articles 1069510 - 1069510
alt.test: will fetch 1069510
(/var/spool/news/message.id/283/<upkh229f2a4kqnkuq2ffir620gp3jilrcr@4ax.com>)
alt.test: receiving article 1069510 (0 more up in the air)
.storing <upkh229f2a4kqnkuq2ffir620gp3jilrcr@4ax.com>: alt.test
..as article 8 in alt.test
alt.test: 1 article fetched, 0 killed
shawnews.vc.shawcable.net: conversation completed, disconnected.
wrote active file with 61433 lines
Started process to update overview data in the background.
Network activity has finished.
localhost ~ # exit
logout
thufir@localhost ~ $ date
Tue Mar 28 07:20:35 IST 2006
thufir@localhost ~ $



/home/thufir.pinerc excerpts:


# NNTP server for posting news. Also sets news-collections for news
reading.
nntp-server=localhost


[...]


# List, only needed if nntp-server not set, or news is on a different
host
# than used for NNTP posting. Examples: News *[] or News
*{host3/nntp}[]
# Syntax: optnl-label *{news-host/protocol}[]
news-collections=leafnode {localhost/nntp}#news.[],
        Mail []




thanks,

Thufir

Re: I broke slrn
#182737
Author: Peter J Ross
Date: Tue, 28 Mar 2006 10:58
50 lines
2579 bytes
On 27 Mar 2006 16:39:21 -0800, hawat.thufir@gmail.com
<hawat.thufir@gmail.com> wrote in news.software.readers:

> I want to use slrn as a client with leafnode.
>
> So, I have pine, slrn and pan.  Since starting this message, pan is now
>
> working 100% with leafnode.  However, I'm not a big fan.  At least slrn
>
> has pretty colors, and I'm often in pine, so would like to use one of
> those.
>
> Prior to getting leafnode configured, slrn was working fine off of my
> ISP's server but now I'm getting an error.
>
> I'm not finding .slrnrc nor does creating one with
> hostname=hawat.thufir.gmail.com in it seem to help.

That's because the syntax is wrong. There should be no "=".

(Note also that the preferred syntax is "set hostname [hostname]".)

If you want SLRN to generate Message-Ids, you'll probably also want
the "posting_host" command:
http://www.slrn.org/manual/slrn-manual-5.html#posting_host

I recommend setting posting_host to whatever your FQDN in leafnode is.
However:

<snip>

> thufir@localhost ~ $ telnet localhost 119
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
> fqdn: hawat.thufir.gmail.com)

You should *not* use this FQDN for posting, unless Google Inc. gives
you permission. To obtain a valid FQDN, take a look at dyndns.com or
no-ip.com.


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: I broke slrn
#182744
Author: hawat.thufir
Date: Tue, 28 Mar 2006 15:59
66 lines
2829 bytes
Peter J Ross wrote:
..
> > I'm not finding .slrnrc nor does creating one with
> > hostname=hawat.thufir.gmail.com in it seem to help.
>
> That's because the syntax is wrong. There should be no "=".

Thanks :)

> (Note also that the preferred syntax is "set hostname [hostname]".)
>
> If you want SLRN to generate Message-Ids, you'll probably also want
> the "posting_host" command:
> http://www.slrn.org/manual/slrn-manual-5.html#posting_host

Thanks :)

> I recommend setting posting_host to whatever your FQDN in leafnode is.
> However:

Thanks :)

> <snip>
>
> > thufir@localhost ~ $ telnet localhost 119
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > 200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
> > fqdn: hawat.thufir.gmail.com)
>
> You should *not* use this FQDN for posting, unless Google Inc. gives
> you permission. To obtain a valid FQDN, take a look at dyndns.com or
> no-ip.com.

Thanks :)

>
> PJR :-)
..

I'm going to give slrn another go.  Right now I can read groups fine
from pan or pine.  I haven't tried posting from pan yet.

thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
thufir@localhost ~ $ date
Tue Mar 28 16:53:11 IST 2006
thufir@localhost ~ $



thanks,

Thufir
Re: I broke slrn
#182778
Author: hawat.thufir
Date: Wed, 29 Mar 2006 10:45
72 lines
3486 bytes
Peter J Ross wrote:
..
> (Note also that the preferred syntax is "set hostname [hostname]".)
>
> If you want SLRN to generate Message-Ids, you'll probably also want
> the "posting_host" command:
> http://www.slrn.org/manual/slrn-manual-5.html#posting_host
>
> I recommend setting posting_host to whatever your FQDN in leafnode is.
..


I'm able to read news in pine, but still can't get slrn started :(
Leafnode, however, is very neat.  It's running every hour and it's
quite easy to add groups.  I've yet to add gmane, been kinda focused on
the client for now, of course.


thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $ slrn
slrn 0.9.8.1 [2004-10-07]

You should set the NNTPSERVER environment variable to your server name.
Example (csh): setenv NNTPSERVER my.news.server
Example (sh) : NNTPSERVER='my.news.server' && export NNTPSERVER
For now, I'm going to try "localhost" as the default...
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ NNTPSERVER='shawnews.vc.shawcable.net' && export
NNTPSERVER
thufir@localhost ~ $ slrn
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ NNTPSERVER=shawnews.vc.shawcable.net && export
NNTPSERVER
thufir@localhost ~ $ slrn
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ cat -n .slrnc
     1  set hostname shawnews.vc.shawcable.net
     2  set posting_host shawnews.vc.shawcable.net
thufir@localhost ~ $ date
Wed Mar 29 11:39:36 IST 2006
thufir@localhost ~ $ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
thufir@localhost ~ $ date
Wed Mar 29 11:42:21 IST 2006
thufir@localhost ~ $



thanks,

Thufir
Re: I broke slrn
#182780
Author: hawat.thufir
Date: Wed, 29 Mar 2006 11:05
125 lines
5441 bytes
My latest attempt with slrn:

thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $ cat /home/thufir/.slrnc -n
     1  set hostname shawnews.vc.shawcable.net
     2  set posting_host shawnews.vc.shawcable.net
thufir@localhost ~ $ slrn -h shawnews.vc.shawcable.net
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ nano /home/thufir/.slrnc
thufir@localhost ~ $ cat /home/thufir/.slrnc -n
     1  set hostname localhost
     2  set posting_host localhost
thufir@localhost ~ $ slrn -h localhost
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ slrn -h geidiprime.servebeer.com
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ nano /home/thufir/.slrnc
thufir@localhost ~ $ cat /home/thufir/.slrnc -n
     1  set hostname geidiprime.servebeer.com
     2  set posting_host geidiprime.servebeer.com
thufir@localhost ~ $ slrn -h geidiprime.servebeer.com
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ slrn -h localhost
slrn 0.9.8.1 [2004-10-07]
slrn fatal error:
Unable to find a valid hostname for constructing your e-mail address.
You will have to specify a hostname in your .slrnrc file.

thufir@localhost ~ $ date
Wed Mar 29 12:03:51 IST 2006
thufir@localhost ~ $ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
thufir@localhost ~ $ date
Wed Mar 29 12:04:41 IST 2006
thufir@localhost ~ $
thufir@localhost ~ $



And my latest attempt with pine:

thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $ cat /home/thufir/mail/postponed-msgs -n
     1  From MAILER-DAEMON Wed Mar 29 11:50:39 2006
     2  Date: 29 Mar 2006 11:50:39 +0100
     3  From: Mail System Internal Data
<MAILER-DAEMON@geidiprime.servebeer.com>
     4  Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
     5  Message-ID: <1143629439@geidiprime.servebeer.com>
     6  X-IMAP: 1143624840 0000000004
     7  Status: RO
     8
     9  This text is part of the internal format of your mail folder,
and is not
    10  a real message.  It is created automatically by the mail system
software.
    11  If deleted, important folder data will be lost, and it will be
re-created
    12  with the data reset to initial values.
    13
    14  From thufir@geidiprime.servebeer.com Wed Mar 29 11:53:57 2006
+0100
    15  Status:
    16  X-Status:
    17  X-Keywords:
    18  Newsgroups: news.software.readers
    19  Date: Wed, 29 Mar 2006 11:53:57 +0100 (IST)
    20  From: hawat.thufir@gmail.com
    21  Subject: Re: I broke slrn
    22  Fcc: sent-mail
    23  In-Reply-To: <slrne2i5o3.6sl.pjr@nntp.alcatroll.com>
    24  Message-ID: <Pine.LNX.4.64.0603291153370.14332@localhost>
    25  References:
<1143506361.810389.248500@u72g2000cwu.googlegroups.com>
    26   <slrne2i5o3.6sl.pjr@nntp.alcatroll.com>
    27  X-Reply-UID: (2 > )(1 3203398350
13){localhost:119/nntp/readonly}#news.news.software.readers
    28  X-Reply-Mbox: {localhost/nntp}#news.news.software.readers
    29  X-NNTP-Server: localhost
    30  X-Cursor-Pos: : 15
    31  X-Our-Headers: From,Bcc,Cc,Subject,Followup-To
    32  MIME-Version: 1.0
    33  Content-Type: TEXT/PLAIN; charset=US-ASCII
    34
    35  testing headers
    36
thufir@localhost ~ $ date
Wed Mar 29 11:54:37 IST 2006
thufir@localhost ~ $


The problems, I think, are lines 29 and 24 which shouldn't have
"localhost" but "geidiprime.freebeer.com", yes?


thanks,

Thufir
Re: I broke slrn
#182781
Author: hawat.thufir
Date: Wed, 29 Mar 2006 11:16
6 lines
1489 bytes
I posted this question to the leafnode list, since I think it's an
interaction with leafnode.


-Thufir
Re: I broke slrn
#182786
Author: Whiskers
Date: Wed, 29 Mar 2006 15:18
117 lines
5811 bytes
On 2006-03-29, hawat.thufir@gmail.com <hawat.thufir@gmail.com> wrote:
> My latest attempt with slrn:
>
> thufir@localhost ~ $
> thufir@localhost ~ $
> thufir@localhost ~ $ cat /home/thufir/.slrnc -n
>      1  set hostname shawnews.vc.shawcable.net
>      2  set posting_host shawnews.vc.shawcable.net
> thufir@localhost ~ $ slrn -h shawnews.vc.shawcable.net
> slrn 0.9.8.1 [2004-10-07]
> slrn fatal error:
> Unable to find a valid hostname for constructing your e-mail address.
> You will have to specify a hostname in your .slrnrc file.
>
> thufir@localhost ~ $ nano /home/thufir/.slrnc
> thufir@localhost ~ $ cat /home/thufir/.slrnc -n
>      1  set hostname localhost
>      2  set posting_host localhost
> thufir@localhost ~ $ slrn -h localhost
> slrn 0.9.8.1 [2004-10-07]
> slrn fatal error:
> Unable to find a valid hostname for constructing your e-mail address.
> You will have to specify a hostname in your .slrnrc file.

snip

Is there a specimen or example in your slrn docs for the correct syntax 
and structure of the ~/.slrnrc file?  On my Mandriva system it is 
/usr/share/doc/slrn-0.9.8.1/slrn.rc - and as far as I can remember, a copy 
of that file was automatically created as ~/.slrnrc when I created this 
user account for my operating system.

The start of my current ~/.slrnrc file looks like this:

        start quote----------

% -*- slang -*-
 
%% This is a sample startup file for the slrn newsreader and meant as a
%% template for your personal startup file; it is not a full reference
%% of slrn's config options -- please see the reference manual for this.

%% The percent character is used for comments.

%
%% 1. Tell slrn about your identity (name, email address and such)
%
% The "From:" header will be generated from the following three variables.
% With the example settings, it would read "john@doe.com (John Doe)".
set username "catwheezel"
set hostname "operamail.com"
set realname "Whiskers"

% Set this if you want replies to your articles to go to a address different
% from the one in "From:".
%set replyto  "jd@something.com"

        ----------end quote


(One day I'll get around to deleting all the comment lines and other
un-neccessary stuff from this 'working' copy).

Further down the ~/.slrnrc file I have this entry:

        start quote----------

% Set this to zero if you want to leave Message-ID generation to your server
% or your system does not have a proper unique hostname. 
set generate_message_id 0

        ----------end quote

My system does not have a "proper unique hostname" so I leave it to my 
server (ie Leafnode) to generate the Message-ID - which it does using the 
appropriate entry in /its/ config file.

Alternatively, you can use the "posting_host" setting in your ~/.slrnrc to
tell slrn what to use for generating a 'valid' Message-ID; here is the
relevent part of the slrn manual:

.-----[ extract from slrn manual ]
| posting_host
| 
| Usage: posting_host hostname
| 
| The hostname specified in this command will be used to generate 
| Message-IDs. Please note that it is usually not necessary to set this 
| manually, as slrn uses the fully-qualified domain name of the machine it 
| is running on for this task, which is the correct solution in most cases.
| 
| However, if your system is part of a local network, it might not have an 
| official hostname. As the current MESSFOR draft permits the use of 
| hostnames without a DNS record for Message-ID generation, some providers 
| started to give each user a unique hostname that may be used here.
| 
| Note: Do not use this command unless you fully understand the 
| implications. Specifically, do not enter an arbitrary string here! 
| Instead, please turn off generate_message_id if the hostname found by slrn 
| is not unique.
'-----

(Historically, slrn seems to have been designed on the assumption that 
users would be accessing a 'conventionally' configured network with a 
specialist 'administrator' who would have set things up so that a 
'default' slrn config would 'just work' for each user; that is not of 
course the case for those of us running our own little private systems.)

(The FQDN or 'posting_host hostname' that I use is courtesy of my main News 
Service Provider, "Individual.net"; I believe some other NSPs can also 
help you to create a 'valid FQDN' based in some way on their registered 
domain name, but most seem not to).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: I broke slrn
#182797
Author: hawat.thufir
Date: Wed, 29 Mar 2006 19:50
41 lines
2451 bytes
Whiskers wrote:
..

> (The FQDN or 'posting_host hostname' that I use is courtesy of my main News
> Service Provider, "Individual.net"; I believe some other NSPs can also
> help you to create a 'valid FQDN' based in some way on their registered
> domain name, but most seem not to).
..

I've got a valid FQDN courtesy of <http://www.no-ip.com/>.

I'm reading the f***ing manual on this at slrn.  In the meantime, both
tin and pine can read, but neither can post.  From pan, I can read and
post.

thufir@localhost ~ $
thufir@localhost ~ $ tin -v -g localhost
Can't get a (fully-qualified) domain-name!
Reading config file...
-v only useful for batch mode operations
thufir@localhost ~ $ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
thufir@localhost ~ $ date
Wed Mar 29 20:48:52 IST 2006
thufir@localhost ~ $




thanks,

Thufir
Re: I broke slrn
#182798
Author: Thufir
Date: Wed, 29 Mar 2006 21:00
14 lines
1770 bytes
On Wed, 29 Mar 2006 11:50:11 -0800, hawat.thufir wrote:
..
> I've got a valid FQDN courtesy of <http://www.no-ip.com/>.
> 
> I'm reading the f***ing manual on this at slrn.  In the meantime, both
> tin and pine can read, but neither can post.  From pan, I can read and
> post.
..

However, if you read the headers of this message, you can see that pan
isn't using my FQDN, that being geidiprime.servebeer.com :(


-Thufir
Re: I broke slrn
#182802
Author: Neil Woods
Date: Wed, 29 Mar 2006 21:38
45 lines
2601 bytes
Thufir <hawat.thufir@gmail.com> writes:

> On Wed, 29 Mar 2006 11:50:11 -0800, hawat.thufir wrote:
> ..
>> I've got a valid FQDN courtesy of <http://www.no-ip.com/>.
>> 
>> I'm reading the f***ing manual on this at slrn.  In the meantime, both
>> tin and pine can read, but neither can post.  From pan, I can read and
>> post.
> ..
>
> However, if you read the headers of this message, you can see that pan
> isn't using my FQDN, that being geidiprime.servebeer.com :(

I don't know about pan, but you probably want to tell it to let your
server (leafnode on localhost) generate your message-id, rather than let
the message-id be generated based on settings within pan. 

Extrapolating from previous posts, for slrn you probably need something
like the following:

set username "hawat.thurfir"
set hostname "gmail.com"
set realname "Hawat Thurfir"
set generate_message_id 0
set use_recommended_msg_id 1

set server_object "nntp"
set post_object "nntp"

server "localhost" ".jnewsrc"

set editor_command "pico  +%d  '%s'"

Adjust to taste.

Set the environment variable $NNTPSERVER to localhost before starting
slrn.

They are the basic commands you need. Read-up on the meaning of them
from the manual (/usr/share/doc/slrn/manual.txt.gz here) if any need to
be changed.
-- 
Neil.
Is something VIOLENT going to happen to a GARBAGE CAN?
Re: I broke slrn
#182822
Author: Peter J Ross
Date: Thu, 30 Mar 2006 08:52
44 lines
2500 bytes
On 29 Mar 2006 03:05:49 -0800, hawat.thufir@gmail.com
<hawat.thufir@gmail.com> wrote in news.software.readers:

> My latest attempt with slrn:
>
> thufir@localhost ~ $
> thufir@localhost ~ $
> thufir@localhost ~ $ cat /home/thufir/.slrnc -n

.slrnc? It should be .slrnrc.

>      1  set hostname shawnews.vc.shawcable.net

This sets the part of your email address that follows "@". It has
nothing to do with the server you use.

>      2  set posting_host shawnews.vc.shawcable.net

posting_host is a command, not a variable. It must not be preceded by
"set", and it should contain your FQDN, not the name of somebody
else's server, since it's used only to generate the part of the
Message-Id after "@", which you will want to contain the same FQDN
whichever server you use.

In both cases, you *may* need quotation marks, and they never do any
harm.

posting_host "geidiprime.servebeer.com"
set hostname "gmail.com"
set username "hawat.thufir"
set realname "Hawat Thufir"     (optional but recommended)

You will also need either to set $NNTPSERVER to the news server's
name, or put the name in /etc/news/server, or use the -h switch when
starting slrn. If you're connecting to leafnode on the same machine,
use "localhost".

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: I broke slrn
#182857
Author: hawat.thufir
Date: Thu, 30 Mar 2006 20:18
60 lines
3198 bytes
Peter J Ross wrote:
> On 29 Mar 2006 03:05:49 -0800, hawat.thufir@gmail.com
> <hawat.thufir@gmail.com> wrote in news.software.readers:
>
> > My latest attempt with slrn:
> >
> > thufir@localhost ~ $
> > thufir@localhost ~ $
> > thufir@localhost ~ $ cat /home/thufir/.slrnc -n
>
> .slrnc? It should be .slrnrc.
>
> >      1  set hostname shawnews.vc.shawcable.net
>
> This sets the part of your email address that follows "@". It has
> nothing to do with the server you use.
>
> >      2  set posting_host shawnews.vc.shawcable.net
>
> posting_host is a command, not a variable. It must not be preceded by
> "set", and it should contain your FQDN, not the name of somebody
> else's server, since it's used only to generate the part of the
> Message-Id after "@", which you will want to contain the same FQDN
> whichever server you use.

shaw is my ISP, so I'd like slrn to connect to either.  Pardon, I
thought it was a variable.

> In both cases, you *may* need quotation marks, and they never do any
> harm.

Ok, thanks.  I think I've tried both.

> posting_host "geidiprime.servebeer.com"
> set hostname "gmail.com"
> set username "hawat.thufir"
> set realname "Hawat Thufir"     (optional but recommended)
>
> You will also need either to set $NNTPSERVER to the news server's
> name, or put the name in /etc/news/server, or use the -h switch when
> starting slrn. If you're connecting to leafnode on the same machine,
> use "localhost".
...

I have, I've tried:

slrn -h geidiprime.servebeer.com
slrn -h shawnews.vc.shawcable.net

with and without quotes.  I'm not on my home computer at the moment,
but I'm fairly certain that I've tried at least four combinations.
I'll double check, of course.



thanks,


Thufir
Re: I broke slrn
#182860
Author: Peter J Ross
Date: Thu, 30 Mar 2006 21:04
78 lines
3693 bytes
On 30 Mar 2006 12:18:52 -0800, hawat.thufir@gmail.com
<hawat.thufir@gmail.com> wrote in news.software.readers:

> Peter J Ross wrote:
>> On 29 Mar 2006 03:05:49 -0800, hawat.thufir@gmail.com
>> <hawat.thufir@gmail.com> wrote in news.software.readers:
>>
>> > My latest attempt with slrn:
>> >
>> > thufir@localhost ~ $
>> > thufir@localhost ~ $
>> > thufir@localhost ~ $ cat /home/thufir/.slrnc -n
>>
>> .slrnc? It should be .slrnrc.

You did check this, right?

>> >      1  set hostname shawnews.vc.shawcable.net
>>
>> This sets the part of your email address that follows "@". It has
>> nothing to do with the server you use.
>>
>> >      2  set posting_host shawnews.vc.shawcable.net
>>
>> posting_host is a command, not a variable. It must not be preceded by
>> "set", and it should contain your FQDN, not the name of somebody
>> else's server, since it's used only to generate the part of the
>> Message-Id after "@", which you will want to contain the same FQDN
>> whichever server you use.
>
> shaw is my ISP, so I'd like slrn to connect to either.  Pardon, I
> thought it was a variable.

Neither of these settings has any effect on the server slrn connects
to. You can't specify the server in .slrnrc. For some servers, you may
need to specify a username and password in .slrnrc with the nnrpaccess
command, but that's a different issue.

>> In both cases, you *may* need quotation marks, and they never do any
>> harm.
>
> Ok, thanks.  I think I've tried both.
>
>> posting_host "geidiprime.servebeer.com"
>> set hostname "gmail.com"
>> set username "hawat.thufir"
>> set realname "Hawat Thufir"     (optional but recommended)
>>
>> You will also need either to set $NNTPSERVER to the news server's
>> name, or put the name in /etc/news/server, or use the -h switch when
>> starting slrn. If you're connecting to leafnode on the same machine,
>> use "localhost".
> ...
>
> I have, I've tried:
>
> slrn -h geidiprime.servebeer.com

This won't work unless your /etc/hosts includes a correct entry to
resolve the DNS. "slrn -h localhost" or "slrn -h 127.0.0.1" *will*
work if everything else is properly set up.

> slrn -h shawnews.vc.shawcable.net

This should work, if it's the correct name of the news server.

> with and without quotes.

You don't want quotes here, only in .slrnrc.


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: I broke slrn
#183072
Author: hawat.thufir
Date: Tue, 04 Apr 2006 19:27
26 lines
1974 bytes
Peter J Ross wrote:
..
> > I have, I've tried:
> >
> > slrn -h geidiprime.servebeer.com
>
> This won't work unless your /etc/hosts includes a correct entry to
> resolve the DNS. "slrn -h localhost" or "slrn -h 127.0.0.1" *will*
> work if everything else is properly set up.

Thanks.

> > slrn -h shawnews.vc.shawcable.net
>
> This should work, if it's the correct name of the news server.
>
> > with and without quotes.
> 
> You don't want quotes here, only in .slrnrc.
..

Thanks.


-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