🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81450

Re: Cleanfeed (v227) comments:

#81450
From: D. Stussy
Date: Mon, 22 Jun 2009 06:25
27 lines
2295 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/;

You're missing my point:  It's the message of the FIRST parameter to
reject() that I'm talking about, not the second.  The first one is what
ultimately is sent to the remote host and shows up in innreport's results.

Technical Details
Message-ID: <h1n844$jis$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.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mail
References: <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: <h1n844$jis$1@snarked.org>
Subject: Re: Cleanfeed (v227) comments:
Date: Sun, 21 Jun 2009 23:25:13 -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.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 27
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-50-95.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1245651908 20060 71.118.50.95 (22 Jun 2009 06:25:08 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Mon, 22 Jun 2009 06:25:08 +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