Thread View: news.software.nntp
6 messages
6 total messages
Started by John F. Morse
Tue, 23 Jun 2009 08:05
Cleanfeed saveart errors
Author: John F. Morse
Date: Tue, 23 Jun 2009 08:05
Date: Tue, 23 Jun 2009 08:05
49 lines
2856 bytes
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
Re: Cleanfeed saveart errors
Author: Steve Crook
Date: Tue, 23 Jun 2009 09:33
Date: Tue, 23 Jun 2009 09:33
25 lines
1860 bytes
1860 bytes
On Tue, 23 Jun 2009 03:05:13 -0500, John F. Morse wrote in
Message-Id: <h1q2bp$vvr$1@optima7.xanadu-bbs.net>:
> 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
Hi John,
Please can you check your debug_batch_directory option in the
local_config function in cleanfeed.local. It's probably pointing to a
directory that doesn't exist.
I've just realised that this parameter isn't mentioned in my
documentation at http://www.mixmin.net/cleanfeed/. A serious omission
that I'll correct asap.
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>
Re: Cleanfeed saveart errors
Author: Steve Crook
Date: Tue, 23 Jun 2009 09:45
Date: Tue, 23 Jun 2009 09:45
17 lines
1561 bytes
1561 bytes
On Tue, 23 Jun 2009 09:33:15 +0000 (UTC), Steve Crook wrote in
Message-Id: <slrnh418ar.930.steve@news.mixmin.net>:
> I've just realised that this parameter isn't mentioned in my
> documentation at http://www.mixmin.net/cleanfeed/. A serious omission
> that I'll correct asap.
Corrected.
http://www.mixmin.net/cleanfeed/config.html#debug_batch_directory
I should probably produce an FAQ section for Cleanfeed. When time
permits I'll lay the foundations for one.
--
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>
Re: Cleanfeed saveart errors
Author: John F. Morse
Date: Tue, 23 Jun 2009 10:07
Date: Tue, 23 Jun 2009 10:07
40 lines
2325 bytes
2325 bytes
Steve Crook wrote:
> On Tue, 23 Jun 2009 03:05:13 -0500, John F. Morse wrote in
> Message-Id: <h1q2bp$vvr$1@optima7.xanadu-bbs.net>:
>
>
>> 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
>>
>
> Hi John,
>
> Please can you check your debug_batch_directory option in the
> local_config function in cleanfeed.local. It's probably pointing to a
> directory that doesn't exist.
>
> I've just realised that this parameter isn't mentioned in my
> documentation at http://www.mixmin.net/cleanfeed/. A serious omission
> that I'll correct asap.
>
> Steve
>
Hi Steve,
You are correct!
# debug_batch_directory => '/usr/local/news/cleanfeed/log',
debug_batch_directory => '/var/spool/news/cleanfeed/tmp/log',
Looks like I somehow threw in a /tmp directory which is non-existent.
Thanks for pointing this out for me.
--
John
Re: Cleanfeed saveart errors
Author: John F. Morse
Date: Tue, 23 Jun 2009 10:26
Date: Tue, 23 Jun 2009 10:26
41 lines
2845 bytes
2845 bytes
Steve Crook wrote: > On Tue, 23 Jun 2009 09:33:15 +0000 (UTC), Steve Crook wrote in > Message-Id: <slrnh418ar.930.steve@news.mixmin.net>: > > >> I've just realised that this parameter isn't mentioned in my >> documentation at http://www.mixmin.net/cleanfeed/. A serious omission >> that I'll correct asap. >> > > Corrected. > http://www.mixmin.net/cleanfeed/config.html#debug_batch_directory > > I should probably produce an FAQ section for Cleanfeed. When time > permits I'll lay the foundations for one. > > That would be great. And a big thanks for that much-needed documentation. I still encounter a problem when assigning allowed binary and html groups in cleanfeed.local, which seems to not pay any attention to them. As I did for the INN 2.4.3 and Cleanfeed 2000 version, I had to make the additions in the /etc/news/filter/filter_innd.pl file (Cleanfeed), below that "No User Serviceable Parts" warning, to get these groups through the filter. Jeffery cautioned me about doing this, but I couldn't get cleanfeed.local to allow the binaries and html otherwise. On a related topic, now it seems Microsoft has broken OE to the point that some pictures will not post depending on the way a user attempts to post them. I suspect it may be "attach" vs. "insert" or some other oddity that OE uses for "Content-Type" by a couple of users. At one point I thought I had determined the actual "Content-Type" that is blocked, but I cannot make the elderly users learn any other methods for posting images. ;-) -- John
Re: Cleanfeed saveart errors
Author: Steve Crook
Date: Tue, 23 Jun 2009 12:22
Date: Tue, 23 Jun 2009 12:22
45 lines
3387 bytes
3387 bytes
On Tue, 23 Jun 2009 05:26:27 -0500, John F. Morse wrote in
Message-Id: <h1qakj$2hr$1@optima7.xanadu-bbs.net>:
> As I did for the INN 2.4.3 and Cleanfeed 2000 version, I had to make the
> additions in the /etc/news/filter/filter_innd.pl file (Cleanfeed), below
> that "No User Serviceable Parts" warning, to get these groups through
> the filter. Jeffery cautioned me about doing this, but I couldn't get
> cleanfeed.local to allow the binaries and html otherwise.
There's nothing technically wrong with editing the cleanfeed file
directly but as I'm producing updates every few months, you run the risk
of losing all your local changes if you install the update.
Updating the config in cleanfeed.local shouldn't be a problem. You have
two options, both within the local_config section:
1) In %config_local, add a bin_allowed parameter. This will completely
override anything defined internally within Cleanfeed.
2) Add bin_allowed to the %config_append section. This will expand the
internal Cleanfeed definition to include your requirements.
In either case you'll need to reload the Perl filter by issuing:
ctlinnd reload filter.perl config update
The above also applies to the html_allowed parameter.
In my cleanfeed.local I add ^microsoft\. to the allexclude parameter so
that postings with distributions entirely within the microsoft hierarchy
are not filtered.
> On a related topic, now it seems Microsoft has broken OE to the point
> that some pictures will not post depending on the way a user attempts to
> post them. I suspect it may be "attach" vs. "insert" or some other
> oddity that OE uses for "Content-Type" by a couple of users.
Yes, Microsoft do seem to have a tendency for introducing unorthodox
methods that follow no standards but their own. If you nail down any
specific cause for the behaviour you describe, please let me know.
> At one point I thought I had determined the actual "Content-Type" that
> is blocked, but I cannot make the elderly users learn any other methods
> for posting images. ;-)
A frequent problem. OE comes with Windows and so many people see no
reason to seek alternatives; the Newsreader box is already ticked.
--
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>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads