RE: serious problems after upgrade
Hi Matt I did read the UPGRADE file for the sa-learn. It has been performed but is still showing the same error: Running as the SA user, not root, I get snip $ sa-learn --sync bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160. $ snip What if I run sa-learn --force-expire ??? Will that help any? Many thanks Tom -Original Message- From: Matt Kettler [mailto:[EMAIL PROTECTED] Sent: 28 September 2004 15:31 To: Thomas Kinghorn; [EMAIL PROTECTED] Subject: Re: serious problems after upgrade 2) you need to upgrade the version of your bayes DB, as per the instructions in the UPGRADE file sa-learn --sync At 11:59 AM 9/28/2004 +0200, Thomas Kinghorn wrote: Spamassassin -lint shows: warning: rule 'G_WWW141_FINANCEBIZ_COM_BR' is over 22 chars warning: rule 'G_IMAGES_LOVEOUROFFERS_COM' is over 22 chars warning: rule 'LOCAL_DRUGS_DEPRESSION_MALEDYS' is over 22 chars warning: rule 'G_DOWNLOADS_REFERRALWARE_COM' is over 22 chars warning: rule 'G_CK2_UNIVERSITY_DORM_COM' is over 22 chars warning: rule 'G_FP_COLLECTIBLESTODAY_COM' is over 22 chars warning: rule 'G_MEMBERSNEWSLETTER_NET' is over 22 chars warning: rule 'G_IMAGES1_POSTDIRECT_COM' is over 22 chars warning: rule 'G_WWW_CAYMANNETNEWS_COM' is over 22 chars warning: rule 'G_WWW_ANEWWAYOUFORYOU_COM' is over 22 chars bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160. bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160. Failed to compile URI SpamAssassin tests, skipping: (syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule SPAMCOP_URI_RBL, line 1, near eval: syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule OB_URI_RBL, line 1, near eval: syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule OB_URI_RBL, line 8, near } } ) lint: 391 issues detected. please rerun with debug enabled for more information. Any ideas???
Re: serious problems after upgrade
On Wed, Sep 29, 2004 at 07:28:34AM +0200, Thomas Kinghorn wrote: I did read the UPGRADE file for the sa-learn. It has been performed but is still showing the same error: $ sa-learn --sync bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160. Take a look at: http://wiki.apache.org/spamassassin/BayesUpgradeError See if that helps any. Michael
Re: serious problems after upgrade
On Tue, 28 Sep 2004 11:59:07 +0200, Thomas Kinghorn [EMAIL PROTECTED] wrote: Hi List. I have just upgraded from 2.63 to 3.0 Now SA refuses to run. Spamassassin -lint shows: warning: rule 'G_WWW141_FINANCEBIZ_COM_BR' is over 22 chars snip This is the beginning of the problem, you have rules whose names are longer than 22 characters. You need to shorten the name of these rules. bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160. The bayes database you're using is the old version, it should be auto upgraded upon first access by the new version. Fix the rule names and perhaps this will complete properly. Failed to compile URI SpamAssassin tests, skipping: (syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule SPAMCOP_URI_RBL, line 1, near eval: syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule OB_URI_RBL, line You are trying ot use the old SURBL rulesets with SA 3.0, the new version uses different syntaxes - have a look at the install docco or on surbl.org it's all quite well explained when you check the manual. Any ideas??? Many :) -- Regards, David Hooton
Re: serious problems after upgrade
1) SA 3.0 has it's own built in support for URI RBLs, but it is implemented differently than Mail::SpamcopURI does it. rm /etc/mail/spamassassin/spamcop_uri.cf 2) you need to upgrade the version of your bayes DB, as per the instructions in the UPGRADE file sa-learn --sync 3) Shorten the names of your custom rules (G_*) to 22 characters, or remove the files. 4) Are you using a truly ancient version of antidrug.cf? LOCAL_DRUGS_DEPRESSION_MALEDYS was shortened a LONG time ago. Antidrug is built in to SA 3.0, so no need for a separate file. rm /etc/mail/spamassassin/antidrug.cf At 11:59 AM 9/28/2004 +0200, Thomas Kinghorn wrote: Spamassassin -lint shows: warning: rule 'G_WWW141_FINANCEBIZ_COM_BR' is over 22 chars warning: rule 'G_IMAGES_LOVEOUROFFERS_COM' is over 22 chars warning: rule 'LOCAL_DRUGS_DEPRESSION_MALEDYS' is over 22 chars warning: rule 'G_DOWNLOADS_REFERRALWARE_COM' is over 22 chars warning: rule 'G_CK2_UNIVERSITY_DORM_COM' is over 22 chars warning: rule 'G_FP_COLLECTIBLESTODAY_COM' is over 22 chars warning: rule 'G_MEMBERSNEWSLETTER_NET' is over 22 chars warning: rule 'G_IMAGES1_POSTDIRECT_COM' is over 22 chars warning: rule 'G_WWW_CAYMANNETNEWS_COM' is over 22 chars warning: rule 'G_WWW_ANEWWAYOUFORYOU_COM' is over 22 chars bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160. bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm line 160. Failed to compile URI SpamAssassin tests, skipping: (syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule SPAMCOP_URI_RBL, line 1, near eval: syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule OB_URI_RBL, line 1, near eval: syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule OB_URI_RBL, line 8, near } } ) lint: 391 issues detected. please rerun with debug enabled for more information. Any ideas???
Re: serious problems after upgrade: UPDATE
On Tue, Sep 28, 2004 at 02:23:09PM +0200, Thomas Kinghorn wrote: bayes: bayes db version 2 is not able to be used, aborting! at I have performed the sa-learn -sync. Run sa-learn --sync -D, and read the output. If it succeeds, you won't see the above warnings anymore, if it doesn't, the -D output should tell you why. -- Randomly Generated Tagline: Why don't those stupid idiots let me in their crappy club for jerks? -- Homer Simpson Homer the Great pgpybgVRtKPY8.pgp Description: PGP signature
Re: serious problems after upgrade
Matt Kettler said: 1) SA 3.0 has it's own built in support for URI RBLs, but it is implemented differently than Mail::SpamcopURI does it. rm /etc/mail/spamassassin/spamcop_uri.cf 2) you need to upgrade the version of your bayes DB, as per the instructions in the UPGRADE file sa-learn --sync 3) Shorten the names of your custom rules (G_*) to 22 characters, or remove the files. 5.) Different syntax for a lot of config files. I filed this as a bug in the upgrade doc. But wouldn't it make sense to list all the changes to syntax in local.cf from 2.x to 3.0? A file like: upgrade.syntax.local.cf... -- Luke Computer Science System Administrator Security Administrator,College of Engineering Montana State University-Bozeman,Montana