🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81463

Cleanfeed saveart errors

#81463
From: John F. Morse
Date: Tue, 23 Jun 2009 08:05
49 lines
2856 bytes
I'm receiving a few errors in the INN 2.4.5 Daily Report like these:

Jun 22 04:14:51 optima2 innd: filter: Cannot open subject: No such file or directory
Jun 22 06:50:15 optima2 innd: filter: Cannot open cf.binary: No such file or directory
Jun 22 08:08:02 optima2 innd: filter: Cannot open emp.md5: No such file or directory

I believe they are cleanfeed.local problems, similar to those I had a few months ago. IIRC, I was told to comment them out on an old INN 2.4.3 server.

Is there something I can do to make them work, such as touching these files first so they exist?

If so, in what directory is Cleanfeed trying to write them?

I believe the cleanfeed.local script that is calling these is:


sub local_filter_reject {
    my ($vr, $sr) = @_;

    # Create logfiles for rejected articles I want to monitor.
    saveart('local.reject', $vr)
        if $hdr{Path} =~ /^not\-for\-mail$/;
    saveart('emp.phn', $vr) if $vr =~ /^EMP\s\(phn/;
    saveart('emp.phr', $vr) if $vr =~ /^EMP\s\(phr/;
    saveart('emp.phl', $vr) if $vr =~ /^EMP\s\(phl/;
    saveart('emp.fsl', $vr) if $vr =~ /^EMP\s\(fsl/;
    if (is_binary()) {
        saveart('emp.md5.bin', $vr) if $vr =~ /^EMP\s\(md5/;
        saveart('cf.scoring', $vr, 2) if $vr =~ /^Scoring/;
    } else {
        saveart('emp.md5', $vr) if $vr =~ /^EMP\s\(md5/;
        saveart('cf.scoring', $vr) if $vr =~ /^Scoring/;
    }
    saveart('cf.hosts', $vr) if $vr =~ /^Bad\shost/;
    saveart('cf.uuenc', $vr) if $vr =~ /^UUencoded/;
    saveart('cf.binary', $vr) if $vr =~ /^Binary/;
    saveart('cf.body', $vr) if $vr =~ /^Body/;

    return @_;
}


The above cleanfeed.local should be from the following Cleanfeed version:

# $Id: cleanfeed 227 2009-06-05 11:49:33Z cleanfeed $



-- 
John
Technical Details
Message-ID: <h1q2bp$vvr$1@optima7.xanadu-bbs.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!news.musoftware.de!wum.musoftware.de!feeds.phibee-telecom.net!feeder.motzarella.org!news.motzarella.org!eternal-september.org!optima7.xanadu-bbs.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <h1q2bp$vvr$1@optima7.xanadu-bbs.net>
Subject: Cleanfeed saveart errors
Date: Tue, 23 Jun 2009 03:05:13 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
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!news.musoftware.de!wum.musoftware.de!feeds.phibee-telecom.net!feeder.motzarella.org!news.motzarella.org!eternal-september.org!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 49
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1245744313 32763 192.168.89.210 (23 Jun 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 23 Jun 2009 08:05:13 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)
X-Enigmail-Version: 0.95.7