🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #182533

Re: FQDN for Leafnode

#182533
From: Whiskers
Date: Sat, 25 Mar 2006 14:59
68 lines
3487 bytes
On 2006-03-25, SINNER <99nesorjd@gates_of_hell.invalid> wrote:
> * hawat.thufir@gmail.com wrote in news.software.readers:
>> Have I not given a FQDN for leafnode?  Is there something additional which 
>> must be done for leafnode with regards to the FQDN?
>
>
>> thufir@localhost ~ $
>> thufir@localhost ~ $ su -
>> Password:
>> localhost ~ # 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".
>> 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 ~ # exit
>> logout
>
> [...]
>
> Post results of:
> $ grep host /etc/leafnode/config

That shouldn't work; you need to be 'root' or 'news' to have 
permission to read that file.  (Have you made your user account a member 
of the 'news' group?).

If sudo is set up for the current user then 

    $ sudo grep host /etc/leafnode/config 

does work; otherwise su to 'root' before issuing the command.  (The user 
'news' on my system is not su-able).

I get

    $ sudo grep host /etc/leafnode/config
    hostname = ID-107770.user.individual.net

for example.  That is what leafnode uses to create my Message-ID headers, 
if my client doesn't create a valid-looking one.  (That FQDN is granted to 
me as part of the service I pay for from Individual.net; it is both 
'valid' and unique to me, which is useful for scoring or filtering 
putposes.  I have no registered domain name of my own).

Also, the output from

    $ cat /etc/hosts

would be useful.  (Normal users can run that one).  I get 

    $ cat /etc/hosts
    127.0.0.1               tavy.mobile.private tavy localhost

as this machine is currently 'stand alone', ie not networked, that seems 
to satisfy the basic requirements of the system - but doesn't give usenet 
(or email) programs anything to build a good public FQDN from; hence my use
of the optional hostname setting in leafnode.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <mf2gf3-isc.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!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <mf2gf3-isc.ln1@ID-107770.user.individual.net>
Subject: Re: FQDN for Leafnode
Date: Sat, 25 Mar 2006 14:59:34 +0000
From: Whiskers <catwheezel@operamail.com>
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.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!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 68
X-Trace: individual.net CHC0YrI0JLM1peQONBoQ1QegER7ycNoD6nUDT3qNI/Rpxd8oEh
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)