🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78118

Re: (INN) Help on setting Readers.conf up to work the best way.

#78118
From: Julien ÉLIE
Date: Wed, 24 Oct 2007 22:08
104 lines
3613 bytes
Hi Gert,

It would have been better if you had cancelled your previous article
in this group.  Besides, please do not post the same message the
same day on both news.software.nntp and the INN workers mailing list.

Here is what I answered you there:


> Can any one help me on make it so I have a good setup in my readers.cof for
> users.
> And I can have INN to work for 3-4 kind of access and auth setup.

Did you look at the manpage ?

http://www.eyrie.org/~eagle/software/inn/docs/readers.conf.html

I will give you some quick hints.  There are not optimal and you should
tweak them according to your needs.

As for the active file, its whole contents is currently sent, if accessible.
You cannot select the groups you can send in reply to a "list active" command.


> 1.
> Localhost = the mashine where INN runs on

You can use localaddress: but also something like:

auth "localhost" {
        hosts: "localhost, 127.0.0.1, stdin, news.serveur.fr"
        key: "local"
        default: "<localhost>"
}

access "localhost" {
        users: "<localhost>"
        key: "local"
        newsgroups: "*"
        access: RPA
}



> 2.
> Local mashines = my other mashines

auth "ecp" {
        hosts: "your machines"
        key: "machines"
        default: <LOCAL>"
}

access "ecp" {
        newsgroups: "*"
        key: "machines"
        access: RPA
}



> 3.
> Access for read-only of free active list

auth "ro" {
        hosts: "*"
        default: <FREE>"
}

access "ro" {
        newsgroups: "*"
        access: R
}



> 4.
> User by password file newusers (pwd file with users name | crypted pwd)

auth "users" {
        hosts: "*"
        key: "pwd"
        auth: "ckpasswd -f /etc/news/users"
}

access "users" {
        key: "pwd"
        newsgroups: "*"
        access: RPA
}



> There have to be setup more for auth and acces, and this why I neeed help on
> hte best setup in readers.conf

Note that it is the last matching auth group which is used.

-- 
Julien ÉLIE

« La grippe, ça dure huit jours si on la soigne et une semaine
  si on ne fait rien. » (Raymond Devos) 
Technical Details
Message-ID: <ffofpg$o2m$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.albasani.net!news.trigofacile.com!not-for-mail
References: <1193238136.715016.257120@i38g2000prf.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <ffofpg$o2m$1@news.trigofacile.com>
Subject: Re: (INN) Help on setting Readers.conf up to work the best way.
Date: Thu, 25 Oct 2007 00:08:45 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <1193238136.715016.257120@i38g2000prf.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.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.albasani.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 104
NNTP-Posting-Host: goret.via.ecp.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1193263728 24662 138.195.145.8 (24 Oct 2007
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 24 Oct 2007 22:08:48 +0000 (UTC)
In-Reply-To: <1193238136.715016.257120@i38g2000prf.googlegroups.com>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545