🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #189067

Re: [slrn] Hostname?

#189067
From: Peter J Ross
Date: Wed, 09 Aug 2006 21:42
96 lines
4973 bytes
On Wed, 9 Aug 2006 21:36:31 +0100, Whiskers <catwheezel@operamail.com>
wrote in news.software.readers:

> On 2006-08-09, Peter J Ross <pjr@kookbusters.org> wrote:
>> On Wed, 09 Aug 2006 17:01:33 GMT, Marshall Price <d021317c@yahoo.com>
>> wrote in news.software.readers:
>>
>>> Peter J Ross <pjr@kookbusters.org> wrote in 
>>> news:slrnedegrt.4k1.pjr@nntp.alcatroll.com:
>
> snip
>
>>> I didn't have any problem getting the RC file in the right place, but I 
>>> still don't know what to use for "hostname".  Would it be the same as the 
>>> nntp server (nntp.east.earthlink.net)?
>>
>> No. See above. Hostname is the part of your "From" header that appears
>> after "@". Also read the relevant section of the manual:
>
> That would be the hostname of the mail-server used.

Not necessarily. It could be "foo.bar.invalid".

>> <http://www.slrn.org/manual/slrn-manual-6.html#ss6.55>
>>
>> In fact, if you want to get the best out of slrn, reading the whole
>> manual is a good idea.
>>
>> PJR :-)
>
> I think in this particular context, slrn is looking for the 'hostname' of 
> the computer upon which it is running

Yes, and if the computer doesn't have a meaningful FQDN and no
"hostname" has been defined, slrn will exit with the error message
htat the OP described.

> and from which it will try to create 
> the 'fully qualified domain name' (FQDN) part of your Message-IDs.

No, posting_host sets the FQDN for the MID. THe hostname variable is
not the same thing.

> I 
> don't know how Windows handles such things, but I dimly remember that 
> Windows XP when first run asks the user to type in a 'Name for your 
> computer'.

Windows doesn't provide a default username and fqdn that can be
interpreted by slrn the way *nix systems do.

> If your computer doesn't have a 'valid FQDN' of it's own (which most home 
> computers do not) you can tell slrn what FQDN it should use (make sure 
> it's a real one and that you are entitled to use it!) using the 
> posting_host command in the slrn config file.  Alternatively, you can put 
> the line 
>
> set generate_message_id 0
>
> to make the server allocate the Message-ID for you.  If you run your own 
> server (eg 'Hamster' on Windows), you can have that set your Message-IDs - 
> I do that, using Leafnode on Linux.  The unique-to-me FQDN I use is
> permitted by the news-server I usually post to, and is very useful for 
> scoring responses to my own posts.

This is all correct, but not relevant to slrn's demand for the
"hostname" variable to be set.

> (These complications arise because slrn seems to have been developed in 
> the context of university or big-business computer systems, where each 
> computer will almost certainly have a valid 'fully qualified domain name' 
> already allocated by the system administrator, and from which that user's 
> email address and newsgroup Message-IDs would be constructed - as well as 
> email and usenet servers already set up as part of the same network).

If I don't set a hostname variable, I get "pjr@sid.pjr.gotdns.org" as
my From line in slrn. That's because I'm logged in as pjr, and
"sid..." is the FQDN of the box I'm typing this post on. Since my mail
server is available only to users who have shell access, in order to
let them communicate with each other, there's no point in using the
private address on the From line - which is why I set the hostname
variable.

This is all probably confusing to the OP as an Slrn newbie; just
remember that hostname, username and realname are the three variables
used to construct your From header. They have no other effect.



PJR :-)
-- 
  _  _(o)_(o)_  _       Tired of the same old posters in your
._\`:_ F S M _:' \_,    newsgroup? Why not visit news.groups.reviews
    / (`---'\ `-.       and attract new talent by posting a review?
 ,-`  _)    (_,   F_P   (Please read the posting guidelines.)
Technical Details
Message-ID: <slrnedklnb.8q3.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!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.alt.net!nntp.alcatroll.com!news
References: <Xns98186000E25EFd021317cyahoocom@207.217.125.201> <slrnedegrt.4k1.pjr@nntp.alcatroll.com> <Xns981A84825680Cd021317cyahoocom@207.217.125.201> <slrnedk6ub.8q3.pjr@nntp.alcatroll.com> <fjtpq3-t91.ln1@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnedklnb.8q3.pjr@nntp.alcatroll.com>
Subject: Re: [slrn] Hostname?
Date: Wed, 9 Aug 2006 22:42:39 +0100
From: Peter J Ross <pjr@kookbusters.org>
References: <Xns98186000E25EFd021317cyahoocom@207.217.125.201> <slrnedegrt.4k1.pjr@nntp.alcatroll.com> <Xns981A84825680Cd021317cyahoocom@207.217.125.201> <slrnedk6ub.8q3.pjr@nntp.alcatroll.com> <fjtpq3-t91.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!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.alt.net!nntp.alcatroll.com!news
Newsgroups: news.software.readers
Organization: Cabal Obsidian Order [TINCOO]
Lines: 96
X-Operating-System: Kubuntu 6.06
X-Kernel: Linux 2.6.15-25-386
User-Agent: slrn/0.9.8.1pl1 (Debian)