You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Thijs Koetsier | Exception <th...@exception.nl> on 2005/09/23 14:02:07 UTC

RulesDuJour; lint failes

Hi all,

I'm using spamassassin 3 with rules du jour.

Since a few days, when my rules du jour is runned by cron, spamassassin
won't lint the rules anymore. I've looked into this problem on various
sites, but didn't find a working answer, so I re-installed rules du jour but
still have the same problems. So perhaps someone here knows what to do?

my /etc/rulesdujour/config:

TRUSTED_RULESETS="TRIPWIRE" 
    SA_DIR="/etc/mail/spamassassin"
    MAIL_ADDRESS="admin@exception.nl"
    SA_RESTART="/etc/init.d/spamassassin restart"

(I'm just using one ruleset for testing purposes)

my /etc/mail/spamassassin/local.cf:

required_score 3
report_safe 1
rewrite_header subject {Spam}
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam 0.1
bayes_auto_learn_threshold_spam 12.0

When running the /usr/local/sbin/rules_du_jour script, the rules are
attempted to lint, which failes. The following is logged:
(zoltar is my machines name)

Installing new ruleset from
/etc/mail/spamassassin/RulesDuJour/99_FVGT_Tripwire.cf.2
Installing new version...

TripWire has changed on zoltar.
Version line: # Version 1.18  More Typo's fixed.
Attempting to --lint the rules.
No files updated; No restart required.

Rules Du Jour Run Summary:RulesDuJour Run Summary on zoltar:

TripWire has changed on zoltar.
Version line: # Version 1.18  More Typo's fixed.

***WARNING***: spamassassin --lint failed.
Rolling configuration files back, not restarting SpamAssassin.
Rollback command is:  mv -f /etc/mail/spamassassin/tripwire.cf
/etc/mail/spamassassin/RulesDuJour/99_FVGT_Tripwire.cf.2; rm -f
/etc/mail/spamassassin/tripwire.cf;

Lint output: warning: description for CLICK_TO_REMOVE_1 is over 50 chars
warning: description for HTML_IMAGE_RATIO_06 is over 50 chars
warning: description exists for non-existent rule LOSEWEIGHT
...
And then a whole more lot of warnings telling that 'description exists for
non-existent rule ...' and descriptions which are over 50 chars, which I
can't paste here because my mail gets returned because it's marked as spam
:)
It sums up to:
...
lint: 274 issues detected.  please rerun with debug enabled for more
information.

Anybody know what this could be?

Cheers,
Thijs


Re: FUZZY rules

Posted by Irina <ir...@nas.net>.
Found the problem.  Should have toubleshoot myself more before posting.

Irina
=============
----- Original Message -----
From: "Irina" <ir...@nas.net>
To: <us...@spamassassin.apache.org>
Sent: Friday, September 23, 2005 8:41 AM
Subject: FUZZY rules


> Hello all,
>
> I can not figure out why I have these errors when running
> 'spamassassin --lint'.  It complains about FUZZY rules:
> -----------------
> config: warning: score set for non-existent rule FUZZY_GUARANTEE
> config: warning: score set for non-existent rule FUZZY_BILLION
> config: warning: score set for non-existent rule FUZZY_TRAMADOL
> config: warning: score set for non-existent rule FUZZY_THOUSANDS
> config: warning: score set for non-existent rule FUZZY_OBLIGATION
> etc.....
> -----------------
>
> When doing
>     grep FUZZY_GUARANTEE /usr/local/share/spamassassin/*
> it gives
> -----------
> 25_replace.cf:body FUZZY_GUARANTEE      /<inter W1><post
> P2>(?!guarantee)<G><U><A><R><A><N><T><E><E>/i
> 25_replace.cf:describe FUZZY_GUARANTEE  Attempt to obfuscate words in spam
> 25_replace.cf:replace_rules FUZZY_GUARANTEE
> 50_scores.cf:score FUZZY_GUARANTEE 2.880 2.960 3.330 3.658
> ------------
>
> Is this replace.cf is not included somehow?
>
> Thank you for your help.
>
> Irina
>
>
>


FUZZY rules

Posted by Irina <ir...@nas.net>.
Hello all,

I can not figure out why I have these errors when running
'spamassassin --lint'.  It complains about FUZZY rules:
-----------------
config: warning: score set for non-existent rule FUZZY_GUARANTEE
config: warning: score set for non-existent rule FUZZY_BILLION
config: warning: score set for non-existent rule FUZZY_TRAMADOL
config: warning: score set for non-existent rule FUZZY_THOUSANDS
config: warning: score set for non-existent rule FUZZY_OBLIGATION
etc.....
-----------------

When doing
    grep FUZZY_GUARANTEE /usr/local/share/spamassassin/*
it gives
-----------
25_replace.cf:body FUZZY_GUARANTEE      /<inter W1><post
P2>(?!guarantee)<G><U><A><R><A><N><T><E><E>/i
25_replace.cf:describe FUZZY_GUARANTEE  Attempt to obfuscate words in spam
25_replace.cf:replace_rules FUZZY_GUARANTEE
50_scores.cf:score FUZZY_GUARANTEE 2.880 2.960 3.330 3.658
------------

Is this replace.cf is not included somehow?

Thank you for your help.

Irina



Re: RulesDuJour; lint failes

Posted by Loren Wilton <lw...@earthlink.net>.
Did you just move from 2.64 or earlier?  It looks like you have some
pre-3.0-only rules files.  SOme of these appear to be standard SA rules
files.

    Loren

----- Original Message ----- 
From: "Thijs Koetsier | Exception" <th...@exception.nl>
To: <us...@spamassassin.apache.org>
Sent: Friday, September 23, 2005 5:02 AM
Subject: RulesDuJour; lint failes


> Hi all,
>
> I'm using spamassassin 3 with rules du jour.
>
> Since a few days, when my rules du jour is runned by cron, spamassassin
> won't lint the rules anymore. I've looked into this problem on various
> sites, but didn't find a working answer, so I re-installed rules du jour
but
> still have the same problems. So perhaps someone here knows what to do?
>
> my /etc/rulesdujour/config:
>
> TRUSTED_RULESETS="TRIPWIRE"
>     SA_DIR="/etc/mail/spamassassin"
>     MAIL_ADDRESS="admin@exception.nl"
>     SA_RESTART="/etc/init.d/spamassassin restart"
>
> (I'm just using one ruleset for testing purposes)
>
> my /etc/mail/spamassassin/local.cf:
>
> required_score 3
> report_safe 1
> rewrite_header subject {Spam}
> bayes_auto_learn 1
> bayes_auto_learn_threshold_nonspam 0.1
> bayes_auto_learn_threshold_spam 12.0
>
> When running the /usr/local/sbin/rules_du_jour script, the rules are
> attempted to lint, which failes. The following is logged:
> (zoltar is my machines name)
>
> Installing new ruleset from
> /etc/mail/spamassassin/RulesDuJour/99_FVGT_Tripwire.cf.2
> Installing new version...
>
> TripWire has changed on zoltar.
> Version line: # Version 1.18  More Typo's fixed.
> Attempting to --lint the rules.
> No files updated; No restart required.
>
> Rules Du Jour Run Summary:RulesDuJour Run Summary on zoltar:
>
> TripWire has changed on zoltar.
> Version line: # Version 1.18  More Typo's fixed.
>
> ***WARNING***: spamassassin --lint failed.
> Rolling configuration files back, not restarting SpamAssassin.
> Rollback command is:  mv -f /etc/mail/spamassassin/tripwire.cf
> /etc/mail/spamassassin/RulesDuJour/99_FVGT_Tripwire.cf.2; rm -f
> /etc/mail/spamassassin/tripwire.cf;
>
> Lint output: warning: description for CLICK_TO_REMOVE_1 is over 50 chars
> warning: description for HTML_IMAGE_RATIO_06 is over 50 chars
> warning: description exists for non-existent rule LOSEWEIGHT
> ...
> And then a whole more lot of warnings telling that 'description exists for
> non-existent rule ...' and descriptions which are over 50 chars, which I
> can't paste here because my mail gets returned because it's marked as spam
> :)
> It sums up to:
> ...
> lint: 274 issues detected.  please rerun with debug enabled for more
> information.
>
> Anybody know what this could be?
>
> Cheers,
> Thijs