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" <[EMAIL PROTECTED]>
To: <users@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="[EMAIL PROTECTED]"
>     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

Reply via email to