🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78804

Re: Cleanfeed update

#78804
From: Julien ÉLIE
Date: Fri, 29 Feb 2008 18:21
30 lines
2326 bytes
Hi Steve,

I have just found out a bug in Cleanfeed.  If you could fix it in your version,
it would be great.

In fact, I wanted to try the block_user_cancels feature and it did not work.
Here is the (easy) patch:


@@ -943,12 +943,12 @@
                                if exists $Bad_Cancel_Path{$_};
                }

-               reject('User-issued spam cancel')
+               return reject('User-issued spam cancel')
                        if $config{block_user_spamcancels}
                                and $hdr{'X-Trace'} and $hdr{'NNTP-Posting-Host'}
                                and $hdr{Path} =~ /!cyberspam!/;

-               reject('User-issued cancel')
+               return reject('User-issued cancel')
                        if $config{block_user_cancels}
                                and not $hdr{Path} =~ /!cyberspam!/;

-- 
Julien ÉLIE

« -- C'est joli cette avenue le long de la mer... Ça s'appelle comment ?
  -- La promenade des Bretons. » (Astérix) 
Technical Details
Message-ID: <fq9ig6$bmi$1@news.trigofacile.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail
References: <fov25a$58i$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <fq9ig6$bmi$1@news.trigofacile.com>
Subject: Re: Cleanfeed update
Date: Fri, 29 Feb 2008 19:21:53 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <fov25a$58i$1@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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 30
NNTP-Posting-Host: amontpellier-152-1-13-233.w81-251.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1204309319 11986 81.251.165.233 (29 Feb 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Fri, 29 Feb 2008 18:21:59 +0000 (UTC)
In-Reply-To: <fov25a$58i$1@news.mixmin.net>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.20661
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545