🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81383

Cleanfeed (v227) comments:

#81383
From: D. Stussy
Date: Sat, 13 Jun 2009 20:46
29 lines
2250 bytes
Version: $Id: cleanfeed 227 2009-06-05 11:49:33Z cleanfeed $

faq_groups:  Add "\.faqs?$"
I count 17 additional groups that would match.

image_extensions:  Add "icon?"
For the ".ico"/".icon" image type.  Granted, rarely seen.

spam_report_groups:  Change "\.spamtrap" to "\.spamtrap$"
Exclude "\.spamtraps" which would be a discussion about how to spamtrap.

spam_report_groups:  Consider adding "\.spam\.sightings"
Picks up 3 groups but avoids "alt.elvis.sightings".

Bad_From(_RE):  I see that the suggestion regarding bad "From:" header
matching didn't fall on deaf ears.  However, consider also matching the
pattern against "Sender:" and "Reply-To:" headers, perhaps as an option.
Possibly "Errors-To:" also (which should only appear in articles gated from
mailing lists where it is technically depreciated).

Some variables have mixed-case regex expressions - e.g.:

    $HTTP = '[Hh][Tt][Tt][Pp][Ss]?:\/\/?(?:\w+(?::\w+)?@)?';

Is this necessary, as opposed to using "=~ /$HTTP/i", thus making the
expression comparison case insensitive with the "i" flag?  Would this
change result in either cleaner looking code or faster execution?

Technical Details
Message-ID: <h1137j$i7k$1@snarked.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!xlned.com!feeder3.xlned.com!feeder.erje.net!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <h1137j$i7k$1@snarked.org>
Subject: Cleanfeed (v227) comments:
Date: Sat, 13 Jun 2009 13:46:51 -0700
From: "D. Stussy" <spam@bde-arc.ampr.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!xlned.com!feeder3.xlned.com!feeder.erje.net!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 29
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1244926004 18676 71.106.211.188 (13 Jun 2009 20:46:44 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Sat, 13 Jun 2009 20:46:44 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478