Bowie Bailey wrote: > Bowie Bailey wrote: > > After running sa-compile and un-commenting the plugin, everything > > seems to be working. There are no lint errors and it is scoring > > mail. But when I look in the logs, I noticed some errors like this: > > > > Can't locate Mail/SpamAssassin/CompiledRegexps/body_neg950.pm in > > @INC (@INC contains: /var/lib/spamassassin/compiled/3.002001 > > /var/lib/spamassassin/compiled/3.002001/auto > > /var/lib/spamassassin/compiled/3.002001 > > /var/lib/spamassassin/compiled/3.002001/auto .. > > /etc/mail/spamassassin lib > > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.5 > > /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 > > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 > > /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 > > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi > > /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-mul > > > > I also get the same error for: > > body_neg900.pm > > body_900.pm > > body_neg1000.pm > > body_1000.pm > > body_500.pm > > body_neg400.pm > > > > Is this a problem? SA seems to be working. > > I also just noticed the following messages in the maillog: > > Subroutine DEAR_SOMETHING_one_line_body_test redefined at > /var/lib/spamassassin/3.002001/updates_spamassassin_org/20_phrases.cf, > rule DEAR_SOMETHING, line 4. > Subroutine __DRUGS_ERECTILE_L_one_line_body_test redefined at > /var/lib/spamassassin/3.002001/updates_spamassassin_org/20_drugs.cf, > rule __DRUGS_ERECTILE_L, line 6. > Subroutine SARE_OEM_NEW_TITLES_one_line_body_test redefined at > /var/lib/spamassassin/3.002001/70_sare_oem_cf_sare_sa-update_dostech_net/200 > 512271200.cf, rule SARE_OEM_NEW_TITLES, line 6. > Subroutine SARE_BETTERSEX_one_line_body_test redefined at > /var/lib/spamassassin/3.002001/70_sare_adult_cf_sare_sa-update_dostech_net/2 > 00705210700.cf, rule SARE_BETTERSEX, line 6. > Subroutine FB_HOMELOAN_one_line_body_test redefined at > /var/lib/spamassassin/3.002001/updates_spamassassin_org/72_active.cf, > rule FB_HOMELOAN, line 6. > Subroutine SARE_EN_N_800_2_1_one_line_body_test redefined at > /var/lib/spamassassin/3.002001/70_sare_evilnum0_cf_sare_sa-update_dostech_ne > t/200510052000.cf, rule SARE_EN_N_800_2_1, line 6. > Subroutine SARE_RMML_Stock26_one_line_body_test redefined at > /var/lib/spamassassin/3.002001/70_sare_stocks_cf_sare_sa-update_dostech_net/ > 200705062100.cf, rule SARE_RMML_Stock26, line 6. > > This continues for 579 lines. Is this due to compiling the rules? I > don't see these errors when I run "spamassassin --lint". The only > place > I see them is in the maillog file.
Anyone have any ideas? Both sets of errors only show up if I try to use the compiled rules. The first set of errors seems like something is not compiling right. But I don't get any errors on the compile... The second set looks like it is trying to use both the compiled and the regular rules. (No, the SARE rules are not duplicated in /etc/mail/spamassassin) SA worked with the compiled rules. It was definately faster and I didn't notice any problems aside from the above errors, but to be safe, I have switched back to using the flat rule files for now until I can solve this. -- Bowie