Article View: news.software.readers
Article #182786Re: I broke slrn
From: Whiskers
Date: Wed, 29 Mar 2006 15:18
Date: Wed, 29 Mar 2006 15:18
117 lines
5811 bytes
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
-- ~~~~~~~~~~
Technical Details
Message-ID:
<j2lqf3-nl9.ln1@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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<1143506361.810389.248500@u72g2000cwu.googlegroups.com> <slrne2i5o3.6sl.pjr@nntp.alcatroll.com> <1143630349.704600.74850@v46g2000cwv.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <j2lqf3-nl9.ln1@ID-107770.user.individual.net> Subject: Re: I broke slrn Date: Wed, 29 Mar 2006 16:18:11 +0100 From: Whiskers <catwheezel@operamail.com> References: <1143506361.810389.248500@u72g2000cwu.googlegroups.com> <slrne2i5o3.6sl.pjr@nntp.alcatroll.com> <1143630349.704600.74850@v46g2000cwv.googlegroups.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!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 117 X-Trace: individual.net S/GbUQouq24fALgIDjvFEgighTRKNPt1rQoU5WMy0o+6m2DNg1 X-Orig-Path: ID-107770.user.individual.net!news X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p& g^8<z5>HA User-Agent: slrn/0.9.8.1 (Linux)