🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80498

Re: Cannot open Z.EMP

#80498
From: Steve
Date: Tue, 31 Mar 2009 09:56
40 lines
2523 bytes
On Tue, 31 Mar 2009 03:51:04 -0500, John F. Morse wrote in
Message-Id: <gqslho$9qm$1@optima7.xanadu-bbs.net>:

Hi John,

> debug_batch_directory => '/var/spool/news/spam',
That's fine.

> in my cleanfeed.local file, but I do not have a file nor directory 
> "spam" in the /var/spool/news/ directory.
This is the cause of your problem. You need to create the directory
/var/spool/news/spam and ensure that your news user has write privileges
to it.

> Just what is the purpose of this line or the whole local_filter_reject 
> function?
When Cleanfeed rejects an article, the local_filter_reject function is
passed the reason for the reject.  The commonest use of the function is
to log messages that are being rejected.

For example, in my cleanfeed.local I have:
saveart('emp.md5', $vr) if $vr =~ /^EMP\s\(md5/;

This states that if the verbose reject reason ($vr) starts with
"EMP (md5" then save the article in a log file called
$debug_batch_directory/emp.md5
In your instance this evaluates to:
/var/spool/news/spam/emp.md5

> Additionally, there are several other lines in the local_filter_reject 
> function to saveart meeting other conditions. I haven't seen any of the 
> others produce errors nor any saved articles.
They can't until your debug_batch_directory is created.

Steve

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Technical Details
Message-ID: <slrngt3q6r.7n9.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail
References: <gqpmqn$h8k$1@optima7.xanadu-bbs.net> <gqr5kp$1d4$1@news.trigofacile.com> <gqslho$9qm$1@optima7.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrngt3q6r.7n9.steve@news.mixmin.net>
Subject: Re: Cannot open Z.EMP
Date: Tue, 31 Mar 2009 09:56:43 +0000
From: Steve <steve@mixmin.net>
References: <gqpmqn$h8k$1@optima7.xanadu-bbs.net> <gqr5kp$1d4$1@news.trigofacile.com> <gqslho$9qm$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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 40
NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Tue, 31 Mar 2009 09:56:43 +0000 (UTC)
User-Agent: slrn/pre1.0.0-2 (Linux)