🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72432

Re: Authentication advice

#72432
From: John F. Morse
Date: Sun, 09 Oct 2005 05:16
222 lines
9955 bytes
Jeffrey M. Vinocur wrote:

>In article <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>>And, finally, what about "control" going into "control.cancel"? Will it 
>>go there, or will it go into INN's plain old control group? Would 
>>duplicate article number rejections be a problem? My guess is a 
>>control.cancel is acted upon, then the message is simply stored awaiting 
>>expiration (plus streamed out if required).
>>    
>>
>
>I don't understand parts of this paragraph well.  Rephrase?
>


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?

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.)

RumorMill provides a server-wide default expiration period in days, 
which can be overridden on a per group basis, or totally shut off. Does 
INN provide expiration by individual groups? Maybe I answered this....

Snooping around I find expire.ctl might b the answer. I have 
groupbaseexpiry set true already (as installed), so all I need is to 
figure out how to configure this file.

Something like the third line of the "Format:" with the "*" a real group 
name, then the flag ("A" here, but not sure if that would be my choice, 
maybe "X"?), 1, then my maximum days or "never" and the purge (again 
"never" is valid).

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"?

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

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?

Just for your info, in case you are curious, here is a quick telnet 
session with RumorMill, listing the commands, and listing the 
preferences. Some of it looks very similar to some of the INN 
configurations. Like you with INN, I can run this in the dark -- but it 
took me five years. ;-)

Enjoy.

-- 
John

200 RumorMill (1.3.3) Macintosh NNTP Server on 76.xanadu-bbs.net ready 
(login required)
xpass ********
281 Password accepted
help
100 Accepted commands are:
  AUTHINFO USER <username> | PASS <password>
  HELP
  IHAVE messageID
  NOOP
  QUIT
  VERSION
  XPASS <password>

  XADDLIST <group names>
  XDELETEARTICLE <message ID> | [range]
  XDELOLDARTICLEFILE
  XAUTHINFO ADD <username> READONLY | POSTOK <read user-group index> 
<post user-group index> <password>
  XAUTHINFO DELETE <username>
  XAUTHINFO LIST
  XAUTHINFO MODIFY <username> READONLY | POSTOK <read user-group index> 
<post user-group index> <new password>
  XCOMPACTDB <db flags>
  XCTL EXECUTE <message-id>
  XCTL FORGET <message-id>
  XCTL LIST
  XEXPIREDB
  XGROUP GET DESCRIPTION <group>
  XGROUP SET DESCRIPTION <group> <description>
  XGROUP GET EXPIRY <group>
  XGROUP SET EXPIRY <group> <period in days>
  XGROUP GET EXPLODER <group>
  XGROUP SET EXPLODER <group> <EMail address(es) to mail postings>
  XGROUP GET MODERATOR <group>
  XGROUP SET MODERATOR <group> <Group submission EMail address>
  XKILL connection_index | -1
  XMAX
  XPREF LIST
  XPREF GET <preference name>
  XPREF SET
  XPREF PREFGRP
  XPULL
  XRMGROUP <group>
  XSTATS
  XLOG
  XUSERGROUP ADD <user-group index> EXCLUDE | PERMIT  <name><cr><group 
list><cr>.<cr>
  XUSERGROUP DELETE <user-group index>
  XUSERGROUP LIST
  XMAKEFWD <remote host name>
  QUITNOW

newsmaster@"MY".net [munged - see the first 200 reply line following my 
sig for a clue]
..
xpref list
289 Preferences follow
Admin OKs Group Deletes longint 1       0       2
Admin OKs New Groups    longint 1       0       2
Allow Old Articles      longint 0       0       1
Article Expiration Period       longint 365     1       3650
Article File Window     longint 15      1       365
Auto delete article files       longint 0       0       2
Automatic Expiration    longint 0       0       1
Background Quantum      longint 4       1       50
CHECK Threshold longint 1200    1       1000000000
Compact Period By Group Index   longint 3       1       365
Compact Period Canceled longint 5       1       365
Compact Period Deferred longint 2       1       365
Compact Period Group    longint 5       1       365
Compact Period MessageID        longint 5       1       365
Compact Period User     longint 11      1       365
Connection retry count  longint 0       0       10
Database synch count    longint 30      1       500
Database synch interval longint 30      1       600
Date Bounds     longint 2       1       3660
Detailed Logging        longint 1       0       1
Disk space threshold    longint 1000    2       100000000
EMail Add Reply-to      longint 0       0       1
EMail Control Msgs      longint 1       0       1
EMail Interval  longint 15      1       1439
EMail Map       map
EMail Server Group Changes      longint 1       0       1
EMail Statistics        longint 1       0       1
Enable group cache      longint 1       0       1
Enable streaming receive        longint 1       0       1
Enable streaming send   longint 1       0       1
Enable virtual groups   longint 0       0       1
Flood Interval  longint 5       1       1439
Foreground Quantum      longint 6       1       50
Garbage Collect Quantum longint 3       1       50
Garbage Collect Time    longint 200     0       235900
Help note       Str255  newsmaster@"MY".net
Hide control group      longint 0       0       1
Host path name  Str255  news.xanadu-bbs.net
Inject Interval longint 5       1       1439
Limit IHAVE     longint 1       0       1
Log File Name   Str255  RumorMill Log 76
Log Rejected Msgs       longint 1       0       1
Log unknown groups      longint 0       0       1
Max Article File Size   longint 40      1       2000
Max Article Gap longint 4000    1       100000
Max Article Size        longint 350000  2000    10000000
Max Clients     longint 50      1       100
Max Expiration Delta    longint 180     1       3650
Max Feeds       longint 2       0       20
Max Idle Period longint 15      0       240
Max Logfile Size        longint 128     10      20000
Max Msgs Per Connection longint 10000   1       100000
Max Newsgroups Per Msg  longint 50      1       40000
Max Open Article Files  longint 20      5       1000
NAT host name   Str255  xanadu-bbs.net
NNSP Server port        longint 433     0       100000
No NEXT longint 1       0       1
Only propagate local postings   longint 0       0       1host
PAT permitted   longint 1       0       1
POP Interval    longint 15      1       1439
POP account     Str255
POP host        Str255
POP password    Str255
Pull Interval   longint 5       1       1439
Read Only       longint 0       0       1
Remote Servers  rmsv
Require Login   longint 1       0       2
SMTP host       Str255  smtp."ISP1".net
SPAM if chrh
SPAM if not     chrh
Server mode     longint 1       0       1
Server port     longint 119     1       100000
Site Address Restrictions       restrictions
Site Password   Str255  ********
Status window update rate       longint 5       1       10000
Sys Admin EMail Addr    Str255  newsmaster@"MY".net
SysLog IP Addr  Str255
SysLog Port     longint 514     1       32000
SysLog Priority longint -1      -1      7
Text PWD        longint 0       0       1
Use alternate AUTHINFO codes    longint 0       0       1
User EMail Header       Str255  X-From: Xanadu.BBS@"ISP2".net
User Header     Str255
Virtual Group Filter    chrh
Virtual group threshold longint 2       1       255
Technical Details
Message-ID: <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!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <7oc1f.114772$qY1.32091@bgtnsc04-news.ops.worldnet.att.net> <di680j$4th$1@puck.litech.org> <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net> <di9uvp$48g$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net>
Subject: Re: Authentication advice
Date: Sun, 09 Oct 2005 05:16:38 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <7oc1f.114772$qY1.32091@bgtnsc04-news.ops.worldnet.att.net> <di680j$4th$1@puck.litech.org> <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net> <di9uvp$48g$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!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <di9uvp$48g$1@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 222
NNTP-Posting-Host: cdc87a94cd9a984d18a1a97967cfe42b
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1128834998
NNTP-Posting-Date: Sun, 09 Oct 2005 05:16:38 GMT