You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ed Kasky <ed...@esson.net> on 2010/01/27 07:30:23 UTC

Fuzzyocr and rule errors after upgrade to 3.3.0

I just upgraded to 3.3.0 from 3.2.4 and get the following errors:

Jan 26 22:10:41.856 [32397] dbg: plugin: loading FuzzyOcr from 
/etc/mail/spamassassin/FuzzyOcr.pm

Jan 26 22:10:42.038 [32397] warn: plugin: eval failed: Insecure 
dependency in open while running with -T switch at 
/etc/mail/spamassassin/FuzzyOcr/Logging.pm line 34.
Jan 26 22:10:42.039 [32397] warn: config: failed to parse line, 
skipping, in "/etc/mail/spamassassin/FuzzyOcr.cf": focr_bin_helper 
pnmnorm, pnminvert, pamditherbw, ppmtopgm, pamtopnm

Jan 26 22:10:42.044 [32397] warn: plugin: eval failed: Insecure 
dependency in open while running with -T switch at 
/etc/mail/spamassassin/FuzzyOcr/Logging.pm line 34.

Here is line 34-37:
34    unless ( open LOGFILE, ">>", $conf->{focr_logfile} ) {
35       warn "Can't open $conf->{focr_logfile} for writing, check 
permissions";
36       return;
37    }

The plugin was doing fine in 3.2.4.  I could not find much in the 
archives on the errors so I thought I'd throw it out there to see if 
anyone had any suggestions.

Also - is anyone else getting a lot of "warning: score set for 
non-existent rule" errors?  I ran sa-update after teand continue to 
get a slew of them...

Ed

...........................................................................

Randomly Generated Quote (1413 of 1582):
Truth has no special time of its own. Its hour is now -- always.
-Albert Schweitzer (1875-1965)


Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Ed Kasky <ed...@esson.net>.
At 03:31 AM Wednesday, 1/27/2010, you wrote -=>
>Ed Kasky wrote on Tue, 26 Jan 2010 22:30:23 -0800:
>
> > FuzzyOcr
>
>is it mentioned in the release notes? check back with the author of this
>plugin if it is compatible with 3.3.0
>
> > Also - is anyone else getting a lot of "warning: score set for
> > non-existent rule" errors?  I ran sa-update after teand continue to
> > get a slew of them...
>
>It probably means that you set scores for rules that don't exist anymore.

Forgot to check local.cf - I had set them all but 1 which was in 
70_sare_header.cf.

I checked the FuzzyOcr site but no mention yet of 3.3.0 so I just 
disabled logging to file.

Thanks!

Ed

...........................................................................

Randomly Generated Quote (163 of 1582):
"Not everything that counts can be counted, and not everything  that can be
counted counts." (Sign hanging in Einstein's office at Princeton)


Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Kai Schaetzl <ma...@conactive.com>.
Ed Kasky wrote on Tue, 26 Jan 2010 22:30:23 -0800:

> FuzzyOcr

is it mentioned in the release notes? check back with the author of this 
plugin if it is compatible with 3.3.0

> Also - is anyone else getting a lot of "warning: score set for 
> non-existent rule" errors?  I ran sa-update after teand continue to 
> get a slew of them...

It probably means that you set scores for rules that don't exist anymore.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com




Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Kai Schaetzl <ma...@conactive.com>.
John Wilcock wrote on Thu, 28 Jan 2010 08:31:07 +0100:

> Presumably because you didn't run sa-update while the ruleset was 
> missing from the update...

Hm, it *is* missing. But maybe not from the compiled rules, well.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com




Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by John Wilcock <jo...@tradoc.fr>.
Le 27/01/2010 22:31, Kai Schaetzl a écrit :
> John Wilcock wrote on Wed, 27 Jan 2010 17:43:56 +0100:
>
>> someone forgot to include 72_active.cf and 80_additional.cf in the
>> sa-update files.
>
> Now I understand. However, why am I not getting these warnings with a
> spamassassin --lint?

Presumably because you didn't run sa-update while the ruleset was 
missing from the update...

John.

-- 
-- Over 4000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr

Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Kai Schaetzl <ma...@conactive.com>.
John Wilcock wrote on Wed, 27 Jan 2010 17:43:56 +0100:

> someone forgot to include 72_active.cf and 80_additional.cf in the 
> sa-update files.

Now I understand. However, why am I not getting these warnings with a 
spamassassin --lint?

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com




Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Ed Kasky <ed...@esson.net>.
At 10:02 AM Wednesday, 1/27/2010, John Wilcock wrote -=>
>Le 27/01/2010 18:57, Justin Mason a écrit :
>>>Either someone forgot to delete all these rules, or (more likely IMO)
>>>someone forgot to include 72_active.cf and 80_additional.cf in the sa-update
>>>files.
>>
>>I think you're dead right.  It appears one of the build scripts does
>>the wrong thing with the 3.3.0 release, and cut an update missing
>>those files. :(
>>
>>I've just cut a new update which should fix it, and opened a bug to
>>fix the build procedure...
>
>sa-update has now pulled down a 72_active.cf 
>file, and lint now only gives 5 "score set for 
>non-existent rule" warnings instead of 463.
>
>Thanks Justin.


And I thought it was just me ;-)

Actually - it went down to about 7 or 8 here 
after I ran sa-update around 10:00pm pacific


Ed
~~~~~~~~~
Randomly Generated Quote (1159 of 1230):
When I woke up this morning my wife asked me,
"Did you sleep good?"  I said, "No, I made a few mistakes."
--Steven Wright


Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Jason Bertoch <ja...@i6ix.com>.
On 1/27/2010 1:02 PM, John Wilcock wrote:
> Le 27/01/2010 18:57, Justin Mason a écrit :
>>> Either someone forgot to delete all these rules, or (more likely IMO)
>>> someone forgot to include 72_active.cf and 80_additional.cf in the 
>>> sa-update
>>> files.
>>
>> I think you're dead right.  It appears one of the build scripts does
>> the wrong thing with the 3.3.0 release, and cut an update missing
>> those files. :(
>>
>> I've just cut a new update which should fix it, and opened a bug to
>> fix the build procedure...
> 
> sa-update has now pulled down a 72_active.cf file, and lint now only 
> gives 5 "score set for non-existent rule" warnings instead of 463.
> 

How long does it normally take for mirrors to see such changes?  My 
sa-update is not grabbing the missing files yet.


RE: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by "Jackson, Jeff" <je...@rbza.com>.
Thank you guys! I'm now down to just 5 non-existent rule warnings as well:

Jan 27 10:18:13.473 [19398] dbg: config: warning: score set for non-existent rule SHORTCIRCUIT
Jan 27 10:18:13.473 [19398] dbg: config: warning: score set for non-existent rule SUBJ_RE_NUM
Jan 27 10:18:13.473 [19398] dbg: config: warning: score set for non-existent rule FM_VIAGRA_SPAM1114
Jan 27 10:18:13.473 [19398] dbg: config: warning: score set for non-existent rule AXB_HELO_LH_HOME
Jan 27 10:18:13.474 [19398] dbg: config: warning: score set for non-existent rule ACCESSDB

I presume we are all missing the same rules...

Jeff

-----Original Message-----
From: John Wilcock [mailto:john@tradoc.fr] 
Sent: Wednesday, January 27, 2010 10:03 AM
To: users@spamassassin.apache.org
Subject: Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Le 27/01/2010 18:57, Justin Mason a écrit :
>> Either someone forgot to delete all these rules, or (more likely IMO)
>> someone forgot to include 72_active.cf and 80_additional.cf in the sa-update
>> files.
>
> I think you're dead right.  It appears one of the build scripts does
> the wrong thing with the 3.3.0 release, and cut an update missing
> those files. :(
>
> I've just cut a new update which should fix it, and opened a bug to
> fix the build procedure...

sa-update has now pulled down a 72_active.cf file, and lint now only 
gives 5 "score set for non-existent rule" warnings instead of 463.

Thanks Justin.

John.

-- 
-- Over 4000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr

Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by John Wilcock <jo...@tradoc.fr>.
Le 27/01/2010 18:57, Justin Mason a écrit :
>> Either someone forgot to delete all these rules, or (more likely IMO)
>> someone forgot to include 72_active.cf and 80_additional.cf in the sa-update
>> files.
>
> I think you're dead right.  It appears one of the build scripts does
> the wrong thing with the 3.3.0 release, and cut an update missing
> those files. :(
>
> I've just cut a new update which should fix it, and opened a bug to
> fix the build procedure...

sa-update has now pulled down a 72_active.cf file, and lint now only 
gives 5 "score set for non-existent rule" warnings instead of 463.

Thanks Justin.

John.

-- 
-- Over 4000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr

Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Justin Mason <jm...@jmason.org>.
On Wed, Jan 27, 2010 at 16:43, John Wilcock <jo...@tradoc.fr> wrote:
> To state the problem again, 463 of the scores in the 50_scores.cf from 3.3.0
> sa-update refer to rules that used to be in 72_active.cf or 80_additional.cf
> in 3.2.5, but that neither of these two files are anywhere to be found in
> the 3.3.0 sa-update.
>
> Either someone forgot to delete all these rules, or (more likely IMO)
> someone forgot to include 72_active.cf and 80_additional.cf in the sa-update
> files.

I think you're dead right.  It appears one of the build scripts does
the wrong thing with the 3.3.0 release, and cut an update missing
those files. :(

I've just cut a new update which should fix it, and opened a bug to
fix the build procedure...

-- 
--j.

Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by John Wilcock <jo...@tradoc.fr>.
Le 27/01/2010 17:31, Kai Schaetzl a écrit :
> John Wilcock wrote on Wed, 27 Jan 2010 15:27:17 +0100:
>
>> Me too... 463 of them, to be exact.
>
> Do you want to say that you changed the score of 463 rules?

No, absolutely not. On this test box I haven't changed the scores of any 
rules. There are absolutely no local "score" statements (and no local 
rules either, for that matter).

>
>> However, these two files don't seem to exist in
>> /var/lib/spamassassin/3.003000/updates_spamassassin_org/
>
> Indeed, that's why you are getting this error.

Yes, I'm well aware of that!

To state the problem again, 463 of the scores in the 50_scores.cf from 
3.3.0 sa-update refer to rules that used to be in 72_active.cf or 
80_additional.cf in 3.2.5, but that neither of these two files are 
anywhere to be found in the 3.3.0 sa-update.

Either someone forgot to delete all these rules, or (more likely IMO) 
someone forgot to include 72_active.cf and 80_additional.cf in the 
sa-update files.

John.

-- 
-- Over 4000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr

Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by Kai Schaetzl <ma...@conactive.com>.
John Wilcock wrote on Wed, 27 Jan 2010 15:27:17 +0100:

> Me too... 463 of them, to be exact.

Do you want to say that you changed the score of 463 rules?

> However, these two files don't seem to exist in 
> /var/lib/spamassassin/3.003000/updates_spamassassin_org/

Indeed, that's why you are getting this error.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com




Re: Fuzzyocr and rule errors after upgrade to 3.3.0

Posted by John Wilcock <jo...@tradoc.fr>.
Le 27/01/2010 07:30, Ed Kasky a écrit :
> Also - is anyone else getting a lot of "warning: score set for
> non-existent rule" errors?  I ran sa-update after teand continue to get
> a slew of them...

Me too... 463 of them, to be exact.

With the exception of ACCESSDB where the score is set to 0 anyway, all 
the affected rules were in 72_active.cf or 80_additional.cf in 3.2.5.

However, these two files don't seem to exist in 
/var/lib/spamassassin/3.003000/updates_spamassassin_org/

John.

-- 
-- Over 4000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr