🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81182

Re: Another INN 2.5.0 rc2 bug - control.ctl processing

#81182
From: Julien ÉLIE
Date: Mon, 01 Jun 2009 09:24
29 lines
2408 bytes
Hi D. Stussy,

> That is clearly not what was expected.  I would expect that if the
> resulting checkgroups group (sub-)set that matches is NULL, it would NOT
> match and therefore NOT be recorded into the log file(s).  NULL should not
> match "*".

If you are not satisfied with the current behaviour for LOG with an EMPTY
matching checkgroups, then use in checkgroups.pl:

        if ($log) {
            # The checkgroups is written unprocessed (@body and not @newbody).
-            logger($log, "checkgroups by $sender", $article);
+            logger($log, "checkgroups by $sender", $article)
+                if $#newbody >= 0;
        } else {
            logmsg("checkgroups by $sender");
        }


It is the quickest way to satisfy your needs (though, as I told you, you
could lose some useful information if you use a few particular patterns
but since you [currently] do not use them...).

-- 
Julien ÉLIE

« Bibere humanum est, ergo bibamus. »
Technical Details
Message-ID: <h006oa$651$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!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!not-for-mail
References: <gvpshs$7c4$1@aux.snarked.org> <gvqsba$6o2$1@news.trigofacile.com> <gvsgbm$gfm$1@aux.snarked.org> <gvtjcl$nmf$1@news.trigofacile.com> <gvut8f$l3m$1@aux.snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <h006oa$651$1@news.trigofacile.com>
Subject: Re: Another INN 2.5.0 rc2 bug - control.ctl processing
Date: Mon, 1 Jun 2009 11:24:11 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gvpshs$7c4$1@aux.snarked.org> <gvqsba$6o2$1@news.trigofacile.com> <gvsgbm$gfm$1@aux.snarked.org> <gvtjcl$nmf$1@news.trigofacile.com> <gvut8f$l3m$1@aux.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!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 29
NNTP-Posting-Host: aaubervilliers-151-1-45-218.w83-114.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 1243848267 6305 83.114.135.218 (1 Jun 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Mon, 1 Jun 2009 09:24:27 +0000 (UTC)
In-Reply-To: <gvut8f$l3m$1@aux.snarked.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049