RE: RulesDuJour; lint failes
Hi Bob, Thanks for this explanation; It solved my problem. It turned out in /usr/share/spamassassin a translation-file was causing the problems. Cheers, Thijs -Oorspronkelijk bericht- Van: Robert Menschel [mailto:[EMAIL PROTECTED] Verzonden: zondag 25 september 2005 1:46 Aan: Thijs Koetsier | Exception CC: Fred; users@spamassassin.apache.org Onderwerp: Re[2]: RulesDuJour; lint failes Hello Thijs, Saturday, September 24, 2005, 12:00:14 AM, you wrote: TKE To lint spamassassin from the command line has no other effect than TKE through RulesDuJour. The same list of errors/warnings shows up as mentioned below. TKE Since I use a standard (clean) installation with only Tripwire in TKE my ruleset for testing, this amount of warnings is a bit big, isn't TKE it? TKE But fixing the errors is exactly what I want to do; I just don't TKE know how :( The errors you're getting are from old, prior version, SpamAssassin distribution rules files. Use spamassassin -D --lint to determine which directories SA is looking into, and then scan all those directories for *.cf files. You have some old, prior version *.cf files, in a directory that SA is scanning, and those no longer lint in the current SA. Delete them. Bob Menschel
Re: RulesDuJour; lint failes
To lint spamassassin from the command line has no other effect than through RulesDuJour. The same list of errors/warnings shows up as mentioned below. Since I use a standard (clean) installation with only Tripwire in my ruleset for testing, this amount of warnings is a bit big, isn't it? But fixing the errors is exactly what I want to do; I just don't know how :( Cheers, Thijs Quoting Fred [EMAIL PROTECTED]: Run spamassassin --lint on this server and fix the errors you have and then once all is running well, go back and try rulesDuJour. You'll get better results for sure :) Thijs Koetsier | Exception wrote: Hi, No, I did not. I just re-installed Rules Du Jour and am using Spamassassin 3 on this server since I installed it. Cheers, Thijs -Oorspronkelijk bericht- Van: Loren Wilton [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 23 september 2005 15:46 Aan: users@spamassassin.apache.org Onderwerp: Re: RulesDuJour; lint failes 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 Exception webmail - www.exception.nl
Re: RulesDuJour; lint failes
CLICK_TO_REMOVE_1 is over 50 This is an error from running 3.0x SpamAssassin with certain 2.64 targeted rule sets. Recheck all your rule sets for appropriateness with 3.04. {^_^} - Original Message - From: Thijs Koetsier | Exception [EMAIL PROTECTED] To lint spamassassin from the command line has no other effect than through RulesDuJour. The same list of errors/warnings shows up as mentioned below. Since I use a standard (clean) installation with only Tripwire in my ruleset for testing, this amount of warnings is a bit big, isn't it? But fixing the errors is exactly what I want to do; I just don't know how :( Cheers, Thijs Quoting Fred [EMAIL PROTECTED]: Run spamassassin --lint on this server and fix the errors you have and then once all is running well, go back and try rulesDuJour. You'll get better results for sure :) Thijs Koetsier | Exception wrote: Hi, No, I did not. I just re-installed Rules Du Jour and am using Spamassassin 3 on this server since I installed it. Cheers, Thijs -Oorspronkelijk bericht- Van: Loren Wilton [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 23 september 2005 15:46 Aan: users@spamassassin.apache.org Onderwerp: Re: RulesDuJour; lint failes 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 Exception webmail - www.exception.nl
Re: RulesDuJour; lint failes
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
RE: RulesDuJour; lint failes
Hi, No, I did not. I just re-installed Rules Du Jour and am using Spamassassin 3 on this server since I installed it. Cheers, Thijs -Oorspronkelijk bericht- Van: Loren Wilton [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 23 september 2005 15:46 Aan: users@spamassassin.apache.org Onderwerp: Re: RulesDuJour; lint failes 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
Re: RulesDuJour; lint failes
Run spamassassin --lint on this server and fix the errors you have and then once all is running well, go back and try rulesDuJour. You'll get better results for sure :) Thijs Koetsier | Exception wrote: Hi, No, I did not. I just re-installed Rules Du Jour and am using Spamassassin 3 on this server since I installed it. Cheers, Thijs -Oorspronkelijk bericht- Van: Loren Wilton [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 23 september 2005 15:46 Aan: users@spamassassin.apache.org Onderwerp: Re: RulesDuJour; lint failes 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