Article View: news.software.nntp
Article #81410Re: Cleanfeed (v227) comments:
From: D. Stussy
Date: Tue, 16 Jun 2009 19:50
Date: Tue, 16 Jun 2009 19:50
30 lines
2253 bytes
2253 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnh3err9.7fb.steve@news.mixmin.net...
> On Mon, 15 Jun 2009 13:48:37 -0700, D. Stussy wrote in
> Message-Id: <h16b3g$ltr$1@snarked.org>:
>
> > I prefer to say "Banned From|Sender|Reply-To" than "Bad From..." - It's
> > more precise.
> How about this:
>
> if ($Bad_From) {
> return reject("Reply-To ($1)", 'Bad originator (Reply-To)')
> if $hdr{'Reply-To'} =~ $Bad_From_RE;
> return reject("Sender ($1)", 'Bad originator (Sender)')
> if $hdr{Sender} =~ $Bad_From_RE;
> return reject("From ($1)", 'Bad originator (From)')
> if $hdr{From} =~ $Bad_From_RE;
> };
>
> Each will now generate a unique reject but for admins who want to log
> all rejections against Bad_From, they can use something like:
> saveart('cf.from', $vr) if $sr =~ /^Bad originator/;
I think you missed the point. My point is to say the word "banned" in the
NNTP message too; e.g.:
return reject("Banned Reply-To ($1)", 'Bad originator (Reply-To)')
That's what I'm currently using in my cleanfeed.local file.
Technical Details
Message-ID:
<h18sv4$62p$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!de-l.enfer-du-nord.net!gegeweb.org!news.snarked.org!not-for-mailReferences:
<h1137j$i7k$1@snarked.org> <slrnh3civj.fbg.steve@news.mixmin.net> <h16b3g$ltr$1@snarked.org> <slrnh3err9.7fb.steve@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <h18sv4$62p$1@snarked.org> Subject: Re: Cleanfeed (v227) comments: Date: Tue, 16 Jun 2009 12:50:48 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <h1137j$i7k$1@snarked.org> <slrnh3civj.fbg.steve@news.mixmin.net> <h16b3g$ltr$1@snarked.org> <slrnh3err9.7fb.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!de-l.enfer-du-nord.net!gegeweb.org!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 30 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 1245181732 6233 71.106.211.188 (16 Jun 2009 19:48:52 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Tue, 16 Jun 2009 19:48:52 +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