🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72433

Re: Authentication advice

#72433
From: Jeffrey M. Vinocur
Date: Sun, 09 Oct 2005 13:03
103 lines
5208 bytes
In article <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>The RumorMill servers only have a "control" group. This is where the 
>cancels go.
>
>INN has several control groups, and cancels go to "control.cancel" while 
>oddball/unspecified control messages go into INN's "control" group.
>
>Since the groups are named differently ("control" vs. "control.cancel") 
>where would the RumorMill control messages wind up on INN?

Oof, I don't know.  My best guess is that if you suck them with
xrefslave on, they'll end up in control.  But I'm not sure that's
a good idea.  Do you need to migrate the old control messages?


>As a side note, would INN examine every one of these and build a history 
>from them? (Reasoning: Some are ages old and the messages long gone. The 
>high-water mark is 3735 on the RumorMill server.)

Yes, if you supply INN with an old cancel message, it will record
it in the history...but then expire that entry automatically in
some number of days (whatever /remember/ is set to in expire.ctl.


>RumorMill provides a server-wide default expiration period in days, 
>which can be overridden on a per group basis, or totally shut off.

Well, then you could expire the old cancel messages before
sucking, if you want to suck the newer ones.


>Does INN provide expiration by individual groups? [...]
>Snooping around I find expire.ctl might b the answer.

Yes.


>then the flag ("A" here, but not sure if that would be my choice, 
>maybe "X"?),

Well, you can't have X alone, as the documentation says.

You only need to consider adding X if your users crosspost to
groups that won't all have the same expiration time.


>I don't understand why the default "*:A:1:10:never" would have a flush 
>"never" if the group had a 10 day expiry? What is the difference between 
>"days to keep an article" and "flush"?

    The middle field, <default>, will be used as the expiration period for
    most articles.  The other two fields, <min> and <max>, only come into
    play if the article requests a particular expiration date with an
    Expires header.  Articles with an Expires header will be expired at the
    date given in that header, subject to the constraints that they will be
    retained at least <min> days and no longer than <max> days.


>I wonder, could the wildmat be written to always keep all of the 
>existing five ("newspaper") groups, but set some expiry time for the new 
>"local" groups? Well, looking a little farther down the man page shows 
>this in the fourth example, modified for me:
>
>local.*:A:90:90:90
>brisbee:A:never:never:never
>computers:A:never:never:never
>petchat:A:never:never:never
>raucouscaucus:A:never:never:never
>soapbox:A:never:never:never
>
>Or possibly ?:
>
>local.*:A:90:90:90
>!local.*:A:never:never:never

Either of these is a reasonable approach.  However, you need to
be sure to address how junk and control groups should be handled
(in your second example there, they would be kept forever).  And:

    Articles that do not match any expiration rule will not be expired, but
    this is considered an error and will result in a warning.  There should
    always be a default line (a line with a <pattern> of "*" and <flag> of
    "A", or a line with a <classnum> of "*"), which can explicitly state
    that articles should never expire by default if that's the desired con-
    figuration.  The default line should generally be the first line of the
    file (except for "/remember/") so that other expiration rules can over-
    ride it.


>Finally, the artcutoff I believe is similar to RumorMill's "Allow Old 
>Articles" and I am curious if it is somehow connected to the expire.ctl 
>routine?

Not really...artcutoff applies to articles when they first are
offered to the server, and expire.ctl counts the amount of time
they have existed on the server.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <dib4er$vev$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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net> <di9uvp$48g$1@puck.litech.org> <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <dib4er$vev$1@puck.litech.org>
Subject: Re: Authentication advice
Date: Sun, 09 Oct 2005 13:03:23 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net> <di9uvp$48g$1@puck.litech.org> <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 103
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1128863003 32223 66.218.0.75 (9 Oct 2005 13:03:23 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 9 Oct 2005 13:03:23 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)