🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45328

Re: lost in the mist of inn

#45328
From: Russ Allbery
Date: Tue, 28 Mar 2000 00:00
45 lines
2363 bytes
Billy <billy_p@my-deja.com> writes:

> - I want to create a 100 MB cycbuff to store all ean.* newsgroups (local
> newsgroups). I set to true the storageapi flag in innd.conf and have the
> following lines in storage.conf:

> method cnfs {
>         newsgroups: ean.*
>         class: 2
>         size: 0,3999
>         expires: 0s,4d
>         options: EAN
> }

Do you have any other method listed before this one with a more inclusive
pattern?  Remember, the first matching pattern is used.

> but after restarting the server articles keep going to
> /var/spool/news/articles/ instead of the cycbuff i thought i told inn to
> use for such groups.

Are you using 2.2 or 2.3?  If you're using 2.2 and it's still storing
articles in traditional spool, the storage API change didn't go through.
I believe you need to rebuild the history file after switching to storage
API, and in 2.2 you can't read traditional spool from the storage API.

In 2.3, the storage API can read from and write to traditional spool, but
moving to 2.3 from 2.2 requires a history and overview rebuild.

> - The other one is that i need to authenticate users conecting to the
> server based on the system's user/password combination. How do i do
> this??

In 2.2, you can put + into nnrp.access (see the man page) to enable
password checking against the system password file.  You may need to set a
setuid or setgid bit on nnrpd depending on how shadow passwords are
handled.

In 2.3, you probably want to use the ckpasswd authenticator.  See the
commented out examples of how to do this in the sample readers.conf.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl3dpak8of.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <8brbmc$86$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl3dpak8of.fsf@windlord.stanford.edu>
Subject: Re: lost in the mist of inn
Date: Tue, 28 Mar 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <8brbmc$86$1@nnrp1.deja.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.mbox.zip!not-for-mail
X-Deja-AN: 603620203
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp