🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #138085

Re: [ Dialog ] Regex's Default Modes .

#138085
From: Jeff Relf
Date: Mon, 24 Nov 2003 10:23
45 lines
2917 bytes
In another thread I said :  " Unless a message has a body ,
  only the first few characters of the  References  line 
    are available for  ' Apply Scoring '  "

Ok ,  I here is the workaround .

First ,  my favorite servers ,
  News.Individual.NET  and  News.CIS.DFN.DE ,
    have a 160 day retention rate  ( That's 5.25 months )
      so I set all my default purging to 150 days .
        ( Settings  -->  Default Group Options  -->  Purging )

This allows me to handle all my purging via scoring .
  Higher scores are kept 14 days ,  the rest are kept 5 days .

The workaround is to do a  " !retrieve Score %>0 "
  on any messages than need to have 
    the  References  line scored :

[**]
=-2 Age %>14
=+100  From {(?-i)Relf}   
=+99 References {(?-i)Relf>$}
=+98 References {(?-i)Relf>([^>]*>){1}$}
=+97 References {(?-i)Relf>([^>]*>){2}$}
=+96 References {(?-i)Relf>([^>]*>){3}$}
=+95 References {(?-i)Relf>([^>]*>){4}$}
=+50 Message-ID {(?-i)storefull}   
=+49 References {(?-i)storefull[^>]*>$}
=+48 References {(?-i)storefull[^>]*>([^>]*>){1}$}
=+47 References {(?-i)storefull[^>]*>([^>]*>){2}$}
=+46 References {(?-i)storefull[^>]*>([^>]*>){3}$}
=+45 References {(?-i)storefull[^>]*>([^>]*>){4}$}
!retrieve Score %>0
=-2 Age %>5   #  This won't effect anything that
              #     is already  " =+XX "  scored .
!delete Score %=-2
=+10 From {(?-i) Good Guy 1 | Good Guy 2 }
-1 Subject {(?-i)Re:}
=+1 Score %=0   #  Titles without the  " Re: "  get 1 .
+1 Subject {(?-i)Re:}
=-1 From {(?-i) Bozo 1 | Bozo 2 }
=-1 Message-ID {(?-i)mb-m\d\d\.aol\.com}
# Comment 
!markread Score %<0
Technical Details
Message-ID: <1q2be7f7j4356$.dlg@__.Jeff.Relf>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!64-40-55-90.ncplus.NET!not-for-mail
References: <7mgp5gp0lq96$.dlg@__.Jeff.Relf>

Show Full Headers
Complete Article Headers
Message-ID: <1q2be7f7j4356$.dlg@__.Jeff.Relf>
Subject: Re: [ Dialog ] Regex's Default Modes .
Date: Mon, 24 Nov 2003 02:23:27 -0800
From: Jeff Relf <Me@Privacy.NET>
References: <7mgp5gp0lq96$.dlg@__.Jeff.Relf>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!64-40-55-90.ncplus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 45
NNTP-Posting-Host: 64-40-55-90.ncplus.net (64.40.55.90)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1069669390 62802812 64.40.55.90 (16 [177113])
User-Agent: 40tude_Dialog/2.0.8.1
X-Face: V|9[5IY]/OB15+<DlkA6*rsaeJb?9HnEE@[CAy1koT:N4Ew'*#35g{6z1>}/e:m!6.qw'Kzn@$#""CJQl/Uv"R,&G?sNO"{#LEEnS3lQRnT#Ql#'3ySQ80}u7Q<`+B@;
 Y; 81AnK'_PD^fm.3T/<-i~YdZ%Q}b?:-]{Lr#s6.N,r(}
X-Newsreader: Win98 C++