🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65148

Re: INN as local news server

#65148
From: Jeffrey M. Vinocur
Date: Sat, 03 May 2003 14:15
96 lines
3549 bytes
In article <b90f0a$5u8$05$1@news.t-online.com>,
Carsten Fuchs  <CarstenFuchs@T-Online.de> wrote:
>
>control.ctl:
>Is is sufficient to have the line
>all:*:*:drop
>in control.ctl?
>I don't want others to send control messages to my server
>anyway, and this line should also save me from pgp-authentication
>issues, does it?

Sure, that's fine.


>However, do I still have a way to admin my groups
>(e.g. create/rm groups, cancel individual articles, ...)
>with this simple control.ctl file,
>or am I pulling the floor from under my feet?

When you only want to add or remove groups on the local server,
you can use `ctlinnd newgroup` and `ctlinnd rmgroup`.  And
control.ctl doesn't apply to cancel messages; do you want to
disable those?  (You always have local administrative cancel by
using `ctlinnd cancel`.)


>auth all {
>     hosts: *
>     default: <user>
>}
>access all {
>     newsgroups: *
>}
>Is that sufficient?
>Is that secure?
>Has it side-effects?

That looks good to me.  Obviously, it permits anyone to read and
post, but hopefully no one will abuse it.

You may wish to do

    newsgroups: "*,!junk,!control,!control.*"

to reduce clutter for your users.


>newsfeeds:

Your newsfeeds looked fine.


>method tradspool {
>     class: 1
>     newsgroups: *
>     size: 0,1000000
>}

I'd remove the size: line -- in the event that some day an
article exceeding that gets posted, your server will throttle
itself and sit there until you intervene.  If you are worried
about such things, you may want to set maxartsize in inn.conf (or
use Cleanfeed).


>/remember/:10
>*:A:never:never:never
>Well, I use "never" because I don't yet know a good way to
>archive the groups.

That's fine; it's what I do for some groups.  (Note that the
above means that Expires: headers will be ignored, so if you plan
on using that functionality for posting an updated FAQ every
month or something like that, you may wish to use 1:never:never
instead of never:never:never.)

You can set up the $pathbin/archive program (by listing it in
$pathetc/newsfeeds) to archive articles to a separate directory,
if you like.



>Also, using tradspool, can I control
>expiry by total size of articles? E.g. if all articles
>exceed 2 GB of disk space, expire the oldest articles,
>as with the CNFS storage method?

Not automatically (unless you script it yourself), but at any
point you can modify your expire.ctl and the next night
news.daily will expire the relevant articles.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <b90iuc$gou$1@puck.litech.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <b90f0a$5u8$05$1@news.t-online.com>

Show Full Headers
Complete Article Headers
Message-ID: <b90iuc$gou$1@puck.litech.org>
Subject: Re: INN as local news server
Date: Sat, 03 May 2003 14:15:40 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <b90f0a$5u8$05$1@news.t-online.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 95
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1051971340 17182 66.218.0.75 (3 May 2003 14:15:40 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 3 May 2003 14:15:40 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)