🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81403

Re: Cleanfeed (v227) comments:

#81403
From: Steve Crook
Date: Mon, 15 Jun 2009 13:26
49 lines
2825 bytes
On Sat, 13 Jun 2009 13:46:51 -0700, D. Stussy wrote in
Message-Id: <h1137j$i7k$1@snarked.org>:

Hi,

Thanks very much for your feedback.

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

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

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

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

> 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.
All three headers, From, Sender and Reply-To are now checked.  A match
against any one will result in a 'Bad From' reject reason.

> Possibly "Errors-To:" also (which should only appear in articles gated from
> mailing lists where it is technically depreciated).
I'll monitor this one for a while and see what hits are logged.

> 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?
The whole URL matching section needs some rework.  It functions on the
principle that all posted URL's are prefixed with http:// which is often
not true.  I'll try and clean this section up over the next week, time
permitting.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Technical Details
Message-ID: <slrnh3civj.fbg.steve@news.mixmin.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!85.214.71.121.MISMATCH!feeder.motzarella.org!news.motzarella.org!motzarella.org!news.mixmin.net!not-for-mail
References: <h1137j$i7k$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnh3civj.fbg.steve@news.mixmin.net>
Subject: Re: Cleanfeed (v227) comments:
Date: Mon, 15 Jun 2009 13:26:11 +0000
From: Steve Crook <steve@mixmin.net>
References: <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!newsfeed0.kamp.net!newsfeed.kamp.net!85.214.71.121.MISMATCH!feeder.motzarella.org!news.motzarella.org!motzarella.org!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 49
NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Mon, 15 Jun 2009 13:26:11 +0000 (UTC)
User-Agent: slrn/pre1.0.0-11 (Linux)