Theo Van Dinter wrote: >On Thu, Mar 16, 2006 at 02:07:31PM -0700, Philip Prindeville wrote: > > >>Hmmm... Couple of questions.. The UPGRADE file on the website still >>reports 3.1.0 >>only... >> >> > >The UPGRADE file describes how to upgrade to 3.1.x from earlier versions. >Upgrading from 3.1.x to 3.1.y should be as straightforward as upgrading the >packages, or installing via CPAN, etc. > > > >># spamassassin -t -x -D rulesrun=255,enabled=255 < paypal3.eml >> >>but didn't get any debugging output. This was an upgrade from 3.1.0 to >>3.1.1. >> >> > >Those aren't valid debug facilities anymore. Looking at the code, they were >removed in 3.1.0. > >
Is there an easy way to get the list of all the debug facilities? >># spamassassin --lint -t -x -Drulesrun=255,enabled=255 < paypal3.eml >>[5382] warn: config: warning: score set for non-existent rule >>UNWANTED_LANGUAGE_BODY >>[5382] warn: lint: 1 issues detected, please rerun with debug enabled >>for more information >># grep UNWANTED /usr/share/spamassassin/*.cf >>/usr/share/spamassassin/25_textcat.cf:body UNWANTED_LANGUAGE_BODY >>eval:check_language() >> >> >[...] > > >>/usr/share/spamassassin/50_scores.cf:score UNWANTED_LANGUAGE_BODY 2.800 >> >> > >TextCat is a plugin in 3.1.x. It's mentioned in the first paragraph >of the UPGRADE document. It's also disabled by default and needs to >be enabled. > > > Okay, so I need to add: ok_languages en fr loadplugin Mail::SpamAssassin::Plugin::TextCat What else is required to fire this up? I also added the plugin in bugid 4255 as TVD.pm, and added: loadplugin Mail::SpamAssassin::Plugin::TVD but I'm wondering what else is needed. -Philip